Server feedback after report game.

This commit is contained in:
lotodore
2012-04-09 10:22:24 +00:00
parent dbdd135bc7
commit ed43fa107c
5 changed files with 55 additions and 8 deletions
+4
View File
@@ -98,6 +98,9 @@ public:
void AddReactivatePlayer(unsigned playerId);
PlayerIdList GetAndResetReactivatePlayers();
void SetNameReported();
bool IsNameReported() const;
// should be protected, but is needed in function.
const Game &GetGame() const;
Game &GetGame();
@@ -216,6 +219,7 @@ private:
boost::asio::deadline_timer m_voteKickTimer;
boost::asio::deadline_timer m_stateTimer1;
boost::asio::deadline_timer m_stateTimer2;
bool m_isNameReported;
friend class ServerLobbyThread;
friend class AbstractServerGameStateReceiving;