Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
bomberman::server::PacketDispatchContext Struct Reference

Per-dispatch context passed through the typed packet handlers. More...

#include <ServerState.h>

Public Attributes

ServerStatestate
 
ENetPeer * peer = nullptr
 
net::NetDiagnosticsdiag = nullptr
 
net::NetPacketResult receiveResult = net::NetPacketResult::Rejected
 
std::optional< uint8_t > recordedPlayerId {}
 std::nullopt for pre-handshake traffic.
 

Detailed Description

Per-dispatch context passed through the typed packet handlers.


The documentation for this struct was generated from the following file: