AFK players are now kicked from ranking games after some timeouts if they do not enable autocheck/fold.
This commit is contained in:
1 parent
34762ce4f7
commit
6464700d94
6 files changed
+66
-9
No files matched your search
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user