From e950d0cb15cf65bc84dd640bfcc4f7d8eb9a5c70 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 7 Nov 2009 21:02:20 +0000 Subject: [PATCH] Introducing a new server announcement message to fix network games. Currently broken. --- docs/pokerth.asn1 | 79 +-- pokerth_protocol.pro | 596 +++++++++--------- src/third_party/asn1/AllInShowCardsMessage.c | 6 +- src/third_party/asn1/AnnounceMessage.c | 271 ++++++++ src/third_party/asn1/AnnounceMessage.h | 55 ++ src/third_party/asn1/AskKickDeniedMessage.c | 6 +- src/third_party/asn1/AskKickPlayerMessage.c | 4 +- src/third_party/asn1/AuthClientResponse.c | 2 +- src/third_party/asn1/AuthMessage.c | 8 +- src/third_party/asn1/AuthServerChallenge.c | 2 +- src/third_party/asn1/AuthServerVerification.c | 2 +- src/third_party/asn1/AuthenticatedLogin.c | 4 +- src/third_party/asn1/AvatarData.c | 2 +- src/third_party/asn1/AvatarHeader.c | 4 +- src/third_party/asn1/AvatarReplyMessage.c | 20 +- src/third_party/asn1/AvatarRequestMessage.c | 6 +- src/third_party/asn1/ChatMessage.c | 18 +- src/third_party/asn1/ChatRequestMessage.c | 10 +- src/third_party/asn1/ChatRequestTypeGame.c | 2 +- src/third_party/asn1/ChatTypeGame.c | 4 +- src/third_party/asn1/ChatTypeLobby.c | 2 +- src/third_party/asn1/DealFlopCardsMessage.c | 10 +- src/third_party/asn1/DealRiverCardMessage.c | 6 +- src/third_party/asn1/DealTurnCardMessage.c | 6 +- src/third_party/asn1/DialogMessage.c | 2 +- src/third_party/asn1/EndKickPetitionMessage.c | 12 +- src/third_party/asn1/EndOfGameMessage.c | 6 +- src/third_party/asn1/EndOfHandHideCards.c | 6 +- src/third_party/asn1/EndOfHandMessage.c | 12 +- src/third_party/asn1/EndOfHandShowCards.c | 2 +- src/third_party/asn1/ErrorMessage.c | 2 +- src/third_party/asn1/GameAdminChanged.c | 2 +- src/third_party/asn1/GameListAdminChanged.c | 2 +- src/third_party/asn1/GameListMessage.c | 24 +- src/third_party/asn1/GameListNew.c | 10 +- src/third_party/asn1/GameListPlayerJoined.c | 2 +- src/third_party/asn1/GameListPlayerLeft.c | 2 +- src/third_party/asn1/GameListUpdate.c | 2 +- src/third_party/asn1/GamePlayerJoined.c | 4 +- src/third_party/asn1/GamePlayerLeft.c | 4 +- src/third_party/asn1/GamePlayerMessage.c | 20 +- src/third_party/asn1/GameStartMessage.c | 8 +- src/third_party/asn1/GuestLogin.c | 2 +- src/third_party/asn1/HandStartMessage.c | 10 +- src/third_party/asn1/InitAckMessage.c | 59 +- src/third_party/asn1/InitAckMessage.h | 4 - src/third_party/asn1/InitMessage.c | 33 +- src/third_party/asn1/InitMessage.h | 3 - src/third_party/asn1/JoinExistingGame.c | 2 +- src/third_party/asn1/JoinGameAck.c | 4 +- src/third_party/asn1/JoinGameFailed.c | 2 +- src/third_party/asn1/JoinGameReplyMessage.c | 12 +- src/third_party/asn1/JoinGameRequestMessage.c | 12 +- src/third_party/asn1/JoinNewGame.c | 2 +- .../asn1/KickPetitionUpdateMessage.c | 10 +- .../asn1/KickPlayerRequestMessage.c | 6 +- .../asn1/LeaveGameRequestMessage.c | 4 +- src/third_party/asn1/MyActionRequestMessage.c | 10 +- src/third_party/asn1/NetGameInfo.c | 28 +- src/third_party/asn1/PlayerAllIn.c | 6 +- src/third_party/asn1/PlayerInfoData.c | 10 +- src/third_party/asn1/PlayerInfoReplyMessage.c | 12 +- .../asn1/PlayerInfoRequestMessage.c | 4 +- src/third_party/asn1/PlayerListMessage.c | 6 +- src/third_party/asn1/PlayerResult.c | 14 +- .../asn1/PlayersActionDoneMessage.c | 18 +- src/third_party/asn1/PlayersTurnMessage.c | 8 +- src/third_party/asn1/PokerTHMessage.c | 160 ++--- src/third_party/asn1/PokerTHMessage.h | 3 + src/third_party/asn1/RemovedFromGame.c | 2 +- src/third_party/asn1/StartEventAckMessage.c | 4 +- src/third_party/asn1/StartEventMessage.c | 6 +- .../asn1/StartKickPetitionMessage.c | 12 +- src/third_party/asn1/StatisticsData.c | 4 +- src/third_party/asn1/StatisticsLogin.c | 46 -- src/third_party/asn1/StatisticsLogin.h | 39 -- src/third_party/asn1/StatisticsMessage.c | 2 +- .../asn1/SubscriptionRequestMessage.c | 4 +- src/third_party/asn1/TimeoutWarningMessage.c | 4 +- src/third_party/asn1/Version.c | 4 +- src/third_party/asn1/VoteKickDenied.c | 2 +- src/third_party/asn1/VoteKickReplyMessage.c | 12 +- src/third_party/asn1/VoteKickRequestMessage.c | 6 +- .../asn1/YourActionRejectedMessage.c | 12 +- 84 files changed, 1023 insertions(+), 827 deletions(-) create mode 100644 src/third_party/asn1/AnnounceMessage.c create mode 100644 src/third_party/asn1/AnnounceMessage.h delete mode 100644 src/third_party/asn1/StatisticsLogin.c delete mode 100644 src/third_party/asn1/StatisticsLogin.h diff --git a/docs/pokerth.asn1 b/docs/pokerth.asn1 index 81355e91..c2c6061d 100644 --- a/docs/pokerth.asn1 +++ b/docs/pokerth.asn1 @@ -24,6 +24,7 @@ EXTENSIBILITY IMPLIED ::= BEGIN PokerTHMessage ::= CHOICE { + announceMessage AnnounceMessage, initMessage InitMessage, authMessage AuthMessage, initAckMessage InitAckMessage, @@ -69,14 +70,25 @@ PokerTHMessage ::= CHOICE { errorMessage ErrorMessage } +AnnounceMessage ::= [APPLICATION 0] SEQUENCE { + protocolVersion Version, + latestGameVersion Version, + latestBetaRevision INTEGER(0..65535), + serverType ENUMERATED { + serverTypeLAN (0), + serverTypeInternetNoAuth (1), + serverTypeInternetAuth (2) + }, + numPlayersOnServer INTEGER(0..65535) +} + -- buildId contains a constant build id (specific for Windows/Linux/Mac builds) -InitMessage ::= [APPLICATION 0] SEQUENCE { +InitMessage ::= [APPLICATION 1] SEQUENCE { requestedVersion Version, buildId INTEGER, login CHOICE { guestLogin [0] GuestLogin, - authenticatedLogin [1] AuthenticatedLogin, - statisticsLogin [2] StatisticsLogin + authenticatedLogin [1] AuthenticatedLogin } } @@ -95,7 +107,7 @@ AuthenticatedLogin ::= SEQUENCE { avatar AvatarHash OPTIONAL } -AuthMessage ::= [APPLICATION 1] CHOICE { +AuthMessage ::= [APPLICATION 2] CHOICE { authServerChallenge [0] AuthServerChallenge, authClientResponse [1] AuthClientResponse, authServerVerification [2] AuthServerVerification @@ -113,22 +125,17 @@ AuthServerVerification ::= SEQUENCE { serverVerification OCTET STRING (SIZE(1..256)) } -StatisticsLogin ::= SEQUENCE { -} - -InitAckMessage ::= [APPLICATION 2] SEQUENCE { - latestGameVersion Version, - latestBetaRevision INTEGER(0..65535), +InitAckMessage ::= [APPLICATION 3] SEQUENCE { yourSessionId Guid, yourPlayerId NonZeroId } -AvatarRequestMessage ::= [APPLICATION 3] SEQUENCE { +AvatarRequestMessage ::= [APPLICATION 4] SEQUENCE { requestId NonZeroId, avatar AvatarHash } -AvatarReplyMessage ::= [APPLICATION 4] SEQUENCE { +AvatarReplyMessage ::= [APPLICATION 5] SEQUENCE { requestId NonZeroId, avatarResult CHOICE { avatarHeader [0] AvatarHeader, @@ -161,7 +168,7 @@ NetAvatarType ::= ENUMERATED { avatarImageGif (3) } -PlayerListMessage ::= [APPLICATION 5] SEQUENCE { +PlayerListMessage ::= [APPLICATION 6] SEQUENCE { playerId NonZeroId, playerListNotification ENUMERATED { playerListNew (0), @@ -169,7 +176,7 @@ PlayerListMessage ::= [APPLICATION 5] SEQUENCE { } } -GameListMessage ::= [APPLICATION 6] SEQUENCE { +GameListMessage ::= [APPLICATION 7] SEQUENCE { gameId NonZeroId, gameListNotification CHOICE { gameListNew [0] GameListNew, @@ -210,11 +217,11 @@ NetGameMode ::= ENUMERATED { gameClosed (3) } -PlayerInfoRequestMessage ::= [APPLICATION 7] SEQUENCE { +PlayerInfoRequestMessage ::= [APPLICATION 8] SEQUENCE { playerId NonZeroId } -PlayerInfoReplyMessage ::= [APPLICATION 8] SEQUENCE { +PlayerInfoReplyMessage ::= [APPLICATION 9] SEQUENCE { playerId NonZeroId, playerInfoResult CHOICE { playerInfoData [0] PlayerInfoData, @@ -237,14 +244,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 9] SEQUENCE { +SubscriptionRequestMessage ::= [APPLICATION 10] SEQUENCE { subscriptionAction ENUMERATED { unsubscribeGameList (1), resubscribeGameList (2) } } -JoinGameRequestMessage ::= [APPLICATION 10] SEQUENCE { +JoinGameRequestMessage ::= [APPLICATION 11] SEQUENCE { joinGameAction CHOICE { joinExistingGame [0] JoinExistingGame, joinNewGame [1] JoinNewGame @@ -260,7 +267,7 @@ JoinNewGame ::= SEQUENCE { gameInfo NetGameInfo } -JoinGameReplyMessage ::= [APPLICATION 11] SEQUENCE { +JoinGameReplyMessage ::= [APPLICATION 12] SEQUENCE { gameId NonZeroId, joinGameResult CHOICE { joinGameAck [0] JoinGameAck, @@ -303,7 +310,7 @@ NetGameInfo ::= SEQUENCE { manualBlinds SEQUENCE SIZE(0..30) OF INTEGER(1..20001) } -GamePlayerMessage ::= [APPLICATION 12] SEQUENCE { +GamePlayerMessage ::= [APPLICATION 13] SEQUENCE { gameId NonZeroId, gamePlayerNotification CHOICE { gamePlayerJoined [0] GamePlayerJoined, @@ -342,51 +349,51 @@ RemovedFromGame ::= SEQUENCE { } } -KickPlayerRequestMessage ::= [APPLICATION 13] SEQUENCE { +KickPlayerRequestMessage ::= [APPLICATION 14] SEQUENCE { gameId NonZeroId, playerId NonZeroId } -LeaveGameRequestMessage ::= [APPLICATION 14] SEQUENCE { +LeaveGameRequestMessage ::= [APPLICATION 15] SEQUENCE { gameId NonZeroId } -StartEventMessage ::= [APPLICATION 15] SEQUENCE { +StartEventMessage ::= [APPLICATION 16] SEQUENCE { gameId NonZeroId, fillWithComputerPlayers BOOLEAN } -StartEventAckMessage ::= [APPLICATION 16] SEQUENCE { +StartEventAckMessage ::= [APPLICATION 17] SEQUENCE { gameId NonZeroId } -GameStartMessage ::= [APPLICATION 17] SEQUENCE { +GameStartMessage ::= [APPLICATION 18] SEQUENCE { gameId NonZeroId, startDealerPlayerId NonZeroId, playerSeats SEQUENCE SIZE(2..10) OF NonZeroId } -HandStartMessage ::= [APPLICATION 18] SEQUENCE { +HandStartMessage ::= [APPLICATION 19] SEQUENCE { gameId NonZeroId, yourCard1 Card, yourCard2 Card, smallBlind INTEGER(1..20001) } -PlayersTurnMessage ::= [APPLICATION 19] SEQUENCE { +PlayersTurnMessage ::= [APPLICATION 20] SEQUENCE { gameId NonZeroId, playerId NonZeroId, gameState NetGameState } -MyActionRequestMessage ::= [APPLICATION 20] SEQUENCE { +MyActionRequestMessage ::= [APPLICATION 21] SEQUENCE { gameId NonZeroId, gameState NetGameState, myAction NetPlayerAction, myRelativeBet INTEGER(0..10000000) } -YourActionRejectedMessage ::= [APPLICATION 21] SEQUENCE { +YourActionRejectedMessage ::= [APPLICATION 22] SEQUENCE { gameId NonZeroId, gameState NetGameState, yourAction NetPlayerAction, @@ -398,7 +405,7 @@ YourActionRejectedMessage ::= [APPLICATION 21] SEQUENCE { } } -PlayersActionDoneMessage ::= [APPLICATION 22] SEQUENCE { +PlayersActionDoneMessage ::= [APPLICATION 23] SEQUENCE { gameId NonZeroId, playerId NonZeroId, gameState NetGameState, @@ -409,24 +416,24 @@ PlayersActionDoneMessage ::= [APPLICATION 22] SEQUENCE { minimumRaise INTEGER(0..10000000) -- TODO } -DealFlopCardsMessage ::= [APPLICATION 23] SEQUENCE { +DealFlopCardsMessage ::= [APPLICATION 24] SEQUENCE { gameId NonZeroId, flopCard1 Card, flopCard2 Card, flopCard3 Card } -DealTurnCardMessage ::= [APPLICATION 24] SEQUENCE { +DealTurnCardMessage ::= [APPLICATION 25] SEQUENCE { gameId NonZeroId, turnCard Card } -DealRiverCardMessage ::= [APPLICATION 25] SEQUENCE { +DealRiverCardMessage ::= [APPLICATION 26] SEQUENCE { gameId NonZeroId, riverCard Card } -AllInShowCardsMessage ::= [APPLICATION 26] SEQUENCE { +AllInShowCardsMessage ::= [APPLICATION 27] SEQUENCE { gameId NonZeroId, playersAllIn SEQUENCE SIZE(1..10) OF PlayerAllIn } @@ -437,7 +444,7 @@ PlayerAllIn ::= SEQUENCE { allInCard2 Card } -EndOfHandMessage ::= [APPLICATION 27] SEQUENCE { +EndOfHandMessage ::= [APPLICATION 28] SEQUENCE { gameId NonZeroId, endOfHandType CHOICE { endOfHandShowCards [0] EndOfHandShowCards, @@ -465,7 +472,7 @@ EndOfHandHideCards ::= SEQUENCE { playerMoney INTEGER(0..10000000) } -EndOfGameMessage ::= [APPLICATION 28] SEQUENCE { +EndOfGameMessage ::= [APPLICATION 29] SEQUENCE { gameId NonZeroId, winnerPlayerId NonZeroId } diff --git a/pokerth_protocol.pro b/pokerth_protocol.pro index 67dac302..20dfe0db 100644 --- a/pokerth_protocol.pro +++ b/pokerth_protocol.pro @@ -1,299 +1,297 @@ -# QMake pro-file for PokerTH common library -TEMPLATE = lib -CODECFORSRC = UTF-8 -CONFIG += staticlib \ - thread \ - exceptions \ - rtti \ - stl \ - warn_on -UI_DIR = uics -TARGET = lib/pokerth_protocol -MOC_DIR = mocs -OBJECTS_DIR = obj -DEFINES += ENABLE_IPV6 -QT -= core \ - gui - -# PRECOMPILED_HEADER = src/pch_lib.h -INCLUDEPATH += . \ - src \ - src/third_party/asn1 -DEPENDPATH += . \ - src \ - src/third_party/asn1 - -# Input -HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \ - src/third_party/asn1/ChatCleanerMessage.h \ - src/third_party/asn1/CleanerInitMessage.h \ - src/third_party/asn1/CleanerInitAckMessage.h \ - src/third_party/asn1/CleanerChatRequestMessage.h \ - src/third_party/asn1/CleanerChatReplyMessage.h \ - src/third_party/asn1/GuestLogin.h \ - src/third_party/asn1/AskKickDeniedMessage.h \ - src/third_party/asn1/AskKickPlayerMessage.h \ - src/third_party/asn1/AuthMessage.h \ - src/third_party/asn1/AuthClientResponse.h \ - src/third_party/asn1/AuthServerChallenge.h \ - src/third_party/asn1/AuthServerVerification.h \ - src/third_party/asn1/asn_application.h \ - src/third_party/asn1/asn_codecs.h \ - src/third_party/asn1/asn_codecs_prim.h \ - src/third_party/asn1/asn_internal.h \ - src/third_party/asn1/asn_SEQUENCE_OF.h \ - src/third_party/asn1/asn_SET_OF.h \ - src/third_party/asn1/asn_system.h \ - src/third_party/asn1/AuthenticatedLogin.h \ - src/third_party/asn1/AvatarData.h \ - src/third_party/asn1/AvatarEnd.h \ - src/third_party/asn1/AvatarHash.h \ - src/third_party/asn1/AvatarHeader.h \ - src/third_party/asn1/AvatarReplyMessage.h \ - src/third_party/asn1/AvatarRequestMessage.h \ - src/third_party/asn1/ber_decoder.h \ - src/third_party/asn1/ber_tlv_length.h \ - src/third_party/asn1/ber_tlv_tag.h \ - src/third_party/asn1/BIT_STRING.h \ - src/third_party/asn1/BOOLEAN.h \ - src/third_party/asn1/Card.h \ - src/third_party/asn1/ChatMessage.h \ - src/third_party/asn1/ChatTypeGame.h \ - src/third_party/asn1/ChatTypeLobby.h \ - src/third_party/asn1/ChatTypeBot.h \ - src/third_party/asn1/ChatTypeBroadcast.h \ - src/third_party/asn1/ChatRequestMessage.h \ - src/third_party/asn1/ChatRequestTypeLobby.h \ - src/third_party/asn1/ChatRequestTypeGame.h \ - src/third_party/asn1/constraints.h \ - src/third_party/asn1/constr_CHOICE.h \ - src/third_party/asn1/constr_SEQUENCE.h \ - src/third_party/asn1/constr_SEQUENCE_OF.h \ - src/third_party/asn1/constr_SET_OF.h \ - src/third_party/asn1/constr_TYPE.h \ - src/third_party/asn1/DealFlopCardsMessage.h \ - src/third_party/asn1/DealRiverCardMessage.h \ - src/third_party/asn1/DealTurnCardMessage.h \ - src/third_party/asn1/der_encoder.h \ - src/third_party/asn1/DialogMessage.h \ - src/third_party/asn1/EndKickPetitionMessage.h \ - src/third_party/asn1/EndOfGameMessage.h \ - src/third_party/asn1/EndOfHandHideCards.h \ - src/third_party/asn1/EndOfHandMessage.h \ - src/third_party/asn1/EndOfHandShowCards.h \ - src/third_party/asn1/ErrorMessage.h \ - src/third_party/asn1/GameAdminChanged.h \ - src/third_party/asn1/GameListAdminChanged.h \ - src/third_party/asn1/GameListMessage.h \ - src/third_party/asn1/GameListNew.h \ - src/third_party/asn1/GameListPlayerJoined.h \ - src/third_party/asn1/GameListPlayerLeft.h \ - src/third_party/asn1/GameListUpdate.h \ - src/third_party/asn1/GamePlayerJoined.h \ - src/third_party/asn1/GamePlayerLeft.h \ - src/third_party/asn1/GamePlayerMessage.h \ - src/third_party/asn1/GameStartMessage.h \ - src/third_party/asn1/Guid.h \ - src/third_party/asn1/HandStartMessage.h \ - src/third_party/asn1/Id.h \ - src/third_party/asn1/InitAckMessage.h \ - src/third_party/asn1/InitMessage.h \ - src/third_party/asn1/INTEGER.h \ - src/third_party/asn1/JoinExistingGame.h \ - src/third_party/asn1/JoinGameAck.h \ - src/third_party/asn1/JoinGameFailed.h \ - src/third_party/asn1/JoinGameReplyMessage.h \ - src/third_party/asn1/JoinGameRequestMessage.h \ - src/third_party/asn1/JoinNewGame.h \ - src/third_party/asn1/KickPetitionUpdateMessage.h \ - src/third_party/asn1/KickPlayerRequestMessage.h \ - src/third_party/asn1/LeaveGameRequestMessage.h \ - src/third_party/asn1/MyActionRequestMessage.h \ - src/third_party/asn1/NativeEnumerated.h \ - src/third_party/asn1/NativeInteger.h \ - src/third_party/asn1/NetAvatarType.h \ - src/third_party/asn1/NetGameInfo.h \ - src/third_party/asn1/NetGameMode.h \ - src/third_party/asn1/NetGameState.h \ - src/third_party/asn1/NetPlayerAction.h \ - src/third_party/asn1/NonZeroId.h \ - src/third_party/asn1/OCTET_STRING.h \ - src/third_party/asn1/per_decoder.h \ - src/third_party/asn1/per_encoder.h \ - src/third_party/asn1/per_opentype.h \ - src/third_party/asn1/per_support.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/PlayerListMessage.h \ - src/third_party/asn1/PlayerResult.h \ - src/third_party/asn1/PlayersActionDoneMessage.h \ - src/third_party/asn1/PlayersTurnMessage.h \ - src/third_party/asn1/PokerTHMessage.h \ - src/third_party/asn1/RemovedFromGame.h \ - src/third_party/asn1/ResetTimeoutMessage.h \ - src/third_party/asn1/StartEventAckMessage.h \ - src/third_party/asn1/StartEventMessage.h \ - src/third_party/asn1/StartKickPetitionMessage.h \ - src/third_party/asn1/StatisticsData.h \ - src/third_party/asn1/StatisticsLogin.h \ - src/third_party/asn1/StatisticsMessage.h \ - src/third_party/asn1/SubscriptionRequestMessage.h \ - src/third_party/asn1/TimeoutWarningMessage.h \ - src/third_party/asn1/UnknownAvatar.h \ - src/third_party/asn1/UnknownPlayerInfo.h \ - src/third_party/asn1/UTF8String.h \ - src/third_party/asn1/Version.h \ - src/third_party/asn1/VoteKickAck.h \ - src/third_party/asn1/VoteKickDenied.h \ - src/third_party/asn1/VoteKickReplyMessage.h \ - src/third_party/asn1/VoteKickRequestMessage.h \ - src/third_party/asn1/xer_decoder.h \ - src/third_party/asn1/xer_encoder.h \ - src/third_party/asn1/xer_support.h \ - src/third_party/asn1/YourActionRejectedMessage.h - -SOURCES += src/third_party/asn1/ChatCleanerMessage.c \ - src/third_party/asn1/CleanerInitMessage.c \ - src/third_party/asn1/CleanerInitAckMessage.c \ - src/third_party/asn1/CleanerChatRequestMessage.c \ - src/third_party/asn1/CleanerChatReplyMessage.c \ - src/third_party/asn1/AuthMessage.c \ - src/third_party/asn1/AuthClientResponse.c \ - src/third_party/asn1/AuthServerChallenge.c \ - src/third_party/asn1/AuthServerVerification.c \ - src/third_party/asn1/AllInShowCardsMessage.c \ - src/third_party/asn1/YourActionRejectedMessage.c \ - src/third_party/asn1/xer_support.c \ - src/third_party/asn1/xer_encoder.c \ - src/third_party/asn1/xer_decoder.c \ - src/third_party/asn1/VoteKickRequestMessage.c \ - src/third_party/asn1/VoteKickReplyMessage.c \ - src/third_party/asn1/VoteKickDenied.c \ - src/third_party/asn1/VoteKickAck.c \ - src/third_party/asn1/Version.c \ - src/third_party/asn1/UTF8String.c \ - src/third_party/asn1/UnknownPlayerInfo.c \ - src/third_party/asn1/UnknownAvatar.c \ - src/third_party/asn1/TimeoutWarningMessage.c \ - src/third_party/asn1/SubscriptionRequestMessage.c \ - src/third_party/asn1/StatisticsMessage.c \ - src/third_party/asn1/StatisticsLogin.c \ - src/third_party/asn1/StatisticsData.c \ - src/third_party/asn1/StartKickPetitionMessage.c \ - src/third_party/asn1/StartEventMessage.c \ - src/third_party/asn1/StartEventAckMessage.c \ - src/third_party/asn1/ResetTimeoutMessage.c \ - src/third_party/asn1/RemovedFromGame.c \ - src/third_party/asn1/PokerTHMessage.c \ - src/third_party/asn1/PlayersTurnMessage.c \ - src/third_party/asn1/PlayersActionDoneMessage.c \ - src/third_party/asn1/PlayerResult.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/PlayerListMessage.c \ - src/third_party/asn1/per_support.c \ - src/third_party/asn1/per_opentype.c \ - src/third_party/asn1/per_encoder.c \ - src/third_party/asn1/per_decoder.c \ - src/third_party/asn1/OCTET_STRING.c \ - src/third_party/asn1/NonZeroId.c \ - src/third_party/asn1/NetPlayerAction.c \ - src/third_party/asn1/NetGameState.c \ - src/third_party/asn1/NetGameMode.c \ - src/third_party/asn1/NetGameInfo.c \ - src/third_party/asn1/NetAvatarType.c \ - src/third_party/asn1/NativeInteger.c \ - src/third_party/asn1/NativeEnumerated.c \ - src/third_party/asn1/MyActionRequestMessage.c \ - src/third_party/asn1/LeaveGameRequestMessage.c \ - src/third_party/asn1/KickPlayerRequestMessage.c \ - src/third_party/asn1/KickPetitionUpdateMessage.c \ - src/third_party/asn1/JoinNewGame.c \ - src/third_party/asn1/JoinGameRequestMessage.c \ - src/third_party/asn1/JoinGameReplyMessage.c \ - src/third_party/asn1/JoinGameFailed.c \ - src/third_party/asn1/JoinGameAck.c \ - src/third_party/asn1/JoinExistingGame.c \ - src/third_party/asn1/INTEGER.c \ - src/third_party/asn1/InitMessage.c \ - src/third_party/asn1/InitAckMessage.c \ - src/third_party/asn1/Id.c \ - src/third_party/asn1/HandStartMessage.c \ - src/third_party/asn1/Guid.c \ - src/third_party/asn1/GameStartMessage.c \ - src/third_party/asn1/GamePlayerMessage.c \ - src/third_party/asn1/GamePlayerLeft.c \ - src/third_party/asn1/GamePlayerJoined.c \ - src/third_party/asn1/GameListUpdate.c \ - src/third_party/asn1/GameListPlayerLeft.c \ - src/third_party/asn1/GameListPlayerJoined.c \ - src/third_party/asn1/GameListNew.c \ - src/third_party/asn1/GameListMessage.c \ - src/third_party/asn1/GameListAdminChanged.c \ - src/third_party/asn1/GameAdminChanged.c \ - src/third_party/asn1/ErrorMessage.c \ - src/third_party/asn1/EndOfHandShowCards.c \ - src/third_party/asn1/EndOfHandMessage.c \ - src/third_party/asn1/EndOfHandHideCards.c \ - src/third_party/asn1/EndOfGameMessage.c \ - src/third_party/asn1/EndKickPetitionMessage.c \ - src/third_party/asn1/DialogMessage.c \ - src/third_party/asn1/der_encoder.c \ - src/third_party/asn1/DealTurnCardMessage.c \ - src/third_party/asn1/DealRiverCardMessage.c \ - src/third_party/asn1/DealFlopCardsMessage.c \ - src/third_party/asn1/constraints.c \ - src/third_party/asn1/constr_TYPE.c \ - src/third_party/asn1/constr_SET_OF.c \ - src/third_party/asn1/constr_SEQUENCE_OF.c \ - src/third_party/asn1/constr_SEQUENCE.c \ - src/third_party/asn1/constr_CHOICE.c \ - src/third_party/asn1/ChatRequestMessage.c \ - src/third_party/asn1/ChatRequestTypeLobby.c \ - src/third_party/asn1/ChatRequestTypeGame.c \ - src/third_party/asn1/ChatMessage.c \ - src/third_party/asn1/ChatTypeGame.c \ - src/third_party/asn1/ChatTypeLobby.c \ - src/third_party/asn1/ChatTypeBot.c \ - src/third_party/asn1/ChatTypeBroadcast.c \ - src/third_party/asn1/Card.c \ - src/third_party/asn1/BOOLEAN.c \ - src/third_party/asn1/BIT_STRING.c \ - src/third_party/asn1/ber_tlv_tag.c \ - src/third_party/asn1/ber_tlv_length.c \ - src/third_party/asn1/ber_decoder.c \ - src/third_party/asn1/AvatarRequestMessage.c \ - src/third_party/asn1/AvatarReplyMessage.c \ - src/third_party/asn1/AvatarHeader.c \ - src/third_party/asn1/AvatarHash.c \ - src/third_party/asn1/AvatarEnd.c \ - src/third_party/asn1/AvatarData.c \ - src/third_party/asn1/AuthenticatedLogin.c \ - src/third_party/asn1/asn_SET_OF.c \ - src/third_party/asn1/asn_SEQUENCE_OF.c \ - src/third_party/asn1/asn_codecs_prim.c \ - src/third_party/asn1/AskKickPlayerMessage.c \ - src/third_party/asn1/AskKickDeniedMessage.c \ - src/third_party/asn1/GuestLogin.c - -win32 { - DEFINES += CURL_STATICLIB - DEFINES += _WIN32_WINNT=0x0501 -} -mac { - # make it universal - CONFIG += x86 - CONFIG -= ppc - QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 - - # for universal-compilation on PPC-Mac uncomment the following line - # on Intel-Mac you have to comment this line out or build will fail. - # QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/ - INCLUDEPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/include/ - INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers - INCLUDEPATH += /Library/Frameworks/SDL_mixer.framework/Headers -} +# QMake pro-file for PokerTH common library +TEMPLATE = lib +CODECFORSRC = UTF-8 +CONFIG += staticlib \ + thread \ + exceptions \ + rtti \ + stl \ + warn_on +UI_DIR = uics +TARGET = lib/pokerth_protocol +MOC_DIR = mocs +OBJECTS_DIR = obj +DEFINES += ENABLE_IPV6 +QT -= core \ + gui + +# PRECOMPILED_HEADER = src/pch_lib.h +INCLUDEPATH += . \ + src \ + src/third_party/asn1 +DEPENDPATH += . \ + src \ + src/third_party/asn1 + +# Input +HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \ + src/third_party/asn1/ChatCleanerMessage.h \ + src/third_party/asn1/CleanerInitMessage.h \ + src/third_party/asn1/CleanerInitAckMessage.h \ + src/third_party/asn1/CleanerChatRequestMessage.h \ + src/third_party/asn1/CleanerChatReplyMessage.h \ + src/third_party/asn1/GuestLogin.h \ + src/third_party/asn1/AskKickDeniedMessage.h \ + src/third_party/asn1/AskKickPlayerMessage.h \ + src/third_party/asn1/AuthMessage.h \ + src/third_party/asn1/AuthClientResponse.h \ + src/third_party/asn1/AuthServerChallenge.h \ + src/third_party/asn1/AuthServerVerification.h \ + src/third_party/asn1/asn_application.h \ + src/third_party/asn1/asn_codecs.h \ + src/third_party/asn1/asn_codecs_prim.h \ + src/third_party/asn1/asn_internal.h \ + src/third_party/asn1/asn_SEQUENCE_OF.h \ + src/third_party/asn1/asn_SET_OF.h \ + src/third_party/asn1/asn_system.h \ + src/third_party/asn1/AuthenticatedLogin.h \ + src/third_party/asn1/AvatarData.h \ + src/third_party/asn1/AvatarEnd.h \ + src/third_party/asn1/AvatarHash.h \ + src/third_party/asn1/AvatarHeader.h \ + src/third_party/asn1/AvatarReplyMessage.h \ + src/third_party/asn1/AvatarRequestMessage.h \ + src/third_party/asn1/ber_decoder.h \ + src/third_party/asn1/ber_tlv_length.h \ + src/third_party/asn1/ber_tlv_tag.h \ + src/third_party/asn1/BIT_STRING.h \ + src/third_party/asn1/BOOLEAN.h \ + src/third_party/asn1/Card.h \ + src/third_party/asn1/ChatMessage.h \ + src/third_party/asn1/ChatTypeGame.h \ + src/third_party/asn1/ChatTypeLobby.h \ + src/third_party/asn1/ChatTypeBot.h \ + src/third_party/asn1/ChatTypeBroadcast.h \ + src/third_party/asn1/ChatRequestMessage.h \ + src/third_party/asn1/ChatRequestTypeLobby.h \ + src/third_party/asn1/ChatRequestTypeGame.h \ + src/third_party/asn1/constraints.h \ + src/third_party/asn1/constr_CHOICE.h \ + src/third_party/asn1/constr_SEQUENCE.h \ + src/third_party/asn1/constr_SEQUENCE_OF.h \ + src/third_party/asn1/constr_SET_OF.h \ + src/third_party/asn1/constr_TYPE.h \ + src/third_party/asn1/DealFlopCardsMessage.h \ + src/third_party/asn1/DealRiverCardMessage.h \ + src/third_party/asn1/DealTurnCardMessage.h \ + src/third_party/asn1/der_encoder.h \ + src/third_party/asn1/DialogMessage.h \ + src/third_party/asn1/EndKickPetitionMessage.h \ + src/third_party/asn1/EndOfGameMessage.h \ + src/third_party/asn1/EndOfHandHideCards.h \ + src/third_party/asn1/EndOfHandMessage.h \ + src/third_party/asn1/EndOfHandShowCards.h \ + src/third_party/asn1/ErrorMessage.h \ + src/third_party/asn1/GameAdminChanged.h \ + src/third_party/asn1/GameListAdminChanged.h \ + src/third_party/asn1/GameListMessage.h \ + src/third_party/asn1/GameListNew.h \ + src/third_party/asn1/GameListPlayerJoined.h \ + src/third_party/asn1/GameListPlayerLeft.h \ + src/third_party/asn1/GameListUpdate.h \ + src/third_party/asn1/GamePlayerJoined.h \ + src/third_party/asn1/GamePlayerLeft.h \ + src/third_party/asn1/GamePlayerMessage.h \ + src/third_party/asn1/GameStartMessage.h \ + src/third_party/asn1/Guid.h \ + src/third_party/asn1/HandStartMessage.h \ + src/third_party/asn1/Id.h \ + src/third_party/asn1/InitAckMessage.h \ + src/third_party/asn1/InitMessage.h \ + src/third_party/asn1/INTEGER.h \ + src/third_party/asn1/JoinExistingGame.h \ + src/third_party/asn1/JoinGameAck.h \ + src/third_party/asn1/JoinGameFailed.h \ + src/third_party/asn1/JoinGameReplyMessage.h \ + src/third_party/asn1/JoinGameRequestMessage.h \ + src/third_party/asn1/JoinNewGame.h \ + src/third_party/asn1/KickPetitionUpdateMessage.h \ + src/third_party/asn1/KickPlayerRequestMessage.h \ + src/third_party/asn1/LeaveGameRequestMessage.h \ + src/third_party/asn1/MyActionRequestMessage.h \ + src/third_party/asn1/NativeEnumerated.h \ + src/third_party/asn1/NativeInteger.h \ + src/third_party/asn1/NetAvatarType.h \ + src/third_party/asn1/NetGameInfo.h \ + src/third_party/asn1/NetGameMode.h \ + src/third_party/asn1/NetGameState.h \ + src/third_party/asn1/NetPlayerAction.h \ + src/third_party/asn1/NonZeroId.h \ + src/third_party/asn1/OCTET_STRING.h \ + src/third_party/asn1/per_decoder.h \ + src/third_party/asn1/per_encoder.h \ + src/third_party/asn1/per_opentype.h \ + src/third_party/asn1/per_support.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/PlayerListMessage.h \ + src/third_party/asn1/PlayerResult.h \ + src/third_party/asn1/PlayersActionDoneMessage.h \ + src/third_party/asn1/PlayersTurnMessage.h \ + src/third_party/asn1/PokerTHMessage.h \ + src/third_party/asn1/RemovedFromGame.h \ + src/third_party/asn1/ResetTimeoutMessage.h \ + src/third_party/asn1/StartEventAckMessage.h \ + src/third_party/asn1/StartEventMessage.h \ + src/third_party/asn1/StartKickPetitionMessage.h \ + src/third_party/asn1/StatisticsData.h \ + src/third_party/asn1/StatisticsMessage.h \ + src/third_party/asn1/SubscriptionRequestMessage.h \ + src/third_party/asn1/TimeoutWarningMessage.h \ + src/third_party/asn1/UnknownAvatar.h \ + src/third_party/asn1/UnknownPlayerInfo.h \ + src/third_party/asn1/UTF8String.h \ + src/third_party/asn1/Version.h \ + src/third_party/asn1/VoteKickAck.h \ + src/third_party/asn1/VoteKickDenied.h \ + src/third_party/asn1/VoteKickReplyMessage.h \ + src/third_party/asn1/VoteKickRequestMessage.h \ + src/third_party/asn1/xer_decoder.h \ + src/third_party/asn1/xer_encoder.h \ + src/third_party/asn1/xer_support.h \ + src/third_party/asn1/YourActionRejectedMessage.h \ + src/third_party/asn1/AnnounceMessage.h +SOURCES += src/third_party/asn1/ChatCleanerMessage.c \ + src/third_party/asn1/CleanerInitMessage.c \ + src/third_party/asn1/CleanerInitAckMessage.c \ + src/third_party/asn1/CleanerChatRequestMessage.c \ + src/third_party/asn1/CleanerChatReplyMessage.c \ + src/third_party/asn1/AuthMessage.c \ + src/third_party/asn1/AuthClientResponse.c \ + src/third_party/asn1/AuthServerChallenge.c \ + src/third_party/asn1/AuthServerVerification.c \ + src/third_party/asn1/AllInShowCardsMessage.c \ + src/third_party/asn1/YourActionRejectedMessage.c \ + src/third_party/asn1/xer_support.c \ + src/third_party/asn1/xer_encoder.c \ + src/third_party/asn1/xer_decoder.c \ + src/third_party/asn1/VoteKickRequestMessage.c \ + src/third_party/asn1/VoteKickReplyMessage.c \ + src/third_party/asn1/VoteKickDenied.c \ + src/third_party/asn1/VoteKickAck.c \ + src/third_party/asn1/Version.c \ + src/third_party/asn1/UTF8String.c \ + src/third_party/asn1/UnknownPlayerInfo.c \ + src/third_party/asn1/UnknownAvatar.c \ + src/third_party/asn1/TimeoutWarningMessage.c \ + src/third_party/asn1/SubscriptionRequestMessage.c \ + src/third_party/asn1/StatisticsMessage.c \ + src/third_party/asn1/StatisticsData.c \ + src/third_party/asn1/StartKickPetitionMessage.c \ + src/third_party/asn1/StartEventMessage.c \ + src/third_party/asn1/StartEventAckMessage.c \ + src/third_party/asn1/ResetTimeoutMessage.c \ + src/third_party/asn1/RemovedFromGame.c \ + src/third_party/asn1/PokerTHMessage.c \ + src/third_party/asn1/PlayersTurnMessage.c \ + src/third_party/asn1/PlayersActionDoneMessage.c \ + src/third_party/asn1/PlayerResult.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/PlayerListMessage.c \ + src/third_party/asn1/per_support.c \ + src/third_party/asn1/per_opentype.c \ + src/third_party/asn1/per_encoder.c \ + src/third_party/asn1/per_decoder.c \ + src/third_party/asn1/OCTET_STRING.c \ + src/third_party/asn1/NonZeroId.c \ + src/third_party/asn1/NetPlayerAction.c \ + src/third_party/asn1/NetGameState.c \ + src/third_party/asn1/NetGameMode.c \ + src/third_party/asn1/NetGameInfo.c \ + src/third_party/asn1/NetAvatarType.c \ + src/third_party/asn1/NativeInteger.c \ + src/third_party/asn1/NativeEnumerated.c \ + src/third_party/asn1/MyActionRequestMessage.c \ + src/third_party/asn1/LeaveGameRequestMessage.c \ + src/third_party/asn1/KickPlayerRequestMessage.c \ + src/third_party/asn1/KickPetitionUpdateMessage.c \ + src/third_party/asn1/JoinNewGame.c \ + src/third_party/asn1/JoinGameRequestMessage.c \ + src/third_party/asn1/JoinGameReplyMessage.c \ + src/third_party/asn1/JoinGameFailed.c \ + src/third_party/asn1/JoinGameAck.c \ + src/third_party/asn1/JoinExistingGame.c \ + src/third_party/asn1/INTEGER.c \ + src/third_party/asn1/InitMessage.c \ + src/third_party/asn1/InitAckMessage.c \ + src/third_party/asn1/Id.c \ + src/third_party/asn1/HandStartMessage.c \ + src/third_party/asn1/Guid.c \ + src/third_party/asn1/GameStartMessage.c \ + src/third_party/asn1/GamePlayerMessage.c \ + src/third_party/asn1/GamePlayerLeft.c \ + src/third_party/asn1/GamePlayerJoined.c \ + src/third_party/asn1/GameListUpdate.c \ + src/third_party/asn1/GameListPlayerLeft.c \ + src/third_party/asn1/GameListPlayerJoined.c \ + src/third_party/asn1/GameListNew.c \ + src/third_party/asn1/GameListMessage.c \ + src/third_party/asn1/GameListAdminChanged.c \ + src/third_party/asn1/GameAdminChanged.c \ + src/third_party/asn1/ErrorMessage.c \ + src/third_party/asn1/EndOfHandShowCards.c \ + src/third_party/asn1/EndOfHandMessage.c \ + src/third_party/asn1/EndOfHandHideCards.c \ + src/third_party/asn1/EndOfGameMessage.c \ + src/third_party/asn1/EndKickPetitionMessage.c \ + src/third_party/asn1/DialogMessage.c \ + src/third_party/asn1/der_encoder.c \ + src/third_party/asn1/DealTurnCardMessage.c \ + src/third_party/asn1/DealRiverCardMessage.c \ + src/third_party/asn1/DealFlopCardsMessage.c \ + src/third_party/asn1/constraints.c \ + src/third_party/asn1/constr_TYPE.c \ + src/third_party/asn1/constr_SET_OF.c \ + src/third_party/asn1/constr_SEQUENCE_OF.c \ + src/third_party/asn1/constr_SEQUENCE.c \ + src/third_party/asn1/constr_CHOICE.c \ + src/third_party/asn1/ChatRequestMessage.c \ + src/third_party/asn1/ChatRequestTypeLobby.c \ + src/third_party/asn1/ChatRequestTypeGame.c \ + src/third_party/asn1/ChatMessage.c \ + src/third_party/asn1/ChatTypeGame.c \ + src/third_party/asn1/ChatTypeLobby.c \ + src/third_party/asn1/ChatTypeBot.c \ + src/third_party/asn1/ChatTypeBroadcast.c \ + src/third_party/asn1/Card.c \ + src/third_party/asn1/BOOLEAN.c \ + src/third_party/asn1/BIT_STRING.c \ + src/third_party/asn1/ber_tlv_tag.c \ + src/third_party/asn1/ber_tlv_length.c \ + src/third_party/asn1/ber_decoder.c \ + src/third_party/asn1/AvatarRequestMessage.c \ + src/third_party/asn1/AvatarReplyMessage.c \ + src/third_party/asn1/AvatarHeader.c \ + src/third_party/asn1/AvatarHash.c \ + src/third_party/asn1/AvatarEnd.c \ + src/third_party/asn1/AvatarData.c \ + src/third_party/asn1/AuthenticatedLogin.c \ + src/third_party/asn1/asn_SET_OF.c \ + src/third_party/asn1/asn_SEQUENCE_OF.c \ + src/third_party/asn1/asn_codecs_prim.c \ + src/third_party/asn1/AskKickPlayerMessage.c \ + src/third_party/asn1/AskKickDeniedMessage.c \ + src/third_party/asn1/GuestLogin.c \ + src/third_party/asn1/AnnounceMessage.c +win32 { + DEFINES += CURL_STATICLIB + DEFINES += _WIN32_WINNT=0x0501 +} +mac { + # make it universal + CONFIG += x86 + CONFIG -= ppc + QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 + + # for universal-compilation on PPC-Mac uncomment the following line + # on Intel-Mac you have to comment this line out or build will fail. + # QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/ + INCLUDEPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/include/ + INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers + INCLUDEPATH += /Library/Frameworks/SDL_mixer.framework/Headers +} diff --git a/src/third_party/asn1/AllInShowCardsMessage.c b/src/third_party/asn1/AllInShowCardsMessage.c index 0001a19b..2e70cf5a 100644 --- a/src/third_party/asn1/AllInShowCardsMessage.c +++ b/src/third_party/asn1/AllInShowCardsMessage.c @@ -100,12 +100,12 @@ static asn_TYPE_member_t asn_MBR_AllInShowCardsMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_AllInShowCardsMessage_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_AllInShowCardsMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 430 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 432 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 437 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 439 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = { sizeof(struct AllInShowCardsMessage), diff --git a/src/third_party/asn1/AnnounceMessage.c b/src/third_party/asn1/AnnounceMessage.c new file mode 100644 index 00000000..c18cbe41 --- /dev/null +++ b/src/third_party/asn1/AnnounceMessage.c @@ -0,0 +1,271 @@ +/* + * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) + * From ASN.1 module "POKERTH-PROTOCOL" + * found in "../../../docs/pokerth.asn1" + * `asn1c -fnative-types` + */ + +#include + +#include "AnnounceMessage.h" + +static int +serverType_5_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 +serverType_5_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 +serverType_5_free(asn_TYPE_descriptor_t *td, + void *struct_ptr, int contents_only) { + serverType_5_inherit_TYPE_descriptor(td); + td->free_struct(td, struct_ptr, contents_only); +} + +static int +serverType_5_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, + int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { + serverType_5_inherit_TYPE_descriptor(td); + return td->print_struct(td, struct_ptr, ilevel, cb, app_key); +} + +static asn_dec_rval_t +serverType_5_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) { + serverType_5_inherit_TYPE_descriptor(td); + return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); +} + +static asn_enc_rval_t +serverType_5_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) { + serverType_5_inherit_TYPE_descriptor(td); + return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); +} + +static asn_dec_rval_t +serverType_5_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) { + serverType_5_inherit_TYPE_descriptor(td); + return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); +} + +static asn_enc_rval_t +serverType_5_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) { + serverType_5_inherit_TYPE_descriptor(td); + return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); +} + +static int +memb_latestBetaRevision_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, + asn_app_constraint_failed_f *ctfailcb, void *app_key) { + long value; + + if(!sptr) { + _ASN_CTFAIL(app_key, td, sptr, + "%s: value not given (%s:%d)", + td->name, __FILE__, __LINE__); + return -1; + } + + value = *(const long *)sptr; + + if((value >= 0 && value <= 65535)) { + /* Constraint check succeeded */ + return 0; + } else { + _ASN_CTFAIL(app_key, td, sptr, + "%s: constraint failed (%s:%d)", + td->name, __FILE__, __LINE__); + return -1; + } +} + +static int +memb_numPlayersOnServer_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, + asn_app_constraint_failed_f *ctfailcb, void *app_key) { + long value; + + if(!sptr) { + _ASN_CTFAIL(app_key, td, sptr, + "%s: value not given (%s:%d)", + td->name, __FILE__, __LINE__); + return -1; + } + + value = *(const long *)sptr; + + if((value >= 0 && value <= 65535)) { + /* Constraint check succeeded */ + return 0; + } else { + _ASN_CTFAIL(app_key, td, sptr, + "%s: constraint failed (%s:%d)", + td->name, __FILE__, __LINE__); + return -1; + } +} + +static asn_INTEGER_enum_map_t asn_MAP_serverType_value2enum_5[] = { + { 0, 13, "serverTypeLAN" }, + { 1, 24, "serverTypeInternetNoAuth" }, + { 2, 22, "serverTypeInternetAuth" } +}; +static unsigned int asn_MAP_serverType_enum2value_5[] = { + 2, /* serverTypeInternetAuth(2) */ + 1, /* serverTypeInternetNoAuth(1) */ + 0 /* serverTypeLAN(0) */ +}; +static asn_INTEGER_specifics_t asn_SPC_serverType_specs_5 = { + asn_MAP_serverType_value2enum_5, /* "tag" => N; sorted by tag */ + asn_MAP_serverType_enum2value_5, /* N => "tag"; sorted by N */ + 3, /* 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_serverType_tags_5[] = { + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) +}; +static /* Use -fall-defs-global to expose */ +asn_TYPE_descriptor_t asn_DEF_serverType_5 = { + "serverType", + "serverType", + serverType_5_free, + serverType_5_print, + serverType_5_constraint, + serverType_5_decode_ber, + serverType_5_encode_der, + serverType_5_decode_xer, + serverType_5_encode_xer, + 0, 0, /* No PER support, use "-gen-PER" to enable */ + 0, /* Use generic outmost tag fetcher */ + asn_DEF_serverType_tags_5, + sizeof(asn_DEF_serverType_tags_5) + /sizeof(asn_DEF_serverType_tags_5[0]), /* 1 */ + asn_DEF_serverType_tags_5, /* Same as above */ + sizeof(asn_DEF_serverType_tags_5) + /sizeof(asn_DEF_serverType_tags_5[0]), /* 1 */ + 0, /* No PER visible constraints */ + 0, 0, /* Defined elsewhere */ + &asn_SPC_serverType_specs_5 /* Additional specs */ +}; + +static asn_TYPE_member_t asn_MBR_AnnounceMessage_1[] = { + { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, protocolVersion), + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), + 0, + &asn_DEF_Version, + 0, /* Defer constraints checking to the member type */ + 0, /* PER is not compiled, use -gen-PER */ + 0, + "protocolVersion" + }, + { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, latestGameVersion), + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), + 0, + &asn_DEF_Version, + 0, /* Defer constraints checking to the member type */ + 0, /* PER is not compiled, use -gen-PER */ + 0, + "latestGameVersion" + }, + { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, latestBetaRevision), + (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), + 0, + &asn_DEF_NativeInteger, + memb_latestBetaRevision_constraint_1, + 0, /* PER is not compiled, use -gen-PER */ + 0, + "latestBetaRevision" + }, + { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, serverType), + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), + 0, + &asn_DEF_serverType_5, + 0, /* Defer constraints checking to the member type */ + 0, /* PER is not compiled, use -gen-PER */ + 0, + "serverType" + }, + { ATF_NOFLAGS, 0, offsetof(struct AnnounceMessage, numPlayersOnServer), + (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), + 0, + &asn_DEF_NativeInteger, + memb_numPlayersOnServer_constraint_1, + 0, /* PER is not compiled, use -gen-PER */ + 0, + "numPlayersOnServer" + }, +}; +static ber_tlv_tag_t asn_DEF_AnnounceMessage_tags_1[] = { + (ASN_TAG_CLASS_APPLICATION | (0 << 2)), + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) +}; +static asn_TYPE_tag2member_t asn_MAP_AnnounceMessage_tag2el_1[] = { + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, 0, 1 }, /* latestBetaRevision at 76 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 0 }, /* numPlayersOnServer at 82 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* serverType at 78 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* protocolVersion at 74 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 0 } /* latestGameVersion at 75 */ +}; +static asn_SEQUENCE_specifics_t asn_SPC_AnnounceMessage_specs_1 = { + sizeof(struct AnnounceMessage), + offsetof(struct AnnounceMessage, _asn_ctx), + asn_MAP_AnnounceMessage_tag2el_1, + 5, /* Count of tags in the map */ + 0, 0, 0, /* Optional elements (not needed) */ + 4, /* Start extensions */ + 6 /* Stop extensions */ +}; +asn_TYPE_descriptor_t asn_DEF_AnnounceMessage = { + "AnnounceMessage", + "AnnounceMessage", + 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_AnnounceMessage_tags_1, + sizeof(asn_DEF_AnnounceMessage_tags_1) + /sizeof(asn_DEF_AnnounceMessage_tags_1[0]) - 1, /* 1 */ + asn_DEF_AnnounceMessage_tags_1, /* Same as above */ + sizeof(asn_DEF_AnnounceMessage_tags_1) + /sizeof(asn_DEF_AnnounceMessage_tags_1[0]), /* 2 */ + 0, /* No PER visible constraints */ + asn_MBR_AnnounceMessage_1, + 5, /* Elements count */ + &asn_SPC_AnnounceMessage_specs_1 /* Additional specs */ +}; + diff --git a/src/third_party/asn1/AnnounceMessage.h b/src/third_party/asn1/AnnounceMessage.h new file mode 100644 index 00000000..05d32255 --- /dev/null +++ b/src/third_party/asn1/AnnounceMessage.h @@ -0,0 +1,55 @@ +/* + * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) + * From ASN.1 module "POKERTH-PROTOCOL" + * found in "../../../docs/pokerth.asn1" + * `asn1c -fnative-types` + */ + +#ifndef _AnnounceMessage_H_ +#define _AnnounceMessage_H_ + + +#include + +/* Including external dependencies */ +#include "Version.h" +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* Dependencies */ +typedef enum serverType { + serverType_serverTypeLAN = 0, + serverType_serverTypeInternetNoAuth = 1, + serverType_serverTypeInternetAuth = 2 +} e_serverType; + +/* AnnounceMessage */ +typedef struct AnnounceMessage { + Version_t protocolVersion; + Version_t latestGameVersion; + long latestBetaRevision; + long serverType; + long numPlayersOnServer; + /* + * This type is extensible, + * possible extensions are below. + */ + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; +} AnnounceMessage_t; + +/* Implementation */ +/* extern asn_TYPE_descriptor_t asn_DEF_serverType_5; // (Use -fall-defs-global to expose) */ +extern asn_TYPE_descriptor_t asn_DEF_AnnounceMessage; + +#ifdef __cplusplus +} +#endif + +#endif /* _AnnounceMessage_H_ */ diff --git a/src/third_party/asn1/AskKickDeniedMessage.c b/src/third_party/asn1/AskKickDeniedMessage.c index 5d403816..c9084d6b 100644 --- a/src/third_party/asn1/AskKickDeniedMessage.c +++ b/src/third_party/asn1/AskKickDeniedMessage.c @@ -166,9 +166,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 479 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 480 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 482 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 486 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 487 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 489 */ }; 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 5e03a31a..d94d07eb 100644 --- a/src/third_party/asn1/AskKickPlayerMessage.c +++ b/src/third_party/asn1/AskKickPlayerMessage.c @@ -34,8 +34,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 474 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 476 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 481 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 483 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = { sizeof(struct AskKickPlayerMessage), diff --git a/src/third_party/asn1/AuthClientResponse.c b/src/third_party/asn1/AuthClientResponse.c index 727a8af3..6abade87 100644 --- a/src/third_party/asn1/AuthClientResponse.c +++ b/src/third_party/asn1/AuthClientResponse.c @@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AuthClientResponse_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AuthClientResponse_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* clientResponse at 109 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* clientResponse at 121 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AuthClientResponse_specs_1 = { sizeof(struct AuthClientResponse), diff --git a/src/third_party/asn1/AuthMessage.c b/src/third_party/asn1/AuthMessage.c index 70c241ad..e1f40432 100644 --- a/src/third_party/asn1/AuthMessage.c +++ b/src/third_party/asn1/AuthMessage.c @@ -39,12 +39,12 @@ static asn_TYPE_member_t asn_MBR_AuthMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_AuthMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (1 << 2)) + (ASN_TAG_CLASS_APPLICATION | (2 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AuthMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* authServerChallenge at 99 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 100 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 102 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* authServerChallenge at 111 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 112 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 114 */ }; static asn_CHOICE_specifics_t asn_SPC_AuthMessage_specs_1 = { sizeof(struct AuthMessage), diff --git a/src/third_party/asn1/AuthServerChallenge.c b/src/third_party/asn1/AuthServerChallenge.c index 80e47af5..762cd9a5 100644 --- a/src/third_party/asn1/AuthServerChallenge.c +++ b/src/third_party/asn1/AuthServerChallenge.c @@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AuthServerChallenge_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AuthServerChallenge_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverChallenge at 105 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverChallenge at 117 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AuthServerChallenge_specs_1 = { sizeof(struct AuthServerChallenge), diff --git a/src/third_party/asn1/AuthServerVerification.c b/src/third_party/asn1/AuthServerVerification.c index 056521e8..9af6f922 100644 --- a/src/third_party/asn1/AuthServerVerification.c +++ b/src/third_party/asn1/AuthServerVerification.c @@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AuthServerVerification_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AuthServerVerification_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverVerification at 113 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverVerification at 125 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AuthServerVerification_specs_1 = { sizeof(struct AuthServerVerification), diff --git a/src/third_party/asn1/AuthenticatedLogin.c b/src/third_party/asn1/AuthenticatedLogin.c index 9339c01f..516e6515 100644 --- a/src/third_party/asn1/AuthenticatedLogin.c +++ b/src/third_party/asn1/AuthenticatedLogin.c @@ -59,8 +59,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)), 0, 0, 1 }, /* clientUserData at 94 */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 95 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 1 }, /* clientUserData at 106 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 107 */ }; 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 91a46bff..653c7f37 100644 --- a/src/third_party/asn1/AvatarData.c +++ b/src/third_party/asn1/AvatarData.c @@ -50,7 +50,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 147 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* avatarBlock at 154 */ }; 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 4ee25d83..df8eb75b 100644 --- a/src/third_party/asn1/AvatarHeader.c +++ b/src/third_party/asn1/AvatarHeader.c @@ -58,8 +58,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 143 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 142 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* avatarSize at 150 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 149 */ }; 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 e2a1342e..dc63f210 100644 --- a/src/third_party/asn1/AvatarReplyMessage.c +++ b/src/third_party/asn1/AvatarReplyMessage.c @@ -48,10 +48,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 134 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 135 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 136 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 138 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 141 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 142 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 143 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 145 */ }; static asn_CHOICE_specifics_t asn_SPC_avatarResult_specs_3 = { sizeof(struct avatarResult), @@ -107,15 +107,15 @@ static asn_TYPE_member_t asn_MBR_AvatarReplyMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_AvatarReplyMessage_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_AvatarReplyMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 132 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 134 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 135 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 136 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 138 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 139 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 141 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 142 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 143 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 145 */ }; 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 3581a977..e7256505 100644 --- a/src/third_party/asn1/AvatarRequestMessage.c +++ b/src/third_party/asn1/AvatarRequestMessage.c @@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_AvatarRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_AvatarRequestMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (3 << 2)), + (ASN_TAG_CLASS_APPLICATION | (4 << 2)), (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 127 */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 129 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 134 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 136 */ }; 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 ef9a9a38..63e94574 100644 --- a/src/third_party/asn1/ChatMessage.c +++ b/src/third_party/asn1/ChatMessage.c @@ -80,10 +80,10 @@ 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 574 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 575 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 576 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 578 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 581 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 582 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 583 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 585 */ }; static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = { sizeof(struct chatType), @@ -143,11 +143,11 @@ 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 579 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 574 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 575 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 576 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 578 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 586 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 581 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 582 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 583 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 585 */ }; 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 c0258c56..db62c1a7 100644 --- a/src/third_party/asn1/ChatRequestMessage.c +++ b/src/third_party/asn1/ChatRequestMessage.c @@ -62,8 +62,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 559 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 561 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 566 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 568 */ }; static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = { sizeof(struct chatRequestType), @@ -123,9 +123,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 562 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 559 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 561 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 569 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 566 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 568 */ }; 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 ab1aac4f..f6adfcb1 100644 --- a/src/third_party/asn1/ChatRequestTypeGame.c +++ b/src/third_party/asn1/ChatRequestTypeGame.c @@ -24,7 +24,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 570 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 577 */ }; 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 854d31b3..a69f1cd1 100644 --- a/src/third_party/asn1/ChatTypeGame.c +++ b/src/third_party/asn1/ChatTypeGame.c @@ -33,8 +33,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 587 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 589 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 594 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 596 */ }; 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 22c44eba..302d71a9 100644 --- a/src/third_party/asn1/ChatTypeLobby.c +++ b/src/third_party/asn1/ChatTypeLobby.c @@ -24,7 +24,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 584 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 591 */ }; 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 5b496195..fb3473d3 100644 --- a/src/third_party/asn1/DealFlopCardsMessage.c +++ b/src/third_party/asn1/DealFlopCardsMessage.c @@ -48,14 +48,14 @@ static asn_TYPE_member_t asn_MBR_DealFlopCardsMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_DealFlopCardsMessage_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_DealFlopCardsMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 413 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 414 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 415 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 417 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 420 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 421 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 422 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 424 */ }; 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 4dfef711..51976fcd 100644 --- a/src/third_party/asn1/DealRiverCardMessage.c +++ b/src/third_party/asn1/DealRiverCardMessage.c @@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_DealRiverCardMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_DealRiverCardMessage_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_DealRiverCardMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 425 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 427 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 432 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 434 */ }; 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 e7d806af..2e391beb 100644 --- a/src/third_party/asn1/DealTurnCardMessage.c +++ b/src/third_party/asn1/DealTurnCardMessage.c @@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_DealTurnCardMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_DealTurnCardMessage_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_DealTurnCardMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 420 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 422 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 427 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 429 */ }; 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 67b45834..2a8e0aa4 100644 --- a/src/third_party/asn1/DialogMessage.c +++ b/src/third_party/asn1/DialogMessage.c @@ -57,7 +57,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 598 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 605 */ }; 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 9ecfa03b..baa2a07a 100644 --- a/src/third_party/asn1/EndKickPetitionMessage.c +++ b/src/third_party/asn1/EndKickPetitionMessage.c @@ -241,12 +241,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 537 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 533 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 534 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 535 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 536 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 539 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 544 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 540 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 541 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 542 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 543 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 546 */ }; 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 69a30ad8..a1231961 100644 --- a/src/third_party/asn1/EndOfGameMessage.c +++ b/src/third_party/asn1/EndOfGameMessage.c @@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_EndOfGameMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_EndOfGameMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (28 << 2)), + (ASN_TAG_CLASS_APPLICATION | (29 << 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 469 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 471 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 476 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 478 */ }; 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 e804d532..5b28cd89 100644 --- a/src/third_party/asn1/EndOfHandHideCards.c +++ b/src/third_party/asn1/EndOfHandHideCards.c @@ -92,9 +92,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 463 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 464 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 465 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 470 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 471 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 472 */ }; 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 7b965188..956ea37f 100644 --- a/src/third_party/asn1/EndOfHandMessage.c +++ b/src/third_party/asn1/EndOfHandMessage.c @@ -30,8 +30,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 443 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 445 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 450 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 452 */ }; static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = { sizeof(struct endOfHandType), @@ -87,13 +87,13 @@ static asn_TYPE_member_t asn_MBR_EndOfHandMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_EndOfHandMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (27 << 2)), + (ASN_TAG_CLASS_APPLICATION | (28 << 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 441 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 443 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 445 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 448 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 450 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 452 */ }; 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 2d6f39fa..186f688e 100644 --- a/src/third_party/asn1/EndOfHandShowCards.c +++ b/src/third_party/asn1/EndOfHandShowCards.c @@ -94,7 +94,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 450 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 457 */ }; 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 8a0574d0..c470b6df 100644 --- a/src/third_party/asn1/ErrorMessage.c +++ b/src/third_party/asn1/ErrorMessage.c @@ -166,7 +166,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 614 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 621 */ }; 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 a06085fb..11d9ca68 100644 --- a/src/third_party/asn1/GameAdminChanged.c +++ b/src/third_party/asn1/GameAdminChanged.c @@ -24,7 +24,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 332 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 339 */ }; 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 d4f05e77..7215b7fa 100644 --- a/src/third_party/asn1/GameListAdminChanged.c +++ b/src/third_party/asn1/GameListAdminChanged.c @@ -24,7 +24,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 205 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 212 */ }; 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 4df1a6af..2d4af35b 100644 --- a/src/third_party/asn1/GameListMessage.c +++ b/src/third_party/asn1/GameListMessage.c @@ -57,11 +57,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 175 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 176 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 177 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 178 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 180 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameListNew at 182 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 183 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 184 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 185 */ + { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 187 */ }; static asn_CHOICE_specifics_t asn_SPC_gameListNotification_specs_3 = { sizeof(struct gameListNotification), @@ -117,16 +117,16 @@ static asn_TYPE_member_t asn_MBR_GameListMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_GameListMessage_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_GameListMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 173 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 175 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 176 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 177 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 178 */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 180 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 180 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 182 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 183 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 184 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 185 */ + { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 187 */ }; 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 0c7f0f84..839ad11f 100644 --- a/src/third_party/asn1/GameListNew.c +++ b/src/third_party/asn1/GameListNew.c @@ -130,11 +130,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 185 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 187 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 184 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 186 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 189 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isPrivate at 192 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 194 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 191 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 193 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 196 */ }; 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 4b5f7aa0..8d85b648 100644 --- a/src/third_party/asn1/GameListPlayerJoined.c +++ b/src/third_party/asn1/GameListPlayerJoined.c @@ -24,7 +24,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 197 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 204 */ }; 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 7fab5c08..61879af5 100644 --- a/src/third_party/asn1/GameListPlayerLeft.c +++ b/src/third_party/asn1/GameListPlayerLeft.c @@ -24,7 +24,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 201 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 208 */ }; 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 0f20f172..8efe0b00 100644 --- a/src/third_party/asn1/GameListUpdate.c +++ b/src/third_party/asn1/GameListUpdate.c @@ -24,7 +24,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 193 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* gameMode at 200 */ }; 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 bd8fb1d7..b78bf9cd 100644 --- a/src/third_party/asn1/GamePlayerJoined.c +++ b/src/third_party/asn1/GamePlayerJoined.c @@ -33,8 +33,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 318 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 317 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isAdmin at 325 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 324 */ }; 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 7468ced9..95f9320e 100644 --- a/src/third_party/asn1/GamePlayerLeft.c +++ b/src/third_party/asn1/GamePlayerLeft.c @@ -152,8 +152,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 322 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 324 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 329 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 331 */ }; 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 97623580..f95bedd3 100644 --- a/src/third_party/asn1/GamePlayerMessage.c +++ b/src/third_party/asn1/GamePlayerMessage.c @@ -48,10 +48,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 309 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 310 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 311 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 313 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 316 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 317 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 318 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 320 */ }; static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = { sizeof(struct gamePlayerNotification), @@ -107,15 +107,15 @@ static asn_TYPE_member_t asn_MBR_GamePlayerMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_GamePlayerMessage_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_GamePlayerMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 307 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 309 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 310 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 311 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 313 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 314 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 316 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 317 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 318 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 320 */ }; 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 e491db4c..a5b5dd13 100644 --- a/src/third_party/asn1/GameStartMessage.c +++ b/src/third_party/asn1/GameStartMessage.c @@ -109,13 +109,13 @@ static asn_TYPE_member_t asn_MBR_GameStartMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_GameStartMessage_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_GameStartMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 364 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 365 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 367 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 371 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 372 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 374 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = { sizeof(struct GameStartMessage), diff --git a/src/third_party/asn1/GuestLogin.c b/src/third_party/asn1/GuestLogin.c index 95098c87..cae98b33 100644 --- a/src/third_party/asn1/GuestLogin.c +++ b/src/third_party/asn1/GuestLogin.c @@ -56,7 +56,7 @@ static ber_tlv_tag_t asn_DEF_GuestLogin_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GuestLogin_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* nickName at 89 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* nickName at 101 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GuestLogin_specs_1 = { sizeof(struct GuestLogin), diff --git a/src/third_party/asn1/HandStartMessage.c b/src/third_party/asn1/HandStartMessage.c index 44dc13a1..350ea1b0 100644 --- a/src/third_party/asn1/HandStartMessage.c +++ b/src/third_party/asn1/HandStartMessage.c @@ -73,14 +73,14 @@ static asn_TYPE_member_t asn_MBR_HandStartMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_HandStartMessage_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_HandStartMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 370 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 371 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 372 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 373 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 377 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 378 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 379 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 380 */ }; 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 2de0f7f2..f98a0506 100644 --- a/src/third_party/asn1/InitAckMessage.c +++ b/src/third_party/asn1/InitAckMessage.c @@ -9,50 +9,7 @@ #include "InitAckMessage.h" -static int -memb_latestBetaRevision_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - _ASN_CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - _ASN_CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - static asn_TYPE_member_t asn_MBR_InitAckMessage_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct InitAckMessage, latestGameVersion), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_Version, - 0, /* Defer constraints checking to the member type */ - 0, /* PER is not compiled, use -gen-PER */ - 0, - "latestGameVersion" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitAckMessage, latestBetaRevision), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_NativeInteger, - memb_latestBetaRevision_constraint_1, - 0, /* PER is not compiled, use -gen-PER */ - 0, - "latestBetaRevision" - }, { ATF_NOFLAGS, 0, offsetof(struct InitAckMessage, yourSessionId), (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, @@ -73,23 +30,21 @@ static asn_TYPE_member_t asn_MBR_InitAckMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_InitAckMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (2 << 2)), + (ASN_TAG_CLASS_APPLICATION | (3 << 2)), (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 121 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 1 }, /* yourSessionId at 122 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -2, 0 }, /* yourPlayerId at 124 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* latestGameVersion at 120 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* yourSessionId at 129 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* yourPlayerId at 131 */ }; static asn_SEQUENCE_specifics_t asn_SPC_InitAckMessage_specs_1 = { sizeof(struct InitAckMessage), offsetof(struct InitAckMessage, _asn_ctx), asn_MAP_InitAckMessage_tag2el_1, - 4, /* Count of tags in the map */ + 2, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ - 3, /* Start extensions */ - 5 /* Stop extensions */ + 1, /* Start extensions */ + 3 /* Stop extensions */ }; asn_TYPE_descriptor_t asn_DEF_InitAckMessage = { "InitAckMessage", @@ -111,7 +66,7 @@ asn_TYPE_descriptor_t asn_DEF_InitAckMessage = { /sizeof(asn_DEF_InitAckMessage_tags_1[0]), /* 2 */ 0, /* No PER visible constraints */ asn_MBR_InitAckMessage_1, - 4, /* Elements count */ + 2, /* Elements count */ &asn_SPC_InitAckMessage_specs_1 /* Additional specs */ }; diff --git a/src/third_party/asn1/InitAckMessage.h b/src/third_party/asn1/InitAckMessage.h index e51c28aa..23f582c7 100644 --- a/src/third_party/asn1/InitAckMessage.h +++ b/src/third_party/asn1/InitAckMessage.h @@ -12,8 +12,6 @@ #include /* Including external dependencies */ -#include "Version.h" -#include #include "Guid.h" #include "NonZeroId.h" #include @@ -24,8 +22,6 @@ extern "C" { /* InitAckMessage */ typedef struct InitAckMessage { - Version_t latestGameVersion; - long latestBetaRevision; Guid_t yourSessionId; NonZeroId_t yourPlayerId; /* diff --git a/src/third_party/asn1/InitMessage.c b/src/third_party/asn1/InitMessage.c index a3a633f3..bd9aa220 100644 --- a/src/third_party/asn1/InitMessage.c +++ b/src/third_party/asn1/InitMessage.c @@ -28,20 +28,10 @@ static asn_TYPE_member_t asn_MBR_login_4[] = { 0, "authenticatedLogin" }, - { ATF_NOFLAGS, 0, offsetof(struct login, choice.statisticsLogin), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_StatisticsLogin, - 0, /* Defer constraints checking to the member type */ - 0, /* PER is not compiled, use -gen-PER */ - 0, - "statisticsLogin" - }, }; static asn_TYPE_tag2member_t asn_MAP_login_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* guestLogin at 77 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authenticatedLogin at 78 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* statisticsLogin at 80 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* guestLogin at 90 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* authenticatedLogin at 92 */ }; static asn_CHOICE_specifics_t asn_SPC_login_specs_4 = { sizeof(struct login), @@ -49,9 +39,9 @@ static asn_CHOICE_specifics_t asn_SPC_login_specs_4 = { offsetof(struct login, present), sizeof(((struct login *)0)->present), asn_MAP_login_tag2el_4, - 3, /* Count of tags in the map */ + 2, /* Count of tags in the map */ 0, - 3 /* Extensions start */ + 2 /* Extensions start */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_login_4 = { @@ -72,7 +62,7 @@ asn_TYPE_descriptor_t asn_DEF_login_4 = { 0, /* No tags (count) */ 0, /* No PER visible constraints */ asn_MBR_login_4, - 3, /* Elements count */ + 2, /* Elements count */ &asn_SPC_login_specs_4 /* Additional specs */ }; @@ -106,21 +96,20 @@ static asn_TYPE_member_t asn_MBR_InitMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_InitMessage_tags_1[] = { - (ASN_TAG_CLASS_APPLICATION | (0 << 2)), + (ASN_TAG_CLASS_APPLICATION | (1 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_InitMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* buildId at 75 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* requestedVersion at 74 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* guestLogin at 77 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* authenticatedLogin at 78 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* statisticsLogin at 80 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* buildId at 88 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* requestedVersion at 87 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* guestLogin at 90 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* authenticatedLogin at 92 */ }; static asn_SEQUENCE_specifics_t asn_SPC_InitMessage_specs_1 = { sizeof(struct InitMessage), offsetof(struct InitMessage, _asn_ctx), asn_MAP_InitMessage_tag2el_1, - 5, /* Count of tags in the map */ + 4, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ 2, /* Start extensions */ 4 /* Stop extensions */ diff --git a/src/third_party/asn1/InitMessage.h b/src/third_party/asn1/InitMessage.h index f09b69c7..53c93e7f 100644 --- a/src/third_party/asn1/InitMessage.h +++ b/src/third_party/asn1/InitMessage.h @@ -16,7 +16,6 @@ #include #include "GuestLogin.h" #include "AuthenticatedLogin.h" -#include "StatisticsLogin.h" #include #include @@ -29,7 +28,6 @@ typedef enum login_PR { login_PR_NOTHING, /* No components present */ login_PR_guestLogin, login_PR_authenticatedLogin, - login_PR_statisticsLogin, /* Extensions may appear below */ } login_PR; @@ -43,7 +41,6 @@ typedef struct InitMessage { union InitMessage__login_u { GuestLogin_t guestLogin; AuthenticatedLogin_t authenticatedLogin; - StatisticsLogin_t statisticsLogin; /* * This type is extensible, * possible extensions are below. diff --git a/src/third_party/asn1/JoinExistingGame.c b/src/third_party/asn1/JoinExistingGame.c index a6915c93..a62ad5c8 100644 --- a/src/third_party/asn1/JoinExistingGame.c +++ b/src/third_party/asn1/JoinExistingGame.c @@ -24,7 +24,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 257 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 264 */ }; 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 492d2417..990f7fac 100644 --- a/src/third_party/asn1/JoinGameAck.c +++ b/src/third_party/asn1/JoinGameAck.c @@ -33,8 +33,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 272 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 274 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* areYouAdmin at 279 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 281 */ }; 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 509ba77f..675143c5 100644 --- a/src/third_party/asn1/JoinGameFailed.c +++ b/src/third_party/asn1/JoinGameFailed.c @@ -145,7 +145,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 278 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* joinGameFailureReason at 285 */ }; 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 720d4b84..d372a7f6 100644 --- a/src/third_party/asn1/JoinGameReplyMessage.c +++ b/src/third_party/asn1/JoinGameReplyMessage.c @@ -30,8 +30,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 266 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 268 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinGameAck at 273 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 275 */ }; static asn_CHOICE_specifics_t asn_SPC_joinGameResult_specs_3 = { sizeof(struct joinGameResult), @@ -87,13 +87,13 @@ static asn_TYPE_member_t asn_MBR_JoinGameReplyMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_JoinGameReplyMessage_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_JoinGameReplyMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 264 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 266 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 268 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 271 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 273 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 275 */ }; 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 6afa3d7e..19e2487f 100644 --- a/src/third_party/asn1/JoinGameRequestMessage.c +++ b/src/third_party/asn1/JoinGameRequestMessage.c @@ -62,8 +62,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 249 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 251 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 256 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 258 */ }; static asn_CHOICE_specifics_t asn_SPC_joinGameAction_specs_2 = { sizeof(struct joinGameAction), @@ -119,13 +119,13 @@ static asn_TYPE_member_t asn_MBR_JoinGameRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_JoinGameRequestMessage_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_JoinGameRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* password at 252 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 249 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 251 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* password at 259 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 256 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 258 */ }; 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 d77e8c76..8491dddf 100644 --- a/src/third_party/asn1/JoinNewGame.c +++ b/src/third_party/asn1/JoinNewGame.c @@ -24,7 +24,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 261 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* gameInfo at 268 */ }; 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 150c03f7..3d7a5edd 100644 --- a/src/third_party/asn1/KickPetitionUpdateMessage.c +++ b/src/third_party/asn1/KickPetitionUpdateMessage.c @@ -136,11 +136,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 525 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 526 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 527 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 528 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 529 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* gameId at 532 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 533 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 534 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 535 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 536 */ }; 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 95cc1d88..8af5b167 100644 --- a/src/third_party/asn1/KickPlayerRequestMessage.c +++ b/src/third_party/asn1/KickPlayerRequestMessage.c @@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_KickPlayerRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_KickPlayerRequestMessage_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_KickPlayerRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 346 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 348 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 353 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 355 */ }; 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 0943dab5..e279538b 100644 --- a/src/third_party/asn1/LeaveGameRequestMessage.c +++ b/src/third_party/asn1/LeaveGameRequestMessage.c @@ -21,11 +21,11 @@ static asn_TYPE_member_t asn_MBR_LeaveGameRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_LeaveGameRequestMessage_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_LeaveGameRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 352 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 359 */ }; 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 f1100be6..db9c2fe6 100644 --- a/src/third_party/asn1/MyActionRequestMessage.c +++ b/src/third_party/asn1/MyActionRequestMessage.c @@ -73,14 +73,14 @@ static asn_TYPE_member_t asn_MBR_MyActionRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_MyActionRequestMessage_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_MyActionRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 383 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 386 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 384 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 385 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 390 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 393 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 391 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 392 */ }; 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 216969a2..77afe005 100644 --- a/src/third_party/asn1/NetGameInfo.c +++ b/src/third_party/asn1/NetGameInfo.c @@ -411,8 +411,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 289 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 290 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* raiseEveryHands at 296 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 297 */ }; static asn_CHOICE_specifics_t asn_SPC_raiseIntervalMode_specs_4 = { sizeof(struct raiseIntervalMode), @@ -642,18 +642,18 @@ 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, 6 }, /* maxNumPlayers at 287 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 5 }, /* proposedGuiSpeed at 297 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 4 }, /* delayBetweenHands at 298 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 3 }, /* playerActionTimeout at 299 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 2 }, /* firstSmallBlind at 300 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 1 }, /* endRaiseSmallBlindValue at 301 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 9, -6, 0 }, /* startMoney at 302 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 293 */ - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 286 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, 0, 0 }, /* manualBlinds at 303 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 289 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 290 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 6 }, /* maxNumPlayers at 294 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 5 }, /* proposedGuiSpeed at 304 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 4 }, /* delayBetweenHands at 305 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 3 }, /* playerActionTimeout at 306 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 2 }, /* firstSmallBlind at 307 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 1 }, /* endRaiseSmallBlindValue at 308 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 9, -6, 0 }, /* startMoney at 309 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 300 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 293 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, 0, 0 }, /* manualBlinds at 310 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 296 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 297 */ }; 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 beb108bb..88d12be7 100644 --- a/src/third_party/asn1/PlayerAllIn.c +++ b/src/third_party/asn1/PlayerAllIn.c @@ -42,9 +42,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 435 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 436 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 438 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 442 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 443 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 445 */ }; 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 ddce6669..d4b45ea5 100644 --- a/src/third_party/asn1/PlayerInfoData.c +++ b/src/third_party/asn1/PlayerInfoData.c @@ -65,8 +65,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 231 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 229 */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 238 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 236 */ }; static asn_SEQUENCE_specifics_t asn_SPC_avatarData_specs_4 = { sizeof(struct avatarData), @@ -135,9 +135,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 227 */ - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 226 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* avatarData at 229 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isHuman at 234 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 233 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* avatarData at 236 */ }; 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 7b0f4b2a..aa505b74 100644 --- a/src/third_party/asn1/PlayerInfoReplyMessage.c +++ b/src/third_party/asn1/PlayerInfoReplyMessage.c @@ -30,8 +30,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 220 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 222 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* playerInfoData at 227 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 229 */ }; static asn_CHOICE_specifics_t asn_SPC_playerInfoResult_specs_3 = { sizeof(struct playerInfoResult), @@ -87,13 +87,13 @@ static asn_TYPE_member_t asn_MBR_PlayerInfoReplyMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_PlayerInfoReplyMessage_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_PlayerInfoReplyMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 218 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* playerInfoData at 220 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 222 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 225 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* playerInfoData at 227 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 229 */ }; 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 cdcdd4de..aa3615a9 100644 --- a/src/third_party/asn1/PlayerInfoRequestMessage.c +++ b/src/third_party/asn1/PlayerInfoRequestMessage.c @@ -21,11 +21,11 @@ static asn_TYPE_member_t asn_MBR_PlayerInfoRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_PlayerInfoRequestMessage_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_PlayerInfoRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 215 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 222 */ }; 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 index a1e98ef5..b84bf87e 100644 --- a/src/third_party/asn1/PlayerListMessage.c +++ b/src/third_party/asn1/PlayerListMessage.c @@ -147,12 +147,12 @@ static asn_TYPE_member_t asn_MBR_PlayerListMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_PlayerListMessage_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_PlayerListMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 165 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* playerListNotification at 167 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 172 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* playerListNotification at 174 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayerListMessage_specs_1 = { sizeof(struct PlayerListMessage), diff --git a/src/third_party/asn1/PlayerResult.c b/src/third_party/asn1/PlayerResult.c index 9763faeb..1dae4fec 100644 --- a/src/third_party/asn1/PlayerResult.c +++ b/src/third_party/asn1/PlayerResult.c @@ -198,13 +198,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 453 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 454 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 455 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 457 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 458 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 459 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 456 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* playerId at 460 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 461 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 462 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 464 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 465 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 466 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 463 */ }; 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 f044080e..98329ae5 100644 --- a/src/third_party/asn1/PlayersActionDoneMessage.c +++ b/src/third_party/asn1/PlayersActionDoneMessage.c @@ -184,18 +184,18 @@ static asn_TYPE_member_t asn_MBR_PlayersActionDoneMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_PlayersActionDoneMessage_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_PlayersActionDoneMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 402 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 403 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 406 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 407 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 408 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 409 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 404 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 405 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 409 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 410 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 413 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 414 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 415 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 416 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 411 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 412 */ }; 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 8010e331..b9930186 100644 --- a/src/third_party/asn1/PlayersTurnMessage.c +++ b/src/third_party/asn1/PlayersTurnMessage.c @@ -39,13 +39,13 @@ static asn_TYPE_member_t asn_MBR_PlayersTurnMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_PlayersTurnMessage_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_PlayersTurnMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 377 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 378 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 380 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 384 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 385 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 387 */ }; 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 da8036bc..b935e55f 100644 --- a/src/third_party/asn1/PokerTHMessage.c +++ b/src/third_party/asn1/PokerTHMessage.c @@ -10,9 +10,18 @@ #include "PokerTHMessage.h" static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.initMessage), + { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.announceMessage), (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, + &asn_DEF_AnnounceMessage, + 0, /* Defer constraints checking to the member type */ + 0, /* PER is not compiled, use -gen-PER */ + 0, + "announceMessage" + }, + { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.initMessage), + (ASN_TAG_CLASS_APPLICATION | (1 << 2)), + 0, &asn_DEF_InitMessage, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -20,7 +29,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "initMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.authMessage), - (ASN_TAG_CLASS_APPLICATION | (1 << 2)), + (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 0, &asn_DEF_AuthMessage, 0, /* Defer constraints checking to the member type */ @@ -29,7 +38,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "authMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.initAckMessage), - (ASN_TAG_CLASS_APPLICATION | (2 << 2)), + (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 0, &asn_DEF_InitAckMessage, 0, /* Defer constraints checking to the member type */ @@ -38,7 +47,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "initAckMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.avatarRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (3 << 2)), + (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 0, &asn_DEF_AvatarRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -47,7 +56,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "avatarRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.avatarReplyMessage), - (ASN_TAG_CLASS_APPLICATION | (4 << 2)), + (ASN_TAG_CLASS_APPLICATION | (5 << 2)), 0, &asn_DEF_AvatarReplyMessage, 0, /* Defer constraints checking to the member type */ @@ -56,7 +65,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "avatarReplyMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerListMessage), - (ASN_TAG_CLASS_APPLICATION | (5 << 2)), + (ASN_TAG_CLASS_APPLICATION | (6 << 2)), 0, &asn_DEF_PlayerListMessage, 0, /* Defer constraints checking to the member type */ @@ -65,7 +74,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "playerListMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gameListMessage), - (ASN_TAG_CLASS_APPLICATION | (6 << 2)), + (ASN_TAG_CLASS_APPLICATION | (7 << 2)), 0, &asn_DEF_GameListMessage, 0, /* Defer constraints checking to the member type */ @@ -74,7 +83,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "gameListMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerInfoRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (7 << 2)), + (ASN_TAG_CLASS_APPLICATION | (8 << 2)), 0, &asn_DEF_PlayerInfoRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -83,7 +92,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "playerInfoRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerInfoReplyMessage), - (ASN_TAG_CLASS_APPLICATION | (8 << 2)), + (ASN_TAG_CLASS_APPLICATION | (9 << 2)), 0, &asn_DEF_PlayerInfoReplyMessage, 0, /* Defer constraints checking to the member type */ @@ -92,7 +101,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "playerInfoReplyMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.subscriptionRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (9 << 2)), + (ASN_TAG_CLASS_APPLICATION | (10 << 2)), 0, &asn_DEF_SubscriptionRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -101,7 +110,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "subscriptionRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.joinGameRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (10 << 2)), + (ASN_TAG_CLASS_APPLICATION | (11 << 2)), 0, &asn_DEF_JoinGameRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -110,7 +119,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "joinGameRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.joinGameReplyMessage), - (ASN_TAG_CLASS_APPLICATION | (11 << 2)), + (ASN_TAG_CLASS_APPLICATION | (12 << 2)), 0, &asn_DEF_JoinGameReplyMessage, 0, /* Defer constraints checking to the member type */ @@ -119,7 +128,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "joinGameReplyMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gamePlayerMessage), - (ASN_TAG_CLASS_APPLICATION | (12 << 2)), + (ASN_TAG_CLASS_APPLICATION | (13 << 2)), 0, &asn_DEF_GamePlayerMessage, 0, /* Defer constraints checking to the member type */ @@ -128,7 +137,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "gamePlayerMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.kickPlayerRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (13 << 2)), + (ASN_TAG_CLASS_APPLICATION | (14 << 2)), 0, &asn_DEF_KickPlayerRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -137,7 +146,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "kickPlayerRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.leaveGameRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (14 << 2)), + (ASN_TAG_CLASS_APPLICATION | (15 << 2)), 0, &asn_DEF_LeaveGameRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -146,7 +155,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "leaveGameRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.startEventMessage), - (ASN_TAG_CLASS_APPLICATION | (15 << 2)), + (ASN_TAG_CLASS_APPLICATION | (16 << 2)), 0, &asn_DEF_StartEventMessage, 0, /* Defer constraints checking to the member type */ @@ -155,7 +164,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "startEventMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.startEventAckMessage), - (ASN_TAG_CLASS_APPLICATION | (16 << 2)), + (ASN_TAG_CLASS_APPLICATION | (17 << 2)), 0, &asn_DEF_StartEventAckMessage, 0, /* Defer constraints checking to the member type */ @@ -164,7 +173,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "startEventAckMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gameStartMessage), - (ASN_TAG_CLASS_APPLICATION | (17 << 2)), + (ASN_TAG_CLASS_APPLICATION | (18 << 2)), 0, &asn_DEF_GameStartMessage, 0, /* Defer constraints checking to the member type */ @@ -173,7 +182,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "gameStartMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.handStartMessage), - (ASN_TAG_CLASS_APPLICATION | (18 << 2)), + (ASN_TAG_CLASS_APPLICATION | (19 << 2)), 0, &asn_DEF_HandStartMessage, 0, /* Defer constraints checking to the member type */ @@ -182,7 +191,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "handStartMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playersTurnMessage), - (ASN_TAG_CLASS_APPLICATION | (19 << 2)), + (ASN_TAG_CLASS_APPLICATION | (20 << 2)), 0, &asn_DEF_PlayersTurnMessage, 0, /* Defer constraints checking to the member type */ @@ -191,7 +200,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "playersTurnMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.myActionRequestMessage), - (ASN_TAG_CLASS_APPLICATION | (20 << 2)), + (ASN_TAG_CLASS_APPLICATION | (21 << 2)), 0, &asn_DEF_MyActionRequestMessage, 0, /* Defer constraints checking to the member type */ @@ -200,7 +209,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "myActionRequestMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.yourActionRejectedMessage), - (ASN_TAG_CLASS_APPLICATION | (21 << 2)), + (ASN_TAG_CLASS_APPLICATION | (22 << 2)), 0, &asn_DEF_YourActionRejectedMessage, 0, /* Defer constraints checking to the member type */ @@ -209,7 +218,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "yourActionRejectedMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playersActionDoneMessage), - (ASN_TAG_CLASS_APPLICATION | (22 << 2)), + (ASN_TAG_CLASS_APPLICATION | (23 << 2)), 0, &asn_DEF_PlayersActionDoneMessage, 0, /* Defer constraints checking to the member type */ @@ -218,7 +227,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "playersActionDoneMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealFlopCardsMessage), - (ASN_TAG_CLASS_APPLICATION | (23 << 2)), + (ASN_TAG_CLASS_APPLICATION | (24 << 2)), 0, &asn_DEF_DealFlopCardsMessage, 0, /* Defer constraints checking to the member type */ @@ -227,7 +236,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "dealFlopCardsMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealTurnCardMessage), - (ASN_TAG_CLASS_APPLICATION | (24 << 2)), + (ASN_TAG_CLASS_APPLICATION | (25 << 2)), 0, &asn_DEF_DealTurnCardMessage, 0, /* Defer constraints checking to the member type */ @@ -236,7 +245,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "dealTurnCardMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealRiverCardMessage), - (ASN_TAG_CLASS_APPLICATION | (25 << 2)), + (ASN_TAG_CLASS_APPLICATION | (26 << 2)), 0, &asn_DEF_DealRiverCardMessage, 0, /* Defer constraints checking to the member type */ @@ -245,7 +254,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "dealRiverCardMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.allInShowCardsMessage), - (ASN_TAG_CLASS_APPLICATION | (26 << 2)), + (ASN_TAG_CLASS_APPLICATION | (27 << 2)), 0, &asn_DEF_AllInShowCardsMessage, 0, /* Defer constraints checking to the member type */ @@ -254,7 +263,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "allInShowCardsMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.endOfHandMessage), - (ASN_TAG_CLASS_APPLICATION | (27 << 2)), + (ASN_TAG_CLASS_APPLICATION | (28 << 2)), 0, &asn_DEF_EndOfHandMessage, 0, /* Defer constraints checking to the member type */ @@ -263,7 +272,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { "endOfHandMessage" }, { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.endOfGameMessage), - (ASN_TAG_CLASS_APPLICATION | (28 << 2)), + (ASN_TAG_CLASS_APPLICATION | (29 << 2)), 0, &asn_DEF_EndOfGameMessage, 0, /* Defer constraints checking to the member type */ @@ -399,49 +408,50 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_PokerTHMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 0 }, /* initMessage at 27 */ - { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* authMessage at 28 */ - { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 2, 0, 0 }, /* initAckMessage at 29 */ - { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 3, 0, 0 }, /* avatarRequestMessage at 30 */ - { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 4, 0, 0 }, /* avatarReplyMessage at 31 */ - { (ASN_TAG_CLASS_APPLICATION | (5 << 2)), 5, 0, 0 }, /* playerListMessage at 32 */ - { (ASN_TAG_CLASS_APPLICATION | (6 << 2)), 6, 0, 0 }, /* gameListMessage at 33 */ - { (ASN_TAG_CLASS_APPLICATION | (7 << 2)), 7, 0, 0 }, /* playerInfoRequestMessage at 34 */ - { (ASN_TAG_CLASS_APPLICATION | (8 << 2)), 8, 0, 0 }, /* playerInfoReplyMessage at 35 */ - { (ASN_TAG_CLASS_APPLICATION | (9 << 2)), 9, 0, 0 }, /* subscriptionRequestMessage at 36 */ - { (ASN_TAG_CLASS_APPLICATION | (10 << 2)), 10, 0, 0 }, /* joinGameRequestMessage at 37 */ - { (ASN_TAG_CLASS_APPLICATION | (11 << 2)), 11, 0, 0 }, /* joinGameReplyMessage at 38 */ - { (ASN_TAG_CLASS_APPLICATION | (12 << 2)), 12, 0, 0 }, /* gamePlayerMessage at 39 */ - { (ASN_TAG_CLASS_APPLICATION | (13 << 2)), 13, 0, 0 }, /* kickPlayerRequestMessage at 40 */ - { (ASN_TAG_CLASS_APPLICATION | (14 << 2)), 14, 0, 0 }, /* leaveGameRequestMessage at 41 */ - { (ASN_TAG_CLASS_APPLICATION | (15 << 2)), 15, 0, 0 }, /* startEventMessage at 42 */ - { (ASN_TAG_CLASS_APPLICATION | (16 << 2)), 16, 0, 0 }, /* startEventAckMessage at 43 */ - { (ASN_TAG_CLASS_APPLICATION | (17 << 2)), 17, 0, 0 }, /* gameStartMessage at 44 */ - { (ASN_TAG_CLASS_APPLICATION | (18 << 2)), 18, 0, 0 }, /* handStartMessage at 45 */ - { (ASN_TAG_CLASS_APPLICATION | (19 << 2)), 19, 0, 0 }, /* playersTurnMessage at 46 */ - { (ASN_TAG_CLASS_APPLICATION | (20 << 2)), 20, 0, 0 }, /* myActionRequestMessage at 47 */ - { (ASN_TAG_CLASS_APPLICATION | (21 << 2)), 21, 0, 0 }, /* yourActionRejectedMessage at 48 */ - { (ASN_TAG_CLASS_APPLICATION | (22 << 2)), 22, 0, 0 }, /* playersActionDoneMessage at 49 */ - { (ASN_TAG_CLASS_APPLICATION | (23 << 2)), 23, 0, 0 }, /* dealFlopCardsMessage at 50 */ - { (ASN_TAG_CLASS_APPLICATION | (24 << 2)), 24, 0, 0 }, /* dealTurnCardMessage at 51 */ - { (ASN_TAG_CLASS_APPLICATION | (25 << 2)), 25, 0, 0 }, /* dealRiverCardMessage at 52 */ - { (ASN_TAG_CLASS_APPLICATION | (26 << 2)), 26, 0, 0 }, /* allInShowCardsMessage at 53 */ - { (ASN_TAG_CLASS_APPLICATION | (27 << 2)), 27, 0, 0 }, /* endOfHandMessage at 54 */ - { (ASN_TAG_CLASS_APPLICATION | (28 << 2)), 28, 0, 0 }, /* endOfGameMessage at 55 */ - { (ASN_TAG_CLASS_APPLICATION | (64 << 2)), 29, 0, 0 }, /* askKickPlayerMessage at 56 */ - { (ASN_TAG_CLASS_APPLICATION | (65 << 2)), 30, 0, 0 }, /* askKickDeniedMessage at 57 */ - { (ASN_TAG_CLASS_APPLICATION | (66 << 2)), 31, 0, 0 }, /* startKickPetitionMessage at 58 */ - { (ASN_TAG_CLASS_APPLICATION | (67 << 2)), 32, 0, 0 }, /* voteKickRequestMessage at 59 */ - { (ASN_TAG_CLASS_APPLICATION | (68 << 2)), 33, 0, 0 }, /* voteKickReplyMessage at 60 */ - { (ASN_TAG_CLASS_APPLICATION | (69 << 2)), 34, 0, 0 }, /* kickPetitionUpdateMessage at 61 */ - { (ASN_TAG_CLASS_APPLICATION | (70 << 2)), 35, 0, 0 }, /* endKickPetitionMessage at 62 */ - { (ASN_TAG_CLASS_APPLICATION | (128 << 2)), 36, 0, 0 }, /* statisticsMessage at 63 */ - { (ASN_TAG_CLASS_APPLICATION | (129 << 2)), 37, 0, 0 }, /* chatRequestMessage at 64 */ - { (ASN_TAG_CLASS_APPLICATION | (130 << 2)), 38, 0, 0 }, /* chatMessage at 65 */ - { (ASN_TAG_CLASS_APPLICATION | (131 << 2)), 39, 0, 0 }, /* dialogMessage at 66 */ - { (ASN_TAG_CLASS_APPLICATION | (132 << 2)), 40, 0, 0 }, /* timeoutWarningMessage at 67 */ - { (ASN_TAG_CLASS_APPLICATION | (133 << 2)), 41, 0, 0 }, /* resetTimeoutMessage at 68 */ - { (ASN_TAG_CLASS_APPLICATION | (255 << 2)), 42, 0, 0 } /* errorMessage at 70 */ + { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 0 }, /* announceMessage at 27 */ + { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* initMessage at 28 */ + { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 2, 0, 0 }, /* authMessage at 29 */ + { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 3, 0, 0 }, /* initAckMessage at 30 */ + { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 4, 0, 0 }, /* avatarRequestMessage at 31 */ + { (ASN_TAG_CLASS_APPLICATION | (5 << 2)), 5, 0, 0 }, /* avatarReplyMessage at 32 */ + { (ASN_TAG_CLASS_APPLICATION | (6 << 2)), 6, 0, 0 }, /* playerListMessage at 33 */ + { (ASN_TAG_CLASS_APPLICATION | (7 << 2)), 7, 0, 0 }, /* gameListMessage at 34 */ + { (ASN_TAG_CLASS_APPLICATION | (8 << 2)), 8, 0, 0 }, /* playerInfoRequestMessage at 35 */ + { (ASN_TAG_CLASS_APPLICATION | (9 << 2)), 9, 0, 0 }, /* playerInfoReplyMessage at 36 */ + { (ASN_TAG_CLASS_APPLICATION | (10 << 2)), 10, 0, 0 }, /* subscriptionRequestMessage at 37 */ + { (ASN_TAG_CLASS_APPLICATION | (11 << 2)), 11, 0, 0 }, /* joinGameRequestMessage at 38 */ + { (ASN_TAG_CLASS_APPLICATION | (12 << 2)), 12, 0, 0 }, /* joinGameReplyMessage at 39 */ + { (ASN_TAG_CLASS_APPLICATION | (13 << 2)), 13, 0, 0 }, /* gamePlayerMessage at 40 */ + { (ASN_TAG_CLASS_APPLICATION | (14 << 2)), 14, 0, 0 }, /* kickPlayerRequestMessage at 41 */ + { (ASN_TAG_CLASS_APPLICATION | (15 << 2)), 15, 0, 0 }, /* leaveGameRequestMessage at 42 */ + { (ASN_TAG_CLASS_APPLICATION | (16 << 2)), 16, 0, 0 }, /* startEventMessage at 43 */ + { (ASN_TAG_CLASS_APPLICATION | (17 << 2)), 17, 0, 0 }, /* startEventAckMessage at 44 */ + { (ASN_TAG_CLASS_APPLICATION | (18 << 2)), 18, 0, 0 }, /* gameStartMessage at 45 */ + { (ASN_TAG_CLASS_APPLICATION | (19 << 2)), 19, 0, 0 }, /* handStartMessage at 46 */ + { (ASN_TAG_CLASS_APPLICATION | (20 << 2)), 20, 0, 0 }, /* playersTurnMessage at 47 */ + { (ASN_TAG_CLASS_APPLICATION | (21 << 2)), 21, 0, 0 }, /* myActionRequestMessage at 48 */ + { (ASN_TAG_CLASS_APPLICATION | (22 << 2)), 22, 0, 0 }, /* yourActionRejectedMessage at 49 */ + { (ASN_TAG_CLASS_APPLICATION | (23 << 2)), 23, 0, 0 }, /* playersActionDoneMessage at 50 */ + { (ASN_TAG_CLASS_APPLICATION | (24 << 2)), 24, 0, 0 }, /* dealFlopCardsMessage at 51 */ + { (ASN_TAG_CLASS_APPLICATION | (25 << 2)), 25, 0, 0 }, /* dealTurnCardMessage at 52 */ + { (ASN_TAG_CLASS_APPLICATION | (26 << 2)), 26, 0, 0 }, /* dealRiverCardMessage at 53 */ + { (ASN_TAG_CLASS_APPLICATION | (27 << 2)), 27, 0, 0 }, /* allInShowCardsMessage at 54 */ + { (ASN_TAG_CLASS_APPLICATION | (28 << 2)), 28, 0, 0 }, /* endOfHandMessage at 55 */ + { (ASN_TAG_CLASS_APPLICATION | (29 << 2)), 29, 0, 0 }, /* endOfGameMessage at 56 */ + { (ASN_TAG_CLASS_APPLICATION | (64 << 2)), 30, 0, 0 }, /* askKickPlayerMessage at 57 */ + { (ASN_TAG_CLASS_APPLICATION | (65 << 2)), 31, 0, 0 }, /* askKickDeniedMessage at 58 */ + { (ASN_TAG_CLASS_APPLICATION | (66 << 2)), 32, 0, 0 }, /* startKickPetitionMessage at 59 */ + { (ASN_TAG_CLASS_APPLICATION | (67 << 2)), 33, 0, 0 }, /* voteKickRequestMessage at 60 */ + { (ASN_TAG_CLASS_APPLICATION | (68 << 2)), 34, 0, 0 }, /* voteKickReplyMessage at 61 */ + { (ASN_TAG_CLASS_APPLICATION | (69 << 2)), 35, 0, 0 }, /* kickPetitionUpdateMessage at 62 */ + { (ASN_TAG_CLASS_APPLICATION | (70 << 2)), 36, 0, 0 }, /* endKickPetitionMessage at 63 */ + { (ASN_TAG_CLASS_APPLICATION | (128 << 2)), 37, 0, 0 }, /* statisticsMessage at 64 */ + { (ASN_TAG_CLASS_APPLICATION | (129 << 2)), 38, 0, 0 }, /* chatRequestMessage at 65 */ + { (ASN_TAG_CLASS_APPLICATION | (130 << 2)), 39, 0, 0 }, /* chatMessage at 66 */ + { (ASN_TAG_CLASS_APPLICATION | (131 << 2)), 40, 0, 0 }, /* dialogMessage at 67 */ + { (ASN_TAG_CLASS_APPLICATION | (132 << 2)), 41, 0, 0 }, /* timeoutWarningMessage at 68 */ + { (ASN_TAG_CLASS_APPLICATION | (133 << 2)), 42, 0, 0 }, /* resetTimeoutMessage at 69 */ + { (ASN_TAG_CLASS_APPLICATION | (255 << 2)), 43, 0, 0 } /* errorMessage at 71 */ }; static asn_CHOICE_specifics_t asn_SPC_PokerTHMessage_specs_1 = { sizeof(struct PokerTHMessage), @@ -449,9 +459,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, - 43, /* Count of tags in the map */ + 44, /* Count of tags in the map */ 0, - 43 /* Extensions start */ + 44 /* Extensions start */ }; asn_TYPE_descriptor_t asn_DEF_PokerTHMessage = { "PokerTHMessage", @@ -471,7 +481,7 @@ asn_TYPE_descriptor_t asn_DEF_PokerTHMessage = { 0, /* No tags (count) */ 0, /* No PER visible constraints */ asn_MBR_PokerTHMessage_1, - 43, /* Elements count */ + 44, /* 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 fb12fc72..4bf39ad4 100644 --- a/src/third_party/asn1/PokerTHMessage.h +++ b/src/third_party/asn1/PokerTHMessage.h @@ -12,6 +12,7 @@ #include /* Including external dependencies */ +#include "AnnounceMessage.h" #include "InitMessage.h" #include "AuthMessage.h" #include "InitAckMessage.h" @@ -64,6 +65,7 @@ extern "C" { /* Dependencies */ typedef enum PokerTHMessage_PR { PokerTHMessage_PR_NOTHING, /* No components present */ + PokerTHMessage_PR_announceMessage, PokerTHMessage_PR_initMessage, PokerTHMessage_PR_authMessage, PokerTHMessage_PR_initAckMessage, @@ -115,6 +117,7 @@ typedef enum PokerTHMessage_PR { typedef struct PokerTHMessage { PokerTHMessage_PR present; union PokerTHMessage_u { + AnnounceMessage_t announceMessage; InitMessage_t initMessage; AuthMessage_t authMessage; InitAckMessage_t initAckMessage; diff --git a/src/third_party/asn1/RemovedFromGame.c b/src/third_party/asn1/RemovedFromGame.c index 619492f5..37894629 100644 --- a/src/third_party/asn1/RemovedFromGame.c +++ b/src/third_party/asn1/RemovedFromGame.c @@ -149,7 +149,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 336 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* removedFromGameReason at 343 */ }; 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 5d9ae08f..2e8c0365 100644 --- a/src/third_party/asn1/StartEventAckMessage.c +++ b/src/third_party/asn1/StartEventAckMessage.c @@ -21,11 +21,11 @@ static asn_TYPE_member_t asn_MBR_StartEventAckMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_StartEventAckMessage_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_StartEventAckMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 361 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 368 */ }; 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 b9cd8409..d77c8b2e 100644 --- a/src/third_party/asn1/StartEventMessage.c +++ b/src/third_party/asn1/StartEventMessage.c @@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_StartEventMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_StartEventMessage_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_StartEventMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 356 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 355 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 363 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 362 */ }; 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 dce8c64b..0acd606f 100644 --- a/src/third_party/asn1/StartKickPetitionMessage.c +++ b/src/third_party/asn1/StartKickPetitionMessage.c @@ -120,12 +120,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 491 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 492 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 493 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 494 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 495 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 496 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 498 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 499 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 500 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 501 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 502 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 503 */ }; 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 f0a33dd6..7d51ba2b 100644 --- a/src/third_party/asn1/StatisticsData.c +++ b/src/third_party/asn1/StatisticsData.c @@ -148,8 +148,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 555 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 552 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 562 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 559 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StatisticsData_specs_1 = { sizeof(struct StatisticsData), diff --git a/src/third_party/asn1/StatisticsLogin.c b/src/third_party/asn1/StatisticsLogin.c deleted file mode 100644 index 84e7c791..00000000 --- a/src/third_party/asn1/StatisticsLogin.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "POKERTH-PROTOCOL" - * found in "../../../docs/pokerth.asn1" - * `asn1c -fnative-types` - */ - -#include - -#include "StatisticsLogin.h" - -static ber_tlv_tag_t asn_DEF_StatisticsLogin_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SEQUENCE_specifics_t asn_SPC_StatisticsLogin_specs_1 = { - sizeof(struct StatisticsLogin), - offsetof(struct StatisticsLogin, _asn_ctx), - 0, /* No top level tags */ - 0, /* No tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* Start extensions */ - -1 /* Stop extensions */ -}; -asn_TYPE_descriptor_t asn_DEF_StatisticsLogin = { - "StatisticsLogin", - "StatisticsLogin", - 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_StatisticsLogin_tags_1, - sizeof(asn_DEF_StatisticsLogin_tags_1) - /sizeof(asn_DEF_StatisticsLogin_tags_1[0]), /* 1 */ - asn_DEF_StatisticsLogin_tags_1, /* Same as above */ - sizeof(asn_DEF_StatisticsLogin_tags_1) - /sizeof(asn_DEF_StatisticsLogin_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ - 0, 0, /* No members */ - &asn_SPC_StatisticsLogin_specs_1 /* Additional specs */ -}; - diff --git a/src/third_party/asn1/StatisticsLogin.h b/src/third_party/asn1/StatisticsLogin.h deleted file mode 100644 index 9a34e1f0..00000000 --- a/src/third_party/asn1/StatisticsLogin.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) - * From ASN.1 module "POKERTH-PROTOCOL" - * found in "../../../docs/pokerth.asn1" - * `asn1c -fnative-types` - */ - -#ifndef _StatisticsLogin_H_ -#define _StatisticsLogin_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* StatisticsLogin */ -typedef struct StatisticsLogin { - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} StatisticsLogin_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_StatisticsLogin; - -#ifdef __cplusplus -} -#endif - -#endif /* _StatisticsLogin_H_ */ diff --git a/src/third_party/asn1/StatisticsMessage.c b/src/third_party/asn1/StatisticsMessage.c index 2b2239db..a3942344 100644 --- a/src/third_party/asn1/StatisticsMessage.c +++ b/src/third_party/asn1/StatisticsMessage.c @@ -95,7 +95,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 548 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* statisticsData at 555 */ }; 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 68b9724a..5aa9ed8b 100644 --- a/src/third_party/asn1/SubscriptionRequestMessage.c +++ b/src/third_party/asn1/SubscriptionRequestMessage.c @@ -138,11 +138,11 @@ static asn_TYPE_member_t asn_MBR_SubscriptionRequestMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_SubscriptionRequestMessage_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_SubscriptionRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* subscriptionAction at 242 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* subscriptionAction at 249 */ }; 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 7c5ad7bc..97ece879 100644 --- a/src/third_party/asn1/TimeoutWarningMessage.c +++ b/src/third_party/asn1/TimeoutWarningMessage.c @@ -151,8 +151,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 607 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 603 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 614 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 610 */ }; 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 048e1fa5..bd8ea602 100644 --- a/src/third_party/asn1/Version.c +++ b/src/third_party/asn1/Version.c @@ -83,8 +83,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 84 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* minor at 85 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* major at 96 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* minor at 97 */ }; 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 6f38b558..7d242eaa 100644 --- a/src/third_party/asn1/VoteKickDenied.c +++ b/src/third_party/asn1/VoteKickDenied.c @@ -141,7 +141,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 519 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* voteKickDeniedReason at 526 */ }; 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 62f2fd9c..4aae7480 100644 --- a/src/third_party/asn1/VoteKickReplyMessage.c +++ b/src/third_party/asn1/VoteKickReplyMessage.c @@ -30,8 +30,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 509 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 511 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 516 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 518 */ }; static asn_CHOICE_specifics_t asn_SPC_voteKickReplyType_specs_4 = { sizeof(struct voteKickReplyType), @@ -100,10 +100,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 506 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 507 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 509 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 511 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 513 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 514 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 516 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 518 */ }; 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 de36ddfe..2deae9d0 100644 --- a/src/third_party/asn1/VoteKickRequestMessage.c +++ b/src/third_party/asn1/VoteKickRequestMessage.c @@ -43,9 +43,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 502 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 500 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 501 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 509 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 507 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 508 */ }; 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 e0167b48..972cb38b 100644 --- a/src/third_party/asn1/YourActionRejectedMessage.c +++ b/src/third_party/asn1/YourActionRejectedMessage.c @@ -201,15 +201,15 @@ static asn_TYPE_member_t asn_MBR_YourActionRejectedMessage_1[] = { }, }; static ber_tlv_tag_t asn_DEF_YourActionRejectedMessage_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_YourActionRejectedMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 390 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 393 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 391 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 392 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 395 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 397 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 400 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 398 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 399 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 402 */ }; static asn_SEQUENCE_specifics_t asn_SPC_YourActionRejectedMessage_specs_1 = { sizeof(struct YourActionRejectedMessage),