/***************************************************** MSG_Handler_CalledBank_REQ *****************************************************/ void MSG_Handler_Reminder_REQ ( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize ) { UserSession * pSession = ( UserSession * ) pServerSession; { UserPacket & user = pSession->GetUserPacket(); user.GetProtocol() = MAKEDWORD( Games_Protocol, Reminder_REQ ); user.ToPrint(); g_AgentServer->SendToGameServer( (BYTE*)&user, user.GetPacketSize() ); } }
/************************************************ FromClientToAgent_StartGame_REQ ************************************************/ void FromClientToAgent_StartGame_REQ ( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize ) { UserSession * pSession = ( UserSession * ) pServerSession; { UserPacket pack = pSession->GetUserPacket(); pack.GetProtocol() = MAKEDWORD( Games_Protocol, StartGame_REQ ); pack.GetReady() = 1; pack.ToPrint(); g_AgentServer->SendToGameServer( (BYTE*)&pack, pack.GetPacketSize() ); } }
void MSG_Handler_QuitTable_REQ ( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize ) { DEBUG_MSG( LVL_DEBUG, "QuitTable_REQ to recv: %s \n", (char*) pMsg ); UserSession * pSession = ( UserSession * ) pServerSession; { UserPacket & user = pSession->GetUserPacket(); user.GetProtocol() = MAKEDWORD( Games_Protocol, QuitTable_REQ ); user.ToPrint(); g_AgentServer->SendToGameServer( (BYTE*)&user, user.GetPacketSize() ); } }