Cleaning up the different timeouts and how players can be removed from the game.

This commit is contained in:
lotodore
2011-12-11 14:54:17 +00:00
parent 110a9536f4
commit aad9e271db
16 changed files with 175 additions and 167 deletions
+2
View File
@@ -87,6 +87,8 @@ public:
void StartAsyncRead();
virtual void CloseSession(boost::shared_ptr<SessionData> session);
virtual void SessionError(boost::shared_ptr<SessionData> /*session*/, int /*errorCode*/) {}
virtual void SessionTimeoutWarning(boost::shared_ptr<SessionData> /*session*/, unsigned /*remainingSec*/) {}
virtual void HandlePacket(boost::shared_ptr<SessionData> session, boost::shared_ptr<NetPacket> packet);
void SelectServer(unsigned serverId);