/dports/games/pokerth/pokerth-1.1.2-rc/src/net/common/ |
H A D | netpacket.cpp | 41 m_msg = PokerTHMessage::default_instance().New(); in NetPacket() 44 NetPacket::NetPacket(PokerTHMessage *msg) in NetPacket() 61 PokerTHMessage *msg = PokerTHMessage::default_instance().New(); in Create() 76 (m_msg->messagetype() == PokerTHMessage::Type_InitMessage in IsClientActivity() 77 || m_msg->messagetype() == PokerTHMessage::Type_JoinNewGameMessage in IsClientActivity() 78 || m_msg->messagetype() == PokerTHMessage::Type_JoinExistingGameMessage in IsClientActivity() 81 || m_msg->messagetype() == PokerTHMessage::Type_LeaveGameRequestMessage in IsClientActivity() 82 || m_msg->messagetype() == PokerTHMessage::Type_StartEventMessage in IsClientActivity() 83 || m_msg->messagetype() == PokerTHMessage::Type_MyActionRequestMessage in IsClientActivity() 84 || m_msg->messagetype() == PokerTHMessage::Type_ResetTimeoutMessage in IsClientActivity() [all …]
|
H A D | clientstate.cpp | 674 } else if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_ChatMessage) { in HandlePacket() 934 if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_AnnounceMessage) { in InternalHandlePacket() 955 init->GetMsg()->set_messagetype(PokerTHMessage::Type_InitMessage); in InternalHandlePacket() 1018 if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_ErrorMessage) { in HandlePacket() 1034 init->GetMsg()->set_messagetype(PokerTHMessage::Type_InitMessage); in TimerLoop() 1129 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_AuthClientResponseMessage); in InternalHandlePacket() 1209 if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_InitAckMessage) { in InternalHandlePacket() 1270 if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_JoinGameAckMessage) { in InternalHandlePacket() 1372 if (tmpPacket->GetMsg()->messagetype() == PokerTHMessage::Type_StartEventMessage) { in InternalHandlePacket() 1435 startAck->GetMsg()->set_messagetype(PokerTHMessage::Type_StartEventAckMessage); in TimerLoop() [all …]
|
H A D | servergamestate.cpp | 103 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_PlayersActionDoneMessage); in SendPlayerAction() 128 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_DealFlopCardsMessage); in SendNewRoundCards() 140 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_DealTurnCardMessage); in SendNewRoundCards() 150 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_DealRiverCardMessage); in SendNewRoundCards() 292 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatMessage); in ProcessPacket() 316 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatRejectMessage); in ProcessPacket() 410 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_JoinGameAckMessage); in CreateNetPacketJoinGameAck() 428 notifyCards->GetMsg()->set_messagetype(PokerTHMessage::Type_HandStartMessage); in CreateNetPacketHandStart() 683 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_StartEventMessage); in SendStartEvent() 884 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_StartEventMessage); in HandleNewPlayer() [all …]
|
H A D | serverlobbythread.cpp | 321 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_AnnounceMessage); in AddConnection() 676 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatMessage); in SendGlobalChat() 689 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_DialogMessage); in SendGlobalMsgBox() 701 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatMessage); in SendChatBotMsg() 719 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatMessage); in SendChatBotMsg() 1471 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatMessage); in HandleNetPacketChatRequest() 1501 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatMessage); in HandleNetPacketChatRequest() 1763 ack->GetMsg()->set_messagetype(PokerTHMessage::Type_InitAckMessage); in EstablishSession() 2112 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ErrorMessage); in SendError() 2328 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_PlayerListMessage); in CreateNetPacketPlayerListNew() [all …]
|
H A D | clientthread.cpp | 142 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_LeaveGameRequestMessage); in SendLeaveCurrentGame() 154 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_StartEventMessage); in SendStartEvent() 172 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_MyActionRequestMessage); in SendPlayerAction() 194 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatRequestMessage); in SendGameChatMessage() 209 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatRequestMessage); in SendLobbyChatMessage() 223 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ChatRequestMessage); in SendPrivateChatMessage() 286 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_JoinNewGameMessage); in SendCreateGame() 303 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ResetTimeoutMessage); in SendResetTimeout() 312 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_AskKickPlayerMessage); in SendAskKickPlayer() 369 packet->GetMsg()->set_messagetype(PokerTHMessage::Type_ReportAvatarMessage); in SendReportAvatar() [all …]
|
/dports/games/pokerth/pokerth-1.1.2-rc/src/third_party/protobuf/ |
H A D | pokerth.pb.h | 123 class PokerTHMessage; variable 10891 PokerTHMessage(); 10892 virtual ~PokerTHMessage(); 10894 PokerTHMessage(const PokerTHMessage& from); 10896 inline PokerTHMessage& operator=(const PokerTHMessage& from) { 10921 void Swap(PokerTHMessage* other); 10925 PokerTHMessage* New() const; 10927 void CopyFrom(const PokerTHMessage& from); 10928 void MergeFrom(const PokerTHMessage& from); 12040 static PokerTHMessage* default_instance_; [all …]
|
H A D | pokerth.pb.cc | 212 PokerTHMessage::default_instance_ = new PokerTHMessage(); 25200 PokerTHMessage::PokerTHMessage() function in PokerTHMessage 25695 PokerTHMessage::PokerTHMessage(const PokerTHMessage& from) function in PokerTHMessage 25789 PokerTHMessage::~PokerTHMessage() { 25889 const PokerTHMessage& PokerTHMessage::default_instance() { 25898 PokerTHMessage* PokerTHMessage::default_instance_ = NULL; 25900 PokerTHMessage* PokerTHMessage::New() const { 25901 return new PokerTHMessage; 28395 void PokerTHMessage::MergeFrom(const PokerTHMessage& from) { 28668 void PokerTHMessage::CopyFrom(const PokerTHMessage& from) { [all …]
|
/dports/games/pokerth/pokerth-1.1.2-rc/tests/src/de/pokerth/test/ |
H A D | TestBase.java | 51 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 146 return PokerTHMessage.parseFrom(data); in receiveMessage() 155 PokerTHMessage msg = receiveMessage(s); in guestInit() 168 msg = PokerTHMessage.newBuilder() in guestInit() 202 PokerTHMessage msg = receiveMessage(s); in userInit() 226 msg = PokerTHMessage.newBuilder() in userInit() 241 msg = PokerTHMessage.newBuilder() in userInit() 284 PokerTHMessage msg = PokerTHMessage.newBuilder() in createGameRequestMsg() 305 PokerTHMessage msg = PokerTHMessage.newBuilder() in joinGameRequestMsg() 318 PokerTHMessage msg = PokerTHMessage.newBuilder() in rejoinGameRequestMsg() [all …]
|
H A D | ChatTest.java | 33 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 35 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 44 PokerTHMessage createLobbyChatMsg(String chatText) { in createLobbyChatMsg() 48 PokerTHMessage msg = PokerTHMessage.newBuilder() in createLobbyChatMsg() 55 PokerTHMessage createGameChatMsg(String chatText, int gameId) { in createGameChatMsg() 60 PokerTHMessage msg = PokerTHMessage.newBuilder() in createGameChatMsg() 67 PokerTHMessage createPrivateChatMsg(String chatText, int playerId) { in createPrivateChatMsg() 72 PokerTHMessage msg = PokerTHMessage.newBuilder() in createPrivateChatMsg() 92 PokerTHMessage msg = createLobbyChatMsg(ChatText + 1); in testChat() 183 msg = PokerTHMessage.newBuilder() in testChat() [all …]
|
H A D | StartNormalGameTest.java | 30 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 31 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 49 PokerTHMessage msg; in testGameStartMessage() 75 msg = PokerTHMessage.newBuilder() in testGameStartMessage() 90 msg = PokerTHMessage.newBuilder() in testGameStartMessage()
|
H A D | LobbySubscriptionTest.java | 31 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 34 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 44 PokerTHMessage msg; in testLobbySubscription() 54 msg = PokerTHMessage.newBuilder() in testLobbySubscription() 95 msg = PokerTHMessage.newBuilder() in testLobbySubscription()
|
H A D | RunRankingGameTest.java | 39 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 40 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 56 PokerTHMessage msg; in testRunRankingGame() 151 msg = PokerTHMessage.newBuilder() in testRunRankingGame() 213 PokerTHMessage outMsg = PokerTHMessage.newBuilder() in testRunRankingGame() 222 PokerTHMessage inMsg = receiveMessage(s[i]); in testRunRankingGame() 234 PokerTHMessage outMsg = PokerTHMessage.newBuilder() in testRunRankingGame()
|
H A D | CreateRankingGameTest.java | 30 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 51 PokerTHMessage msg; in testCreateRankingGameAsGuest() 73 PokerTHMessage msg; in testCreateRankingGameNoPasswordAsUser() 102 PokerTHMessage msg; in testCreateRankingGameWithPasswordAsUser()
|
H A D | LoadTest.java | 32 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 35 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 53 PokerTHMessage msg; in testRunMultipleGames() 140 PokerTHMessage outMsg = PokerTHMessage.newBuilder() in testRunMultipleGames()
|
H A D | BlockedPlayerTest.java | 34 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 35 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 41 PokerTHMessage msg = receiveMessage(sock); in verifyLoginBlocked() 59 msg = PokerTHMessage.newBuilder() in verifyLoginBlocked()
|
H A D | RunNormalGameTest.java | 36 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 37 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 54 PokerTHMessage msg; in testRunNormalGameAsGuest() 90 msg = PokerTHMessage.newBuilder() in testRunNormalGameAsGuest() 120 msg = PokerTHMessage.newBuilder() in testRunNormalGameAsGuest()
|
H A D | PlayerInfoTest.java | 35 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 36 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 50 PokerTHMessage msg = PokerTHMessage.newBuilder() in sendPlayerInfoRequest() 88 PokerTHMessage msg; in testPlayerInfoRequest()
|
H A D | RejoinGameTest.java | 34 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 35 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 48 PokerTHMessage msg; in testRejoinGame() 144 msg = PokerTHMessage.newBuilder() in testRejoinGame() 172 PokerTHMessage inMsg = receiveMessage(s[i]); in testRejoinGame() 238 msg = PokerTHMessage.newBuilder() in testRejoinGame()
|
H A D | RejoinMultiGameTest.java | 36 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 38 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 54 PokerTHMessage msg; in testRejoinMultiGame() 152 msg = PokerTHMessage.newBuilder() in testRejoinMultiGame() 180 PokerTHMessage inMsg = receiveMessage(s[i]); in testRejoinMultiGame() 253 msg = PokerTHMessage.newBuilder() in testRejoinMultiGame()
|
H A D | SeatStateTest.java | 35 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 36 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 55 PokerTHMessage msg; in testSeatState() 98 msg = PokerTHMessage.newBuilder() in testSeatState()
|
H A D | AnnounceTest.java | 29 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 30 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 45 PokerTHMessage msg = receiveMessage(); in testAnnounce()
|
H A D | CreateGameTest.java | 30 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 31 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 49 PokerTHMessage msg; in testJoinGameRequestMessage()
|
H A D | SpectatorJoinTest.java | 29 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 33 import de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType; 43 PokerTHMessage msg; in testSpectatorJoinGameBeforeStart() 224 msg = PokerTHMessage.newBuilder() in testSpectatorJoinGameBeforeStart()
|
H A D | PlayerListTest.java | 29 import de.pokerth.protocol.ProtoBuf.PokerTHMessage; 40 PokerTHMessage msg; in testPlayerList()
|
/dports/games/pokerth/pokerth-1.1.2-rc/src/net/ |
H A D | netpacket.h | 63 NetPacket(PokerTHMessage *msg); 68 const PokerTHMessage *GetMsg() const in GetMsg() 72 PokerTHMessage *GetMsg() in GetMsg() 88 PokerTHMessage *m_msg;
|