Adding protocol support for spectator mode.

This commit is contained in:
lotodore
2013-04-01 23:37:28 +02:00
parent e233b48160
commit 904069e02e
6 changed files with 3822 additions and 5 deletions
+4
View File
@@ -123,6 +123,10 @@ protected:
static bool ValidateAdminRemoveGameAckMessage(const NetPacket &packet);
static bool ValidateAdminBanPlayerMessage(const NetPacket &packet);
static bool ValidateAdminBanPlayerAckMessage(const NetPacket &packet);
static bool ValidateGameListSpectatorJoinedMessage(const NetPacket &packet);
static bool ValidateGameListSpectatorLeftMessage(const NetPacket &packet);
static bool ValidateGameSpectatorJoinedMessage(const NetPacket &packet);
static bool ValidateGameSpectatorLeftMessage(const NetPacket &packet);
static bool ValidateGameInfo(const NetGameInfo &gameInfo);