Preparing server side code for reporting game names.

This commit is contained in:
lotodore
2012-04-08 14:36:14 +00:00
parent 75d1a225a0
commit c49abf215e
5 changed files with 34 additions and 4 deletions
+3
View File
@@ -358,6 +358,9 @@ AbstractServerGameStateReceiving::ProcessPacket(boost::shared_ptr<ServerGame> se
netReportAck->reportAvatarResult = reportAvatarResult_avatarReportInvalid;
server->GetLobbyThread().GetSender().Send(session, packet);
}
} else if (packet->GetMsg()->present == PokerTHMessage_PR_reportGameMessage) {
// Delegate to Lobby.
server->GetLobbyThread().HandleGameReportGame(session, packet->GetMsg()->choice.reportGameMessage);
} else {
// Packet processing in subclass.
InternalProcessPacket(server, session, packet);