85 static const int DEFAULT_CHANNEL = 0;
106 static void Initialize();
111 static void Deinitialize();
std::map< CStr, PlayerAssignment > PlayerAssignmentMap
Definition: NetHost.h:54
CStrW m_Name
Player name.
Definition: NetHost.h:45
struct _ENetHost ENetHost
Definition: NetClient.h:37
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:62
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
u8 m_Status
Status - Ready or not: 0 for not ready, 1 for ready, 2 to stay ready.
Definition: NetHost.h:51