77 static const int DEFAULT_CHANNEL = 0;
98 static void Initialize();
103 static void Deinitialize();
std::map< CStr, PlayerAssignment > PlayerAssignmentMap
Definition: NetHost.h:54
CStrW m_Name
Player name.
Definition: NetHost.h:45
i32 m_PlayerID
The player that the given host controls, or -1 if none (observer)
Definition: NetHost.h:48
NetDisconnectReason
Reasons sent by server to clients in disconnection messages.
Definition: NetHost.h:60
struct _ENetPeer ENetPeer
Definition: NetHost.h:30
uint8_t u8
Definition: types.h:37
The base class for all network messages exchanged within the game.
Definition: NetMessage.h:32
int32_t i32
Definition: types.h:34
struct _ENetPacket ENetPacket
Definition: NetHost.h:31
bool m_Enabled
Whether the player is currently connected and active.
Definition: NetHost.h:42
struct _ENetHost ENetHost
Definition: NetHost.h:32
u8 m_Status
Status - Ready or not: 0 for not ready, 1 for ready.
Definition: NetHost.h:51