Fixing reset timeout and show own cards messages.

This commit is contained in:
lotodore
2013-01-01 14:31:04 +01:00
parent e39f0c4b4e
commit ccdd838900
+2
View File
@@ -290,6 +290,7 @@ ClientThread::SendResetTimeout()
{
boost::shared_ptr<NetPacket> packet(new NetPacket);
packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ResetTimeoutMessage);
packet->GetMsg()->mutable_resettimeoutmessage();
m_ioService->post(boost::bind(&ClientThread::SendSessionPacket, shared_from_this(), packet));
}
@@ -324,6 +325,7 @@ ClientThread::SendShowMyCards()
{
boost::shared_ptr<NetPacket> packet(new NetPacket);
packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ShowMyCardsRequestMessage);
packet->GetMsg()->mutable_showmycardsrequestmessage();
m_ioService->post(boost::bind(&ClientThread::SendSessionPacket, shared_from_this(), packet));
}