This commit is contained in:
Lynix
2017-01-26 09:28:41 +01:00
parent 9e3341a32a
commit 12b4073033
4 changed files with 433 additions and 69 deletions

View File

@@ -63,9 +63,15 @@ namespace Nz
bool DispatchIncomingCommands(ENetEvent* event);
bool HandleAcknowledge(ENetEvent* event, ENetPeer* peer, const ENetProtocol* command);
bool HandleBandwidthLimit(ENetPeer* peer, const ENetProtocol* command);
ENetPeer* HandleConnect(ENetProtocolHeader* header, ENetProtocol* command);
bool HandleDisconnect(ENetPeer* peer, const ENetProtocol* command);
bool HandleIncomingCommands(ENetEvent* event);
bool HandleSendReliable(ENetPeer& peer, const ENetProtocol& command, UInt8** currentData);
bool HandlePing(ENetPeer* peer, const ENetProtocol* command);
bool HandleSendReliable(ENetPeer* peer, const ENetProtocol* command, UInt8** currentData);
bool HandleThrottleConfigure(ENetPeer* peer, const ENetProtocol* command);
bool HandleVerifyConnect(ENetEvent* event, ENetPeer* peer, ENetProtocol* command);
int ReceiveIncomingCommands(ENetEvent* event);