Removing AFK-warning message. Preparing integration of a new auto-AFK mode.

This commit is contained in:
lotodore
2011-11-07 21:07:13 +00:00
parent 77cda8da32
commit 32d26e3644
115 changed files with 309 additions and 522 deletions
-3
View File
@@ -716,9 +716,6 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr<ClientThread> clien
} else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_timeoutWarningMessage) {
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.
ChatMessage_t *netMessage = &tmpPacket->GetMsg()->choice.chatMessage;