AFK players are now kicked from ranking games after some timeouts if they do not enable autocheck/fold.

This commit is contained in:
lotodore committed 2010-09-05 14:33:34 +00:00
1 parent 34762ce4f7
commit 6464700d94
6 files changed
+66 -9

No files matched your search

+6 -2
View File
@@ -179,8 +179,11 @@ public:
void setNetSessionData(boost::shared_ptr<SessionData> session);
boost::shared_ptr<SessionData> getNetSessionData();
bool checkIfINeedToShowCards();
unsigned getActionTimeoutCounter() const;
void incrementActionTimeoutCounter();
void resetActionTimeoutCounter();
bool checkIfINeedToShowCards();
private:
@@ -227,6 +230,7 @@ private:
bool myWinnerState;
unsigned m_actionTimeoutCounter;
boost::shared_ptr<SessionData> myNetSessionData;
};