diff --git a/docs/pokerth.asn1 b/docs/pokerth.asn1 index 633ee386..57523ce9 100644 --- a/docs/pokerth.asn1 +++ b/docs/pokerth.asn1 @@ -28,6 +28,7 @@ PokerTHMessage ::= CHOICE { initAckMessage InitAckMessage, avatarRequestMessage AvatarRequestMessage, avatarReplyMessage AvatarReplyMessage, + playerListMessage PlayerListMessage, gameListMessage GameListMessage, playerInfoRequestMessage PlayerInfoRequestMessage, playerInfoReplyMessage PlayerInfoReplyMessage, @@ -140,7 +141,15 @@ NetAvatarType ::= ENUMERATED { avatarImageGif (3) } -GameListMessage ::= [APPLICATION 4] SEQUENCE { +PlayerListMessage ::= [APPLICATION 4] SEQUENCE { + playerId NonZeroId, + playerListNotification ENUMERATED { + playerListNew (0), + playerListLeft (1) + } +} + +GameListMessage ::= [APPLICATION 5] SEQUENCE { gameId NonZeroId, gameListNotification CHOICE { gameListNew [0] GameListNew, @@ -181,11 +190,11 @@ NetGameMode ::= ENUMERATED { gameClosed (3) } -PlayerInfoRequestMessage ::= [APPLICATION 5] SEQUENCE { +PlayerInfoRequestMessage ::= [APPLICATION 6] SEQUENCE { playerId NonZeroId } -PlayerInfoReplyMessage ::= [APPLICATION 6] SEQUENCE { +PlayerInfoReplyMessage ::= [APPLICATION 7] SEQUENCE { playerId NonZeroId, playerInfoResult CHOICE { playerInfoData [0] PlayerInfoData, @@ -208,14 +217,14 @@ UnknownPlayerInfo ::= SEQUENCE { -- The following request will not be confirmed by the server. It is used, -- optionally, to reduce server traffic. The server might ignore it. -SubscriptionRequestMessage ::= [APPLICATION 7] SEQUENCE { +SubscriptionRequestMessage ::= [APPLICATION 8] SEQUENCE { subscriptionAction ENUMERATED { unsubscribeGameList (1), resubscribeGameList (2) } } -JoinGameRequestMessage ::= [APPLICATION 8] SEQUENCE { +JoinGameRequestMessage ::= [APPLICATION 9] SEQUENCE { joinGameAction CHOICE { joinExistingGame [0] JoinExistingGame, joinNewGame [1] JoinNewGame @@ -231,7 +240,7 @@ JoinNewGame ::= SEQUENCE { gameInfo NetGameInfo } -JoinGameReplyMessage ::= [APPLICATION 9] SEQUENCE { +JoinGameReplyMessage ::= [APPLICATION 10] SEQUENCE { gameId NonZeroId, joinGameResult CHOICE { joinGameAck [0] JoinGameAck, @@ -273,7 +282,7 @@ NetGameInfo ::= SEQUENCE { manualBlinds SEQUENCE SIZE(0..30) OF INTEGER(1..20001) } -GamePlayerMessage ::= [APPLICATION 10] SEQUENCE { +GamePlayerMessage ::= [APPLICATION 11] SEQUENCE { gameId NonZeroId, gamePlayerNotification CHOICE { gamePlayerJoined [0] GamePlayerJoined, @@ -312,51 +321,51 @@ RemovedFromGame ::= SEQUENCE { } } -KickPlayerRequestMessage ::= [APPLICATION 11] SEQUENCE { +KickPlayerRequestMessage ::= [APPLICATION 12] SEQUENCE { gameId NonZeroId, playerId NonZeroId } -LeaveGameRequestMessage ::= [APPLICATION 12] SEQUENCE { +LeaveGameRequestMessage ::= [APPLICATION 13] SEQUENCE { gameId NonZeroId } -StartEventMessage ::= [APPLICATION 13] SEQUENCE { +StartEventMessage ::= [APPLICATION 14] SEQUENCE { gameId NonZeroId, fillWithComputerPlayers BOOLEAN } -StartEventAckMessage ::= [APPLICATION 14] SEQUENCE { +StartEventAckMessage ::= [APPLICATION 15] SEQUENCE { gameId NonZeroId } -GameStartMessage ::= [APPLICATION 15] SEQUENCE { +GameStartMessage ::= [APPLICATION 16] SEQUENCE { gameId NonZeroId, startDealerPlayerId NonZeroId, playerSeats SEQUENCE SIZE(2..10) OF NonZeroId } -HandStartMessage ::= [APPLICATION 16] SEQUENCE { +HandStartMessage ::= [APPLICATION 17] SEQUENCE { gameId NonZeroId, yourCard1 Card, yourCard2 Card, smallBlind INTEGER(1..20001) } -PlayersTurnMessage ::= [APPLICATION 17] SEQUENCE { +PlayersTurnMessage ::= [APPLICATION 18] SEQUENCE { gameId NonZeroId, playerId NonZeroId, gameState NetGameState } -MyActionRequestMessage ::= [APPLICATION 18] SEQUENCE { +MyActionRequestMessage ::= [APPLICATION 19] SEQUENCE { gameId NonZeroId, gameState NetGameState, myAction NetPlayerAction, myRelativeBet INTEGER(0..10000000) } -YourActionRejectedMessage ::= [APPLICATION 19] SEQUENCE { +YourActionRejectedMessage ::= [APPLICATION 20] SEQUENCE { gameId NonZeroId, gameState NetGameState, yourAction NetPlayerAction, @@ -368,7 +377,7 @@ YourActionRejectedMessage ::= [APPLICATION 19] SEQUENCE { } } -PlayersActionDoneMessage ::= [APPLICATION 20] SEQUENCE { +PlayersActionDoneMessage ::= [APPLICATION 21] SEQUENCE { gameId NonZeroId, playerId NonZeroId, gameState NetGameState, @@ -379,24 +388,24 @@ PlayersActionDoneMessage ::= [APPLICATION 20] SEQUENCE { minimumRaise INTEGER(0..10000000) -- TODO } -DealFlopCardsMessage ::= [APPLICATION 21] SEQUENCE { +DealFlopCardsMessage ::= [APPLICATION 22] SEQUENCE { gameId NonZeroId, flopCard1 Card, flopCard2 Card, flopCard3 Card } -DealTurnCardMessage ::= [APPLICATION 22] SEQUENCE { +DealTurnCardMessage ::= [APPLICATION 23] SEQUENCE { gameId NonZeroId, turnCard Card } -DealRiverCardMessage ::= [APPLICATION 23] SEQUENCE { +DealRiverCardMessage ::= [APPLICATION 24] SEQUENCE { gameId NonZeroId, riverCard Card } -AllInShowCardsMessage ::= [APPLICATION 24] SEQUENCE { +AllInShowCardsMessage ::= [APPLICATION 25] SEQUENCE { gameId NonZeroId, playersAllIn SEQUENCE SIZE(1..10) OF PlayerAllIn } @@ -407,7 +416,7 @@ PlayerAllIn ::= SEQUENCE { allInCard2 Card } -EndOfHandMessage ::= [APPLICATION 25] SEQUENCE { +EndOfHandMessage ::= [APPLICATION 26] SEQUENCE { gameId NonZeroId, endOfHandType CHOICE { endOfHandShowCards [0] EndOfHandShowCards, @@ -435,7 +444,7 @@ EndOfHandHideCards ::= SEQUENCE { playerMoney INTEGER(0..10000000) } -EndOfGameMessage ::= [APPLICATION 26] SEQUENCE { +EndOfGameMessage ::= [APPLICATION 27] SEQUENCE { gameId NonZeroId, winnerPlayerId NonZeroId } diff --git a/pokerth_protocol.pro b/pokerth_protocol.pro index 3ce5ee85..38b44a8e 100644 --- a/pokerth_protocol.pro +++ b/pokerth_protocol.pro @@ -120,7 +120,8 @@ HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \ src/third_party/asn1/PlayerAllIn.h \ src/third_party/asn1/PlayerInfoData.h \ src/third_party/asn1/PlayerInfoReplyMessage.h \ - src/third_party/asn1/PlayerInfoRequestMessage.h \ + src/third_party/asn1/PlayerInfoRequestMessage.h \ + src/third_party/asn1/PlayerListMessage.h \ src/third_party/asn1/PlayerResult.h \ src/third_party/asn1/PlayersActionDoneMessage.h \ src/third_party/asn1/PlayersTurnMessage.h \ @@ -183,7 +184,8 @@ SOURCES += src/third_party/asn1/ChatCleanerMessage.c \ src/third_party/asn1/PlayerInfoRequestMessage.c \ src/third_party/asn1/PlayerInfoReplyMessage.c \ src/third_party/asn1/PlayerInfoData.c \ - src/third_party/asn1/PlayerAllIn.c \ + src/third_party/asn1/PlayerAllIn.c \ + src/third_party/asn1/PlayerListMessage.c \ src/third_party/asn1/per_support.c \ src/third_party/asn1/per_opentype.c \ src/third_party/asn1/per_encoder.c \ diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 7ec727f7..639952a3 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -839,6 +839,16 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr clien DialogMessage_t *netDialog = &tmpPacket->GetMsg()->choice.dialogMessage; client->GetCallback().SignalNetClientMsgBox(STL_STRING_FROM_OCTET_STRING(netDialog->notificationText)); } + else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_playerListMessage) + { + PlayerListMessage_t *netPlayerList = &tmpPacket->GetMsg()->choice.playerListMessage; + PlayerInfo info; + if (!client->GetCachedPlayerInfo(netPlayerList->playerId, info)) + { + // Request player info. + client->RequestPlayerInfo(netPlayerList->playerId); + } + } else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_gameListMessage) { GameListMessage_t *netGameList = &tmpPacket->GetMsg()->choice.gameListMessage; diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 99d8974c..fc957d86 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1097,16 +1097,18 @@ ServerLobbyThread::EstablishSession(SessionWrapper session) if (!session.playerData.get()) throw ServerException(__FILE__, __LINE__, ERR_NET_INVALID_SESSION, 0); // Send ACK to client. - boost::shared_ptr packet(new NetPacket(NetPacket::Alloc)); - packet->GetMsg()->present = PokerTHMessage_PR_initAckMessage; - InitAckMessage_t *netInitAck = &packet->GetMsg()->choice.initAckMessage; + boost::shared_ptr ack(new NetPacket(NetPacket::Alloc)); + ack->GetMsg()->present = PokerTHMessage_PR_initAckMessage; + InitAckMessage_t *netInitAck = &ack->GetMsg()->choice.initAckMessage; netInitAck->latestGameVersion.major = POKERTH_VERSION_MAJOR; netInitAck->latestGameVersion.minor = POKERTH_VERSION_MINOR; netInitAck->latestBetaRevision = POKERTH_BETA_REVISION; // initAckData.sessionId = session.sessionData->GetId(); // TODO: currently unused. netInitAck->yourPlayerId = session.playerData->GetUniqueId(); - GetSender().Send(session.sessionData, packet); + GetSender().Send(session.sessionData, ack); + // Send the connected players list to the client. + SendPlayerList(session.sessionData); // Send the game list to the client. SendGameList(session.sessionData); @@ -1118,6 +1120,11 @@ ServerLobbyThread::EstablishSession(SessionWrapper session) ++m_statData.totalPlayersEverLoggedIn; m_statDataChanged = true; } + // Notify all players. + boost::shared_ptr notify = CreateNetPacketPlayerListNew(session.playerData->GetUniqueId()); + m_sessionManager.SendLobbyMsgToAllSessions(GetSender(), notify, SessionData::Established); + m_gameSessionManager.SendLobbyMsgToAllSessions(GetSender(), notify, SessionData::Game); + UpdateStatisticsNumberOfPlayers(); } @@ -1349,9 +1356,10 @@ ServerLobbyThread::InternalResubscribeMsg(SessionWrapper session) if (!session.sessionData->WantsLobbyMsg()) { session.sessionData->SetWantsLobbyMsg(); + SendPlayerList(session.sessionData); SendGameList(session.sessionData); // Send new statistics information. - boost::shared_ptr packet(new NetPacket(NetPacket::Alloc)); +/* boost::shared_ptr packet(new NetPacket(NetPacket::Alloc)); packet->GetMsg()->present = PokerTHMessage_PR_statisticsMessage; StatisticsMessage_t *netStatistics = &packet->GetMsg()->choice.statisticsMessage; @@ -1360,7 +1368,7 @@ ServerLobbyThread::InternalResubscribeMsg(SessionWrapper session) data->statisticsValue = m_sessionManager.GetRawSessionCount() + m_gameSessionManager.GetRawSessionCount(); ASN_SEQUENCE_ADD(&netStatistics->statisticsData.list, data); - GetSender().Send(session.sessionData, packet); + GetSender().Send(session.sessionData, packet);*/ } } @@ -1475,6 +1483,23 @@ ServerLobbyThread::SendJoinGameFailed(boost::shared_ptr s, int reas GetSender().Send(s, packet); } +void +ServerLobbyThread::SendPlayerList(boost::shared_ptr s) +{ + // Retrieve all player ids. + PlayerIdList idList(m_sessionManager.GetPlayerIdList()); + PlayerIdList gameIdList(m_gameSessionManager.GetPlayerIdList()); + idList.splice(idList.begin(), gameIdList); + // Send all player ids to client. + PlayerIdList::const_iterator i = idList.begin(); + PlayerIdList::const_iterator end = idList.end(); + while (i != end) + { + GetSender().Send(s, CreateNetPacketPlayerListNew(*i)); + ++i; + } +} + void ServerLobbyThread::SendGameList(boost::shared_ptr s) { @@ -1503,7 +1528,7 @@ ServerLobbyThread::UpdateStatisticsNumberOfPlayers() } } // Do not send other stats than number of players for now. - BroadcastStatisticsUpdate(stats); + //BroadcastStatisticsUpdate(stats); } void @@ -1628,6 +1653,28 @@ ServerLobbyThread::IsPlayerConnected(const string &name) const return retVal; } +boost::shared_ptr +ServerLobbyThread::CreateNetPacketPlayerListNew(unsigned playerId) +{ + boost::shared_ptr packet(new NetPacket(NetPacket::Alloc)); + packet->GetMsg()->present = PokerTHMessage_PR_playerListMessage; + PlayerListMessage_t *netPlayerList = &packet->GetMsg()->choice.playerListMessage; + netPlayerList->playerId = playerId; + netPlayerList->playerListNotification = playerListNotification_playerListNew; + return packet; +} + +boost::shared_ptr +ServerLobbyThread::CreateNetPacketPlayerListLeft(unsigned playerId) +{ + boost::shared_ptr packet(new NetPacket(NetPacket::Alloc)); + packet->GetMsg()->present = PokerTHMessage_PR_playerListMessage; + PlayerListMessage_t *netPlayerList = &packet->GetMsg()->choice.playerListMessage; + netPlayerList->playerId = playerId; + netPlayerList->playerListNotification = playerListNotification_playerListLeft; + return packet; +} + boost::shared_ptr ServerLobbyThread::CreateNetPacketGameListNew(const ServerGame &game) { diff --git a/src/net/serverlobbythread.h b/src/net/serverlobbythread.h index 5de948fb..e4a0f007 100644 --- a/src/net/serverlobbythread.h +++ b/src/net/serverlobbythread.h @@ -146,6 +146,7 @@ protected: void CloseSession(SessionWrapper session); void SendError(boost::shared_ptr s, int errorCode); void SendJoinGameFailed(boost::shared_ptr s, int reason); + void SendPlayerList(boost::shared_ptr s); void SendGameList(boost::shared_ptr s); void UpdateStatisticsNumberOfPlayers(); void BroadcastStatisticsUpdate(const ServerStats &stats); @@ -162,6 +163,8 @@ protected: bool IsPlayerConnected(const std::string &name) const; + static boost::shared_ptr CreateNetPacketPlayerListNew(unsigned playerId); + static boost::shared_ptr CreateNetPacketPlayerListLeft(unsigned playerId); static boost::shared_ptr CreateNetPacketGameListNew(const ServerGame &game); static boost::shared_ptr CreateNetPacketGameListUpdate(unsigned gameId, GameMode mode); diff --git a/src/third_party/asn1/AllInShowCardsMessage.c b/src/third_party/asn1/AllInShowCardsMessage.c index a81062c7..23f91e99 100644 --- a/src/third_party/asn1/AllInShowCardsMessage.c +++ b/src/third_party/asn1/AllInShowCardsMessage.c @@ -99,12 +99,12 @@ static asn_TYPE_member_t asn_MBR_AllInShowCardsMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_AllInShowCardsMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (24 << 2)), + (ASN_TAG_CLASS_APPLICATION | (25 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AllInShowCardsMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 400 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 402 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 409 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 411 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = { sizeof(struct AllInShowCardsMessage), diff --git a/src/third_party/asn1/AnonymousLogin.c b/src/third_party/asn1/AnonymousLogin.c index 0aab2551..2dec6c57 100644 --- a/src/third_party/asn1/AnonymousLogin.c +++ b/src/third_party/asn1/AnonymousLogin.c @@ -64,8 +64,8 @@ static ber_tlv_tag_t asn_DEF_AnonymousLogin_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AnonymousLogin_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 86 */ - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* playerName at 85 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 87 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* playerName at 86 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AnonymousLogin_specs_1 = { sizeof(struct AnonymousLogin), diff --git a/src/third_party/asn1/AskKickDeniedMessage.c b/src/third_party/asn1/AskKickDeniedMessage.c index 3d5db0ef..54fe103a 100644 --- a/src/third_party/asn1/AskKickDeniedMessage.c +++ b/src/third_party/asn1/AskKickDeniedMessage.c @@ -165,9 +165,9 @@ static ber_tlv_tag_t asn_DEF_AskKickDeniedMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 449 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 450 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 452 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 458 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 459 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 461 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = { sizeof(struct AskKickDeniedMessage), diff --git a/src/third_party/asn1/AskKickPlayerMessage.c b/src/third_party/asn1/AskKickPlayerMessage.c index d641342b..63dfc1f4 100644 --- a/src/third_party/asn1/AskKickPlayerMessage.c +++ b/src/third_party/asn1/AskKickPlayerMessage.c @@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_AskKickPlayerMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 444 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 446 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 453 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 455 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = { sizeof(struct AskKickPlayerMessage), diff --git a/src/third_party/asn1/AuthenticatedLogin.c b/src/third_party/asn1/AuthenticatedLogin.c index 0be9fb37..0959f49c 100644 --- a/src/third_party/asn1/AuthenticatedLogin.c +++ b/src/third_party/asn1/AuthenticatedLogin.c @@ -64,8 +64,8 @@ static ber_tlv_tag_t asn_DEF_AuthenticatedLogin_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AuthenticatedLogin_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 92 */ - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* playerName at 91 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 93 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* playerName at 92 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AuthenticatedLogin_specs_1 = { sizeof(struct AuthenticatedLogin), diff --git a/src/third_party/asn1/AvatarData.c b/src/third_party/asn1/AvatarData.c index 12961b19..61159585 100644 --- a/src/third_party/asn1/AvatarData.c +++ b/src/third_party/asn1/AvatarData.c @@ -49,7 +49,7 @@ static ber_tlv_tag_t asn_DEF_AvatarData_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AvatarData_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* avatarBlock at 126 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* avatarBlock at 127 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AvatarData_specs_1 = { sizeof(struct AvatarData), diff --git a/src/third_party/asn1/AvatarHeader.c b/src/third_party/asn1/AvatarHeader.c index d9f8f3d0..eb6fdb73 100644 --- a/src/third_party/asn1/AvatarHeader.c +++ b/src/third_party/asn1/AvatarHeader.c @@ -57,8 +57,8 @@ static ber_tlv_tag_t asn_DEF_AvatarHeader_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AvatarHeader_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* avatarSize at 122 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 121 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* avatarSize at 123 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 122 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AvatarHeader_specs_1 = { sizeof(struct AvatarHeader), diff --git a/src/third_party/asn1/AvatarReplyMessage.c b/src/third_party/asn1/AvatarReplyMessage.c index 61190552..cd3fc701 100644 --- a/src/third_party/asn1/AvatarReplyMessage.c +++ b/src/third_party/asn1/AvatarReplyMessage.c @@ -47,10 +47,10 @@ static asn_TYPE_member_t asn_MBR_avatarResult_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_avatarResult_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 113 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 114 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 115 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 117 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 114 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 115 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 116 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 118 */ }; static asn_CHOICE_specifics_t asn_SPC_avatarResult_specs_3 = { sizeof(struct avatarResult), @@ -110,11 +110,11 @@ static ber_tlv_tag_t asn_DEF_AvatarReplyMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AvatarReplyMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 111 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 113 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 114 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 115 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 117 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 112 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 114 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 115 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 116 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 118 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AvatarReplyMessage_specs_1 = { sizeof(struct AvatarReplyMessage), diff --git a/src/third_party/asn1/AvatarRequestMessage.c b/src/third_party/asn1/AvatarRequestMessage.c index 79f87f01..18bfa495 100644 --- a/src/third_party/asn1/AvatarRequestMessage.c +++ b/src/third_party/asn1/AvatarRequestMessage.c @@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_AvatarRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AvatarRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 106 */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 108 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 107 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 109 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AvatarRequestMessage_specs_1 = { sizeof(struct AvatarRequestMessage), diff --git a/src/third_party/asn1/ChatMessage.c b/src/third_party/asn1/ChatMessage.c index d6571e65..9e304cd5 100644 --- a/src/third_party/asn1/ChatMessage.c +++ b/src/third_party/asn1/ChatMessage.c @@ -70,9 +70,9 @@ static asn_TYPE_member_t asn_MBR_chatType_2[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 544 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 545 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* chatTypeBroadcast at 547 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 553 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 554 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* chatTypeBroadcast at 556 */ }; static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = { sizeof(struct chatType), @@ -132,10 +132,10 @@ static ber_tlv_tag_t asn_DEF_ChatMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 548 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 544 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 545 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 547 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 557 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 553 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 554 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 556 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = { sizeof(struct ChatMessage), diff --git a/src/third_party/asn1/ChatRequestMessage.c b/src/third_party/asn1/ChatRequestMessage.c index edffeb2a..028e41f1 100644 --- a/src/third_party/asn1/ChatRequestMessage.c +++ b/src/third_party/asn1/ChatRequestMessage.c @@ -61,8 +61,8 @@ static asn_TYPE_member_t asn_MBR_chatRequestType_2[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 529 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 531 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 538 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 540 */ }; static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = { sizeof(struct chatRequestType), @@ -122,9 +122,9 @@ static ber_tlv_tag_t asn_DEF_ChatRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 532 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 529 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 531 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 541 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 538 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 540 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = { sizeof(struct ChatRequestMessage), diff --git a/src/third_party/asn1/ChatRequestTypeGame.c b/src/third_party/asn1/ChatRequestTypeGame.c index dac93b3d..d48247eb 100644 --- a/src/third_party/asn1/ChatRequestTypeGame.c +++ b/src/third_party/asn1/ChatRequestTypeGame.c @@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_ChatRequestTypeGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 540 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 549 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = { sizeof(struct ChatRequestTypeGame), diff --git a/src/third_party/asn1/ChatTypeGame.c b/src/third_party/asn1/ChatTypeGame.c index 0eebf497..78b225f4 100644 --- a/src/third_party/asn1/ChatTypeGame.c +++ b/src/third_party/asn1/ChatTypeGame.c @@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_ChatTypeGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 556 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 558 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 565 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 567 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = { sizeof(struct ChatTypeGame), diff --git a/src/third_party/asn1/ChatTypeLobby.c b/src/third_party/asn1/ChatTypeLobby.c index c453c2ef..acc2dde7 100644 --- a/src/third_party/asn1/ChatTypeLobby.c +++ b/src/third_party/asn1/ChatTypeLobby.c @@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_ChatTypeLobby_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 553 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 562 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = { sizeof(struct ChatTypeLobby), diff --git a/src/third_party/asn1/DealFlopCardsMessage.c b/src/third_party/asn1/DealFlopCardsMessage.c index c517142a..a21f02bf 100644 --- a/src/third_party/asn1/DealFlopCardsMessage.c +++ b/src/third_party/asn1/DealFlopCardsMessage.c @@ -47,14 +47,14 @@ static asn_TYPE_member_t asn_MBR_DealFlopCardsMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_DealFlopCardsMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (21 << 2)), + (ASN_TAG_CLASS_APPLICATION | (22 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_DealFlopCardsMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 383 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 384 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 385 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 387 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 392 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 393 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 394 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 396 */ }; static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = { sizeof(struct DealFlopCardsMessage), diff --git a/src/third_party/asn1/DealRiverCardMessage.c b/src/third_party/asn1/DealRiverCardMessage.c index 866ea291..0f76f70d 100644 --- a/src/third_party/asn1/DealRiverCardMessage.c +++ b/src/third_party/asn1/DealRiverCardMessage.c @@ -29,12 +29,12 @@ static asn_TYPE_member_t asn_MBR_DealRiverCardMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_DealRiverCardMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (23 << 2)), + (ASN_TAG_CLASS_APPLICATION | (24 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_DealRiverCardMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 395 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 397 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 404 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 406 */ }; static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = { sizeof(struct DealRiverCardMessage), diff --git a/src/third_party/asn1/DealTurnCardMessage.c b/src/third_party/asn1/DealTurnCardMessage.c index cdbf01fe..38ac8848 100644 --- a/src/third_party/asn1/DealTurnCardMessage.c +++ b/src/third_party/asn1/DealTurnCardMessage.c @@ -29,12 +29,12 @@ static asn_TYPE_member_t asn_MBR_DealTurnCardMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_DealTurnCardMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (22 << 2)), + (ASN_TAG_CLASS_APPLICATION | (23 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_DealTurnCardMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 390 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 392 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 399 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 401 */ }; static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = { sizeof(struct DealTurnCardMessage), diff --git a/src/third_party/asn1/DialogMessage.c b/src/third_party/asn1/DialogMessage.c index 4f950c25..ab310294 100644 --- a/src/third_party/asn1/DialogMessage.c +++ b/src/third_party/asn1/DialogMessage.c @@ -56,7 +56,7 @@ static ber_tlv_tag_t asn_DEF_DialogMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 564 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 573 */ }; static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = { sizeof(struct DialogMessage), diff --git a/src/third_party/asn1/EndKickPetitionMessage.c b/src/third_party/asn1/EndKickPetitionMessage.c index 6b9919bc..40395c88 100644 --- a/src/third_party/asn1/EndKickPetitionMessage.c +++ b/src/third_party/asn1/EndKickPetitionMessage.c @@ -240,12 +240,12 @@ static ber_tlv_tag_t asn_DEF_EndKickPetitionMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 507 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 503 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 504 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 505 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 506 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 509 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 516 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 512 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 513 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 514 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 515 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 518 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = { sizeof(struct EndKickPetitionMessage), diff --git a/src/third_party/asn1/EndOfGameMessage.c b/src/third_party/asn1/EndOfGameMessage.c index 1da9d48c..2226ddf5 100644 --- a/src/third_party/asn1/EndOfGameMessage.c +++ b/src/third_party/asn1/EndOfGameMessage.c @@ -29,12 +29,12 @@ static asn_TYPE_member_t asn_MBR_EndOfGameMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_EndOfGameMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (26 << 2)), + (ASN_TAG_CLASS_APPLICATION | (27 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_EndOfGameMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 439 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 441 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 448 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 450 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = { sizeof(struct EndOfGameMessage), diff --git a/src/third_party/asn1/EndOfHandHideCards.c b/src/third_party/asn1/EndOfHandHideCards.c index 200b8984..7b0c0429 100644 --- a/src/third_party/asn1/EndOfHandHideCards.c +++ b/src/third_party/asn1/EndOfHandHideCards.c @@ -91,9 +91,9 @@ static ber_tlv_tag_t asn_DEF_EndOfHandHideCards_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 433 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 434 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 435 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 442 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 443 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 444 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = { sizeof(struct EndOfHandHideCards), diff --git a/src/third_party/asn1/EndOfHandMessage.c b/src/third_party/asn1/EndOfHandMessage.c index b3bab5e4..188d7379 100644 --- a/src/third_party/asn1/EndOfHandMessage.c +++ b/src/third_party/asn1/EndOfHandMessage.c @@ -29,8 +29,8 @@ static asn_TYPE_member_t asn_MBR_endOfHandType_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 413 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 415 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 422 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 424 */ }; static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = { sizeof(struct endOfHandType), @@ -86,13 +86,13 @@ static asn_TYPE_member_t asn_MBR_EndOfHandMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_EndOfHandMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (25 << 2)), + (ASN_TAG_CLASS_APPLICATION | (26 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_EndOfHandMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 411 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 413 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 415 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 420 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 422 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 424 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = { sizeof(struct EndOfHandMessage), diff --git a/src/third_party/asn1/EndOfHandShowCards.c b/src/third_party/asn1/EndOfHandShowCards.c index 6ce081b3..9a1ecddf 100644 --- a/src/third_party/asn1/EndOfHandShowCards.c +++ b/src/third_party/asn1/EndOfHandShowCards.c @@ -93,7 +93,7 @@ static ber_tlv_tag_t asn_DEF_EndOfHandShowCards_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 420 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 429 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = { sizeof(struct EndOfHandShowCards), diff --git a/src/third_party/asn1/ErrorMessage.c b/src/third_party/asn1/ErrorMessage.c index 8a7f5f71..0f5c820a 100644 --- a/src/third_party/asn1/ErrorMessage.c +++ b/src/third_party/asn1/ErrorMessage.c @@ -165,7 +165,7 @@ static ber_tlv_tag_t asn_DEF_ErrorMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 580 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 589 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = { sizeof(struct ErrorMessage), diff --git a/src/third_party/asn1/GameAdminChanged.c b/src/third_party/asn1/GameAdminChanged.c index 4a956fff..54bebd05 100644 --- a/src/third_party/asn1/GameAdminChanged.c +++ b/src/third_party/asn1/GameAdminChanged.c @@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_GameAdminChanged_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameAdminChanged_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 302 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 311 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameAdminChanged_specs_1 = { sizeof(struct GameAdminChanged), diff --git a/src/third_party/asn1/GameListAdminChanged.c b/src/third_party/asn1/GameListAdminChanged.c index b84917fc..3c239360 100644 --- a/src/third_party/asn1/GameListAdminChanged.c +++ b/src/third_party/asn1/GameListAdminChanged.c @@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_GameListAdminChanged_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameListAdminChanged_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 176 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 185 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameListAdminChanged_specs_1 = { sizeof(struct GameListAdminChanged), diff --git a/src/third_party/asn1/GameListMessage.c b/src/third_party/asn1/GameListMessage.c index 37a0343f..112cc0c7 100644 --- a/src/third_party/asn1/GameListMessage.c +++ b/src/third_party/asn1/GameListMessage.c @@ -56,11 +56,11 @@ static asn_TYPE_member_t asn_MBR_gameListNotification_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_gameListNotification_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameListNew at 146 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 147 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 148 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 149 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 151 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameListNew at 155 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 156 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 157 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 158 */ + { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 160 */ }; static asn_CHOICE_specifics_t asn_SPC_gameListNotification_specs_3 = { sizeof(struct gameListNotification), @@ -116,16 +116,16 @@ static asn_TYPE_member_t asn_MBR_GameListMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_GameListMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (4 << 2)), + (ASN_TAG_CLASS_APPLICATION | (5 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameListMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 144 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 146 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 147 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 148 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 149 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 151 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 153 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 155 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 156 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 157 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 158 */ + { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 160 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameListMessage_specs_1 = { sizeof(struct GameListMessage), diff --git a/src/third_party/asn1/GameListNew.c b/src/third_party/asn1/GameListNew.c index bd42691d..4cc4d3b7 100644 --- a/src/third_party/asn1/GameListNew.c +++ b/src/third_party/asn1/GameListNew.c @@ -129,11 +129,11 @@ static ber_tlv_tag_t asn_DEF_GameListNew_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameListNew_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isPrivate at 156 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 158 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 155 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 157 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 160 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isPrivate at 165 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 167 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 164 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 166 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 169 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameListNew_specs_1 = { sizeof(struct GameListNew), diff --git a/src/third_party/asn1/GameListPlayerJoined.c b/src/third_party/asn1/GameListPlayerJoined.c index b0397043..7f594efb 100644 --- a/src/third_party/asn1/GameListPlayerJoined.c +++ b/src/third_party/asn1/GameListPlayerJoined.c @@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_GameListPlayerJoined_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameListPlayerJoined_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 168 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 177 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerJoined_specs_1 = { sizeof(struct GameListPlayerJoined), diff --git a/src/third_party/asn1/GameListPlayerLeft.c b/src/third_party/asn1/GameListPlayerLeft.c index 9fcbeb09..91bb23a9 100644 --- a/src/third_party/asn1/GameListPlayerLeft.c +++ b/src/third_party/asn1/GameListPlayerLeft.c @@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_GameListPlayerLeft_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameListPlayerLeft_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 172 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 181 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerLeft_specs_1 = { sizeof(struct GameListPlayerLeft), diff --git a/src/third_party/asn1/GameListUpdate.c b/src/third_party/asn1/GameListUpdate.c index 801f7290..6f0315cd 100644 --- a/src/third_party/asn1/GameListUpdate.c +++ b/src/third_party/asn1/GameListUpdate.c @@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_GameListUpdate_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameListUpdate_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* gameMode at 164 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* gameMode at 173 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameListUpdate_specs_1 = { sizeof(struct GameListUpdate), diff --git a/src/third_party/asn1/GamePlayerJoined.c b/src/third_party/asn1/GamePlayerJoined.c index 0268b7ad..f47e9c7f 100644 --- a/src/third_party/asn1/GamePlayerJoined.c +++ b/src/third_party/asn1/GamePlayerJoined.c @@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_GamePlayerJoined_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GamePlayerJoined_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isAdmin at 288 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 287 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isAdmin at 297 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 296 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = { sizeof(struct GamePlayerJoined), diff --git a/src/third_party/asn1/GamePlayerLeft.c b/src/third_party/asn1/GamePlayerLeft.c index 7915307e..943f7139 100644 --- a/src/third_party/asn1/GamePlayerLeft.c +++ b/src/third_party/asn1/GamePlayerLeft.c @@ -151,8 +151,8 @@ static ber_tlv_tag_t asn_DEF_GamePlayerLeft_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GamePlayerLeft_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 292 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 294 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 301 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 303 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerLeft_specs_1 = { sizeof(struct GamePlayerLeft), diff --git a/src/third_party/asn1/GamePlayerMessage.c b/src/third_party/asn1/GamePlayerMessage.c index 6a9bcabd..74f2e1bd 100644 --- a/src/third_party/asn1/GamePlayerMessage.c +++ b/src/third_party/asn1/GamePlayerMessage.c @@ -47,10 +47,10 @@ static asn_TYPE_member_t asn_MBR_gamePlayerNotification_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_gamePlayerNotification_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 279 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 280 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 281 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 283 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 288 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 289 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 290 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 292 */ }; static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = { sizeof(struct gamePlayerNotification), @@ -106,15 +106,15 @@ static asn_TYPE_member_t asn_MBR_GamePlayerMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_GamePlayerMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (10 << 2)), + (ASN_TAG_CLASS_APPLICATION | (11 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GamePlayerMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 277 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 279 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 280 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 281 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 283 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 286 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 288 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 289 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 290 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 292 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerMessage_specs_1 = { sizeof(struct GamePlayerMessage), diff --git a/src/third_party/asn1/GameStartMessage.c b/src/third_party/asn1/GameStartMessage.c index c6b4052e..2ee90e76 100644 --- a/src/third_party/asn1/GameStartMessage.c +++ b/src/third_party/asn1/GameStartMessage.c @@ -108,13 +108,13 @@ static asn_TYPE_member_t asn_MBR_GameStartMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_GameStartMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (15 << 2)), + (ASN_TAG_CLASS_APPLICATION | (16 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 334 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 335 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 337 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 343 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 344 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 346 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = { sizeof(struct GameStartMessage), diff --git a/src/third_party/asn1/HandStartMessage.c b/src/third_party/asn1/HandStartMessage.c index 2e0bc9fd..29173e96 100644 --- a/src/third_party/asn1/HandStartMessage.c +++ b/src/third_party/asn1/HandStartMessage.c @@ -72,14 +72,14 @@ static asn_TYPE_member_t asn_MBR_HandStartMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_HandStartMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (16 << 2)), + (ASN_TAG_CLASS_APPLICATION | (17 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 340 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 341 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 342 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 343 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 349 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 350 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 351 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 352 */ }; static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = { sizeof(struct HandStartMessage), diff --git a/src/third_party/asn1/InitAckMessage.c b/src/third_party/asn1/InitAckMessage.c index 23312e5f..4376d794 100644 --- a/src/third_party/asn1/InitAckMessage.c +++ b/src/third_party/asn1/InitAckMessage.c @@ -76,10 +76,10 @@ static ber_tlv_tag_t asn_DEF_InitAckMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_InitAckMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 2 }, /* latestBetaRevision at 100 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 1 }, /* yourSessionId at 101 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -2, 0 }, /* yourPlayerId at 103 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* latestGameVersion at 99 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 2 }, /* latestBetaRevision at 101 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 1 }, /* yourSessionId at 102 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -2, 0 }, /* yourPlayerId at 104 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* latestGameVersion at 100 */ }; static asn_SEQUENCE_specifics_t asn_SPC_InitAckMessage_specs_1 = { sizeof(struct InitAckMessage), diff --git a/src/third_party/asn1/InitMessage.c b/src/third_party/asn1/InitMessage.c index 08109752..10047979 100644 --- a/src/third_party/asn1/InitMessage.c +++ b/src/third_party/asn1/InitMessage.c @@ -38,9 +38,9 @@ static asn_TYPE_member_t asn_MBR_login_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_login_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* anonymousLogin at 73 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authenticatedLogin at 74 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* statisticsLogin at 76 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* anonymousLogin at 74 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authenticatedLogin at 75 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* statisticsLogin at 77 */ }; static asn_CHOICE_specifics_t asn_SPC_login_specs_3 = { sizeof(struct login), @@ -100,10 +100,10 @@ static ber_tlv_tag_t asn_DEF_InitMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_InitMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* requestedVersion at 71 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* anonymousLogin at 73 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authenticatedLogin at 74 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 } /* statisticsLogin at 76 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* requestedVersion at 72 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* anonymousLogin at 74 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authenticatedLogin at 75 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 } /* statisticsLogin at 77 */ }; static asn_SEQUENCE_specifics_t asn_SPC_InitMessage_specs_1 = { sizeof(struct InitMessage), diff --git a/src/third_party/asn1/JoinExistingGame.c b/src/third_party/asn1/JoinExistingGame.c index 5481831f..d8a988f6 100644 --- a/src/third_party/asn1/JoinExistingGame.c +++ b/src/third_party/asn1/JoinExistingGame.c @@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_JoinExistingGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinExistingGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 228 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 237 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinExistingGame_specs_1 = { sizeof(struct JoinExistingGame), diff --git a/src/third_party/asn1/JoinGameAck.c b/src/third_party/asn1/JoinGameAck.c index a17fe29f..5ca92d43 100644 --- a/src/third_party/asn1/JoinGameAck.c +++ b/src/third_party/asn1/JoinGameAck.c @@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_JoinGameAck_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinGameAck_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* areYouAdmin at 243 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 245 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* areYouAdmin at 252 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 254 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinGameAck_specs_1 = { sizeof(struct JoinGameAck), diff --git a/src/third_party/asn1/JoinGameFailed.c b/src/third_party/asn1/JoinGameFailed.c index 4ca86709..16b24b48 100644 --- a/src/third_party/asn1/JoinGameFailed.c +++ b/src/third_party/asn1/JoinGameFailed.c @@ -144,7 +144,7 @@ static ber_tlv_tag_t asn_DEF_JoinGameFailed_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinGameFailed_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* joinGameFailureReason at 249 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* joinGameFailureReason at 258 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinGameFailed_specs_1 = { sizeof(struct JoinGameFailed), diff --git a/src/third_party/asn1/JoinGameReplyMessage.c b/src/third_party/asn1/JoinGameReplyMessage.c index 0a5dbe2f..80050dfa 100644 --- a/src/third_party/asn1/JoinGameReplyMessage.c +++ b/src/third_party/asn1/JoinGameReplyMessage.c @@ -29,8 +29,8 @@ static asn_TYPE_member_t asn_MBR_joinGameResult_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_joinGameResult_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinGameAck at 237 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 239 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinGameAck at 246 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 248 */ }; static asn_CHOICE_specifics_t asn_SPC_joinGameResult_specs_3 = { sizeof(struct joinGameResult), @@ -86,13 +86,13 @@ static asn_TYPE_member_t asn_MBR_JoinGameReplyMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_JoinGameReplyMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (9 << 2)), + (ASN_TAG_CLASS_APPLICATION | (10 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinGameReplyMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 235 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 237 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 239 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 244 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 246 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 248 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinGameReplyMessage_specs_1 = { sizeof(struct JoinGameReplyMessage), diff --git a/src/third_party/asn1/JoinGameRequestMessage.c b/src/third_party/asn1/JoinGameRequestMessage.c index 707979e3..2cc92b2f 100644 --- a/src/third_party/asn1/JoinGameRequestMessage.c +++ b/src/third_party/asn1/JoinGameRequestMessage.c @@ -61,8 +61,8 @@ static asn_TYPE_member_t asn_MBR_joinGameAction_2[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_joinGameAction_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 220 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 222 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 229 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 231 */ }; static asn_CHOICE_specifics_t asn_SPC_joinGameAction_specs_2 = { sizeof(struct joinGameAction), @@ -118,13 +118,13 @@ static asn_TYPE_member_t asn_MBR_JoinGameRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_JoinGameRequestMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (8 << 2)), + (ASN_TAG_CLASS_APPLICATION | (9 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinGameRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* password at 223 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 220 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 222 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* password at 232 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 229 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 231 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinGameRequestMessage_specs_1 = { sizeof(struct JoinGameRequestMessage), diff --git a/src/third_party/asn1/JoinNewGame.c b/src/third_party/asn1/JoinNewGame.c index c501885c..8ead6412 100644 --- a/src/third_party/asn1/JoinNewGame.c +++ b/src/third_party/asn1/JoinNewGame.c @@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_JoinNewGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinNewGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* gameInfo at 232 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* gameInfo at 241 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinNewGame_specs_1 = { sizeof(struct JoinNewGame), diff --git a/src/third_party/asn1/KickPetitionUpdateMessage.c b/src/third_party/asn1/KickPetitionUpdateMessage.c index f399fe00..695eb869 100644 --- a/src/third_party/asn1/KickPetitionUpdateMessage.c +++ b/src/third_party/asn1/KickPetitionUpdateMessage.c @@ -135,11 +135,11 @@ static ber_tlv_tag_t asn_DEF_KickPetitionUpdateMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_KickPetitionUpdateMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* gameId at 495 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 496 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 497 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 498 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 499 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* gameId at 504 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 505 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 506 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 507 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 508 */ }; static asn_SEQUENCE_specifics_t asn_SPC_KickPetitionUpdateMessage_specs_1 = { sizeof(struct KickPetitionUpdateMessage), diff --git a/src/third_party/asn1/KickPlayerRequestMessage.c b/src/third_party/asn1/KickPlayerRequestMessage.c index fd54f056..35d1410a 100644 --- a/src/third_party/asn1/KickPlayerRequestMessage.c +++ b/src/third_party/asn1/KickPlayerRequestMessage.c @@ -29,12 +29,12 @@ static asn_TYPE_member_t asn_MBR_KickPlayerRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_KickPlayerRequestMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (11 << 2)), + (ASN_TAG_CLASS_APPLICATION | (12 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_KickPlayerRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 316 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 318 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 325 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 327 */ }; static asn_SEQUENCE_specifics_t asn_SPC_KickPlayerRequestMessage_specs_1 = { sizeof(struct KickPlayerRequestMessage), diff --git a/src/third_party/asn1/LeaveGameRequestMessage.c b/src/third_party/asn1/LeaveGameRequestMessage.c index aff60b7b..ed3e1fc1 100644 --- a/src/third_party/asn1/LeaveGameRequestMessage.c +++ b/src/third_party/asn1/LeaveGameRequestMessage.c @@ -20,11 +20,11 @@ static asn_TYPE_member_t asn_MBR_LeaveGameRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_LeaveGameRequestMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (12 << 2)), + (ASN_TAG_CLASS_APPLICATION | (13 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_LeaveGameRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 322 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 331 */ }; static asn_SEQUENCE_specifics_t asn_SPC_LeaveGameRequestMessage_specs_1 = { sizeof(struct LeaveGameRequestMessage), diff --git a/src/third_party/asn1/MyActionRequestMessage.c b/src/third_party/asn1/MyActionRequestMessage.c index ff559295..a453f7e7 100644 --- a/src/third_party/asn1/MyActionRequestMessage.c +++ b/src/third_party/asn1/MyActionRequestMessage.c @@ -72,14 +72,14 @@ static asn_TYPE_member_t asn_MBR_MyActionRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_MyActionRequestMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (18 << 2)), + (ASN_TAG_CLASS_APPLICATION | (19 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_MyActionRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 353 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 356 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 354 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 355 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 362 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 365 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 363 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 364 */ }; static asn_SEQUENCE_specifics_t asn_SPC_MyActionRequestMessage_specs_1 = { sizeof(struct MyActionRequestMessage), diff --git a/src/third_party/asn1/NetGameInfo.c b/src/third_party/asn1/NetGameInfo.c index 54e4532b..a2c9370f 100644 --- a/src/third_party/asn1/NetGameInfo.c +++ b/src/third_party/asn1/NetGameInfo.c @@ -385,8 +385,8 @@ static asn_TYPE_member_t asn_MBR_raiseIntervalMode_4[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_raiseIntervalMode_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* raiseEveryHands at 260 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 261 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* raiseEveryHands at 269 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 270 */ }; static asn_CHOICE_specifics_t asn_SPC_raiseIntervalMode_specs_4 = { sizeof(struct raiseIntervalMode), @@ -607,17 +607,17 @@ static ber_tlv_tag_t asn_DEF_NetGameInfo_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_NetGameInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 5 }, /* maxNumPlayers at 258 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 4 }, /* proposedGuiSpeed at 268 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 3 }, /* playerActionTimeout at 269 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 2 }, /* firstSmallBlind at 270 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 1 }, /* endRaiseSmallBlindValue at 271 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 0 }, /* startMoney at 272 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 264 */ - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 257 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, 0, 0 }, /* manualBlinds at 273 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 260 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 261 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 5 }, /* maxNumPlayers at 267 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 4 }, /* proposedGuiSpeed at 277 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 3 }, /* playerActionTimeout at 278 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 2 }, /* firstSmallBlind at 279 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 1 }, /* endRaiseSmallBlindValue at 280 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 0 }, /* startMoney at 281 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 273 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 266 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, 0, 0 }, /* manualBlinds at 282 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 269 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 270 */ }; static asn_SEQUENCE_specifics_t asn_SPC_NetGameInfo_specs_1 = { sizeof(struct NetGameInfo), diff --git a/src/third_party/asn1/PlayerAllIn.c b/src/third_party/asn1/PlayerAllIn.c index 9504f6a6..5ebc297b 100644 --- a/src/third_party/asn1/PlayerAllIn.c +++ b/src/third_party/asn1/PlayerAllIn.c @@ -41,9 +41,9 @@ static ber_tlv_tag_t asn_DEF_PlayerAllIn_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayerAllIn_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 405 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 406 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 408 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 414 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 415 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 417 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayerAllIn_specs_1 = { sizeof(struct PlayerAllIn), diff --git a/src/third_party/asn1/PlayerInfoData.c b/src/third_party/asn1/PlayerInfoData.c index 748db00b..d5ae1569 100644 --- a/src/third_party/asn1/PlayerInfoData.c +++ b/src/third_party/asn1/PlayerInfoData.c @@ -64,8 +64,8 @@ static ber_tlv_tag_t asn_DEF_avatarData_tags_4[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_avatarData_tag2el_4[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 202 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 200 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 211 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 209 */ }; static asn_SEQUENCE_specifics_t asn_SPC_avatarData_specs_4 = { sizeof(struct avatarData), @@ -134,9 +134,9 @@ static ber_tlv_tag_t asn_DEF_PlayerInfoData_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayerInfoData_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isHuman at 198 */ - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 197 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* avatarData at 200 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isHuman at 207 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 206 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* avatarData at 209 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoData_specs_1 = { sizeof(struct PlayerInfoData), diff --git a/src/third_party/asn1/PlayerInfoReplyMessage.c b/src/third_party/asn1/PlayerInfoReplyMessage.c index 3ca53a7c..932d4ea8 100644 --- a/src/third_party/asn1/PlayerInfoReplyMessage.c +++ b/src/third_party/asn1/PlayerInfoReplyMessage.c @@ -29,8 +29,8 @@ static asn_TYPE_member_t asn_MBR_playerInfoResult_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_playerInfoResult_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* playerInfoData at 191 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 193 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* playerInfoData at 200 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 202 */ }; static asn_CHOICE_specifics_t asn_SPC_playerInfoResult_specs_3 = { sizeof(struct playerInfoResult), @@ -86,13 +86,13 @@ static asn_TYPE_member_t asn_MBR_PlayerInfoReplyMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_PlayerInfoReplyMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (6 << 2)), + (ASN_TAG_CLASS_APPLICATION | (7 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayerInfoReplyMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 189 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* playerInfoData at 191 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 193 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 198 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* playerInfoData at 200 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 202 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoReplyMessage_specs_1 = { sizeof(struct PlayerInfoReplyMessage), diff --git a/src/third_party/asn1/PlayerInfoRequestMessage.c b/src/third_party/asn1/PlayerInfoRequestMessage.c index 94108aa4..c533d910 100644 --- a/src/third_party/asn1/PlayerInfoRequestMessage.c +++ b/src/third_party/asn1/PlayerInfoRequestMessage.c @@ -20,11 +20,11 @@ static asn_TYPE_member_t asn_MBR_PlayerInfoRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_PlayerInfoRequestMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (5 << 2)), + (ASN_TAG_CLASS_APPLICATION | (6 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayerInfoRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 186 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 195 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoRequestMessage_specs_1 = { sizeof(struct PlayerInfoRequestMessage), diff --git a/src/third_party/asn1/PlayerListMessage.c b/src/third_party/asn1/PlayerListMessage.c new file mode 100644 index 00000000..6b6f2e5e --- /dev/null +++ b/src/third_party/asn1/PlayerListMessage.c @@ -0,0 +1,188 @@ +/* + * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) + * From ASN.1 module "POKERTH-PROTOCOL" + * found in "../../../docs/pokerth.asn1" + */ + +#include + +#include "PlayerListMessage.h" + +static int +playerListNotification_3_constraint(asn_TYPE_descriptor_t *td, const void *sptr, + asn_app_constraint_failed_f *ctfailcb, void *app_key) { + /* Replace with underlying type checker */ + td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; + return td->check_constraints(td, sptr, ctfailcb, app_key); +} + +/* + * This type is implemented using NativeEnumerated, + * so here we adjust the DEF accordingly. + */ +static void +playerListNotification_3_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { + td->free_struct = asn_DEF_NativeEnumerated.free_struct; + td->print_struct = asn_DEF_NativeEnumerated.print_struct; + td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; + td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; + td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; + td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; + td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; + td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; + if(!td->per_constraints) + td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; + td->elements = asn_DEF_NativeEnumerated.elements; + td->elements_count = asn_DEF_NativeEnumerated.elements_count; + /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ +} + +static void +playerListNotification_3_free(asn_TYPE_descriptor_t *td, + void *struct_ptr, int contents_only) { + playerListNotification_3_inherit_TYPE_descriptor(td); + td->free_struct(td, struct_ptr, contents_only); +} + +static int +playerListNotification_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, + int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { + playerListNotification_3_inherit_TYPE_descriptor(td); + return td->print_struct(td, struct_ptr, ilevel, cb, app_key); +} + +static asn_dec_rval_t +playerListNotification_3_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, + void **structure, const void *bufptr, size_t size, int tag_mode) { + playerListNotification_3_inherit_TYPE_descriptor(td); + return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); +} + +static asn_enc_rval_t +playerListNotification_3_encode_der(asn_TYPE_descriptor_t *td, + void *structure, int tag_mode, ber_tlv_tag_t tag, + asn_app_consume_bytes_f *cb, void *app_key) { + playerListNotification_3_inherit_TYPE_descriptor(td); + return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); +} + +static asn_dec_rval_t +playerListNotification_3_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, + void **structure, const char *opt_mname, const void *bufptr, size_t size) { + playerListNotification_3_inherit_TYPE_descriptor(td); + return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); +} + +static asn_enc_rval_t +playerListNotification_3_encode_xer(asn_TYPE_descriptor_t *td, void *structure, + int ilevel, enum xer_encoder_flags_e flags, + asn_app_consume_bytes_f *cb, void *app_key) { + playerListNotification_3_inherit_TYPE_descriptor(td); + return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); +} + +static asn_INTEGER_enum_map_t asn_MAP_playerListNotification_value2enum_3[] = { + { 0, 13, "playerListNew" }, + { 1, 14, "playerListLeft" } +}; +static unsigned int asn_MAP_playerListNotification_enum2value_3[] = { + 1, /* playerListLeft(1) */ + 0 /* playerListNew(0) */ +}; +static asn_INTEGER_specifics_t asn_SPC_playerListNotification_specs_3 = { + asn_MAP_playerListNotification_value2enum_3, /* "tag" => N; sorted by tag */ + asn_MAP_playerListNotification_enum2value_3, /* N => "tag"; sorted by N */ + 2, /* Number of elements in the maps */ + 0, /* Enumeration is not extensible */ + 1, /* Strict enumeration */ + 0, /* Native long size */ + 0 +}; +static ber_tlv_tag_t asn_DEF_playerListNotification_tags_3[] = { + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) +}; +static /* Use -fall-defs-global to expose */ +asn_TYPE_descriptor_t asn_DEF_playerListNotification_3 = { + "playerListNotification", + "playerListNotification", + playerListNotification_3_free, + playerListNotification_3_print, + playerListNotification_3_constraint, + playerListNotification_3_decode_ber, + playerListNotification_3_encode_der, + playerListNotification_3_decode_xer, + playerListNotification_3_encode_xer, + 0, 0, /* No PER support, use "-gen-PER" to enable */ + 0, /* Use generic outmost tag fetcher */ + asn_DEF_playerListNotification_tags_3, + sizeof(asn_DEF_playerListNotification_tags_3) + /sizeof(asn_DEF_playerListNotification_tags_3[0]), /* 1 */ + asn_DEF_playerListNotification_tags_3, /* Same as above */ + sizeof(asn_DEF_playerListNotification_tags_3) + /sizeof(asn_DEF_playerListNotification_tags_3[0]), /* 1 */ + 0, /* No PER visible constraints */ + 0, 0, /* Defined elsewhere */ + &asn_SPC_playerListNotification_specs_3 /* Additional specs */ +}; + +static asn_TYPE_member_t asn_MBR_PlayerListMessage_1[] = { + { ATF_NOFLAGS, 0, offsetof(struct PlayerListMessage, playerId), + (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), + 0, + &asn_DEF_NonZeroId, + 0, /* Defer constraints checking to the member type */ + 0, /* PER is not compiled, use -gen-PER */ + 0, + "playerId" + }, + { ATF_NOFLAGS, 0, offsetof(struct PlayerListMessage, playerListNotification), + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), + 0, + &asn_DEF_playerListNotification_3, + 0, /* Defer constraints checking to the member type */ + 0, /* PER is not compiled, use -gen-PER */ + 0, + "playerListNotification" + }, +}; +static ber_tlv_tag_t asn_DEF_PlayerListMessage_tags_1[] = { + (ASN_TAG_CLASS_APPLICATION | (4 << 2)), + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) +}; +static asn_TYPE_tag2member_t asn_MAP_PlayerListMessage_tag2el_1[] = { + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 145 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* playerListNotification at 147 */ +}; +static asn_SEQUENCE_specifics_t asn_SPC_PlayerListMessage_specs_1 = { + sizeof(struct PlayerListMessage), + offsetof(struct PlayerListMessage, _asn_ctx), + asn_MAP_PlayerListMessage_tag2el_1, + 2, /* Count of tags in the map */ + 0, 0, 0, /* Optional elements (not needed) */ + 1, /* Start extensions */ + 3 /* Stop extensions */ +}; +asn_TYPE_descriptor_t asn_DEF_PlayerListMessage = { + "PlayerListMessage", + "PlayerListMessage", + SEQUENCE_free, + SEQUENCE_print, + SEQUENCE_constraint, + SEQUENCE_decode_ber, + SEQUENCE_encode_der, + SEQUENCE_decode_xer, + SEQUENCE_encode_xer, + 0, 0, /* No PER support, use "-gen-PER" to enable */ + 0, /* Use generic outmost tag fetcher */ + asn_DEF_PlayerListMessage_tags_1, + sizeof(asn_DEF_PlayerListMessage_tags_1) + /sizeof(asn_DEF_PlayerListMessage_tags_1[0]) - 1, /* 1 */ + asn_DEF_PlayerListMessage_tags_1, /* Same as above */ + sizeof(asn_DEF_PlayerListMessage_tags_1) + /sizeof(asn_DEF_PlayerListMessage_tags_1[0]), /* 2 */ + 0, /* No PER visible constraints */ + asn_MBR_PlayerListMessage_1, + 2, /* Elements count */ + &asn_SPC_PlayerListMessage_specs_1 /* Additional specs */ +}; + diff --git a/src/third_party/asn1/PlayerListMessage.h b/src/third_party/asn1/PlayerListMessage.h new file mode 100644 index 00000000..69c71fe6 --- /dev/null +++ b/src/third_party/asn1/PlayerListMessage.h @@ -0,0 +1,49 @@ +/* + * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) + * From ASN.1 module "POKERTH-PROTOCOL" + * found in "../../../docs/pokerth.asn1" + */ + +#ifndef _PlayerListMessage_H_ +#define _PlayerListMessage_H_ + + +#include + +/* Including external dependencies */ +#include "NonZeroId.h" +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* Dependencies */ +typedef enum playerListNotification { + playerListNotification_playerListNew = 0, + playerListNotification_playerListLeft = 1 +} e_playerListNotification; + +/* PlayerListMessage */ +typedef struct PlayerListMessage { + NonZeroId_t playerId; + long playerListNotification; + /* + * This type is extensible, + * possible extensions are below. + */ + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; +} PlayerListMessage_t; + +/* Implementation */ +/* extern asn_TYPE_descriptor_t asn_DEF_playerListNotification_3; // (Use -fall-defs-global to expose) */ +extern asn_TYPE_descriptor_t asn_DEF_PlayerListMessage; + +#ifdef __cplusplus +} +#endif + +#endif /* _PlayerListMessage_H_ */ diff --git a/src/third_party/asn1/PlayerResult.c b/src/third_party/asn1/PlayerResult.c index c2365d91..a3a44a09 100644 --- a/src/third_party/asn1/PlayerResult.c +++ b/src/third_party/asn1/PlayerResult.c @@ -197,13 +197,13 @@ static ber_tlv_tag_t asn_DEF_PlayerResult_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayerResult_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* playerId at 423 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 424 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 425 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 427 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 428 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 429 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 426 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* playerId at 432 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 433 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 434 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 436 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 437 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 438 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 435 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayerResult_specs_1 = { sizeof(struct PlayerResult), diff --git a/src/third_party/asn1/PlayersActionDoneMessage.c b/src/third_party/asn1/PlayersActionDoneMessage.c index bb5f479e..c89bf3f5 100644 --- a/src/third_party/asn1/PlayersActionDoneMessage.c +++ b/src/third_party/asn1/PlayersActionDoneMessage.c @@ -183,18 +183,18 @@ static asn_TYPE_member_t asn_MBR_PlayersActionDoneMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_PlayersActionDoneMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (20 << 2)), + (ASN_TAG_CLASS_APPLICATION | (21 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayersActionDoneMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 372 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 373 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 376 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 377 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 378 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 379 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 374 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 375 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 381 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 382 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 385 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 386 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 387 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 388 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 383 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 384 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayersActionDoneMessage_specs_1 = { sizeof(struct PlayersActionDoneMessage), diff --git a/src/third_party/asn1/PlayersTurnMessage.c b/src/third_party/asn1/PlayersTurnMessage.c index e5b6b1be..eac7c5e6 100644 --- a/src/third_party/asn1/PlayersTurnMessage.c +++ b/src/third_party/asn1/PlayersTurnMessage.c @@ -38,13 +38,13 @@ static asn_TYPE_member_t asn_MBR_PlayersTurnMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_PlayersTurnMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (17 << 2)), + (ASN_TAG_CLASS_APPLICATION | (18 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayersTurnMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 347 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 348 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 350 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 356 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 357 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 359 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayersTurnMessage_specs_1 = { sizeof(struct PlayersTurnMessage), diff --git a/src/third_party/asn1/PokerTHMessage.c b/src/third_party/asn1/PokerTHMessage.c index fc4ca8b1..96b8f972 100644 --- a/src/third_party/asn1/PokerTHMessage.c +++ b/src/third_party/asn1/PokerTHMessage.c @@ -45,9 +45,18 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { 0, "avatarReplyMessage" }, - { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gameListMessage), + { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerListMessage), (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 0, + &asn_DEF_PlayerListMessage, + 0, /* Defer constraints checking to the member type */ + 0, /* PER is not compiled, use -gen-PER */ + 0, + "playerListMessage" + }, + { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gameListMessage), + (ASN_TAG_CLASS_APPLICATION | (5 << 2)), + 0, &asn_DEF_GameListMessage, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -55,7 +64,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "gameListMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerInfoRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (5 << 2)), + (ASN_TAG_CLASS_APPLICATION | (6 << 2)), 0, &asn_DEF_PlayerInfoRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -64,7 +73,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "playerInfoRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerInfoReplyMessage), - (ASN_TAG_CLASS_APPLICATION | (6 << 2)), + (ASN_TAG_CLASS_APPLICATION | (7 << 2)), 0, &asn_DEF_PlayerInfoReplyMessage, 0, /* Defer constraints checking to the member type */ @@ -73,7 +82,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "playerInfoReplyMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.subscriptionRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (7 << 2)), + (ASN_TAG_CLASS_APPLICATION | (8 << 2)), 0, &asn_DEF_SubscriptionRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -82,7 +91,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "subscriptionRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.joinGameRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (8 << 2)), + (ASN_TAG_CLASS_APPLICATION | (9 << 2)), 0, &asn_DEF_JoinGameRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -91,7 +100,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "joinGameRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.joinGameReplyMessage), - (ASN_TAG_CLASS_APPLICATION | (9 << 2)), + (ASN_TAG_CLASS_APPLICATION | (10 << 2)), 0, &asn_DEF_JoinGameReplyMessage, 0, /* Defer constraints checking to the member type */ @@ -100,7 +109,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "joinGameReplyMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gamePlayerMessage), - (ASN_TAG_CLASS_APPLICATION | (10 << 2)), + (ASN_TAG_CLASS_APPLICATION | (11 << 2)), 0, &asn_DEF_GamePlayerMessage, 0, /* Defer constraints checking to the member type */ @@ -109,7 +118,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "gamePlayerMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.kickPlayerRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (11 << 2)), + (ASN_TAG_CLASS_APPLICATION | (12 << 2)), 0, &asn_DEF_KickPlayerRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -118,7 +127,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "kickPlayerRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.leaveGameRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (12 << 2)), + (ASN_TAG_CLASS_APPLICATION | (13 << 2)), 0, &asn_DEF_LeaveGameRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -127,7 +136,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "leaveGameRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.startEventMessage), - (ASN_TAG_CLASS_APPLICATION | (13 << 2)), + (ASN_TAG_CLASS_APPLICATION | (14 << 2)), 0, &asn_DEF_StartEventMessage, 0, /* Defer constraints checking to the member type */ @@ -136,7 +145,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "startEventMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.startEventAckMessage), - (ASN_TAG_CLASS_APPLICATION | (14 << 2)), + (ASN_TAG_CLASS_APPLICATION | (15 << 2)), 0, &asn_DEF_StartEventAckMessage, 0, /* Defer constraints checking to the member type */ @@ -145,7 +154,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "startEventAckMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gameStartMessage), - (ASN_TAG_CLASS_APPLICATION | (15 << 2)), + (ASN_TAG_CLASS_APPLICATION | (16 << 2)), 0, &asn_DEF_GameStartMessage, 0, /* Defer constraints checking to the member type */ @@ -154,7 +163,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "gameStartMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.handStartMessage), - (ASN_TAG_CLASS_APPLICATION | (16 << 2)), + (ASN_TAG_CLASS_APPLICATION | (17 << 2)), 0, &asn_DEF_HandStartMessage, 0, /* Defer constraints checking to the member type */ @@ -163,7 +172,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "handStartMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playersTurnMessage), - (ASN_TAG_CLASS_APPLICATION | (17 << 2)), + (ASN_TAG_CLASS_APPLICATION | (18 << 2)), 0, &asn_DEF_PlayersTurnMessage, 0, /* Defer constraints checking to the member type */ @@ -172,7 +181,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "playersTurnMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.myActionRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (18 << 2)), + (ASN_TAG_CLASS_APPLICATION | (19 << 2)), 0, &asn_DEF_MyActionRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -181,7 +190,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "myActionRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.yourActionRejectedMessage), - (ASN_TAG_CLASS_APPLICATION | (19 << 2)), + (ASN_TAG_CLASS_APPLICATION | (20 << 2)), 0, &asn_DEF_YourActionRejectedMessage, 0, /* Defer constraints checking to the member type */ @@ -190,7 +199,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "yourActionRejectedMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playersActionDoneMessage), - (ASN_TAG_CLASS_APPLICATION | (20 << 2)), + (ASN_TAG_CLASS_APPLICATION | (21 << 2)), 0, &asn_DEF_PlayersActionDoneMessage, 0, /* Defer constraints checking to the member type */ @@ -199,7 +208,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "playersActionDoneMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealFlopCardsMessage), - (ASN_TAG_CLASS_APPLICATION | (21 << 2)), + (ASN_TAG_CLASS_APPLICATION | (22 << 2)), 0, &asn_DEF_DealFlopCardsMessage, 0, /* Defer constraints checking to the member type */ @@ -208,7 +217,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "dealFlopCardsMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealTurnCardMessage), - (ASN_TAG_CLASS_APPLICATION | (22 << 2)), + (ASN_TAG_CLASS_APPLICATION | (23 << 2)), 0, &asn_DEF_DealTurnCardMessage, 0, /* Defer constraints checking to the member type */ @@ -217,7 +226,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "dealTurnCardMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealRiverCardMessage), - (ASN_TAG_CLASS_APPLICATION | (23 << 2)), + (ASN_TAG_CLASS_APPLICATION | (24 << 2)), 0, &asn_DEF_DealRiverCardMessage, 0, /* Defer constraints checking to the member type */ @@ -226,7 +235,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "dealRiverCardMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.allInShowCardsMessage), - (ASN_TAG_CLASS_APPLICATION | (24 << 2)), + (ASN_TAG_CLASS_APPLICATION | (25 << 2)), 0, &asn_DEF_AllInShowCardsMessage, 0, /* Defer constraints checking to the member type */ @@ -235,7 +244,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "allInShowCardsMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.endOfHandMessage), - (ASN_TAG_CLASS_APPLICATION | (25 << 2)), + (ASN_TAG_CLASS_APPLICATION | (26 << 2)), 0, &asn_DEF_EndOfHandMessage, 0, /* Defer constraints checking to the member type */ @@ -244,7 +253,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "endOfHandMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.endOfGameMessage), - (ASN_TAG_CLASS_APPLICATION | (26 << 2)), + (ASN_TAG_CLASS_APPLICATION | (27 << 2)), 0, &asn_DEF_EndOfGameMessage, 0, /* Defer constraints checking to the member type */ @@ -384,43 +393,44 @@ static asn_TYPE_tag2member_t asn_MAP_PokerTHMessage_tag2el_1[] = { { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* initAckMessage at 28 */ { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 2, 0, 0 }, /* avatarRequestMessage at 29 */ { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 3, 0, 0 }, /* avatarReplyMessage at 30 */ - { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 4, 0, 0 }, /* gameListMessage at 31 */ - { (ASN_TAG_CLASS_APPLICATION | (5 << 2)), 5, 0, 0 }, /* playerInfoRequestMessage at 32 */ - { (ASN_TAG_CLASS_APPLICATION | (6 << 2)), 6, 0, 0 }, /* playerInfoReplyMessage at 33 */ - { (ASN_TAG_CLASS_APPLICATION | (7 << 2)), 7, 0, 0 }, /* subscriptionRequestMessage at 34 */ - { (ASN_TAG_CLASS_APPLICATION | (8 << 2)), 8, 0, 0 }, /* joinGameRequestMessage at 35 */ - { (ASN_TAG_CLASS_APPLICATION | (9 << 2)), 9, 0, 0 }, /* joinGameReplyMessage at 36 */ - { (ASN_TAG_CLASS_APPLICATION | (10 << 2)), 10, 0, 0 }, /* gamePlayerMessage at 37 */ - { (ASN_TAG_CLASS_APPLICATION | (11 << 2)), 11, 0, 0 }, /* kickPlayerRequestMessage at 38 */ - { (ASN_TAG_CLASS_APPLICATION | (12 << 2)), 12, 0, 0 }, /* leaveGameRequestMessage at 39 */ - { (ASN_TAG_CLASS_APPLICATION | (13 << 2)), 13, 0, 0 }, /* startEventMessage at 40 */ - { (ASN_TAG_CLASS_APPLICATION | (14 << 2)), 14, 0, 0 }, /* startEventAckMessage at 41 */ - { (ASN_TAG_CLASS_APPLICATION | (15 << 2)), 15, 0, 0 }, /* gameStartMessage at 42 */ - { (ASN_TAG_CLASS_APPLICATION | (16 << 2)), 16, 0, 0 }, /* handStartMessage at 43 */ - { (ASN_TAG_CLASS_APPLICATION | (17 << 2)), 17, 0, 0 }, /* playersTurnMessage at 44 */ - { (ASN_TAG_CLASS_APPLICATION | (18 << 2)), 18, 0, 0 }, /* myActionRequestMessage at 45 */ - { (ASN_TAG_CLASS_APPLICATION | (19 << 2)), 19, 0, 0 }, /* yourActionRejectedMessage at 46 */ - { (ASN_TAG_CLASS_APPLICATION | (20 << 2)), 20, 0, 0 }, /* playersActionDoneMessage at 47 */ - { (ASN_TAG_CLASS_APPLICATION | (21 << 2)), 21, 0, 0 }, /* dealFlopCardsMessage at 48 */ - { (ASN_TAG_CLASS_APPLICATION | (22 << 2)), 22, 0, 0 }, /* dealTurnCardMessage at 49 */ - { (ASN_TAG_CLASS_APPLICATION | (23 << 2)), 23, 0, 0 }, /* dealRiverCardMessage at 50 */ - { (ASN_TAG_CLASS_APPLICATION | (24 << 2)), 24, 0, 0 }, /* allInShowCardsMessage at 51 */ - { (ASN_TAG_CLASS_APPLICATION | (25 << 2)), 25, 0, 0 }, /* endOfHandMessage at 52 */ - { (ASN_TAG_CLASS_APPLICATION | (26 << 2)), 26, 0, 0 }, /* endOfGameMessage at 53 */ - { (ASN_TAG_CLASS_APPLICATION | (64 << 2)), 27, 0, 0 }, /* askKickPlayerMessage at 54 */ - { (ASN_TAG_CLASS_APPLICATION | (65 << 2)), 28, 0, 0 }, /* askKickDeniedMessage at 55 */ - { (ASN_TAG_CLASS_APPLICATION | (66 << 2)), 29, 0, 0 }, /* startKickPetitionMessage at 56 */ - { (ASN_TAG_CLASS_APPLICATION | (67 << 2)), 30, 0, 0 }, /* voteKickRequestMessage at 57 */ - { (ASN_TAG_CLASS_APPLICATION | (68 << 2)), 31, 0, 0 }, /* voteKickReplyMessage at 58 */ - { (ASN_TAG_CLASS_APPLICATION | (69 << 2)), 32, 0, 0 }, /* kickPetitionUpdateMessage at 59 */ - { (ASN_TAG_CLASS_APPLICATION | (70 << 2)), 33, 0, 0 }, /* endKickPetitionMessage at 60 */ - { (ASN_TAG_CLASS_APPLICATION | (128 << 2)), 34, 0, 0 }, /* statisticsMessage at 61 */ - { (ASN_TAG_CLASS_APPLICATION | (129 << 2)), 35, 0, 0 }, /* chatRequestMessage at 62 */ - { (ASN_TAG_CLASS_APPLICATION | (130 << 2)), 36, 0, 0 }, /* chatMessage at 63 */ - { (ASN_TAG_CLASS_APPLICATION | (131 << 2)), 37, 0, 0 }, /* dialogMessage at 64 */ - { (ASN_TAG_CLASS_APPLICATION | (132 << 2)), 38, 0, 0 }, /* timeoutWarningMessage at 65 */ - { (ASN_TAG_CLASS_APPLICATION | (133 << 2)), 39, 0, 0 }, /* resetTimeoutMessage at 66 */ - { (ASN_TAG_CLASS_APPLICATION | (255 << 2)), 40, 0, 0 } /* errorMessage at 68 */ + { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 4, 0, 0 }, /* playerListMessage at 31 */ + { (ASN_TAG_CLASS_APPLICATION | (5 << 2)), 5, 0, 0 }, /* gameListMessage at 32 */ + { (ASN_TAG_CLASS_APPLICATION | (6 << 2)), 6, 0, 0 }, /* playerInfoRequestMessage at 33 */ + { (ASN_TAG_CLASS_APPLICATION | (7 << 2)), 7, 0, 0 }, /* playerInfoReplyMessage at 34 */ + { (ASN_TAG_CLASS_APPLICATION | (8 << 2)), 8, 0, 0 }, /* subscriptionRequestMessage at 35 */ + { (ASN_TAG_CLASS_APPLICATION | (9 << 2)), 9, 0, 0 }, /* joinGameRequestMessage at 36 */ + { (ASN_TAG_CLASS_APPLICATION | (10 << 2)), 10, 0, 0 }, /* joinGameReplyMessage at 37 */ + { (ASN_TAG_CLASS_APPLICATION | (11 << 2)), 11, 0, 0 }, /* gamePlayerMessage at 38 */ + { (ASN_TAG_CLASS_APPLICATION | (12 << 2)), 12, 0, 0 }, /* kickPlayerRequestMessage at 39 */ + { (ASN_TAG_CLASS_APPLICATION | (13 << 2)), 13, 0, 0 }, /* leaveGameRequestMessage at 40 */ + { (ASN_TAG_CLASS_APPLICATION | (14 << 2)), 14, 0, 0 }, /* startEventMessage at 41 */ + { (ASN_TAG_CLASS_APPLICATION | (15 << 2)), 15, 0, 0 }, /* startEventAckMessage at 42 */ + { (ASN_TAG_CLASS_APPLICATION | (16 << 2)), 16, 0, 0 }, /* gameStartMessage at 43 */ + { (ASN_TAG_CLASS_APPLICATION | (17 << 2)), 17, 0, 0 }, /* handStartMessage at 44 */ + { (ASN_TAG_CLASS_APPLICATION | (18 << 2)), 18, 0, 0 }, /* playersTurnMessage at 45 */ + { (ASN_TAG_CLASS_APPLICATION | (19 << 2)), 19, 0, 0 }, /* myActionRequestMessage at 46 */ + { (ASN_TAG_CLASS_APPLICATION | (20 << 2)), 20, 0, 0 }, /* yourActionRejectedMessage at 47 */ + { (ASN_TAG_CLASS_APPLICATION | (21 << 2)), 21, 0, 0 }, /* playersActionDoneMessage at 48 */ + { (ASN_TAG_CLASS_APPLICATION | (22 << 2)), 22, 0, 0 }, /* dealFlopCardsMessage at 49 */ + { (ASN_TAG_CLASS_APPLICATION | (23 << 2)), 23, 0, 0 }, /* dealTurnCardMessage at 50 */ + { (ASN_TAG_CLASS_APPLICATION | (24 << 2)), 24, 0, 0 }, /* dealRiverCardMessage at 51 */ + { (ASN_TAG_CLASS_APPLICATION | (25 << 2)), 25, 0, 0 }, /* allInShowCardsMessage at 52 */ + { (ASN_TAG_CLASS_APPLICATION | (26 << 2)), 26, 0, 0 }, /* endOfHandMessage at 53 */ + { (ASN_TAG_CLASS_APPLICATION | (27 << 2)), 27, 0, 0 }, /* endOfGameMessage at 54 */ + { (ASN_TAG_CLASS_APPLICATION | (64 << 2)), 28, 0, 0 }, /* askKickPlayerMessage at 55 */ + { (ASN_TAG_CLASS_APPLICATION | (65 << 2)), 29, 0, 0 }, /* askKickDeniedMessage at 56 */ + { (ASN_TAG_CLASS_APPLICATION | (66 << 2)), 30, 0, 0 }, /* startKickPetitionMessage at 57 */ + { (ASN_TAG_CLASS_APPLICATION | (67 << 2)), 31, 0, 0 }, /* voteKickRequestMessage at 58 */ + { (ASN_TAG_CLASS_APPLICATION | (68 << 2)), 32, 0, 0 }, /* voteKickReplyMessage at 59 */ + { (ASN_TAG_CLASS_APPLICATION | (69 << 2)), 33, 0, 0 }, /* kickPetitionUpdateMessage at 60 */ + { (ASN_TAG_CLASS_APPLICATION | (70 << 2)), 34, 0, 0 }, /* endKickPetitionMessage at 61 */ + { (ASN_TAG_CLASS_APPLICATION | (128 << 2)), 35, 0, 0 }, /* statisticsMessage at 62 */ + { (ASN_TAG_CLASS_APPLICATION | (129 << 2)), 36, 0, 0 }, /* chatRequestMessage at 63 */ + { (ASN_TAG_CLASS_APPLICATION | (130 << 2)), 37, 0, 0 }, /* chatMessage at 64 */ + { (ASN_TAG_CLASS_APPLICATION | (131 << 2)), 38, 0, 0 }, /* dialogMessage at 65 */ + { (ASN_TAG_CLASS_APPLICATION | (132 << 2)), 39, 0, 0 }, /* timeoutWarningMessage at 66 */ + { (ASN_TAG_CLASS_APPLICATION | (133 << 2)), 40, 0, 0 }, /* resetTimeoutMessage at 67 */ + { (ASN_TAG_CLASS_APPLICATION | (255 << 2)), 41, 0, 0 } /* errorMessage at 69 */ }; static asn_CHOICE_specifics_t asn_SPC_PokerTHMessage_specs_1 = { sizeof(struct PokerTHMessage), @@ -428,9 +438,9 @@ static asn_CHOICE_specifics_t asn_SPC_PokerTHMessage_specs_1 = { offsetof(struct PokerTHMessage, present), sizeof(((struct PokerTHMessage *)0)->present), asn_MAP_PokerTHMessage_tag2el_1, - 41, /* Count of tags in the map */ + 42, /* Count of tags in the map */ 0, - 41 /* Extensions start */ + 42 /* Extensions start */ }; asn_TYPE_descriptor_t asn_DEF_PokerTHMessage = { "PokerTHMessage", @@ -450,7 +460,7 @@ asn_TYPE_descriptor_t asn_DEF_PokerTHMessage = { 0, /* No tags (count) */ 0, /* No PER visible constraints */ asn_MBR_PokerTHMessage_1, - 41, /* Elements count */ + 42, /* Elements count */ &asn_SPC_PokerTHMessage_specs_1 /* Additional specs */ }; diff --git a/src/third_party/asn1/PokerTHMessage.h b/src/third_party/asn1/PokerTHMessage.h index 5fdda785..a3a301ed 100644 --- a/src/third_party/asn1/PokerTHMessage.h +++ b/src/third_party/asn1/PokerTHMessage.h @@ -15,6 +15,7 @@ #include "InitAckMessage.h" #include "AvatarRequestMessage.h" #include "AvatarReplyMessage.h" +#include "PlayerListMessage.h" #include "GameListMessage.h" #include "PlayerInfoRequestMessage.h" #include "PlayerInfoReplyMessage.h" @@ -65,6 +66,7 @@ typedef enum PokerTHMessage_PR { PokerTHMessage_PR_initAckMessage, PokerTHMessage_PR_avatarRequestMessage, PokerTHMessage_PR_avatarReplyMessage, + PokerTHMessage_PR_playerListMessage, PokerTHMessage_PR_gameListMessage, PokerTHMessage_PR_playerInfoRequestMessage, PokerTHMessage_PR_playerInfoReplyMessage, @@ -114,6 +116,7 @@ typedef struct PokerTHMessage { InitAckMessage_t initAckMessage; AvatarRequestMessage_t avatarRequestMessage; AvatarReplyMessage_t avatarReplyMessage; + PlayerListMessage_t playerListMessage; GameListMessage_t gameListMessage; PlayerInfoRequestMessage_t playerInfoRequestMessage; PlayerInfoReplyMessage_t playerInfoReplyMessage; diff --git a/src/third_party/asn1/RemovedFromGame.c b/src/third_party/asn1/RemovedFromGame.c index 2e14f862..5769c6dd 100644 --- a/src/third_party/asn1/RemovedFromGame.c +++ b/src/third_party/asn1/RemovedFromGame.c @@ -148,7 +148,7 @@ static ber_tlv_tag_t asn_DEF_RemovedFromGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_RemovedFromGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* removedFromGameReason at 306 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* removedFromGameReason at 315 */ }; static asn_SEQUENCE_specifics_t asn_SPC_RemovedFromGame_specs_1 = { sizeof(struct RemovedFromGame), diff --git a/src/third_party/asn1/StartEventAckMessage.c b/src/third_party/asn1/StartEventAckMessage.c index edd94546..2cc646db 100644 --- a/src/third_party/asn1/StartEventAckMessage.c +++ b/src/third_party/asn1/StartEventAckMessage.c @@ -20,11 +20,11 @@ static asn_TYPE_member_t asn_MBR_StartEventAckMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_StartEventAckMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (14 << 2)), + (ASN_TAG_CLASS_APPLICATION | (15 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StartEventAckMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 331 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 340 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StartEventAckMessage_specs_1 = { sizeof(struct StartEventAckMessage), diff --git a/src/third_party/asn1/StartEventMessage.c b/src/third_party/asn1/StartEventMessage.c index 6d580c2a..8582a99b 100644 --- a/src/third_party/asn1/StartEventMessage.c +++ b/src/third_party/asn1/StartEventMessage.c @@ -29,12 +29,12 @@ static asn_TYPE_member_t asn_MBR_StartEventMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_StartEventMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (13 << 2)), + (ASN_TAG_CLASS_APPLICATION | (14 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StartEventMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 326 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 325 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 335 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 334 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StartEventMessage_specs_1 = { sizeof(struct StartEventMessage), diff --git a/src/third_party/asn1/StartKickPetitionMessage.c b/src/third_party/asn1/StartKickPetitionMessage.c index 26e8415a..de5458fc 100644 --- a/src/third_party/asn1/StartKickPetitionMessage.c +++ b/src/third_party/asn1/StartKickPetitionMessage.c @@ -119,12 +119,12 @@ static ber_tlv_tag_t asn_DEF_StartKickPetitionMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StartKickPetitionMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 461 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 462 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 463 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 464 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 465 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 466 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 470 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 471 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 472 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 473 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 474 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 475 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StartKickPetitionMessage_specs_1 = { sizeof(struct StartKickPetitionMessage), diff --git a/src/third_party/asn1/StatisticsData.c b/src/third_party/asn1/StatisticsData.c index bfa6aa43..051b2933 100644 --- a/src/third_party/asn1/StatisticsData.c +++ b/src/third_party/asn1/StatisticsData.c @@ -147,8 +147,8 @@ static ber_tlv_tag_t asn_DEF_StatisticsData_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StatisticsData_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 525 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 522 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 534 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 531 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StatisticsData_specs_1 = { sizeof(struct StatisticsData), diff --git a/src/third_party/asn1/StatisticsMessage.c b/src/third_party/asn1/StatisticsMessage.c index 75dfb422..0fcdcbb1 100644 --- a/src/third_party/asn1/StatisticsMessage.c +++ b/src/third_party/asn1/StatisticsMessage.c @@ -94,7 +94,7 @@ static ber_tlv_tag_t asn_DEF_StatisticsMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StatisticsMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* statisticsData at 518 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* statisticsData at 527 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StatisticsMessage_specs_1 = { sizeof(struct StatisticsMessage), diff --git a/src/third_party/asn1/SubscriptionRequestMessage.c b/src/third_party/asn1/SubscriptionRequestMessage.c index 9afa068b..0283a963 100644 --- a/src/third_party/asn1/SubscriptionRequestMessage.c +++ b/src/third_party/asn1/SubscriptionRequestMessage.c @@ -137,11 +137,11 @@ static asn_TYPE_member_t asn_MBR_SubscriptionRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_SubscriptionRequestMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (7 << 2)), + (ASN_TAG_CLASS_APPLICATION | (8 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_SubscriptionRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* subscriptionAction at 213 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* subscriptionAction at 222 */ }; static asn_SEQUENCE_specifics_t asn_SPC_SubscriptionRequestMessage_specs_1 = { sizeof(struct SubscriptionRequestMessage), diff --git a/src/third_party/asn1/TimeoutWarningMessage.c b/src/third_party/asn1/TimeoutWarningMessage.c index 731c1a5d..e6d7c047 100644 --- a/src/third_party/asn1/TimeoutWarningMessage.c +++ b/src/third_party/asn1/TimeoutWarningMessage.c @@ -150,8 +150,8 @@ static ber_tlv_tag_t asn_DEF_TimeoutWarningMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_TimeoutWarningMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 573 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 569 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 582 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 578 */ }; static asn_SEQUENCE_specifics_t asn_SPC_TimeoutWarningMessage_specs_1 = { sizeof(struct TimeoutWarningMessage), diff --git a/src/third_party/asn1/Version.c b/src/third_party/asn1/Version.c index 9ed7dc5c..b94d2a8b 100644 --- a/src/third_party/asn1/Version.c +++ b/src/third_party/asn1/Version.c @@ -82,8 +82,8 @@ static ber_tlv_tag_t asn_DEF_Version_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_Version_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* major at 80 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* minor at 81 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* major at 81 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* minor at 82 */ }; static asn_SEQUENCE_specifics_t asn_SPC_Version_specs_1 = { sizeof(struct Version), diff --git a/src/third_party/asn1/VoteKickDenied.c b/src/third_party/asn1/VoteKickDenied.c index 5e836cfc..77bcf189 100644 --- a/src/third_party/asn1/VoteKickDenied.c +++ b/src/third_party/asn1/VoteKickDenied.c @@ -140,7 +140,7 @@ static ber_tlv_tag_t asn_DEF_VoteKickDenied_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_VoteKickDenied_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* voteKickDeniedReason at 489 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* voteKickDeniedReason at 498 */ }; static asn_SEQUENCE_specifics_t asn_SPC_VoteKickDenied_specs_1 = { sizeof(struct VoteKickDenied), diff --git a/src/third_party/asn1/VoteKickReplyMessage.c b/src/third_party/asn1/VoteKickReplyMessage.c index 41be9baa..535edc8e 100644 --- a/src/third_party/asn1/VoteKickReplyMessage.c +++ b/src/third_party/asn1/VoteKickReplyMessage.c @@ -29,8 +29,8 @@ static asn_TYPE_member_t asn_MBR_voteKickReplyType_4[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_voteKickReplyType_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 479 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 481 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 488 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 490 */ }; static asn_CHOICE_specifics_t asn_SPC_voteKickReplyType_specs_4 = { sizeof(struct voteKickReplyType), @@ -99,10 +99,10 @@ static ber_tlv_tag_t asn_DEF_VoteKickReplyMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_VoteKickReplyMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 476 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 477 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 479 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 481 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 485 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 486 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 488 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 490 */ }; static asn_SEQUENCE_specifics_t asn_SPC_VoteKickReplyMessage_specs_1 = { sizeof(struct VoteKickReplyMessage), diff --git a/src/third_party/asn1/VoteKickRequestMessage.c b/src/third_party/asn1/VoteKickRequestMessage.c index 551c1ed6..256b27de 100644 --- a/src/third_party/asn1/VoteKickRequestMessage.c +++ b/src/third_party/asn1/VoteKickRequestMessage.c @@ -42,9 +42,9 @@ static ber_tlv_tag_t asn_DEF_VoteKickRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_VoteKickRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 472 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 470 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 471 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 481 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 479 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 480 */ }; static asn_SEQUENCE_specifics_t asn_SPC_VoteKickRequestMessage_specs_1 = { sizeof(struct VoteKickRequestMessage), diff --git a/src/third_party/asn1/YourActionRejectedMessage.c b/src/third_party/asn1/YourActionRejectedMessage.c index 2f419efc..25ef308d 100644 --- a/src/third_party/asn1/YourActionRejectedMessage.c +++ b/src/third_party/asn1/YourActionRejectedMessage.c @@ -200,15 +200,15 @@ static asn_TYPE_member_t asn_MBR_YourActionRejectedMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_YourActionRejectedMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (19 << 2)), + (ASN_TAG_CLASS_APPLICATION | (20 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_YourActionRejectedMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 360 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 363 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 361 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 362 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 365 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 369 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 372 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 370 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 371 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 374 */ }; static asn_SEQUENCE_specifics_t asn_SPC_YourActionRejectedMessage_specs_1 = { sizeof(struct YourActionRejectedMessage),