Introducing a new server announcement message to fix network games. Currently broken.

This commit is contained in:
lotodore
2009-11-07 21:02:20 +00:00
parent 8696f86b60
commit e950d0cb15
84 changed files with 1023 additions and 827 deletions
+43 -36
View File
@@ -24,6 +24,7 @@ EXTENSIBILITY IMPLIED ::=
BEGIN BEGIN
PokerTHMessage ::= CHOICE { PokerTHMessage ::= CHOICE {
announceMessage AnnounceMessage,
initMessage InitMessage, initMessage InitMessage,
authMessage AuthMessage, authMessage AuthMessage,
initAckMessage InitAckMessage, initAckMessage InitAckMessage,
@@ -69,14 +70,25 @@ PokerTHMessage ::= CHOICE {
errorMessage ErrorMessage 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) -- buildId contains a constant build id (specific for Windows/Linux/Mac builds)
InitMessage ::= [APPLICATION 0] SEQUENCE { InitMessage ::= [APPLICATION 1] SEQUENCE {
requestedVersion Version, requestedVersion Version,
buildId INTEGER, buildId INTEGER,
login CHOICE { login CHOICE {
guestLogin [0] GuestLogin, guestLogin [0] GuestLogin,
authenticatedLogin [1] AuthenticatedLogin, authenticatedLogin [1] AuthenticatedLogin
statisticsLogin [2] StatisticsLogin
} }
} }
@@ -95,7 +107,7 @@ AuthenticatedLogin ::= SEQUENCE {
avatar AvatarHash OPTIONAL avatar AvatarHash OPTIONAL
} }
AuthMessage ::= [APPLICATION 1] CHOICE { AuthMessage ::= [APPLICATION 2] CHOICE {
authServerChallenge [0] AuthServerChallenge, authServerChallenge [0] AuthServerChallenge,
authClientResponse [1] AuthClientResponse, authClientResponse [1] AuthClientResponse,
authServerVerification [2] AuthServerVerification authServerVerification [2] AuthServerVerification
@@ -113,22 +125,17 @@ AuthServerVerification ::= SEQUENCE {
serverVerification OCTET STRING (SIZE(1..256)) serverVerification OCTET STRING (SIZE(1..256))
} }
StatisticsLogin ::= SEQUENCE { InitAckMessage ::= [APPLICATION 3] SEQUENCE {
}
InitAckMessage ::= [APPLICATION 2] SEQUENCE {
latestGameVersion Version,
latestBetaRevision INTEGER(0..65535),
yourSessionId Guid, yourSessionId Guid,
yourPlayerId NonZeroId yourPlayerId NonZeroId
} }
AvatarRequestMessage ::= [APPLICATION 3] SEQUENCE { AvatarRequestMessage ::= [APPLICATION 4] SEQUENCE {
requestId NonZeroId, requestId NonZeroId,
avatar AvatarHash avatar AvatarHash
} }
AvatarReplyMessage ::= [APPLICATION 4] SEQUENCE { AvatarReplyMessage ::= [APPLICATION 5] SEQUENCE {
requestId NonZeroId, requestId NonZeroId,
avatarResult CHOICE { avatarResult CHOICE {
avatarHeader [0] AvatarHeader, avatarHeader [0] AvatarHeader,
@@ -161,7 +168,7 @@ NetAvatarType ::= ENUMERATED {
avatarImageGif (3) avatarImageGif (3)
} }
PlayerListMessage ::= [APPLICATION 5] SEQUENCE { PlayerListMessage ::= [APPLICATION 6] SEQUENCE {
playerId NonZeroId, playerId NonZeroId,
playerListNotification ENUMERATED { playerListNotification ENUMERATED {
playerListNew (0), playerListNew (0),
@@ -169,7 +176,7 @@ PlayerListMessage ::= [APPLICATION 5] SEQUENCE {
} }
} }
GameListMessage ::= [APPLICATION 6] SEQUENCE { GameListMessage ::= [APPLICATION 7] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
gameListNotification CHOICE { gameListNotification CHOICE {
gameListNew [0] GameListNew, gameListNew [0] GameListNew,
@@ -210,11 +217,11 @@ NetGameMode ::= ENUMERATED {
gameClosed (3) gameClosed (3)
} }
PlayerInfoRequestMessage ::= [APPLICATION 7] SEQUENCE { PlayerInfoRequestMessage ::= [APPLICATION 8] SEQUENCE {
playerId NonZeroId playerId NonZeroId
} }
PlayerInfoReplyMessage ::= [APPLICATION 8] SEQUENCE { PlayerInfoReplyMessage ::= [APPLICATION 9] SEQUENCE {
playerId NonZeroId, playerId NonZeroId,
playerInfoResult CHOICE { playerInfoResult CHOICE {
playerInfoData [0] PlayerInfoData, playerInfoData [0] PlayerInfoData,
@@ -237,14 +244,14 @@ UnknownPlayerInfo ::= SEQUENCE {
-- The following request will not be confirmed by the server. It is used, -- The following request will not be confirmed by the server. It is used,
-- optionally, to reduce server traffic. The server might ignore it. -- optionally, to reduce server traffic. The server might ignore it.
SubscriptionRequestMessage ::= [APPLICATION 9] SEQUENCE { SubscriptionRequestMessage ::= [APPLICATION 10] SEQUENCE {
subscriptionAction ENUMERATED { subscriptionAction ENUMERATED {
unsubscribeGameList (1), unsubscribeGameList (1),
resubscribeGameList (2) resubscribeGameList (2)
} }
} }
JoinGameRequestMessage ::= [APPLICATION 10] SEQUENCE { JoinGameRequestMessage ::= [APPLICATION 11] SEQUENCE {
joinGameAction CHOICE { joinGameAction CHOICE {
joinExistingGame [0] JoinExistingGame, joinExistingGame [0] JoinExistingGame,
joinNewGame [1] JoinNewGame joinNewGame [1] JoinNewGame
@@ -260,7 +267,7 @@ JoinNewGame ::= SEQUENCE {
gameInfo NetGameInfo gameInfo NetGameInfo
} }
JoinGameReplyMessage ::= [APPLICATION 11] SEQUENCE { JoinGameReplyMessage ::= [APPLICATION 12] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
joinGameResult CHOICE { joinGameResult CHOICE {
joinGameAck [0] JoinGameAck, joinGameAck [0] JoinGameAck,
@@ -303,7 +310,7 @@ NetGameInfo ::= SEQUENCE {
manualBlinds SEQUENCE SIZE(0..30) OF INTEGER(1..20001) manualBlinds SEQUENCE SIZE(0..30) OF INTEGER(1..20001)
} }
GamePlayerMessage ::= [APPLICATION 12] SEQUENCE { GamePlayerMessage ::= [APPLICATION 13] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
gamePlayerNotification CHOICE { gamePlayerNotification CHOICE {
gamePlayerJoined [0] GamePlayerJoined, gamePlayerJoined [0] GamePlayerJoined,
@@ -342,51 +349,51 @@ RemovedFromGame ::= SEQUENCE {
} }
} }
KickPlayerRequestMessage ::= [APPLICATION 13] SEQUENCE { KickPlayerRequestMessage ::= [APPLICATION 14] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
playerId NonZeroId playerId NonZeroId
} }
LeaveGameRequestMessage ::= [APPLICATION 14] SEQUENCE { LeaveGameRequestMessage ::= [APPLICATION 15] SEQUENCE {
gameId NonZeroId gameId NonZeroId
} }
StartEventMessage ::= [APPLICATION 15] SEQUENCE { StartEventMessage ::= [APPLICATION 16] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
fillWithComputerPlayers BOOLEAN fillWithComputerPlayers BOOLEAN
} }
StartEventAckMessage ::= [APPLICATION 16] SEQUENCE { StartEventAckMessage ::= [APPLICATION 17] SEQUENCE {
gameId NonZeroId gameId NonZeroId
} }
GameStartMessage ::= [APPLICATION 17] SEQUENCE { GameStartMessage ::= [APPLICATION 18] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
startDealerPlayerId NonZeroId, startDealerPlayerId NonZeroId,
playerSeats SEQUENCE SIZE(2..10) OF NonZeroId playerSeats SEQUENCE SIZE(2..10) OF NonZeroId
} }
HandStartMessage ::= [APPLICATION 18] SEQUENCE { HandStartMessage ::= [APPLICATION 19] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
yourCard1 Card, yourCard1 Card,
yourCard2 Card, yourCard2 Card,
smallBlind INTEGER(1..20001) smallBlind INTEGER(1..20001)
} }
PlayersTurnMessage ::= [APPLICATION 19] SEQUENCE { PlayersTurnMessage ::= [APPLICATION 20] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
playerId NonZeroId, playerId NonZeroId,
gameState NetGameState gameState NetGameState
} }
MyActionRequestMessage ::= [APPLICATION 20] SEQUENCE { MyActionRequestMessage ::= [APPLICATION 21] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
gameState NetGameState, gameState NetGameState,
myAction NetPlayerAction, myAction NetPlayerAction,
myRelativeBet INTEGER(0..10000000) myRelativeBet INTEGER(0..10000000)
} }
YourActionRejectedMessage ::= [APPLICATION 21] SEQUENCE { YourActionRejectedMessage ::= [APPLICATION 22] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
gameState NetGameState, gameState NetGameState,
yourAction NetPlayerAction, yourAction NetPlayerAction,
@@ -398,7 +405,7 @@ YourActionRejectedMessage ::= [APPLICATION 21] SEQUENCE {
} }
} }
PlayersActionDoneMessage ::= [APPLICATION 22] SEQUENCE { PlayersActionDoneMessage ::= [APPLICATION 23] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
playerId NonZeroId, playerId NonZeroId,
gameState NetGameState, gameState NetGameState,
@@ -409,24 +416,24 @@ PlayersActionDoneMessage ::= [APPLICATION 22] SEQUENCE {
minimumRaise INTEGER(0..10000000) -- TODO minimumRaise INTEGER(0..10000000) -- TODO
} }
DealFlopCardsMessage ::= [APPLICATION 23] SEQUENCE { DealFlopCardsMessage ::= [APPLICATION 24] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
flopCard1 Card, flopCard1 Card,
flopCard2 Card, flopCard2 Card,
flopCard3 Card flopCard3 Card
} }
DealTurnCardMessage ::= [APPLICATION 24] SEQUENCE { DealTurnCardMessage ::= [APPLICATION 25] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
turnCard Card turnCard Card
} }
DealRiverCardMessage ::= [APPLICATION 25] SEQUENCE { DealRiverCardMessage ::= [APPLICATION 26] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
riverCard Card riverCard Card
} }
AllInShowCardsMessage ::= [APPLICATION 26] SEQUENCE { AllInShowCardsMessage ::= [APPLICATION 27] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
playersAllIn SEQUENCE SIZE(1..10) OF PlayerAllIn playersAllIn SEQUENCE SIZE(1..10) OF PlayerAllIn
} }
@@ -437,7 +444,7 @@ PlayerAllIn ::= SEQUENCE {
allInCard2 Card allInCard2 Card
} }
EndOfHandMessage ::= [APPLICATION 27] SEQUENCE { EndOfHandMessage ::= [APPLICATION 28] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
endOfHandType CHOICE { endOfHandType CHOICE {
endOfHandShowCards [0] EndOfHandShowCards, endOfHandShowCards [0] EndOfHandShowCards,
@@ -465,7 +472,7 @@ EndOfHandHideCards ::= SEQUENCE {
playerMoney INTEGER(0..10000000) playerMoney INTEGER(0..10000000)
} }
EndOfGameMessage ::= [APPLICATION 28] SEQUENCE { EndOfGameMessage ::= [APPLICATION 29] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
winnerPlayerId NonZeroId winnerPlayerId NonZeroId
} }
+297 -299
View File
@@ -1,299 +1,297 @@
# QMake pro-file for PokerTH common library # QMake pro-file for PokerTH common library
TEMPLATE = lib TEMPLATE = lib
CODECFORSRC = UTF-8 CODECFORSRC = UTF-8
CONFIG += staticlib \ CONFIG += staticlib \
thread \ thread \
exceptions \ exceptions \
rtti \ rtti \
stl \ stl \
warn_on warn_on
UI_DIR = uics UI_DIR = uics
TARGET = lib/pokerth_protocol TARGET = lib/pokerth_protocol
MOC_DIR = mocs MOC_DIR = mocs
OBJECTS_DIR = obj OBJECTS_DIR = obj
DEFINES += ENABLE_IPV6 DEFINES += ENABLE_IPV6
QT -= core \ QT -= core \
gui gui
# PRECOMPILED_HEADER = src/pch_lib.h # PRECOMPILED_HEADER = src/pch_lib.h
INCLUDEPATH += . \ INCLUDEPATH += . \
src \ src \
src/third_party/asn1 src/third_party/asn1
DEPENDPATH += . \ DEPENDPATH += . \
src \ src \
src/third_party/asn1 src/third_party/asn1
# Input # Input
HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \ HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \
src/third_party/asn1/ChatCleanerMessage.h \ src/third_party/asn1/ChatCleanerMessage.h \
src/third_party/asn1/CleanerInitMessage.h \ src/third_party/asn1/CleanerInitMessage.h \
src/third_party/asn1/CleanerInitAckMessage.h \ src/third_party/asn1/CleanerInitAckMessage.h \
src/third_party/asn1/CleanerChatRequestMessage.h \ src/third_party/asn1/CleanerChatRequestMessage.h \
src/third_party/asn1/CleanerChatReplyMessage.h \ src/third_party/asn1/CleanerChatReplyMessage.h \
src/third_party/asn1/GuestLogin.h \ src/third_party/asn1/GuestLogin.h \
src/third_party/asn1/AskKickDeniedMessage.h \ src/third_party/asn1/AskKickDeniedMessage.h \
src/third_party/asn1/AskKickPlayerMessage.h \ src/third_party/asn1/AskKickPlayerMessage.h \
src/third_party/asn1/AuthMessage.h \ src/third_party/asn1/AuthMessage.h \
src/third_party/asn1/AuthClientResponse.h \ src/third_party/asn1/AuthClientResponse.h \
src/third_party/asn1/AuthServerChallenge.h \ src/third_party/asn1/AuthServerChallenge.h \
src/third_party/asn1/AuthServerVerification.h \ src/third_party/asn1/AuthServerVerification.h \
src/third_party/asn1/asn_application.h \ src/third_party/asn1/asn_application.h \
src/third_party/asn1/asn_codecs.h \ src/third_party/asn1/asn_codecs.h \
src/third_party/asn1/asn_codecs_prim.h \ src/third_party/asn1/asn_codecs_prim.h \
src/third_party/asn1/asn_internal.h \ src/third_party/asn1/asn_internal.h \
src/third_party/asn1/asn_SEQUENCE_OF.h \ src/third_party/asn1/asn_SEQUENCE_OF.h \
src/third_party/asn1/asn_SET_OF.h \ src/third_party/asn1/asn_SET_OF.h \
src/third_party/asn1/asn_system.h \ src/third_party/asn1/asn_system.h \
src/third_party/asn1/AuthenticatedLogin.h \ src/third_party/asn1/AuthenticatedLogin.h \
src/third_party/asn1/AvatarData.h \ src/third_party/asn1/AvatarData.h \
src/third_party/asn1/AvatarEnd.h \ src/third_party/asn1/AvatarEnd.h \
src/third_party/asn1/AvatarHash.h \ src/third_party/asn1/AvatarHash.h \
src/third_party/asn1/AvatarHeader.h \ src/third_party/asn1/AvatarHeader.h \
src/third_party/asn1/AvatarReplyMessage.h \ src/third_party/asn1/AvatarReplyMessage.h \
src/third_party/asn1/AvatarRequestMessage.h \ src/third_party/asn1/AvatarRequestMessage.h \
src/third_party/asn1/ber_decoder.h \ src/third_party/asn1/ber_decoder.h \
src/third_party/asn1/ber_tlv_length.h \ src/third_party/asn1/ber_tlv_length.h \
src/third_party/asn1/ber_tlv_tag.h \ src/third_party/asn1/ber_tlv_tag.h \
src/third_party/asn1/BIT_STRING.h \ src/third_party/asn1/BIT_STRING.h \
src/third_party/asn1/BOOLEAN.h \ src/third_party/asn1/BOOLEAN.h \
src/third_party/asn1/Card.h \ src/third_party/asn1/Card.h \
src/third_party/asn1/ChatMessage.h \ src/third_party/asn1/ChatMessage.h \
src/third_party/asn1/ChatTypeGame.h \ src/third_party/asn1/ChatTypeGame.h \
src/third_party/asn1/ChatTypeLobby.h \ src/third_party/asn1/ChatTypeLobby.h \
src/third_party/asn1/ChatTypeBot.h \ src/third_party/asn1/ChatTypeBot.h \
src/third_party/asn1/ChatTypeBroadcast.h \ src/third_party/asn1/ChatTypeBroadcast.h \
src/third_party/asn1/ChatRequestMessage.h \ src/third_party/asn1/ChatRequestMessage.h \
src/third_party/asn1/ChatRequestTypeLobby.h \ src/third_party/asn1/ChatRequestTypeLobby.h \
src/third_party/asn1/ChatRequestTypeGame.h \ src/third_party/asn1/ChatRequestTypeGame.h \
src/third_party/asn1/constraints.h \ src/third_party/asn1/constraints.h \
src/third_party/asn1/constr_CHOICE.h \ src/third_party/asn1/constr_CHOICE.h \
src/third_party/asn1/constr_SEQUENCE.h \ src/third_party/asn1/constr_SEQUENCE.h \
src/third_party/asn1/constr_SEQUENCE_OF.h \ src/third_party/asn1/constr_SEQUENCE_OF.h \
src/third_party/asn1/constr_SET_OF.h \ src/third_party/asn1/constr_SET_OF.h \
src/third_party/asn1/constr_TYPE.h \ src/third_party/asn1/constr_TYPE.h \
src/third_party/asn1/DealFlopCardsMessage.h \ src/third_party/asn1/DealFlopCardsMessage.h \
src/third_party/asn1/DealRiverCardMessage.h \ src/third_party/asn1/DealRiverCardMessage.h \
src/third_party/asn1/DealTurnCardMessage.h \ src/third_party/asn1/DealTurnCardMessage.h \
src/third_party/asn1/der_encoder.h \ src/third_party/asn1/der_encoder.h \
src/third_party/asn1/DialogMessage.h \ src/third_party/asn1/DialogMessage.h \
src/third_party/asn1/EndKickPetitionMessage.h \ src/third_party/asn1/EndKickPetitionMessage.h \
src/third_party/asn1/EndOfGameMessage.h \ src/third_party/asn1/EndOfGameMessage.h \
src/third_party/asn1/EndOfHandHideCards.h \ src/third_party/asn1/EndOfHandHideCards.h \
src/third_party/asn1/EndOfHandMessage.h \ src/third_party/asn1/EndOfHandMessage.h \
src/third_party/asn1/EndOfHandShowCards.h \ src/third_party/asn1/EndOfHandShowCards.h \
src/third_party/asn1/ErrorMessage.h \ src/third_party/asn1/ErrorMessage.h \
src/third_party/asn1/GameAdminChanged.h \ src/third_party/asn1/GameAdminChanged.h \
src/third_party/asn1/GameListAdminChanged.h \ src/third_party/asn1/GameListAdminChanged.h \
src/third_party/asn1/GameListMessage.h \ src/third_party/asn1/GameListMessage.h \
src/third_party/asn1/GameListNew.h \ src/third_party/asn1/GameListNew.h \
src/third_party/asn1/GameListPlayerJoined.h \ src/third_party/asn1/GameListPlayerJoined.h \
src/third_party/asn1/GameListPlayerLeft.h \ src/third_party/asn1/GameListPlayerLeft.h \
src/third_party/asn1/GameListUpdate.h \ src/third_party/asn1/GameListUpdate.h \
src/third_party/asn1/GamePlayerJoined.h \ src/third_party/asn1/GamePlayerJoined.h \
src/third_party/asn1/GamePlayerLeft.h \ src/third_party/asn1/GamePlayerLeft.h \
src/third_party/asn1/GamePlayerMessage.h \ src/third_party/asn1/GamePlayerMessage.h \
src/third_party/asn1/GameStartMessage.h \ src/third_party/asn1/GameStartMessage.h \
src/third_party/asn1/Guid.h \ src/third_party/asn1/Guid.h \
src/third_party/asn1/HandStartMessage.h \ src/third_party/asn1/HandStartMessage.h \
src/third_party/asn1/Id.h \ src/third_party/asn1/Id.h \
src/third_party/asn1/InitAckMessage.h \ src/third_party/asn1/InitAckMessage.h \
src/third_party/asn1/InitMessage.h \ src/third_party/asn1/InitMessage.h \
src/third_party/asn1/INTEGER.h \ src/third_party/asn1/INTEGER.h \
src/third_party/asn1/JoinExistingGame.h \ src/third_party/asn1/JoinExistingGame.h \
src/third_party/asn1/JoinGameAck.h \ src/third_party/asn1/JoinGameAck.h \
src/third_party/asn1/JoinGameFailed.h \ src/third_party/asn1/JoinGameFailed.h \
src/third_party/asn1/JoinGameReplyMessage.h \ src/third_party/asn1/JoinGameReplyMessage.h \
src/third_party/asn1/JoinGameRequestMessage.h \ src/third_party/asn1/JoinGameRequestMessage.h \
src/third_party/asn1/JoinNewGame.h \ src/third_party/asn1/JoinNewGame.h \
src/third_party/asn1/KickPetitionUpdateMessage.h \ src/third_party/asn1/KickPetitionUpdateMessage.h \
src/third_party/asn1/KickPlayerRequestMessage.h \ src/third_party/asn1/KickPlayerRequestMessage.h \
src/third_party/asn1/LeaveGameRequestMessage.h \ src/third_party/asn1/LeaveGameRequestMessage.h \
src/third_party/asn1/MyActionRequestMessage.h \ src/third_party/asn1/MyActionRequestMessage.h \
src/third_party/asn1/NativeEnumerated.h \ src/third_party/asn1/NativeEnumerated.h \
src/third_party/asn1/NativeInteger.h \ src/third_party/asn1/NativeInteger.h \
src/third_party/asn1/NetAvatarType.h \ src/third_party/asn1/NetAvatarType.h \
src/third_party/asn1/NetGameInfo.h \ src/third_party/asn1/NetGameInfo.h \
src/third_party/asn1/NetGameMode.h \ src/third_party/asn1/NetGameMode.h \
src/third_party/asn1/NetGameState.h \ src/third_party/asn1/NetGameState.h \
src/third_party/asn1/NetPlayerAction.h \ src/third_party/asn1/NetPlayerAction.h \
src/third_party/asn1/NonZeroId.h \ src/third_party/asn1/NonZeroId.h \
src/third_party/asn1/OCTET_STRING.h \ src/third_party/asn1/OCTET_STRING.h \
src/third_party/asn1/per_decoder.h \ src/third_party/asn1/per_decoder.h \
src/third_party/asn1/per_encoder.h \ src/third_party/asn1/per_encoder.h \
src/third_party/asn1/per_opentype.h \ src/third_party/asn1/per_opentype.h \
src/third_party/asn1/per_support.h \ src/third_party/asn1/per_support.h \
src/third_party/asn1/PlayerAllIn.h \ src/third_party/asn1/PlayerAllIn.h \
src/third_party/asn1/PlayerInfoData.h \ src/third_party/asn1/PlayerInfoData.h \
src/third_party/asn1/PlayerInfoReplyMessage.h \ src/third_party/asn1/PlayerInfoReplyMessage.h \
src/third_party/asn1/PlayerInfoRequestMessage.h \ src/third_party/asn1/PlayerInfoRequestMessage.h \
src/third_party/asn1/PlayerListMessage.h \ src/third_party/asn1/PlayerListMessage.h \
src/third_party/asn1/PlayerResult.h \ src/third_party/asn1/PlayerResult.h \
src/third_party/asn1/PlayersActionDoneMessage.h \ src/third_party/asn1/PlayersActionDoneMessage.h \
src/third_party/asn1/PlayersTurnMessage.h \ src/third_party/asn1/PlayersTurnMessage.h \
src/third_party/asn1/PokerTHMessage.h \ src/third_party/asn1/PokerTHMessage.h \
src/third_party/asn1/RemovedFromGame.h \ src/third_party/asn1/RemovedFromGame.h \
src/third_party/asn1/ResetTimeoutMessage.h \ src/third_party/asn1/ResetTimeoutMessage.h \
src/third_party/asn1/StartEventAckMessage.h \ src/third_party/asn1/StartEventAckMessage.h \
src/third_party/asn1/StartEventMessage.h \ src/third_party/asn1/StartEventMessage.h \
src/third_party/asn1/StartKickPetitionMessage.h \ src/third_party/asn1/StartKickPetitionMessage.h \
src/third_party/asn1/StatisticsData.h \ src/third_party/asn1/StatisticsData.h \
src/third_party/asn1/StatisticsLogin.h \ src/third_party/asn1/StatisticsMessage.h \
src/third_party/asn1/StatisticsMessage.h \ src/third_party/asn1/SubscriptionRequestMessage.h \
src/third_party/asn1/SubscriptionRequestMessage.h \ src/third_party/asn1/TimeoutWarningMessage.h \
src/third_party/asn1/TimeoutWarningMessage.h \ src/third_party/asn1/UnknownAvatar.h \
src/third_party/asn1/UnknownAvatar.h \ src/third_party/asn1/UnknownPlayerInfo.h \
src/third_party/asn1/UnknownPlayerInfo.h \ src/third_party/asn1/UTF8String.h \
src/third_party/asn1/UTF8String.h \ src/third_party/asn1/Version.h \
src/third_party/asn1/Version.h \ src/third_party/asn1/VoteKickAck.h \
src/third_party/asn1/VoteKickAck.h \ src/third_party/asn1/VoteKickDenied.h \
src/third_party/asn1/VoteKickDenied.h \ src/third_party/asn1/VoteKickReplyMessage.h \
src/third_party/asn1/VoteKickReplyMessage.h \ src/third_party/asn1/VoteKickRequestMessage.h \
src/third_party/asn1/VoteKickRequestMessage.h \ src/third_party/asn1/xer_decoder.h \
src/third_party/asn1/xer_decoder.h \ src/third_party/asn1/xer_encoder.h \
src/third_party/asn1/xer_encoder.h \ src/third_party/asn1/xer_support.h \
src/third_party/asn1/xer_support.h \ src/third_party/asn1/YourActionRejectedMessage.h \
src/third_party/asn1/YourActionRejectedMessage.h src/third_party/asn1/AnnounceMessage.h
SOURCES += src/third_party/asn1/ChatCleanerMessage.c \
SOURCES += src/third_party/asn1/ChatCleanerMessage.c \ src/third_party/asn1/CleanerInitMessage.c \
src/third_party/asn1/CleanerInitMessage.c \ src/third_party/asn1/CleanerInitAckMessage.c \
src/third_party/asn1/CleanerInitAckMessage.c \ src/third_party/asn1/CleanerChatRequestMessage.c \
src/third_party/asn1/CleanerChatRequestMessage.c \ src/third_party/asn1/CleanerChatReplyMessage.c \
src/third_party/asn1/CleanerChatReplyMessage.c \ src/third_party/asn1/AuthMessage.c \
src/third_party/asn1/AuthMessage.c \ src/third_party/asn1/AuthClientResponse.c \
src/third_party/asn1/AuthClientResponse.c \ src/third_party/asn1/AuthServerChallenge.c \
src/third_party/asn1/AuthServerChallenge.c \ src/third_party/asn1/AuthServerVerification.c \
src/third_party/asn1/AuthServerVerification.c \ src/third_party/asn1/AllInShowCardsMessage.c \
src/third_party/asn1/AllInShowCardsMessage.c \ src/third_party/asn1/YourActionRejectedMessage.c \
src/third_party/asn1/YourActionRejectedMessage.c \ src/third_party/asn1/xer_support.c \
src/third_party/asn1/xer_support.c \ src/third_party/asn1/xer_encoder.c \
src/third_party/asn1/xer_encoder.c \ src/third_party/asn1/xer_decoder.c \
src/third_party/asn1/xer_decoder.c \ src/third_party/asn1/VoteKickRequestMessage.c \
src/third_party/asn1/VoteKickRequestMessage.c \ src/third_party/asn1/VoteKickReplyMessage.c \
src/third_party/asn1/VoteKickReplyMessage.c \ src/third_party/asn1/VoteKickDenied.c \
src/third_party/asn1/VoteKickDenied.c \ src/third_party/asn1/VoteKickAck.c \
src/third_party/asn1/VoteKickAck.c \ src/third_party/asn1/Version.c \
src/third_party/asn1/Version.c \ src/third_party/asn1/UTF8String.c \
src/third_party/asn1/UTF8String.c \ src/third_party/asn1/UnknownPlayerInfo.c \
src/third_party/asn1/UnknownPlayerInfo.c \ src/third_party/asn1/UnknownAvatar.c \
src/third_party/asn1/UnknownAvatar.c \ src/third_party/asn1/TimeoutWarningMessage.c \
src/third_party/asn1/TimeoutWarningMessage.c \ src/third_party/asn1/SubscriptionRequestMessage.c \
src/third_party/asn1/SubscriptionRequestMessage.c \ src/third_party/asn1/StatisticsMessage.c \
src/third_party/asn1/StatisticsMessage.c \ src/third_party/asn1/StatisticsData.c \
src/third_party/asn1/StatisticsLogin.c \ src/third_party/asn1/StartKickPetitionMessage.c \
src/third_party/asn1/StatisticsData.c \ src/third_party/asn1/StartEventMessage.c \
src/third_party/asn1/StartKickPetitionMessage.c \ src/third_party/asn1/StartEventAckMessage.c \
src/third_party/asn1/StartEventMessage.c \ src/third_party/asn1/ResetTimeoutMessage.c \
src/third_party/asn1/StartEventAckMessage.c \ src/third_party/asn1/RemovedFromGame.c \
src/third_party/asn1/ResetTimeoutMessage.c \ src/third_party/asn1/PokerTHMessage.c \
src/third_party/asn1/RemovedFromGame.c \ src/third_party/asn1/PlayersTurnMessage.c \
src/third_party/asn1/PokerTHMessage.c \ src/third_party/asn1/PlayersActionDoneMessage.c \
src/third_party/asn1/PlayersTurnMessage.c \ src/third_party/asn1/PlayerResult.c \
src/third_party/asn1/PlayersActionDoneMessage.c \ src/third_party/asn1/PlayerInfoRequestMessage.c \
src/third_party/asn1/PlayerResult.c \ src/third_party/asn1/PlayerInfoReplyMessage.c \
src/third_party/asn1/PlayerInfoRequestMessage.c \ src/third_party/asn1/PlayerInfoData.c \
src/third_party/asn1/PlayerInfoReplyMessage.c \ src/third_party/asn1/PlayerAllIn.c \
src/third_party/asn1/PlayerInfoData.c \ src/third_party/asn1/PlayerListMessage.c \
src/third_party/asn1/PlayerAllIn.c \ src/third_party/asn1/per_support.c \
src/third_party/asn1/PlayerListMessage.c \ src/third_party/asn1/per_opentype.c \
src/third_party/asn1/per_support.c \ src/third_party/asn1/per_encoder.c \
src/third_party/asn1/per_opentype.c \ src/third_party/asn1/per_decoder.c \
src/third_party/asn1/per_encoder.c \ src/third_party/asn1/OCTET_STRING.c \
src/third_party/asn1/per_decoder.c \ src/third_party/asn1/NonZeroId.c \
src/third_party/asn1/OCTET_STRING.c \ src/third_party/asn1/NetPlayerAction.c \
src/third_party/asn1/NonZeroId.c \ src/third_party/asn1/NetGameState.c \
src/third_party/asn1/NetPlayerAction.c \ src/third_party/asn1/NetGameMode.c \
src/third_party/asn1/NetGameState.c \ src/third_party/asn1/NetGameInfo.c \
src/third_party/asn1/NetGameMode.c \ src/third_party/asn1/NetAvatarType.c \
src/third_party/asn1/NetGameInfo.c \ src/third_party/asn1/NativeInteger.c \
src/third_party/asn1/NetAvatarType.c \ src/third_party/asn1/NativeEnumerated.c \
src/third_party/asn1/NativeInteger.c \ src/third_party/asn1/MyActionRequestMessage.c \
src/third_party/asn1/NativeEnumerated.c \ src/third_party/asn1/LeaveGameRequestMessage.c \
src/third_party/asn1/MyActionRequestMessage.c \ src/third_party/asn1/KickPlayerRequestMessage.c \
src/third_party/asn1/LeaveGameRequestMessage.c \ src/third_party/asn1/KickPetitionUpdateMessage.c \
src/third_party/asn1/KickPlayerRequestMessage.c \ src/third_party/asn1/JoinNewGame.c \
src/third_party/asn1/KickPetitionUpdateMessage.c \ src/third_party/asn1/JoinGameRequestMessage.c \
src/third_party/asn1/JoinNewGame.c \ src/third_party/asn1/JoinGameReplyMessage.c \
src/third_party/asn1/JoinGameRequestMessage.c \ src/third_party/asn1/JoinGameFailed.c \
src/third_party/asn1/JoinGameReplyMessage.c \ src/third_party/asn1/JoinGameAck.c \
src/third_party/asn1/JoinGameFailed.c \ src/third_party/asn1/JoinExistingGame.c \
src/third_party/asn1/JoinGameAck.c \ src/third_party/asn1/INTEGER.c \
src/third_party/asn1/JoinExistingGame.c \ src/third_party/asn1/InitMessage.c \
src/third_party/asn1/INTEGER.c \ src/third_party/asn1/InitAckMessage.c \
src/third_party/asn1/InitMessage.c \ src/third_party/asn1/Id.c \
src/third_party/asn1/InitAckMessage.c \ src/third_party/asn1/HandStartMessage.c \
src/third_party/asn1/Id.c \ src/third_party/asn1/Guid.c \
src/third_party/asn1/HandStartMessage.c \ src/third_party/asn1/GameStartMessage.c \
src/third_party/asn1/Guid.c \ src/third_party/asn1/GamePlayerMessage.c \
src/third_party/asn1/GameStartMessage.c \ src/third_party/asn1/GamePlayerLeft.c \
src/third_party/asn1/GamePlayerMessage.c \ src/third_party/asn1/GamePlayerJoined.c \
src/third_party/asn1/GamePlayerLeft.c \ src/third_party/asn1/GameListUpdate.c \
src/third_party/asn1/GamePlayerJoined.c \ src/third_party/asn1/GameListPlayerLeft.c \
src/third_party/asn1/GameListUpdate.c \ src/third_party/asn1/GameListPlayerJoined.c \
src/third_party/asn1/GameListPlayerLeft.c \ src/third_party/asn1/GameListNew.c \
src/third_party/asn1/GameListPlayerJoined.c \ src/third_party/asn1/GameListMessage.c \
src/third_party/asn1/GameListNew.c \ src/third_party/asn1/GameListAdminChanged.c \
src/third_party/asn1/GameListMessage.c \ src/third_party/asn1/GameAdminChanged.c \
src/third_party/asn1/GameListAdminChanged.c \ src/third_party/asn1/ErrorMessage.c \
src/third_party/asn1/GameAdminChanged.c \ src/third_party/asn1/EndOfHandShowCards.c \
src/third_party/asn1/ErrorMessage.c \ src/third_party/asn1/EndOfHandMessage.c \
src/third_party/asn1/EndOfHandShowCards.c \ src/third_party/asn1/EndOfHandHideCards.c \
src/third_party/asn1/EndOfHandMessage.c \ src/third_party/asn1/EndOfGameMessage.c \
src/third_party/asn1/EndOfHandHideCards.c \ src/third_party/asn1/EndKickPetitionMessage.c \
src/third_party/asn1/EndOfGameMessage.c \ src/third_party/asn1/DialogMessage.c \
src/third_party/asn1/EndKickPetitionMessage.c \ src/third_party/asn1/der_encoder.c \
src/third_party/asn1/DialogMessage.c \ src/third_party/asn1/DealTurnCardMessage.c \
src/third_party/asn1/der_encoder.c \ src/third_party/asn1/DealRiverCardMessage.c \
src/third_party/asn1/DealTurnCardMessage.c \ src/third_party/asn1/DealFlopCardsMessage.c \
src/third_party/asn1/DealRiverCardMessage.c \ src/third_party/asn1/constraints.c \
src/third_party/asn1/DealFlopCardsMessage.c \ src/third_party/asn1/constr_TYPE.c \
src/third_party/asn1/constraints.c \ src/third_party/asn1/constr_SET_OF.c \
src/third_party/asn1/constr_TYPE.c \ src/third_party/asn1/constr_SEQUENCE_OF.c \
src/third_party/asn1/constr_SET_OF.c \ src/third_party/asn1/constr_SEQUENCE.c \
src/third_party/asn1/constr_SEQUENCE_OF.c \ src/third_party/asn1/constr_CHOICE.c \
src/third_party/asn1/constr_SEQUENCE.c \ src/third_party/asn1/ChatRequestMessage.c \
src/third_party/asn1/constr_CHOICE.c \ src/third_party/asn1/ChatRequestTypeLobby.c \
src/third_party/asn1/ChatRequestMessage.c \ src/third_party/asn1/ChatRequestTypeGame.c \
src/third_party/asn1/ChatRequestTypeLobby.c \ src/third_party/asn1/ChatMessage.c \
src/third_party/asn1/ChatRequestTypeGame.c \ src/third_party/asn1/ChatTypeGame.c \
src/third_party/asn1/ChatMessage.c \ src/third_party/asn1/ChatTypeLobby.c \
src/third_party/asn1/ChatTypeGame.c \ src/third_party/asn1/ChatTypeBot.c \
src/third_party/asn1/ChatTypeLobby.c \ src/third_party/asn1/ChatTypeBroadcast.c \
src/third_party/asn1/ChatTypeBot.c \ src/third_party/asn1/Card.c \
src/third_party/asn1/ChatTypeBroadcast.c \ src/third_party/asn1/BOOLEAN.c \
src/third_party/asn1/Card.c \ src/third_party/asn1/BIT_STRING.c \
src/third_party/asn1/BOOLEAN.c \ src/third_party/asn1/ber_tlv_tag.c \
src/third_party/asn1/BIT_STRING.c \ src/third_party/asn1/ber_tlv_length.c \
src/third_party/asn1/ber_tlv_tag.c \ src/third_party/asn1/ber_decoder.c \
src/third_party/asn1/ber_tlv_length.c \ src/third_party/asn1/AvatarRequestMessage.c \
src/third_party/asn1/ber_decoder.c \ src/third_party/asn1/AvatarReplyMessage.c \
src/third_party/asn1/AvatarRequestMessage.c \ src/third_party/asn1/AvatarHeader.c \
src/third_party/asn1/AvatarReplyMessage.c \ src/third_party/asn1/AvatarHash.c \
src/third_party/asn1/AvatarHeader.c \ src/third_party/asn1/AvatarEnd.c \
src/third_party/asn1/AvatarHash.c \ src/third_party/asn1/AvatarData.c \
src/third_party/asn1/AvatarEnd.c \ src/third_party/asn1/AuthenticatedLogin.c \
src/third_party/asn1/AvatarData.c \ src/third_party/asn1/asn_SET_OF.c \
src/third_party/asn1/AuthenticatedLogin.c \ src/third_party/asn1/asn_SEQUENCE_OF.c \
src/third_party/asn1/asn_SET_OF.c \ src/third_party/asn1/asn_codecs_prim.c \
src/third_party/asn1/asn_SEQUENCE_OF.c \ src/third_party/asn1/AskKickPlayerMessage.c \
src/third_party/asn1/asn_codecs_prim.c \ src/third_party/asn1/AskKickDeniedMessage.c \
src/third_party/asn1/AskKickPlayerMessage.c \ src/third_party/asn1/GuestLogin.c \
src/third_party/asn1/AskKickDeniedMessage.c \ src/third_party/asn1/AnnounceMessage.c
src/third_party/asn1/GuestLogin.c win32 {
DEFINES += CURL_STATICLIB
win32 { DEFINES += _WIN32_WINNT=0x0501
DEFINES += CURL_STATICLIB }
DEFINES += _WIN32_WINNT=0x0501 mac {
} # make it universal
mac { CONFIG += x86
# make it universal CONFIG -= ppc
CONFIG += x86 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
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.
# for universal-compilation on PPC-Mac uncomment the following line # QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/
# on Intel-Mac you have to comment this line out or build will fail. INCLUDEPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/include/
# QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/ INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers
INCLUDEPATH += /Developer/SDKs/MacOSX10.5.sdk/usr/include/ INCLUDEPATH += /Library/Frameworks/SDL_mixer.framework/Headers
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers }
INCLUDEPATH += /Library/Frameworks/SDL_mixer.framework/Headers
}
+3 -3
View File
@@ -100,12 +100,12 @@ static asn_TYPE_member_t asn_MBR_AllInShowCardsMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_AllInShowCardsMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AllInShowCardsMessage_tag2el_1[] = { 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 | (2 << 2)), 0, 0, 0 }, /* gameId at 437 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 432 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 439 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = {
sizeof(struct AllInShowCardsMessage), sizeof(struct AllInShowCardsMessage),
+271
View File
@@ -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 <asn_internal.h>
#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 */
};
+55
View File
@@ -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 <asn_application.h>
/* Including external dependencies */
#include "Version.h"
#include <NativeInteger.h>
#include <NativeEnumerated.h>
#include <constr_SEQUENCE.h>
#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_ */
+3 -3
View File
@@ -166,9 +166,9 @@ static ber_tlv_tag_t asn_DEF_AskKickDeniedMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 486 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 480 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 487 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 482 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 489 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = {
sizeof(struct AskKickDeniedMessage), sizeof(struct AskKickDeniedMessage),
+2 -2
View File
@@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_AskKickPlayerMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 481 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 476 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 483 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = {
sizeof(struct AskKickPlayerMessage), sizeof(struct AskKickPlayerMessage),
+1 -1
View File
@@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AuthClientResponse_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthClientResponse_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_AuthClientResponse_specs_1 = {
sizeof(struct AuthClientResponse), sizeof(struct AuthClientResponse),
+4 -4
View File
@@ -39,12 +39,12 @@ static asn_TYPE_member_t asn_MBR_AuthMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_AuthMessage_tags_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[] = { 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 | (0 << 2)), 0, 0, 0 }, /* authServerChallenge at 111 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 100 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 112 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 102 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 114 */
}; };
static asn_CHOICE_specifics_t asn_SPC_AuthMessage_specs_1 = { static asn_CHOICE_specifics_t asn_SPC_AuthMessage_specs_1 = {
sizeof(struct AuthMessage), sizeof(struct AuthMessage),
+1 -1
View File
@@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AuthServerChallenge_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthServerChallenge_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_AuthServerChallenge_specs_1 = {
sizeof(struct AuthServerChallenge), sizeof(struct AuthServerChallenge),
+1 -1
View File
@@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AuthServerVerification_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthServerVerification_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_AuthServerVerification_specs_1 = {
sizeof(struct AuthServerVerification), sizeof(struct AuthServerVerification),
+2 -2
View File
@@ -59,8 +59,8 @@ static ber_tlv_tag_t asn_DEF_AuthenticatedLogin_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthenticatedLogin_tag2el_1[] = { 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)), 0, 0, 1 }, /* clientUserData at 106 */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 95 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 107 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AuthenticatedLogin_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AuthenticatedLogin_specs_1 = {
sizeof(struct AuthenticatedLogin), sizeof(struct AuthenticatedLogin),
+1 -1
View File
@@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AvatarData_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarData_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarData_specs_1 = {
sizeof(struct AvatarData), sizeof(struct AvatarData),
+2 -2
View File
@@ -58,8 +58,8 @@ static ber_tlv_tag_t asn_DEF_AvatarHeader_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarHeader_tag2el_1[] = { 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 | (2 << 2)), 1, 0, 0 }, /* avatarSize at 150 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 142 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 149 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarHeader_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarHeader_specs_1 = {
sizeof(struct AvatarHeader), sizeof(struct AvatarHeader),
+10 -10
View File
@@ -48,10 +48,10 @@ static asn_TYPE_member_t asn_MBR_avatarResult_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_avatarResult_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 141 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 135 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 142 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 136 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 143 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 138 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 145 */
}; };
static asn_CHOICE_specifics_t asn_SPC_avatarResult_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_avatarResult_specs_3 = {
sizeof(struct avatarResult), 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[] = { 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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarReplyMessage_tag2el_1[] = { 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_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 139 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 134 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 141 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 135 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 142 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 136 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 143 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 138 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 145 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarReplyMessage_specs_1 = {
sizeof(struct AvatarReplyMessage), sizeof(struct AvatarReplyMessage),
+3 -3
View File
@@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_AvatarRequestMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_AvatarRequestMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarRequestMessage_tag2el_1[] = { 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 | (2 << 2)), 0, 0, 0 }, /* requestId at 134 */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 129 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 136 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarRequestMessage_specs_1 = {
sizeof(struct AvatarRequestMessage), sizeof(struct AvatarRequestMessage),
+9 -9
View File
@@ -80,10 +80,10 @@ static asn_TYPE_member_t asn_MBR_chatType_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 581 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 575 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 582 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 576 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 583 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 578 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 585 */
}; };
static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = {
sizeof(struct chatType), sizeof(struct chatType),
@@ -143,11 +143,11 @@ static ber_tlv_tag_t asn_DEF_ChatMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = { 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_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 586 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 574 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 581 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 575 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 582 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 576 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 583 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 578 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 585 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = {
sizeof(struct ChatMessage), sizeof(struct ChatMessage),
+5 -5
View File
@@ -62,8 +62,8 @@ static asn_TYPE_member_t asn_MBR_chatRequestType_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 566 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 561 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 568 */
}; };
static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = {
sizeof(struct chatRequestType), sizeof(struct chatRequestType),
@@ -123,9 +123,9 @@ static ber_tlv_tag_t asn_DEF_ChatRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = { 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_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 569 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 559 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 566 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 561 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 568 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = {
sizeof(struct ChatRequestMessage), sizeof(struct ChatRequestMessage),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_ChatRequestTypeGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = {
sizeof(struct ChatRequestTypeGame), sizeof(struct ChatRequestTypeGame),
+2 -2
View File
@@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_ChatTypeGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 594 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 589 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 596 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = {
sizeof(struct ChatTypeGame), sizeof(struct ChatTypeGame),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_ChatTypeLobby_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = {
sizeof(struct ChatTypeLobby), sizeof(struct ChatTypeLobby),
+5 -5
View File
@@ -48,14 +48,14 @@ static asn_TYPE_member_t asn_MBR_DealFlopCardsMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_DealFlopCardsMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealFlopCardsMessage_tag2el_1[] = { 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)), 0, 0, 3 }, /* gameId at 420 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 414 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 421 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 415 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 422 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 417 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 424 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = {
sizeof(struct DealFlopCardsMessage), sizeof(struct DealFlopCardsMessage),
+3 -3
View File
@@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_DealRiverCardMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_DealRiverCardMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealRiverCardMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 432 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 427 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 434 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = {
sizeof(struct DealRiverCardMessage), sizeof(struct DealRiverCardMessage),
+3 -3
View File
@@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_DealTurnCardMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_DealTurnCardMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealTurnCardMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 427 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 422 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 429 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = {
sizeof(struct DealTurnCardMessage), sizeof(struct DealTurnCardMessage),
+1 -1
View File
@@ -57,7 +57,7 @@ static ber_tlv_tag_t asn_DEF_DialogMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = {
sizeof(struct DialogMessage), sizeof(struct DialogMessage),
+6 -6
View File
@@ -241,12 +241,12 @@ static ber_tlv_tag_t asn_DEF_EndKickPetitionMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = { 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 | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 544 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 533 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 540 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 534 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 541 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 535 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 542 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 536 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 543 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 539 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 546 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = {
sizeof(struct EndKickPetitionMessage), sizeof(struct EndKickPetitionMessage),
+3 -3
View File
@@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_EndOfGameMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_EndOfGameMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfGameMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 476 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 471 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 478 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = {
sizeof(struct EndOfGameMessage), sizeof(struct EndOfGameMessage),
+3 -3
View File
@@ -92,9 +92,9 @@ static ber_tlv_tag_t asn_DEF_EndOfHandHideCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = { 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)), 0, 0, 2 }, /* playerId at 470 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 464 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 471 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 465 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 472 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = {
sizeof(struct EndOfHandHideCards), sizeof(struct EndOfHandHideCards),
+6 -6
View File
@@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_endOfHandType_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 450 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 445 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 452 */
}; };
static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = {
sizeof(struct endOfHandType), 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[] = { 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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandMessage_tag2el_1[] = { 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_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 448 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 443 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 450 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 445 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 452 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = {
sizeof(struct EndOfHandMessage), sizeof(struct EndOfHandMessage),
+1 -1
View File
@@ -94,7 +94,7 @@ static ber_tlv_tag_t asn_DEF_EndOfHandShowCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = {
sizeof(struct EndOfHandShowCards), sizeof(struct EndOfHandShowCards),
+1 -1
View File
@@ -166,7 +166,7 @@ static ber_tlv_tag_t asn_DEF_ErrorMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = {
sizeof(struct ErrorMessage), sizeof(struct ErrorMessage),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameAdminChanged_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameAdminChanged_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_GameAdminChanged_specs_1 = {
sizeof(struct GameAdminChanged), sizeof(struct GameAdminChanged),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListAdminChanged_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListAdminChanged_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListAdminChanged_specs_1 = {
sizeof(struct GameListAdminChanged), sizeof(struct GameListAdminChanged),
+12 -12
View File
@@ -57,11 +57,11 @@ static asn_TYPE_member_t asn_MBR_gameListNotification_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_gameListNotification_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* gameListNew at 182 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 176 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 183 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 177 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 184 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 178 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 185 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 180 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 187 */
}; };
static asn_CHOICE_specifics_t asn_SPC_gameListNotification_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_gameListNotification_specs_3 = {
sizeof(struct gameListNotification), 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[] = { 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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListMessage_tag2el_1[] = { 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_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 180 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 175 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 182 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 176 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 183 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 177 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 184 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 178 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 185 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 180 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 187 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListMessage_specs_1 = {
sizeof(struct GameListMessage), sizeof(struct GameListMessage),
+5 -5
View File
@@ -130,11 +130,11 @@ static ber_tlv_tag_t asn_DEF_GameListNew_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListNew_tag2el_1[] = { 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 | (1 << 2)), 1, 0, 0 }, /* isPrivate at 192 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 187 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 194 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 184 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 191 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 186 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 193 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 189 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 196 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListNew_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListNew_specs_1 = {
sizeof(struct GameListNew), sizeof(struct GameListNew),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListPlayerJoined_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListPlayerJoined_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerJoined_specs_1 = {
sizeof(struct GameListPlayerJoined), sizeof(struct GameListPlayerJoined),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListPlayerLeft_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListPlayerLeft_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerLeft_specs_1 = {
sizeof(struct GameListPlayerLeft), sizeof(struct GameListPlayerLeft),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListUpdate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListUpdate_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListUpdate_specs_1 = {
sizeof(struct GameListUpdate), sizeof(struct GameListUpdate),
+2 -2
View File
@@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_GamePlayerJoined_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GamePlayerJoined_tag2el_1[] = { 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 | (1 << 2)), 1, 0, 0 }, /* isAdmin at 325 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 317 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 324 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = {
sizeof(struct GamePlayerJoined), sizeof(struct GamePlayerJoined),
+2 -2
View File
@@ -152,8 +152,8 @@ static ber_tlv_tag_t asn_DEF_GamePlayerLeft_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GamePlayerLeft_tag2el_1[] = { 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 | (2 << 2)), 0, 0, 0 }, /* playerId at 329 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 324 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 331 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerLeft_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerLeft_specs_1 = {
sizeof(struct GamePlayerLeft), sizeof(struct GamePlayerLeft),
+10 -10
View File
@@ -48,10 +48,10 @@ static asn_TYPE_member_t asn_MBR_gamePlayerNotification_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_gamePlayerNotification_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 316 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 310 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 317 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 311 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 318 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 313 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 320 */
}; };
static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = {
sizeof(struct gamePlayerNotification), 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[] = { 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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GamePlayerMessage_tag2el_1[] = { 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_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 314 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 309 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 316 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 310 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 317 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 311 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 318 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 313 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 320 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerMessage_specs_1 = {
sizeof(struct GamePlayerMessage), sizeof(struct GamePlayerMessage),
+4 -4
View File
@@ -109,13 +109,13 @@ static asn_TYPE_member_t asn_MBR_GameStartMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_GameStartMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 371 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 365 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 372 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 367 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 374 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = {
sizeof(struct GameStartMessage), sizeof(struct GameStartMessage),
+1 -1
View File
@@ -56,7 +56,7 @@ static ber_tlv_tag_t asn_DEF_GuestLogin_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GuestLogin_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_GuestLogin_specs_1 = {
sizeof(struct GuestLogin), sizeof(struct GuestLogin),
+5 -5
View File
@@ -73,14 +73,14 @@ static asn_TYPE_member_t asn_MBR_HandStartMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_HandStartMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = { 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)), 0, 0, 3 }, /* gameId at 377 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 371 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 378 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 372 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 379 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 373 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 380 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = {
sizeof(struct HandStartMessage), sizeof(struct HandStartMessage),
+7 -52
View File
@@ -9,50 +9,7 @@
#include "InitAckMessage.h" #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[] = { 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), { ATF_NOFLAGS, 0, offsetof(struct InitAckMessage, yourSessionId),
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
0, 0,
@@ -73,23 +30,21 @@ static asn_TYPE_member_t asn_MBR_InitAckMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_InitAckMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_InitAckMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* yourSessionId at 129 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 1 }, /* yourSessionId at 122 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* yourPlayerId at 131 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -2, 0 }, /* yourPlayerId at 124 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* latestGameVersion at 120 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_InitAckMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_InitAckMessage_specs_1 = {
sizeof(struct InitAckMessage), sizeof(struct InitAckMessage),
offsetof(struct InitAckMessage, _asn_ctx), offsetof(struct InitAckMessage, _asn_ctx),
asn_MAP_InitAckMessage_tag2el_1, 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) */ 0, 0, 0, /* Optional elements (not needed) */
3, /* Start extensions */ 1, /* Start extensions */
5 /* Stop extensions */ 3 /* Stop extensions */
}; };
asn_TYPE_descriptor_t asn_DEF_InitAckMessage = { asn_TYPE_descriptor_t asn_DEF_InitAckMessage = {
"InitAckMessage", "InitAckMessage",
@@ -111,7 +66,7 @@ asn_TYPE_descriptor_t asn_DEF_InitAckMessage = {
/sizeof(asn_DEF_InitAckMessage_tags_1[0]), /* 2 */ /sizeof(asn_DEF_InitAckMessage_tags_1[0]), /* 2 */
0, /* No PER visible constraints */ 0, /* No PER visible constraints */
asn_MBR_InitAckMessage_1, asn_MBR_InitAckMessage_1,
4, /* Elements count */ 2, /* Elements count */
&asn_SPC_InitAckMessage_specs_1 /* Additional specs */ &asn_SPC_InitAckMessage_specs_1 /* Additional specs */
}; };
-4
View File
@@ -12,8 +12,6 @@
#include <asn_application.h> #include <asn_application.h>
/* Including external dependencies */ /* Including external dependencies */
#include "Version.h"
#include <NativeInteger.h>
#include "Guid.h" #include "Guid.h"
#include "NonZeroId.h" #include "NonZeroId.h"
#include <constr_SEQUENCE.h> #include <constr_SEQUENCE.h>
@@ -24,8 +22,6 @@ extern "C" {
/* InitAckMessage */ /* InitAckMessage */
typedef struct InitAckMessage { typedef struct InitAckMessage {
Version_t latestGameVersion;
long latestBetaRevision;
Guid_t yourSessionId; Guid_t yourSessionId;
NonZeroId_t yourPlayerId; NonZeroId_t yourPlayerId;
/* /*
+11 -22
View File
@@ -28,20 +28,10 @@ static asn_TYPE_member_t asn_MBR_login_4[] = {
0, 0,
"authenticatedLogin" "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[] = { 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 | (0 << 2)), 0, 0, 0 }, /* guestLogin at 90 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authenticatedLogin at 78 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* authenticatedLogin at 92 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* statisticsLogin at 80 */
}; };
static asn_CHOICE_specifics_t asn_SPC_login_specs_4 = { static asn_CHOICE_specifics_t asn_SPC_login_specs_4 = {
sizeof(struct login), sizeof(struct login),
@@ -49,9 +39,9 @@ static asn_CHOICE_specifics_t asn_SPC_login_specs_4 = {
offsetof(struct login, present), offsetof(struct login, present),
sizeof(((struct login *)0)->present), sizeof(((struct login *)0)->present),
asn_MAP_login_tag2el_4, asn_MAP_login_tag2el_4,
3, /* Count of tags in the map */ 2, /* Count of tags in the map */
0, 0,
3 /* Extensions start */ 2 /* Extensions start */
}; };
static /* Use -fall-defs-global to expose */ static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_login_4 = { 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 tags (count) */
0, /* No PER visible constraints */ 0, /* No PER visible constraints */
asn_MBR_login_4, asn_MBR_login_4,
3, /* Elements count */ 2, /* Elements count */
&asn_SPC_login_specs_4 /* Additional specs */ &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[] = { 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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_InitMessage_tag2el_1[] = { 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 | (2 << 2)), 1, 0, 0 }, /* buildId at 88 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* requestedVersion at 74 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* requestedVersion at 87 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* guestLogin at 77 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* guestLogin at 90 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* authenticatedLogin at 78 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* authenticatedLogin at 92 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* statisticsLogin at 80 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_InitMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_InitMessage_specs_1 = {
sizeof(struct InitMessage), sizeof(struct InitMessage),
offsetof(struct InitMessage, _asn_ctx), offsetof(struct InitMessage, _asn_ctx),
asn_MAP_InitMessage_tag2el_1, 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) */ 0, 0, 0, /* Optional elements (not needed) */
2, /* Start extensions */ 2, /* Start extensions */
4 /* Stop extensions */ 4 /* Stop extensions */
-3
View File
@@ -16,7 +16,6 @@
#include <NativeInteger.h> #include <NativeInteger.h>
#include "GuestLogin.h" #include "GuestLogin.h"
#include "AuthenticatedLogin.h" #include "AuthenticatedLogin.h"
#include "StatisticsLogin.h"
#include <constr_CHOICE.h> #include <constr_CHOICE.h>
#include <constr_SEQUENCE.h> #include <constr_SEQUENCE.h>
@@ -29,7 +28,6 @@ typedef enum login_PR {
login_PR_NOTHING, /* No components present */ login_PR_NOTHING, /* No components present */
login_PR_guestLogin, login_PR_guestLogin,
login_PR_authenticatedLogin, login_PR_authenticatedLogin,
login_PR_statisticsLogin,
/* Extensions may appear below */ /* Extensions may appear below */
} login_PR; } login_PR;
@@ -43,7 +41,6 @@ typedef struct InitMessage {
union InitMessage__login_u { union InitMessage__login_u {
GuestLogin_t guestLogin; GuestLogin_t guestLogin;
AuthenticatedLogin_t authenticatedLogin; AuthenticatedLogin_t authenticatedLogin;
StatisticsLogin_t statisticsLogin;
/* /*
* This type is extensible, * This type is extensible,
* possible extensions are below. * possible extensions are below.
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_JoinExistingGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinExistingGame_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinExistingGame_specs_1 = {
sizeof(struct JoinExistingGame), sizeof(struct JoinExistingGame),
+2 -2
View File
@@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_JoinGameAck_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinGameAck_tag2el_1[] = { 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 | (1 << 2)), 0, 0, 0 }, /* areYouAdmin at 279 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 274 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 281 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_JoinGameAck_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinGameAck_specs_1 = {
sizeof(struct JoinGameAck), sizeof(struct JoinGameAck),
+1 -1
View File
@@ -145,7 +145,7 @@ static ber_tlv_tag_t asn_DEF_JoinGameFailed_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinGameFailed_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinGameFailed_specs_1 = {
sizeof(struct JoinGameFailed), sizeof(struct JoinGameFailed),
+6 -6
View File
@@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_joinGameResult_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_joinGameResult_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* joinGameAck at 273 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 268 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 275 */
}; };
static asn_CHOICE_specifics_t asn_SPC_joinGameResult_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_joinGameResult_specs_3 = {
sizeof(struct joinGameResult), 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[] = { 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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinGameReplyMessage_tag2el_1[] = { 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_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 271 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 266 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 273 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 268 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 275 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_JoinGameReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinGameReplyMessage_specs_1 = {
sizeof(struct JoinGameReplyMessage), sizeof(struct JoinGameReplyMessage),
+6 -6
View File
@@ -62,8 +62,8 @@ static asn_TYPE_member_t asn_MBR_joinGameAction_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_joinGameAction_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 256 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 251 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 258 */
}; };
static asn_CHOICE_specifics_t asn_SPC_joinGameAction_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_joinGameAction_specs_2 = {
sizeof(struct joinGameAction), 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[] = { 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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinGameRequestMessage_tag2el_1[] = { 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_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* password at 259 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 249 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 256 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 251 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 258 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_JoinGameRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinGameRequestMessage_specs_1 = {
sizeof(struct JoinGameRequestMessage), sizeof(struct JoinGameRequestMessage),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_JoinNewGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinNewGame_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinNewGame_specs_1 = {
sizeof(struct JoinNewGame), sizeof(struct JoinNewGame),
+5 -5
View File
@@ -136,11 +136,11 @@ static ber_tlv_tag_t asn_DEF_KickPetitionUpdateMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_KickPetitionUpdateMessage_tag2el_1[] = { 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)), 0, 0, 4 }, /* gameId at 532 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 526 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 533 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 527 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 534 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 528 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 535 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 529 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 536 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_KickPetitionUpdateMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_KickPetitionUpdateMessage_specs_1 = {
sizeof(struct KickPetitionUpdateMessage), sizeof(struct KickPetitionUpdateMessage),
+3 -3
View File
@@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_KickPlayerRequestMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_KickPlayerRequestMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_KickPlayerRequestMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 353 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 348 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 355 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_KickPlayerRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_KickPlayerRequestMessage_specs_1 = {
sizeof(struct KickPlayerRequestMessage), sizeof(struct KickPlayerRequestMessage),
+2 -2
View File
@@ -21,11 +21,11 @@ static asn_TYPE_member_t asn_MBR_LeaveGameRequestMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_LeaveGameRequestMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_LeaveGameRequestMessage_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_LeaveGameRequestMessage_specs_1 = {
sizeof(struct LeaveGameRequestMessage), sizeof(struct LeaveGameRequestMessage),
+5 -5
View File
@@ -73,14 +73,14 @@ static asn_TYPE_member_t asn_MBR_MyActionRequestMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_MyActionRequestMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_MyActionRequestMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 390 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 386 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 393 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 384 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 391 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 385 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 392 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_MyActionRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_MyActionRequestMessage_specs_1 = {
sizeof(struct MyActionRequestMessage), sizeof(struct MyActionRequestMessage),
+14 -14
View File
@@ -411,8 +411,8 @@ static asn_TYPE_member_t asn_MBR_raiseIntervalMode_4[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_raiseIntervalMode_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* raiseEveryHands at 296 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 290 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 297 */
}; };
static asn_CHOICE_specifics_t asn_SPC_raiseIntervalMode_specs_4 = { static asn_CHOICE_specifics_t asn_SPC_raiseIntervalMode_specs_4 = {
sizeof(struct raiseIntervalMode), sizeof(struct raiseIntervalMode),
@@ -642,18 +642,18 @@ static ber_tlv_tag_t asn_DEF_NetGameInfo_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_NetGameInfo_tag2el_1[] = { 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)), 1, 0, 6 }, /* maxNumPlayers at 294 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 5 }, /* proposedGuiSpeed at 297 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 5 }, /* proposedGuiSpeed at 304 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 4 }, /* delayBetweenHands at 298 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 4 }, /* delayBetweenHands at 305 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 3 }, /* playerActionTimeout at 299 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 3 }, /* playerActionTimeout at 306 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 2 }, /* firstSmallBlind at 300 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 2 }, /* firstSmallBlind at 307 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 1 }, /* endRaiseSmallBlindValue at 301 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 1 }, /* endRaiseSmallBlindValue at 308 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 9, -6, 0 }, /* startMoney at 302 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 9, -6, 0 }, /* startMoney at 309 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 293 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 300 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 286 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 293 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, 0, 0 }, /* manualBlinds at 303 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, 0, 0 }, /* manualBlinds at 310 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 289 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 296 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 290 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 297 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_NetGameInfo_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_NetGameInfo_specs_1 = {
sizeof(struct NetGameInfo), sizeof(struct NetGameInfo),
+3 -3
View File
@@ -42,9 +42,9 @@ static ber_tlv_tag_t asn_DEF_PlayerAllIn_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerAllIn_tag2el_1[] = { 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)), 0, 0, 2 }, /* playerId at 442 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 436 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 443 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 438 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 445 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerAllIn_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerAllIn_specs_1 = {
sizeof(struct PlayerAllIn), sizeof(struct PlayerAllIn),
+5 -5
View File
@@ -65,8 +65,8 @@ static ber_tlv_tag_t asn_DEF_avatarData_tags_4[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_avatarData_tag2el_4[] = { 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 | (4 << 2)), 1, 0, 0 }, /* avatar at 238 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 229 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 236 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_avatarData_specs_4 = { static asn_SEQUENCE_specifics_t asn_SPC_avatarData_specs_4 = {
sizeof(struct avatarData), sizeof(struct avatarData),
@@ -135,9 +135,9 @@ static ber_tlv_tag_t asn_DEF_PlayerInfoData_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerInfoData_tag2el_1[] = { 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 | (1 << 2)), 1, 0, 0 }, /* isHuman at 234 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 226 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 233 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* avatarData at 229 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* avatarData at 236 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoData_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoData_specs_1 = {
sizeof(struct PlayerInfoData), sizeof(struct PlayerInfoData),
+6 -6
View File
@@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_playerInfoResult_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_playerInfoResult_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* playerInfoData at 227 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 222 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 229 */
}; };
static asn_CHOICE_specifics_t asn_SPC_playerInfoResult_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_playerInfoResult_specs_3 = {
sizeof(struct playerInfoResult), 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[] = { 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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerInfoReplyMessage_tag2el_1[] = { 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_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 225 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* playerInfoData at 220 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* playerInfoData at 227 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 222 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 229 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoReplyMessage_specs_1 = {
sizeof(struct PlayerInfoReplyMessage), sizeof(struct PlayerInfoReplyMessage),
+2 -2
View File
@@ -21,11 +21,11 @@ static asn_TYPE_member_t asn_MBR_PlayerInfoRequestMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_PlayerInfoRequestMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerInfoRequestMessage_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoRequestMessage_specs_1 = {
sizeof(struct PlayerInfoRequestMessage), sizeof(struct PlayerInfoRequestMessage),
+3 -3
View File
@@ -147,12 +147,12 @@ static asn_TYPE_member_t asn_MBR_PlayerListMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_PlayerListMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerListMessage_tag2el_1[] = { 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 | (2 << 2)), 0, 0, 0 }, /* playerId at 172 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* playerListNotification at 167 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* playerListNotification at 174 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerListMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerListMessage_specs_1 = {
sizeof(struct PlayerListMessage), sizeof(struct PlayerListMessage),
+7 -7
View File
@@ -198,13 +198,13 @@ static ber_tlv_tag_t asn_DEF_PlayerResult_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerResult_tag2el_1[] = { 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)), 0, 0, 5 }, /* playerId at 460 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 454 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 461 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 455 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 462 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 457 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 464 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 458 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 465 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 459 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 466 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 456 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 463 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerResult_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerResult_specs_1 = {
sizeof(struct PlayerResult), sizeof(struct PlayerResult),
+9 -9
View File
@@ -184,18 +184,18 @@ static asn_TYPE_member_t asn_MBR_PlayersActionDoneMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_PlayersActionDoneMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayersActionDoneMessage_tag2el_1[] = { 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)), 0, 0, 5 }, /* gameId at 409 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 403 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 410 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 406 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 413 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 407 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 414 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 408 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 415 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 409 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 416 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 404 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 411 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 405 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 412 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayersActionDoneMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayersActionDoneMessage_specs_1 = {
sizeof(struct PlayersActionDoneMessage), sizeof(struct PlayersActionDoneMessage),
+4 -4
View File
@@ -39,13 +39,13 @@ static asn_TYPE_member_t asn_MBR_PlayersTurnMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_PlayersTurnMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayersTurnMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 384 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 378 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 385 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 380 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 387 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayersTurnMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayersTurnMessage_specs_1 = {
sizeof(struct PlayersTurnMessage), sizeof(struct PlayersTurnMessage),
+85 -75
View File
@@ -10,9 +10,18 @@
#include "PokerTHMessage.h" #include "PokerTHMessage.h"
static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = { 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)), (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
0, 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, &asn_DEF_InitMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */ 0, /* PER is not compiled, use -gen-PER */
@@ -20,7 +29,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"initMessage" "initMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.authMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.authMessage),
(ASN_TAG_CLASS_APPLICATION | (1 << 2)), (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
0, 0,
&asn_DEF_AuthMessage, &asn_DEF_AuthMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -29,7 +38,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"authMessage" "authMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.initAckMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.initAckMessage),
(ASN_TAG_CLASS_APPLICATION | (2 << 2)), (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
0, 0,
&asn_DEF_InitAckMessage, &asn_DEF_InitAckMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -38,7 +47,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"initAckMessage" "initAckMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.avatarRequestMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.avatarRequestMessage),
(ASN_TAG_CLASS_APPLICATION | (3 << 2)), (ASN_TAG_CLASS_APPLICATION | (4 << 2)),
0, 0,
&asn_DEF_AvatarRequestMessage, &asn_DEF_AvatarRequestMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -47,7 +56,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"avatarRequestMessage" "avatarRequestMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.avatarReplyMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.avatarReplyMessage),
(ASN_TAG_CLASS_APPLICATION | (4 << 2)), (ASN_TAG_CLASS_APPLICATION | (5 << 2)),
0, 0,
&asn_DEF_AvatarReplyMessage, &asn_DEF_AvatarReplyMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -56,7 +65,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"avatarReplyMessage" "avatarReplyMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerListMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerListMessage),
(ASN_TAG_CLASS_APPLICATION | (5 << 2)), (ASN_TAG_CLASS_APPLICATION | (6 << 2)),
0, 0,
&asn_DEF_PlayerListMessage, &asn_DEF_PlayerListMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -65,7 +74,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"playerListMessage" "playerListMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gameListMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gameListMessage),
(ASN_TAG_CLASS_APPLICATION | (6 << 2)), (ASN_TAG_CLASS_APPLICATION | (7 << 2)),
0, 0,
&asn_DEF_GameListMessage, &asn_DEF_GameListMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -74,7 +83,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"gameListMessage" "gameListMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerInfoRequestMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerInfoRequestMessage),
(ASN_TAG_CLASS_APPLICATION | (7 << 2)), (ASN_TAG_CLASS_APPLICATION | (8 << 2)),
0, 0,
&asn_DEF_PlayerInfoRequestMessage, &asn_DEF_PlayerInfoRequestMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -83,7 +92,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"playerInfoRequestMessage" "playerInfoRequestMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerInfoReplyMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playerInfoReplyMessage),
(ASN_TAG_CLASS_APPLICATION | (8 << 2)), (ASN_TAG_CLASS_APPLICATION | (9 << 2)),
0, 0,
&asn_DEF_PlayerInfoReplyMessage, &asn_DEF_PlayerInfoReplyMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -92,7 +101,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"playerInfoReplyMessage" "playerInfoReplyMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.subscriptionRequestMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.subscriptionRequestMessage),
(ASN_TAG_CLASS_APPLICATION | (9 << 2)), (ASN_TAG_CLASS_APPLICATION | (10 << 2)),
0, 0,
&asn_DEF_SubscriptionRequestMessage, &asn_DEF_SubscriptionRequestMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -101,7 +110,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"subscriptionRequestMessage" "subscriptionRequestMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.joinGameRequestMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.joinGameRequestMessage),
(ASN_TAG_CLASS_APPLICATION | (10 << 2)), (ASN_TAG_CLASS_APPLICATION | (11 << 2)),
0, 0,
&asn_DEF_JoinGameRequestMessage, &asn_DEF_JoinGameRequestMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -110,7 +119,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"joinGameRequestMessage" "joinGameRequestMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.joinGameReplyMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.joinGameReplyMessage),
(ASN_TAG_CLASS_APPLICATION | (11 << 2)), (ASN_TAG_CLASS_APPLICATION | (12 << 2)),
0, 0,
&asn_DEF_JoinGameReplyMessage, &asn_DEF_JoinGameReplyMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -119,7 +128,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"joinGameReplyMessage" "joinGameReplyMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gamePlayerMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gamePlayerMessage),
(ASN_TAG_CLASS_APPLICATION | (12 << 2)), (ASN_TAG_CLASS_APPLICATION | (13 << 2)),
0, 0,
&asn_DEF_GamePlayerMessage, &asn_DEF_GamePlayerMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -128,7 +137,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"gamePlayerMessage" "gamePlayerMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.kickPlayerRequestMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.kickPlayerRequestMessage),
(ASN_TAG_CLASS_APPLICATION | (13 << 2)), (ASN_TAG_CLASS_APPLICATION | (14 << 2)),
0, 0,
&asn_DEF_KickPlayerRequestMessage, &asn_DEF_KickPlayerRequestMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -137,7 +146,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"kickPlayerRequestMessage" "kickPlayerRequestMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.leaveGameRequestMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.leaveGameRequestMessage),
(ASN_TAG_CLASS_APPLICATION | (14 << 2)), (ASN_TAG_CLASS_APPLICATION | (15 << 2)),
0, 0,
&asn_DEF_LeaveGameRequestMessage, &asn_DEF_LeaveGameRequestMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -146,7 +155,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"leaveGameRequestMessage" "leaveGameRequestMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.startEventMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.startEventMessage),
(ASN_TAG_CLASS_APPLICATION | (15 << 2)), (ASN_TAG_CLASS_APPLICATION | (16 << 2)),
0, 0,
&asn_DEF_StartEventMessage, &asn_DEF_StartEventMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -155,7 +164,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"startEventMessage" "startEventMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.startEventAckMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.startEventAckMessage),
(ASN_TAG_CLASS_APPLICATION | (16 << 2)), (ASN_TAG_CLASS_APPLICATION | (17 << 2)),
0, 0,
&asn_DEF_StartEventAckMessage, &asn_DEF_StartEventAckMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -164,7 +173,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"startEventAckMessage" "startEventAckMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gameStartMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.gameStartMessage),
(ASN_TAG_CLASS_APPLICATION | (17 << 2)), (ASN_TAG_CLASS_APPLICATION | (18 << 2)),
0, 0,
&asn_DEF_GameStartMessage, &asn_DEF_GameStartMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -173,7 +182,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"gameStartMessage" "gameStartMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.handStartMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.handStartMessage),
(ASN_TAG_CLASS_APPLICATION | (18 << 2)), (ASN_TAG_CLASS_APPLICATION | (19 << 2)),
0, 0,
&asn_DEF_HandStartMessage, &asn_DEF_HandStartMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -182,7 +191,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"handStartMessage" "handStartMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playersTurnMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playersTurnMessage),
(ASN_TAG_CLASS_APPLICATION | (19 << 2)), (ASN_TAG_CLASS_APPLICATION | (20 << 2)),
0, 0,
&asn_DEF_PlayersTurnMessage, &asn_DEF_PlayersTurnMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -191,7 +200,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"playersTurnMessage" "playersTurnMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.myActionRequestMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.myActionRequestMessage),
(ASN_TAG_CLASS_APPLICATION | (20 << 2)), (ASN_TAG_CLASS_APPLICATION | (21 << 2)),
0, 0,
&asn_DEF_MyActionRequestMessage, &asn_DEF_MyActionRequestMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -200,7 +209,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"myActionRequestMessage" "myActionRequestMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.yourActionRejectedMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.yourActionRejectedMessage),
(ASN_TAG_CLASS_APPLICATION | (21 << 2)), (ASN_TAG_CLASS_APPLICATION | (22 << 2)),
0, 0,
&asn_DEF_YourActionRejectedMessage, &asn_DEF_YourActionRejectedMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -209,7 +218,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"yourActionRejectedMessage" "yourActionRejectedMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playersActionDoneMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.playersActionDoneMessage),
(ASN_TAG_CLASS_APPLICATION | (22 << 2)), (ASN_TAG_CLASS_APPLICATION | (23 << 2)),
0, 0,
&asn_DEF_PlayersActionDoneMessage, &asn_DEF_PlayersActionDoneMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -218,7 +227,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"playersActionDoneMessage" "playersActionDoneMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealFlopCardsMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealFlopCardsMessage),
(ASN_TAG_CLASS_APPLICATION | (23 << 2)), (ASN_TAG_CLASS_APPLICATION | (24 << 2)),
0, 0,
&asn_DEF_DealFlopCardsMessage, &asn_DEF_DealFlopCardsMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -227,7 +236,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"dealFlopCardsMessage" "dealFlopCardsMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealTurnCardMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealTurnCardMessage),
(ASN_TAG_CLASS_APPLICATION | (24 << 2)), (ASN_TAG_CLASS_APPLICATION | (25 << 2)),
0, 0,
&asn_DEF_DealTurnCardMessage, &asn_DEF_DealTurnCardMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -236,7 +245,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"dealTurnCardMessage" "dealTurnCardMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealRiverCardMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.dealRiverCardMessage),
(ASN_TAG_CLASS_APPLICATION | (25 << 2)), (ASN_TAG_CLASS_APPLICATION | (26 << 2)),
0, 0,
&asn_DEF_DealRiverCardMessage, &asn_DEF_DealRiverCardMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -245,7 +254,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"dealRiverCardMessage" "dealRiverCardMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.allInShowCardsMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.allInShowCardsMessage),
(ASN_TAG_CLASS_APPLICATION | (26 << 2)), (ASN_TAG_CLASS_APPLICATION | (27 << 2)),
0, 0,
&asn_DEF_AllInShowCardsMessage, &asn_DEF_AllInShowCardsMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -254,7 +263,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"allInShowCardsMessage" "allInShowCardsMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.endOfHandMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.endOfHandMessage),
(ASN_TAG_CLASS_APPLICATION | (27 << 2)), (ASN_TAG_CLASS_APPLICATION | (28 << 2)),
0, 0,
&asn_DEF_EndOfHandMessage, &asn_DEF_EndOfHandMessage,
0, /* Defer constraints checking to the member type */ 0, /* Defer constraints checking to the member type */
@@ -263,7 +272,7 @@ static asn_TYPE_member_t asn_MBR_PokerTHMessage_1[] = {
"endOfHandMessage" "endOfHandMessage"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.endOfGameMessage), { ATF_NOFLAGS, 0, offsetof(struct PokerTHMessage, choice.endOfGameMessage),
(ASN_TAG_CLASS_APPLICATION | (28 << 2)), (ASN_TAG_CLASS_APPLICATION | (29 << 2)),
0, 0,
&asn_DEF_EndOfGameMessage, &asn_DEF_EndOfGameMessage,
0, /* Defer constraints checking to the member type */ 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[] = { 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 | (0 << 2)), 0, 0, 0 }, /* announceMessage at 27 */
{ (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* authMessage at 28 */ { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* initMessage at 28 */
{ (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 2, 0, 0 }, /* initAckMessage at 29 */ { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 2, 0, 0 }, /* authMessage at 29 */
{ (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 3, 0, 0 }, /* avatarRequestMessage at 30 */ { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 3, 0, 0 }, /* initAckMessage at 30 */
{ (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 4, 0, 0 }, /* avatarReplyMessage at 31 */ { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 4, 0, 0 }, /* avatarRequestMessage at 31 */
{ (ASN_TAG_CLASS_APPLICATION | (5 << 2)), 5, 0, 0 }, /* playerListMessage at 32 */ { (ASN_TAG_CLASS_APPLICATION | (5 << 2)), 5, 0, 0 }, /* avatarReplyMessage at 32 */
{ (ASN_TAG_CLASS_APPLICATION | (6 << 2)), 6, 0, 0 }, /* gameListMessage at 33 */ { (ASN_TAG_CLASS_APPLICATION | (6 << 2)), 6, 0, 0 }, /* playerListMessage at 33 */
{ (ASN_TAG_CLASS_APPLICATION | (7 << 2)), 7, 0, 0 }, /* playerInfoRequestMessage at 34 */ { (ASN_TAG_CLASS_APPLICATION | (7 << 2)), 7, 0, 0 }, /* gameListMessage at 34 */
{ (ASN_TAG_CLASS_APPLICATION | (8 << 2)), 8, 0, 0 }, /* playerInfoReplyMessage at 35 */ { (ASN_TAG_CLASS_APPLICATION | (8 << 2)), 8, 0, 0 }, /* playerInfoRequestMessage at 35 */
{ (ASN_TAG_CLASS_APPLICATION | (9 << 2)), 9, 0, 0 }, /* subscriptionRequestMessage at 36 */ { (ASN_TAG_CLASS_APPLICATION | (9 << 2)), 9, 0, 0 }, /* playerInfoReplyMessage at 36 */
{ (ASN_TAG_CLASS_APPLICATION | (10 << 2)), 10, 0, 0 }, /* joinGameRequestMessage at 37 */ { (ASN_TAG_CLASS_APPLICATION | (10 << 2)), 10, 0, 0 }, /* subscriptionRequestMessage at 37 */
{ (ASN_TAG_CLASS_APPLICATION | (11 << 2)), 11, 0, 0 }, /* joinGameReplyMessage at 38 */ { (ASN_TAG_CLASS_APPLICATION | (11 << 2)), 11, 0, 0 }, /* joinGameRequestMessage at 38 */
{ (ASN_TAG_CLASS_APPLICATION | (12 << 2)), 12, 0, 0 }, /* gamePlayerMessage at 39 */ { (ASN_TAG_CLASS_APPLICATION | (12 << 2)), 12, 0, 0 }, /* joinGameReplyMessage at 39 */
{ (ASN_TAG_CLASS_APPLICATION | (13 << 2)), 13, 0, 0 }, /* kickPlayerRequestMessage at 40 */ { (ASN_TAG_CLASS_APPLICATION | (13 << 2)), 13, 0, 0 }, /* gamePlayerMessage at 40 */
{ (ASN_TAG_CLASS_APPLICATION | (14 << 2)), 14, 0, 0 }, /* leaveGameRequestMessage at 41 */ { (ASN_TAG_CLASS_APPLICATION | (14 << 2)), 14, 0, 0 }, /* kickPlayerRequestMessage at 41 */
{ (ASN_TAG_CLASS_APPLICATION | (15 << 2)), 15, 0, 0 }, /* startEventMessage at 42 */ { (ASN_TAG_CLASS_APPLICATION | (15 << 2)), 15, 0, 0 }, /* leaveGameRequestMessage at 42 */
{ (ASN_TAG_CLASS_APPLICATION | (16 << 2)), 16, 0, 0 }, /* startEventAckMessage at 43 */ { (ASN_TAG_CLASS_APPLICATION | (16 << 2)), 16, 0, 0 }, /* startEventMessage at 43 */
{ (ASN_TAG_CLASS_APPLICATION | (17 << 2)), 17, 0, 0 }, /* gameStartMessage at 44 */ { (ASN_TAG_CLASS_APPLICATION | (17 << 2)), 17, 0, 0 }, /* startEventAckMessage at 44 */
{ (ASN_TAG_CLASS_APPLICATION | (18 << 2)), 18, 0, 0 }, /* handStartMessage at 45 */ { (ASN_TAG_CLASS_APPLICATION | (18 << 2)), 18, 0, 0 }, /* gameStartMessage at 45 */
{ (ASN_TAG_CLASS_APPLICATION | (19 << 2)), 19, 0, 0 }, /* playersTurnMessage at 46 */ { (ASN_TAG_CLASS_APPLICATION | (19 << 2)), 19, 0, 0 }, /* handStartMessage at 46 */
{ (ASN_TAG_CLASS_APPLICATION | (20 << 2)), 20, 0, 0 }, /* myActionRequestMessage at 47 */ { (ASN_TAG_CLASS_APPLICATION | (20 << 2)), 20, 0, 0 }, /* playersTurnMessage at 47 */
{ (ASN_TAG_CLASS_APPLICATION | (21 << 2)), 21, 0, 0 }, /* yourActionRejectedMessage at 48 */ { (ASN_TAG_CLASS_APPLICATION | (21 << 2)), 21, 0, 0 }, /* myActionRequestMessage at 48 */
{ (ASN_TAG_CLASS_APPLICATION | (22 << 2)), 22, 0, 0 }, /* playersActionDoneMessage at 49 */ { (ASN_TAG_CLASS_APPLICATION | (22 << 2)), 22, 0, 0 }, /* yourActionRejectedMessage at 49 */
{ (ASN_TAG_CLASS_APPLICATION | (23 << 2)), 23, 0, 0 }, /* dealFlopCardsMessage at 50 */ { (ASN_TAG_CLASS_APPLICATION | (23 << 2)), 23, 0, 0 }, /* playersActionDoneMessage at 50 */
{ (ASN_TAG_CLASS_APPLICATION | (24 << 2)), 24, 0, 0 }, /* dealTurnCardMessage at 51 */ { (ASN_TAG_CLASS_APPLICATION | (24 << 2)), 24, 0, 0 }, /* dealFlopCardsMessage at 51 */
{ (ASN_TAG_CLASS_APPLICATION | (25 << 2)), 25, 0, 0 }, /* dealRiverCardMessage at 52 */ { (ASN_TAG_CLASS_APPLICATION | (25 << 2)), 25, 0, 0 }, /* dealTurnCardMessage at 52 */
{ (ASN_TAG_CLASS_APPLICATION | (26 << 2)), 26, 0, 0 }, /* allInShowCardsMessage at 53 */ { (ASN_TAG_CLASS_APPLICATION | (26 << 2)), 26, 0, 0 }, /* dealRiverCardMessage at 53 */
{ (ASN_TAG_CLASS_APPLICATION | (27 << 2)), 27, 0, 0 }, /* endOfHandMessage at 54 */ { (ASN_TAG_CLASS_APPLICATION | (27 << 2)), 27, 0, 0 }, /* allInShowCardsMessage at 54 */
{ (ASN_TAG_CLASS_APPLICATION | (28 << 2)), 28, 0, 0 }, /* endOfGameMessage at 55 */ { (ASN_TAG_CLASS_APPLICATION | (28 << 2)), 28, 0, 0 }, /* endOfHandMessage at 55 */
{ (ASN_TAG_CLASS_APPLICATION | (64 << 2)), 29, 0, 0 }, /* askKickPlayerMessage at 56 */ { (ASN_TAG_CLASS_APPLICATION | (29 << 2)), 29, 0, 0 }, /* endOfGameMessage at 56 */
{ (ASN_TAG_CLASS_APPLICATION | (65 << 2)), 30, 0, 0 }, /* askKickDeniedMessage at 57 */ { (ASN_TAG_CLASS_APPLICATION | (64 << 2)), 30, 0, 0 }, /* askKickPlayerMessage at 57 */
{ (ASN_TAG_CLASS_APPLICATION | (66 << 2)), 31, 0, 0 }, /* startKickPetitionMessage at 58 */ { (ASN_TAG_CLASS_APPLICATION | (65 << 2)), 31, 0, 0 }, /* askKickDeniedMessage at 58 */
{ (ASN_TAG_CLASS_APPLICATION | (67 << 2)), 32, 0, 0 }, /* voteKickRequestMessage at 59 */ { (ASN_TAG_CLASS_APPLICATION | (66 << 2)), 32, 0, 0 }, /* startKickPetitionMessage at 59 */
{ (ASN_TAG_CLASS_APPLICATION | (68 << 2)), 33, 0, 0 }, /* voteKickReplyMessage at 60 */ { (ASN_TAG_CLASS_APPLICATION | (67 << 2)), 33, 0, 0 }, /* voteKickRequestMessage at 60 */
{ (ASN_TAG_CLASS_APPLICATION | (69 << 2)), 34, 0, 0 }, /* kickPetitionUpdateMessage at 61 */ { (ASN_TAG_CLASS_APPLICATION | (68 << 2)), 34, 0, 0 }, /* voteKickReplyMessage at 61 */
{ (ASN_TAG_CLASS_APPLICATION | (70 << 2)), 35, 0, 0 }, /* endKickPetitionMessage at 62 */ { (ASN_TAG_CLASS_APPLICATION | (69 << 2)), 35, 0, 0 }, /* kickPetitionUpdateMessage at 62 */
{ (ASN_TAG_CLASS_APPLICATION | (128 << 2)), 36, 0, 0 }, /* statisticsMessage at 63 */ { (ASN_TAG_CLASS_APPLICATION | (70 << 2)), 36, 0, 0 }, /* endKickPetitionMessage at 63 */
{ (ASN_TAG_CLASS_APPLICATION | (129 << 2)), 37, 0, 0 }, /* chatRequestMessage at 64 */ { (ASN_TAG_CLASS_APPLICATION | (128 << 2)), 37, 0, 0 }, /* statisticsMessage at 64 */
{ (ASN_TAG_CLASS_APPLICATION | (130 << 2)), 38, 0, 0 }, /* chatMessage at 65 */ { (ASN_TAG_CLASS_APPLICATION | (129 << 2)), 38, 0, 0 }, /* chatRequestMessage at 65 */
{ (ASN_TAG_CLASS_APPLICATION | (131 << 2)), 39, 0, 0 }, /* dialogMessage at 66 */ { (ASN_TAG_CLASS_APPLICATION | (130 << 2)), 39, 0, 0 }, /* chatMessage at 66 */
{ (ASN_TAG_CLASS_APPLICATION | (132 << 2)), 40, 0, 0 }, /* timeoutWarningMessage at 67 */ { (ASN_TAG_CLASS_APPLICATION | (131 << 2)), 40, 0, 0 }, /* dialogMessage at 67 */
{ (ASN_TAG_CLASS_APPLICATION | (133 << 2)), 41, 0, 0 }, /* resetTimeoutMessage at 68 */ { (ASN_TAG_CLASS_APPLICATION | (132 << 2)), 41, 0, 0 }, /* timeoutWarningMessage at 68 */
{ (ASN_TAG_CLASS_APPLICATION | (255 << 2)), 42, 0, 0 } /* errorMessage at 70 */ { (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 = { static asn_CHOICE_specifics_t asn_SPC_PokerTHMessage_specs_1 = {
sizeof(struct PokerTHMessage), sizeof(struct PokerTHMessage),
@@ -449,9 +459,9 @@ static asn_CHOICE_specifics_t asn_SPC_PokerTHMessage_specs_1 = {
offsetof(struct PokerTHMessage, present), offsetof(struct PokerTHMessage, present),
sizeof(((struct PokerTHMessage *)0)->present), sizeof(((struct PokerTHMessage *)0)->present),
asn_MAP_PokerTHMessage_tag2el_1, asn_MAP_PokerTHMessage_tag2el_1,
43, /* Count of tags in the map */ 44, /* Count of tags in the map */
0, 0,
43 /* Extensions start */ 44 /* Extensions start */
}; };
asn_TYPE_descriptor_t asn_DEF_PokerTHMessage = { asn_TYPE_descriptor_t asn_DEF_PokerTHMessage = {
"PokerTHMessage", "PokerTHMessage",
@@ -471,7 +481,7 @@ asn_TYPE_descriptor_t asn_DEF_PokerTHMessage = {
0, /* No tags (count) */ 0, /* No tags (count) */
0, /* No PER visible constraints */ 0, /* No PER visible constraints */
asn_MBR_PokerTHMessage_1, asn_MBR_PokerTHMessage_1,
43, /* Elements count */ 44, /* Elements count */
&asn_SPC_PokerTHMessage_specs_1 /* Additional specs */ &asn_SPC_PokerTHMessage_specs_1 /* Additional specs */
}; };
+3
View File
@@ -12,6 +12,7 @@
#include <asn_application.h> #include <asn_application.h>
/* Including external dependencies */ /* Including external dependencies */
#include "AnnounceMessage.h"
#include "InitMessage.h" #include "InitMessage.h"
#include "AuthMessage.h" #include "AuthMessage.h"
#include "InitAckMessage.h" #include "InitAckMessage.h"
@@ -64,6 +65,7 @@ extern "C" {
/* Dependencies */ /* Dependencies */
typedef enum PokerTHMessage_PR { typedef enum PokerTHMessage_PR {
PokerTHMessage_PR_NOTHING, /* No components present */ PokerTHMessage_PR_NOTHING, /* No components present */
PokerTHMessage_PR_announceMessage,
PokerTHMessage_PR_initMessage, PokerTHMessage_PR_initMessage,
PokerTHMessage_PR_authMessage, PokerTHMessage_PR_authMessage,
PokerTHMessage_PR_initAckMessage, PokerTHMessage_PR_initAckMessage,
@@ -115,6 +117,7 @@ typedef enum PokerTHMessage_PR {
typedef struct PokerTHMessage { typedef struct PokerTHMessage {
PokerTHMessage_PR present; PokerTHMessage_PR present;
union PokerTHMessage_u { union PokerTHMessage_u {
AnnounceMessage_t announceMessage;
InitMessage_t initMessage; InitMessage_t initMessage;
AuthMessage_t authMessage; AuthMessage_t authMessage;
InitAckMessage_t initAckMessage; InitAckMessage_t initAckMessage;
+1 -1
View File
@@ -149,7 +149,7 @@ static ber_tlv_tag_t asn_DEF_RemovedFromGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_RemovedFromGame_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_RemovedFromGame_specs_1 = {
sizeof(struct RemovedFromGame), sizeof(struct RemovedFromGame),
+2 -2
View File
@@ -21,11 +21,11 @@ static asn_TYPE_member_t asn_MBR_StartEventAckMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_StartEventAckMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StartEventAckMessage_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_StartEventAckMessage_specs_1 = {
sizeof(struct StartEventAckMessage), sizeof(struct StartEventAckMessage),
+3 -3
View File
@@ -30,12 +30,12 @@ static asn_TYPE_member_t asn_MBR_StartEventMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_StartEventMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StartEventMessage_tag2el_1[] = { 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 | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 363 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 355 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 362 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StartEventMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StartEventMessage_specs_1 = {
sizeof(struct StartEventMessage), sizeof(struct StartEventMessage),
+6 -6
View File
@@ -120,12 +120,12 @@ static ber_tlv_tag_t asn_DEF_StartKickPetitionMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StartKickPetitionMessage_tag2el_1[] = { 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)), 0, 0, 5 }, /* gameId at 498 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 492 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 499 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 493 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 500 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 494 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 501 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 495 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 502 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 496 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 503 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StartKickPetitionMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StartKickPetitionMessage_specs_1 = {
sizeof(struct StartKickPetitionMessage), sizeof(struct StartKickPetitionMessage),
+2 -2
View File
@@ -148,8 +148,8 @@ static ber_tlv_tag_t asn_DEF_StatisticsData_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StatisticsData_tag2el_1[] = { 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 | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 562 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 552 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 559 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StatisticsData_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StatisticsData_specs_1 = {
sizeof(struct StatisticsData), sizeof(struct StatisticsData),
-46
View File
@@ -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 <asn_internal.h>
#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 */
};
-39
View File
@@ -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 <asn_application.h>
/* Including external dependencies */
#include <constr_SEQUENCE.h>
#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_ */
+1 -1
View File
@@ -95,7 +95,7 @@ static ber_tlv_tag_t asn_DEF_StatisticsMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StatisticsMessage_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_StatisticsMessage_specs_1 = {
sizeof(struct StatisticsMessage), sizeof(struct StatisticsMessage),
+2 -2
View File
@@ -138,11 +138,11 @@ static asn_TYPE_member_t asn_MBR_SubscriptionRequestMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_SubscriptionRequestMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_SubscriptionRequestMessage_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_SubscriptionRequestMessage_specs_1 = {
sizeof(struct SubscriptionRequestMessage), sizeof(struct SubscriptionRequestMessage),
+2 -2
View File
@@ -151,8 +151,8 @@ static ber_tlv_tag_t asn_DEF_TimeoutWarningMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_TimeoutWarningMessage_tag2el_1[] = { 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 | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 614 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 603 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 610 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_TimeoutWarningMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_TimeoutWarningMessage_specs_1 = {
sizeof(struct TimeoutWarningMessage), sizeof(struct TimeoutWarningMessage),
+2 -2
View File
@@ -83,8 +83,8 @@ static ber_tlv_tag_t asn_DEF_Version_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_Version_tag2el_1[] = { 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)), 0, 0, 1 }, /* major at 96 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* minor at 85 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* minor at 97 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_Version_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_Version_specs_1 = {
sizeof(struct Version), sizeof(struct Version),
+1 -1
View File
@@ -141,7 +141,7 @@ static ber_tlv_tag_t asn_DEF_VoteKickDenied_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_VoteKickDenied_tag2el_1[] = { 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 = { static asn_SEQUENCE_specifics_t asn_SPC_VoteKickDenied_specs_1 = {
sizeof(struct VoteKickDenied), sizeof(struct VoteKickDenied),
+6 -6
View File
@@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_voteKickReplyType_4[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_voteKickReplyType_tag2el_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 | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 516 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 511 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 518 */
}; };
static asn_CHOICE_specifics_t asn_SPC_voteKickReplyType_specs_4 = { static asn_CHOICE_specifics_t asn_SPC_voteKickReplyType_specs_4 = {
sizeof(struct voteKickReplyType), sizeof(struct voteKickReplyType),
@@ -100,10 +100,10 @@ static ber_tlv_tag_t asn_DEF_VoteKickReplyMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_VoteKickReplyMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 513 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 507 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 514 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 509 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 516 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 511 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 518 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_VoteKickReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_VoteKickReplyMessage_specs_1 = {
sizeof(struct VoteKickReplyMessage), sizeof(struct VoteKickReplyMessage),
+3 -3
View File
@@ -43,9 +43,9 @@ static ber_tlv_tag_t asn_DEF_VoteKickRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_VoteKickRequestMessage_tag2el_1[] = { 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 | (1 << 2)), 2, 0, 0 }, /* voteKick at 509 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 500 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 507 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 501 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 508 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_VoteKickRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_VoteKickRequestMessage_specs_1 = {
sizeof(struct VoteKickRequestMessage), sizeof(struct VoteKickRequestMessage),
+6 -6
View File
@@ -201,15 +201,15 @@ static asn_TYPE_member_t asn_MBR_YourActionRejectedMessage_1[] = {
}, },
}; };
static ber_tlv_tag_t asn_DEF_YourActionRejectedMessage_tags_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)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_YourActionRejectedMessage_tag2el_1[] = { 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)), 0, 0, 1 }, /* gameId at 397 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 393 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 400 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 391 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 398 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 392 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 399 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 395 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 402 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_YourActionRejectedMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_YourActionRejectedMessage_specs_1 = {
sizeof(struct YourActionRejectedMessage), sizeof(struct YourActionRejectedMessage),