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

+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.