Preparing network functions to let a player show his cards.

This commit is contained in:
lotodore
2010-07-15 21:55:52 +00:00
parent 6ece570a06
commit 79e7a47343
7 changed files with 111 additions and 10 deletions
+8
View File
@@ -310,6 +310,14 @@ ClientThread::SendVoteKick(bool doKick)
m_ioService->post(boost::bind(&ClientThread::SendSessionPacket, shared_from_this(), packet));
}
void
ClientThread::SendShowMyCards()
{
boost::shared_ptr<NetPacket> packet(new NetPacket(NetPacket::Alloc));
packet->GetMsg()->present = PokerTHMessage_PR_showMyCardsRequestMessage;
m_ioService->post(boost::bind(&ClientThread::SendSessionPacket, shared_from_this(), packet));
}
void
ClientThread::SendInvitePlayerToCurrentGame(unsigned playerId)
{