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

This commit is contained in:
lotodore
2010-09-05 14:33:34 +00:00
parent 34762ce4f7
commit 6464700d94
6 changed files with 66 additions and 9 deletions
+5
View File
@@ -749,6 +749,11 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr<ClientThread> clien
TimeoutWarningMessage_t *tmpTimeout = &tmpPacket->GetMsg()->choice.timeoutWarningMessage;
client->GetCallback().SignalNetClientShowTimeoutDialog((NetTimeoutReason)tmpTimeout->timeoutReason, tmpTimeout->remainingSeconds);
}
else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_afkWarningMessage)
{
AfkWarningMessage_t *tmpAfk = &tmpPacket->GetMsg()->choice.afkWarningMessage;
client->GetCallback().SignalNetClientWarningAutoFoldInRankingGame(tmpAfk->remainingTimeouts);
}
else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_chatMessage)
{
// Chat message - display it in the GUI.