Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
ServerHandlers.cpp File Reference

Authoritative server receive-path validation and dispatcher entry point. More...

#include "ServerHandlers.h"
#include "Net/PacketDispatch.h"
#include "Util/Log.h"

Namespaces

namespace  bomberman::server
 Authoritative dedicated-server state, match flow, and fixed-tick simulation support.
 

Functions

std::optional< uint8_t > bomberman::server::acceptedPlayerId (const ENetPeer *peer)
 Returns the accepted player id bound to a live peer, if any.
 
void bomberman::server::handleReceiveEvent (const ENetEvent &event, ServerState &state)
 Parses, validates, and dispatches one received ENet packet.
 

Detailed Description

Authoritative server receive-path validation and dispatcher entry point.