Preparing network protocol for rejoin.

This commit is contained in:
lotodore
2011-07-16 14:52:45 +00:00
parent 711091bcd9
commit e109c0037d
303 changed files with 8477 additions and 7528 deletions
+28 -4
View File
@@ -96,6 +96,7 @@ AnnounceMessage ::= [APPLICATION 0] SEQUENCE {
InitMessage ::= [APPLICATION 1] SEQUENCE { InitMessage ::= [APPLICATION 1] SEQUENCE {
requestedVersion Version, requestedVersion Version,
buildId INTEGER, buildId INTEGER,
myLastSessionId Guid,
login CHOICE { login CHOICE {
guestLogin [0] GuestLogin, guestLogin [0] GuestLogin,
authenticatedLogin [1] AuthenticatedLogin, authenticatedLogin [1] AuthenticatedLogin,
@@ -144,7 +145,8 @@ AuthServerVerification ::= SEQUENCE {
InitAckMessage ::= [APPLICATION 3] SEQUENCE { InitAckMessage ::= [APPLICATION 3] SEQUENCE {
yourSessionId Guid, yourSessionId Guid,
yourPlayerId NonZeroId, yourPlayerId NonZeroId,
yourAvatar AvatarHash OPTIONAL yourAvatar AvatarHash OPTIONAL,
rejoinGameId NonZeroId OPTIONAL
} }
AvatarRequestMessage ::= [APPLICATION 4] SEQUENCE { AvatarRequestMessage ::= [APPLICATION 4] SEQUENCE {
@@ -279,7 +281,8 @@ SubscriptionRequestMessage ::= [APPLICATION 10] SEQUENCE {
JoinGameRequestMessage ::= [APPLICATION 11] SEQUENCE { JoinGameRequestMessage ::= [APPLICATION 11] SEQUENCE {
joinGameAction CHOICE { joinGameAction CHOICE {
joinExistingGame [0] JoinExistingGame, joinExistingGame [0] JoinExistingGame,
joinNewGame [1] JoinNewGame joinNewGame [1] JoinNewGame,
rejoinExistingGame [2] RejoinExistingGame
}, },
password UTF8String (SIZE(1..64)) OPTIONAL, password UTF8String (SIZE(1..64)) OPTIONAL,
autoLeave BOOLEAN autoLeave BOOLEAN
@@ -293,6 +296,10 @@ JoinNewGame ::= SEQUENCE {
gameInfo NetGameInfo gameInfo NetGameInfo
} }
RejoinExistingGame ::= SEQUENCE {
gameId NonZeroId
}
JoinGameReplyMessage ::= [APPLICATION 12] SEQUENCE { JoinGameReplyMessage ::= [APPLICATION 12] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
joinGameResult CHOICE { joinGameResult CHOICE {
@@ -317,7 +324,8 @@ JoinGameFailed ::= SEQUENCE {
gameNameInUse (7), gameNameInUse (7),
badGameName (8), badGameName (8),
invalidSettings (9), invalidSettings (9),
ipAddressBlocked (10) ipAddressBlocked (10),
rejoinFailed (11)
} }
} }
@@ -432,10 +440,26 @@ StartEventAckMessage ::= [APPLICATION 21] SEQUENCE {
gameId NonZeroId gameId NonZeroId
} }
RejoinPlayerData ::= SEQUENCE {
playerId NonZeroId,
playerMoney INTEGER(0..10000000)
}
GameStartModeInitial ::= SEQUENCE {
playerSeats SEQUENCE SIZE(2..10) OF NonZeroId
}
GameStartModeRejoin ::= SEQUENCE {
rejoinPlayerData SEQUENCE SIZE(2..10) OF RejoinPlayerData
}
GameStartMessage ::= [APPLICATION 22] SEQUENCE { GameStartMessage ::= [APPLICATION 22] SEQUENCE {
gameId NonZeroId, gameId NonZeroId,
startDealerPlayerId NonZeroId, startDealerPlayerId NonZeroId,
playerSeats SEQUENCE SIZE(2..10) OF NonZeroId gameStartMode CHOICE {
gameStartModeInitial [0] GameStartModeInitial,
gameStartModeRejoin [1] GameStartModeRejoin
}
} }
PlainCards ::= SEQUENCE { PlainCards ::= SEQUENCE {
+8
View File
@@ -94,6 +94,8 @@ HEADERS += src/third_party/asn1/AllInShowCardsMessage.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/GameStartModeInitial.h \
src/third_party/asn1/GameStartModeRejoin.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 \
@@ -138,6 +140,8 @@ HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \
src/third_party/asn1/RejectGameInvitationMessage.h \ src/third_party/asn1/RejectGameInvitationMessage.h \
src/third_party/asn1/RejectGameInvReason.h \ src/third_party/asn1/RejectGameInvReason.h \
src/third_party/asn1/RejectInvNotifyMessage.h \ src/third_party/asn1/RejectInvNotifyMessage.h \
src/third_party/asn1/RejoinExistingGame.h \
src/third_party/asn1/RejoinPlayerData.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 \
@@ -245,6 +249,8 @@ SOURCES += src/third_party/asn1/ChatCleanerMessage.c \
src/third_party/asn1/HandStartMessage.c \ src/third_party/asn1/HandStartMessage.c \
src/third_party/asn1/Guid.c \ src/third_party/asn1/Guid.c \
src/third_party/asn1/GameStartMessage.c \ src/third_party/asn1/GameStartMessage.c \
src/third_party/asn1/GameStartModeInitial.c \
src/third_party/asn1/GameStartModeRejoin.c \
src/third_party/asn1/GamePlayerMessage.c \ src/third_party/asn1/GamePlayerMessage.c \
src/third_party/asn1/GamePlayerLeft.c \ src/third_party/asn1/GamePlayerLeft.c \
src/third_party/asn1/GamePlayerJoined.c \ src/third_party/asn1/GamePlayerJoined.c \
@@ -306,6 +312,8 @@ SOURCES += src/third_party/asn1/ChatCleanerMessage.c \
src/third_party/asn1/RejectGameInvitationMessage.c \ src/third_party/asn1/RejectGameInvitationMessage.c \
src/third_party/asn1/RejectInvNotifyMessage.c \ src/third_party/asn1/RejectInvNotifyMessage.c \
src/third_party/asn1/RejectGameInvReason.c \ src/third_party/asn1/RejectGameInvReason.c \
src/third_party/asn1/RejoinExistingGame.c \
src/third_party/asn1/RejoinPlayerData.c \
src/third_party/asn1/AfterHandShowCardsMessage.c \ src/third_party/asn1/AfterHandShowCardsMessage.c \
src/third_party/asn1/ShowMyCardsRequestMessage.c \ src/third_party/asn1/ShowMyCardsRequestMessage.c \
src/third_party/asn1/EncryptedCards.c \ src/third_party/asn1/EncryptedCards.c \
+7 -3
View File
@@ -1485,13 +1485,17 @@ ClientStateWaitStart::InternalHandlePacket(boost::shared_ptr<ClientThread> clien
GameStartMessage_t *netGameStart = &tmpPacket->GetMsg()->choice.gameStartMessage; GameStartMessage_t *netGameStart = &tmpPacket->GetMsg()->choice.gameStartMessage;
StartData startData; StartData startData;
startData.numberOfPlayers = netGameStart->playerSeats.list.count;
startData.startDealerPlayerId = netGameStart->startDealerPlayerId; startData.startDealerPlayerId = netGameStart->startDealerPlayerId;
if (netGameStart->gameStartMode.present != gameStartMode_PR_gameStartModeInitial)
throw ClientException(__FILE__, __LINE__, ERR_NET_INTERNAL_GAME_ERROR, 0);
GameStartModeInitial_t *netStartModeInitial = &netGameStart->gameStartMode.choice.gameStartModeInitial;
startData.numberOfPlayers = netStartModeInitial->playerSeats.list.count;
client->SetStartData(startData); client->SetStartData(startData);
// Set player numbers using the game start data slots. // Set player numbers using the game start data slots.
NonZeroId_t **playerIds = netGameStart->playerSeats.list.array; NonZeroId_t **playerIds = netStartModeInitial->playerSeats.list.array;
unsigned numPlayers = netGameStart->playerSeats.list.count; unsigned numPlayers = netStartModeInitial->playerSeats.list.count;
// Request player info for players if needed. // Request player info for players if needed.
if (numPlayers && playerIds && *playerIds) { if (numPlayers && playerIds && *playerIds) {
for (unsigned i = 0; i < numPlayers; i++) { for (unsigned i = 0; i < numPlayers; i++) {
+3 -1
View File
@@ -721,6 +721,8 @@ ServerGameStateStartGame::DoStart(boost::shared_ptr<ServerGame> server)
GameStartMessage_t *netGameStart = &packet->GetMsg()->choice.gameStartMessage; GameStartMessage_t *netGameStart = &packet->GetMsg()->choice.gameStartMessage;
netGameStart->gameId = server->GetId(); netGameStart->gameId = server->GetId();
netGameStart->startDealerPlayerId = server->GetStartData().startDealerPlayerId; netGameStart->startDealerPlayerId = server->GetStartData().startDealerPlayerId;
netGameStart->gameStartMode.present = gameStartMode_PR_gameStartModeInitial;
GameStartModeInitial_t *netStartModeInitial = &netGameStart->gameStartMode.choice.gameStartModeInitial;
// Send player order to clients. // Send player order to clients.
// Assume player list is sorted by number. // Assume player list is sorted by number.
@@ -729,7 +731,7 @@ ServerGameStateStartGame::DoStart(boost::shared_ptr<ServerGame> server)
while (player_i != player_end) { while (player_i != player_end) {
NonZeroId_t *playerSlot = (NonZeroId_t *)calloc(1, sizeof(NonZeroId_t)); NonZeroId_t *playerSlot = (NonZeroId_t *)calloc(1, sizeof(NonZeroId_t));
*playerSlot = (*player_i)->GetUniqueId(); *playerSlot = (*player_i)->GetUniqueId();
ASN_SEQUENCE_ADD(&netGameStart->playerSeats.list, playerSlot); ASN_SEQUENCE_ADD(&netStartModeInitial->playerSeats.list, playerSlot);
++player_i; ++player_i;
} }
+1 -1
View File
@@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_AfkWarningMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AfkWarningMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AfkWarningMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* remainingTimeouts at 719 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* remainingTimeouts at 742 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AfkWarningMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AfkWarningMessage_specs_1 = {
sizeof(struct AfkWarningMessage), sizeof(struct AfkWarningMessage),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* AfkWarningMessage */ /* AfkWarningMessage */
typedef struct AfkWarningMessage { typedef struct AfkWarningMessage {
long remainingTimeouts; long remainingTimeouts;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct AfkWarningMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AfkWarningMessage_t; } AfkWarningMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AfkWarningMessage; extern asn_TYPE_descriptor_t asn_DEF_AfkWarningMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -23,7 +23,7 @@ static ber_tlv_tag_t asn_DEF_AfterHandShowCardsMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AfterHandShowCardsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AfterHandShowCardsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResult at 557 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResult at 580 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AfterHandShowCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AfterHandShowCardsMessage_specs_1 = {
sizeof(struct AfterHandShowCardsMessage), sizeof(struct AfterHandShowCardsMessage),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* AfterHandShowCardsMessage */ /* AfterHandShowCardsMessage */
typedef struct AfterHandShowCardsMessage { typedef struct AfterHandShowCardsMessage {
PlayerResult_t playerResult; PlayerResult_t playerResult;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct AfterHandShowCardsMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AfterHandShowCardsMessage_t; } AfterHandShowCardsMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AfterHandShowCardsMessage; extern asn_TYPE_descriptor_t asn_DEF_AfterHandShowCardsMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+2 -2
View File
@@ -102,8 +102,8 @@ static ber_tlv_tag_t asn_DEF_AllInShowCardsMessage_tags_1[] = {
(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 514 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 537 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 516 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 539 */
}; };
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),
+7 -7
View File
@@ -21,11 +21,11 @@
extern "C" { extern "C" {
#endif #endif
/* Forward declarations */ /* Forward declarations */
struct PlayerAllIn; struct PlayerAllIn;
/* AllInShowCardsMessage */ /* AllInShowCardsMessage */
typedef struct AllInShowCardsMessage { typedef struct AllInShowCardsMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
struct playersAllIn { struct playersAllIn {
A_SEQUENCE_OF(struct PlayerAllIn) list; A_SEQUENCE_OF(struct PlayerAllIn) list;
@@ -40,10 +40,10 @@ typedef struct AllInShowCardsMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AllInShowCardsMessage_t; } AllInShowCardsMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AllInShowCardsMessage; extern asn_TYPE_descriptor_t asn_DEF_AllInShowCardsMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+10 -9
View File
@@ -21,15 +21,16 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum serverType { typedef enum serverType {
serverType_serverTypeLAN = 0, serverType_serverTypeLAN = 0,
serverType_serverTypeInternetNoAuth = 1, serverType_serverTypeInternetNoAuth = 1,
serverType_serverTypeInternetAuth = 2 serverType_serverTypeInternetAuth = 2
} e_serverType; }
e_serverType;
/* AnnounceMessage */ /* AnnounceMessage */
typedef struct AnnounceMessage { typedef struct AnnounceMessage {
Version_t protocolVersion; Version_t protocolVersion;
Version_t latestGameVersion; Version_t latestGameVersion;
long latestBetaRevision; long latestBetaRevision;
@@ -42,11 +43,11 @@ typedef struct AnnounceMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AnnounceMessage_t; } AnnounceMessage_t;
/* Implementation */ /* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_serverType_5; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_serverType_5; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_AnnounceMessage; extern asn_TYPE_descriptor_t asn_DEF_AnnounceMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+3 -3
View File
@@ -164,9 +164,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 570 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 593 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 571 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 594 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 573 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 596 */
}; };
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),
+10 -9
View File
@@ -20,17 +20,18 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum kickDeniedReason { typedef enum kickDeniedReason {
kickDeniedReason_kickDeniedInvalidGameState = 0, kickDeniedReason_kickDeniedInvalidGameState = 0,
kickDeniedReason_kickDeniedNotPossible = 1, kickDeniedReason_kickDeniedNotPossible = 1,
kickDeniedReason_kickDeniedTryAgainLater = 2, kickDeniedReason_kickDeniedTryAgainLater = 2,
kickDeniedReason_kickDeniedAlreadyInProgress = 3, kickDeniedReason_kickDeniedAlreadyInProgress = 3,
kickDeniedReason_kickDeniedInvalidPlayerId = 4 kickDeniedReason_kickDeniedInvalidPlayerId = 4
} e_kickDeniedReason; }
e_kickDeniedReason;
/* AskKickDeniedMessage */ /* AskKickDeniedMessage */
typedef struct AskKickDeniedMessage { typedef struct AskKickDeniedMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
NonZeroId_t playerId; NonZeroId_t playerId;
long kickDeniedReason; long kickDeniedReason;
@@ -41,11 +42,11 @@ typedef struct AskKickDeniedMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AskKickDeniedMessage_t; } AskKickDeniedMessage_t;
/* Implementation */ /* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_kickDeniedReason_4; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_kickDeniedReason_4; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_AskKickDeniedMessage; extern asn_TYPE_descriptor_t asn_DEF_AskKickDeniedMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+2 -2
View File
@@ -32,8 +32,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 565 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 588 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 567 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 590 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* AskKickPlayerMessage */ /* AskKickPlayerMessage */
typedef struct AskKickPlayerMessage { typedef struct AskKickPlayerMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
NonZeroId_t playerId; NonZeroId_t playerId;
/* /*
@@ -30,10 +30,10 @@ typedef struct AskKickPlayerMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AskKickPlayerMessage_t; } AskKickPlayerMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AskKickPlayerMessage; extern asn_TYPE_descriptor_t asn_DEF_AskKickPlayerMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -48,7 +48,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 137 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* clientResponse at 138 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* AuthClientResponse */ /* AuthClientResponse */
typedef struct AuthClientResponse { typedef struct AuthClientResponse {
OCTET_STRING_t clientResponse; OCTET_STRING_t clientResponse;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct AuthClientResponse {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AuthClientResponse_t; } AuthClientResponse_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AuthClientResponse; extern asn_TYPE_descriptor_t asn_DEF_AuthClientResponse;
#ifdef __cplusplus #ifdef __cplusplus
} }
+3 -3
View File
@@ -40,9 +40,9 @@ static ber_tlv_tag_t asn_DEF_AuthMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (2 << 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 127 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* authServerChallenge at 128 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 128 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 129 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 130 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 131 */
}; };
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),
+9 -8
View File
@@ -21,18 +21,19 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum AuthMessage_PR { typedef enum AuthMessage_PR {
AuthMessage_PR_NOTHING, /* No components present */ AuthMessage_PR_NOTHING, /* No components present */
AuthMessage_PR_authServerChallenge, AuthMessage_PR_authServerChallenge,
AuthMessage_PR_authClientResponse, AuthMessage_PR_authClientResponse,
AuthMessage_PR_authServerVerification, AuthMessage_PR_authServerVerification,
/* Extensions may appear below */ /* Extensions may appear below */
} AuthMessage_PR; }
AuthMessage_PR;
/* AuthMessage */ /* AuthMessage */
typedef struct AuthMessage { typedef struct AuthMessage {
AuthMessage_PR present; AuthMessage_PR present;
union AuthMessage_u { union AuthMessage_u {
AuthServerChallenge_t authServerChallenge; AuthServerChallenge_t authServerChallenge;
@@ -46,10 +47,10 @@ typedef struct AuthMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AuthMessage_t; } AuthMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AuthMessage; extern asn_TYPE_descriptor_t asn_DEF_AuthMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -48,7 +48,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 133 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverChallenge at 134 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* AuthServerChallenge */ /* AuthServerChallenge */
typedef struct AuthServerChallenge { typedef struct AuthServerChallenge {
OCTET_STRING_t serverChallenge; OCTET_STRING_t serverChallenge;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct AuthServerChallenge {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AuthServerChallenge_t; } AuthServerChallenge_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AuthServerChallenge; extern asn_TYPE_descriptor_t asn_DEF_AuthServerChallenge;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -48,7 +48,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 141 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverVerification at 142 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* AuthServerVerification */ /* AuthServerVerification */
typedef struct AuthServerVerification { typedef struct AuthServerVerification {
OCTET_STRING_t serverVerification; OCTET_STRING_t serverVerification;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct AuthServerVerification {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AuthServerVerification_t; } AuthServerVerification_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AuthServerVerification; extern asn_TYPE_descriptor_t asn_DEF_AuthServerVerification;
#ifdef __cplusplus #ifdef __cplusplus
} }
+2 -2
View File
@@ -57,8 +57,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 117 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 1 }, /* clientUserData at 118 */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 118 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 119 */
}; };
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),
+5 -5
View File
@@ -20,8 +20,8 @@
extern "C" { extern "C" {
#endif #endif
/* AuthenticatedLogin */ /* AuthenticatedLogin */
typedef struct AuthenticatedLogin { typedef struct AuthenticatedLogin {
OCTET_STRING_t clientUserData; OCTET_STRING_t clientUserData;
AvatarHash_t *avatar /* OPTIONAL */; AvatarHash_t *avatar /* OPTIONAL */;
/* /*
@@ -31,10 +31,10 @@ typedef struct AuthenticatedLogin {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AuthenticatedLogin_t; } AuthenticatedLogin_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AuthenticatedLogin; extern asn_TYPE_descriptor_t asn_DEF_AuthenticatedLogin;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -48,7 +48,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 171 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* avatarBlock at 173 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* AvatarData */ /* AvatarData */
typedef struct AvatarData { typedef struct AvatarData {
OCTET_STRING_t avatarBlock; OCTET_STRING_t avatarBlock;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct AvatarData {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AvatarData_t; } AvatarData_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AvatarData; extern asn_TYPE_descriptor_t asn_DEF_AvatarData;
#ifdef __cplusplus #ifdef __cplusplus
} }
+5 -5
View File
@@ -18,8 +18,8 @@
extern "C" { extern "C" {
#endif #endif
/* AvatarEnd */ /* AvatarEnd */
typedef struct AvatarEnd { typedef struct AvatarEnd {
/* /*
* This type is extensible, * This type is extensible,
* possible extensions are below. * possible extensions are below.
@@ -27,10 +27,10 @@ typedef struct AvatarEnd {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AvatarEnd_t; } AvatarEnd_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AvatarEnd; extern asn_TYPE_descriptor_t asn_DEF_AvatarEnd;
#ifdef __cplusplus #ifdef __cplusplus
} }
+11 -11
View File
@@ -18,18 +18,18 @@
extern "C" { extern "C" {
#endif #endif
/* AvatarHash */ /* AvatarHash */
typedef OCTET_STRING_t AvatarHash_t; typedef OCTET_STRING_t AvatarHash_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AvatarHash; extern asn_TYPE_descriptor_t asn_DEF_AvatarHash;
asn_struct_free_f AvatarHash_free; asn_struct_free_f AvatarHash_free;
asn_struct_print_f AvatarHash_print; asn_struct_print_f AvatarHash_print;
asn_constr_check_f AvatarHash_constraint; asn_constr_check_f AvatarHash_constraint;
ber_type_decoder_f AvatarHash_decode_ber; ber_type_decoder_f AvatarHash_decode_ber;
der_type_encoder_f AvatarHash_encode_der; der_type_encoder_f AvatarHash_encode_der;
xer_type_decoder_f AvatarHash_decode_xer; xer_type_decoder_f AvatarHash_decode_xer;
xer_type_encoder_f AvatarHash_encode_xer; xer_type_encoder_f AvatarHash_encode_xer;
#ifdef __cplusplus #ifdef __cplusplus
} }
+2 -2
View File
@@ -56,8 +56,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 167 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* avatarSize at 169 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 166 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 168 */
}; };
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),
+5 -5
View File
@@ -20,8 +20,8 @@
extern "C" { extern "C" {
#endif #endif
/* AvatarHeader */ /* AvatarHeader */
typedef struct AvatarHeader { typedef struct AvatarHeader {
NetAvatarType_t avatarType; NetAvatarType_t avatarType;
long avatarSize; long avatarSize;
/* /*
@@ -31,10 +31,10 @@ typedef struct AvatarHeader {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AvatarHeader_t; } AvatarHeader_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AvatarHeader; extern asn_TYPE_descriptor_t asn_DEF_AvatarHeader;
#ifdef __cplusplus #ifdef __cplusplus
} }
+9 -9
View File
@@ -46,10 +46,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 158 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 160 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 159 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 161 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 160 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 162 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 162 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 164 */
}; };
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),
@@ -109,11 +109,11 @@ static ber_tlv_tag_t asn_DEF_AvatarReplyMessage_tags_1[] = {
(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 156 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 158 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 158 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 160 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 159 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 161 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 160 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 162 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 162 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 164 */
}; };
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),
+9 -8
View File
@@ -24,8 +24,8 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum avatarResult_PR { typedef enum avatarResult_PR {
avatarResult_PR_NOTHING, /* No components present */ avatarResult_PR_NOTHING, /* No components present */
avatarResult_PR_avatarHeader, avatarResult_PR_avatarHeader,
avatarResult_PR_avatarData, avatarResult_PR_avatarData,
@@ -33,10 +33,11 @@ typedef enum avatarResult_PR {
avatarResult_PR_unknownAvatar, avatarResult_PR_unknownAvatar,
/* Extensions may appear below */ /* Extensions may appear below */
} avatarResult_PR; }
avatarResult_PR;
/* AvatarReplyMessage */ /* AvatarReplyMessage */
typedef struct AvatarReplyMessage { typedef struct AvatarReplyMessage {
NonZeroId_t requestId; NonZeroId_t requestId;
struct avatarResult { struct avatarResult {
avatarResult_PR present; avatarResult_PR present;
@@ -61,10 +62,10 @@ typedef struct AvatarReplyMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AvatarReplyMessage_t; } AvatarReplyMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AvatarReplyMessage; extern asn_TYPE_descriptor_t asn_DEF_AvatarReplyMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_AvatarRequestMessage_tags_1[] = {
(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 151 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 153 */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 153 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 155 */
}; };
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),
+5 -5
View File
@@ -20,8 +20,8 @@
extern "C" { extern "C" {
#endif #endif
/* AvatarRequestMessage */ /* AvatarRequestMessage */
typedef struct AvatarRequestMessage { typedef struct AvatarRequestMessage {
NonZeroId_t requestId; NonZeroId_t requestId;
AvatarHash_t avatar; AvatarHash_t avatar;
/* /*
@@ -31,10 +31,10 @@ typedef struct AvatarRequestMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} AvatarRequestMessage_t; } AvatarRequestMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AvatarRequestMessage; extern asn_TYPE_descriptor_t asn_DEF_AvatarRequestMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+6 -6
View File
@@ -11,20 +11,20 @@
extern "C" { extern "C" {
#endif #endif
typedef struct BIT_STRING_s { typedef struct BIT_STRING_s {
uint8_t *buf; /* BIT STRING body */ uint8_t *buf; /* BIT STRING body */
int size; /* Size of the above buffer */ int size; /* Size of the above buffer */
int bits_unused;/* Unused trailing bits in the last octet (0..7) */ int bits_unused;/* Unused trailing bits in the last octet (0..7) */
asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */
} BIT_STRING_t; } BIT_STRING_t;
extern asn_TYPE_descriptor_t asn_DEF_BIT_STRING; extern asn_TYPE_descriptor_t asn_DEF_BIT_STRING;
asn_struct_print_f BIT_STRING_print; /* Human-readable output */ asn_struct_print_f BIT_STRING_print; /* Human-readable output */
asn_constr_check_f BIT_STRING_constraint; asn_constr_check_f BIT_STRING_constraint;
xer_type_encoder_f BIT_STRING_encode_xer; xer_type_encoder_f BIT_STRING_encode_xer;
#ifdef __cplusplus #ifdef __cplusplus
} }
+9 -3
View File
@@ -255,9 +255,15 @@ BOOLEAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
* Extract a single bit * Extract a single bit
*/ */
switch(per_get_few_bits(pd, 1)) { switch(per_get_few_bits(pd, 1)) {
case 1: *st = 1; break; case 1:
case 0: *st = 0; break; *st = 1;
case -1: default: _ASN_DECODE_STARVED; break;
case 0:
*st = 0;
break;
case -1:
default:
_ASN_DECODE_STARVED;
} }
ASN_DEBUG("%s decoded as %s", td->name, *st ? "TRUE" : "FALSE"); ASN_DEBUG("%s decoded as %s", td->name, *st ? "TRUE" : "FALSE");
+11 -11
View File
@@ -11,23 +11,23 @@
extern "C" { extern "C" {
#endif #endif
/* /*
* The underlying integer may contain various values, but everything * The underlying integer may contain various values, but everything
* non-zero is capped to 0xff by the DER encoder. The BER decoder may * non-zero is capped to 0xff by the DER encoder. The BER decoder may
* yield non-zero values different from 1, beware. * yield non-zero values different from 1, beware.
*/ */
typedef int BOOLEAN_t; typedef int BOOLEAN_t;
extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN; extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN;
asn_struct_free_f BOOLEAN_free; asn_struct_free_f BOOLEAN_free;
asn_struct_print_f BOOLEAN_print; asn_struct_print_f BOOLEAN_print;
ber_type_decoder_f BOOLEAN_decode_ber; ber_type_decoder_f BOOLEAN_decode_ber;
der_type_encoder_f BOOLEAN_encode_der; der_type_encoder_f BOOLEAN_encode_der;
xer_type_decoder_f BOOLEAN_decode_xer; xer_type_decoder_f BOOLEAN_decode_xer;
xer_type_encoder_f BOOLEAN_encode_xer; xer_type_encoder_f BOOLEAN_encode_xer;
per_type_decoder_f BOOLEAN_decode_uper; per_type_decoder_f BOOLEAN_decode_uper;
per_type_encoder_f BOOLEAN_encode_uper; per_type_encoder_f BOOLEAN_encode_uper;
#ifdef __cplusplus #ifdef __cplusplus
} }
+11 -11
View File
@@ -18,18 +18,18 @@
extern "C" { extern "C" {
#endif #endif
/* Card */ /* Card */
typedef long Card_t; typedef long Card_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Card; extern asn_TYPE_descriptor_t asn_DEF_Card;
asn_struct_free_f Card_free; asn_struct_free_f Card_free;
asn_struct_print_f Card_print; asn_struct_print_f Card_print;
asn_constr_check_f Card_constraint; asn_constr_check_f Card_constraint;
ber_type_decoder_f Card_decode_ber; ber_type_decoder_f Card_decode_ber;
der_type_encoder_f Card_encode_der; der_type_encoder_f Card_encode_der;
xer_type_decoder_f Card_decode_xer; xer_type_decoder_f Card_decode_xer;
xer_type_encoder_f Card_encode_xer; xer_type_encoder_f Card_encode_xer;
#ifdef __cplusplus #ifdef __cplusplus
} }
+9 -8
View File
@@ -22,8 +22,8 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum ChatCleanerMessage_PR { typedef enum ChatCleanerMessage_PR {
ChatCleanerMessage_PR_NOTHING, /* No components present */ ChatCleanerMessage_PR_NOTHING, /* No components present */
ChatCleanerMessage_PR_cleanerInitMessage, ChatCleanerMessage_PR_cleanerInitMessage,
ChatCleanerMessage_PR_cleanerInitAckMessage, ChatCleanerMessage_PR_cleanerInitAckMessage,
@@ -31,10 +31,11 @@ typedef enum ChatCleanerMessage_PR {
ChatCleanerMessage_PR_cleanerChatReplyMessage, ChatCleanerMessage_PR_cleanerChatReplyMessage,
/* Extensions may appear below */ /* Extensions may appear below */
} ChatCleanerMessage_PR; }
ChatCleanerMessage_PR;
/* ChatCleanerMessage */ /* ChatCleanerMessage */
typedef struct ChatCleanerMessage { typedef struct ChatCleanerMessage {
ChatCleanerMessage_PR present; ChatCleanerMessage_PR present;
union ChatCleanerMessage_u { union ChatCleanerMessage_u {
CleanerInitMessage_t cleanerInitMessage; CleanerInitMessage_t cleanerInitMessage;
@@ -49,10 +50,10 @@ typedef struct ChatCleanerMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatCleanerMessage_t; } ChatCleanerMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatCleanerMessage; extern asn_TYPE_descriptor_t asn_DEF_ChatCleanerMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+11 -11
View File
@@ -87,11 +87,11 @@ 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 670 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 693 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 671 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 694 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 672 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 695 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* chatTypeBroadcast at 673 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* chatTypeBroadcast at 696 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* chatTypePrivate at 675 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* chatTypePrivate at 698 */
}; };
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),
@@ -151,12 +151,12 @@ 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 676 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 699 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 670 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 693 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 671 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 694 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 672 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 695 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 }, /* chatTypeBroadcast at 673 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 }, /* chatTypeBroadcast at 696 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 0, 0, 0 } /* chatTypePrivate at 675 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 0, 0, 0 } /* chatTypePrivate at 698 */
}; };
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),
+9 -8
View File
@@ -25,8 +25,8 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum chatType_PR { typedef enum chatType_PR {
chatType_PR_NOTHING, /* No components present */ chatType_PR_NOTHING, /* No components present */
chatType_PR_chatTypeLobby, chatType_PR_chatTypeLobby,
chatType_PR_chatTypeGame, chatType_PR_chatTypeGame,
@@ -35,10 +35,11 @@ typedef enum chatType_PR {
chatType_PR_chatTypePrivate, chatType_PR_chatTypePrivate,
/* Extensions may appear below */ /* Extensions may appear below */
} chatType_PR; }
chatType_PR;
/* ChatMessage */ /* ChatMessage */
typedef struct ChatMessage { typedef struct ChatMessage {
struct chatType { struct chatType {
chatType_PR present; chatType_PR present;
union ChatMessage__chatType_u { union ChatMessage__chatType_u {
@@ -64,10 +65,10 @@ typedef struct ChatMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatMessage_t; } ChatMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatMessage; extern asn_TYPE_descriptor_t asn_DEF_ChatMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -55,7 +55,7 @@ static ber_tlv_tag_t asn_DEF_ChatRejectMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRejectMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRejectMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* chatText at 699 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* chatText at 722 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRejectMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRejectMessage_specs_1 = {
sizeof(struct ChatRejectMessage), sizeof(struct ChatRejectMessage),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* ChatRejectMessage */ /* ChatRejectMessage */
typedef struct ChatRejectMessage { typedef struct ChatRejectMessage {
UTF8String_t chatText; UTF8String_t chatText;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct ChatRejectMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatRejectMessage_t; } ChatRejectMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatRejectMessage; extern asn_TYPE_descriptor_t asn_DEF_ChatRejectMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+7 -7
View File
@@ -69,9 +69,9 @@ 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 650 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 673 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatRequestTypeGame at 651 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatRequestTypeGame at 674 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* chatRequestTypePrivate at 653 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* chatRequestTypePrivate at 676 */
}; };
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),
@@ -131,10 +131,10 @@ 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 654 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 677 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 650 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 673 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatRequestTypeGame at 651 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatRequestTypeGame at 674 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 } /* chatRequestTypePrivate at 653 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 } /* chatRequestTypePrivate at 676 */
}; };
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),
+9 -8
View File
@@ -23,18 +23,19 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum chatRequestType_PR { typedef enum chatRequestType_PR {
chatRequestType_PR_NOTHING, /* No components present */ chatRequestType_PR_NOTHING, /* No components present */
chatRequestType_PR_chatRequestTypeLobby, chatRequestType_PR_chatRequestTypeLobby,
chatRequestType_PR_chatRequestTypeGame, chatRequestType_PR_chatRequestTypeGame,
chatRequestType_PR_chatRequestTypePrivate, chatRequestType_PR_chatRequestTypePrivate,
/* Extensions may appear below */ /* Extensions may appear below */
} chatRequestType_PR; }
chatRequestType_PR;
/* ChatRequestMessage */ /* ChatRequestMessage */
typedef struct ChatRequestMessage { typedef struct ChatRequestMessage {
struct chatRequestType { struct chatRequestType {
chatRequestType_PR present; chatRequestType_PR present;
union ChatRequestMessage__chatRequestType_u { union ChatRequestMessage__chatRequestType_u {
@@ -58,10 +59,10 @@ typedef struct ChatRequestMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatRequestMessage_t; } ChatRequestMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatRequestMessage; extern asn_TYPE_descriptor_t asn_DEF_ChatRequestMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -22,7 +22,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 662 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 685 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* ChatRequestTypeGame */ /* ChatRequestTypeGame */
typedef struct ChatRequestTypeGame { typedef struct ChatRequestTypeGame {
NonZeroId_t gameId; NonZeroId_t gameId;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct ChatRequestTypeGame {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatRequestTypeGame_t; } ChatRequestTypeGame_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypeGame; extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypeGame;
#ifdef __cplusplus #ifdef __cplusplus
} }
+5 -5
View File
@@ -18,8 +18,8 @@
extern "C" { extern "C" {
#endif #endif
/* ChatRequestTypeLobby */ /* ChatRequestTypeLobby */
typedef struct ChatRequestTypeLobby { typedef struct ChatRequestTypeLobby {
/* /*
* This type is extensible, * This type is extensible,
* possible extensions are below. * possible extensions are below.
@@ -27,10 +27,10 @@ typedef struct ChatRequestTypeLobby {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatRequestTypeLobby_t; } ChatRequestTypeLobby_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypeLobby; extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypeLobby;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -22,7 +22,7 @@ static ber_tlv_tag_t asn_DEF_ChatRequestTypePrivate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypePrivate_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypePrivate_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* targetPlayerId at 666 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* targetPlayerId at 689 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypePrivate_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypePrivate_specs_1 = {
sizeof(struct ChatRequestTypePrivate), sizeof(struct ChatRequestTypePrivate),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* ChatRequestTypePrivate */ /* ChatRequestTypePrivate */
typedef struct ChatRequestTypePrivate { typedef struct ChatRequestTypePrivate {
NonZeroId_t targetPlayerId; NonZeroId_t targetPlayerId;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct ChatRequestTypePrivate {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatRequestTypePrivate_t; } ChatRequestTypePrivate_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypePrivate; extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypePrivate;
#ifdef __cplusplus #ifdef __cplusplus
} }
+5 -5
View File
@@ -18,8 +18,8 @@
extern "C" { extern "C" {
#endif #endif
/* ChatTypeBot */ /* ChatTypeBot */
typedef struct ChatTypeBot { typedef struct ChatTypeBot {
/* /*
* This type is extensible, * This type is extensible,
* possible extensions are below. * possible extensions are below.
@@ -27,10 +27,10 @@ typedef struct ChatTypeBot {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatTypeBot_t; } ChatTypeBot_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatTypeBot; extern asn_TYPE_descriptor_t asn_DEF_ChatTypeBot;
#ifdef __cplusplus #ifdef __cplusplus
} }
+5 -5
View File
@@ -18,8 +18,8 @@
extern "C" { extern "C" {
#endif #endif
/* ChatTypeBroadcast */ /* ChatTypeBroadcast */
typedef struct ChatTypeBroadcast { typedef struct ChatTypeBroadcast {
/* /*
* This type is extensible, * This type is extensible,
* possible extensions are below. * possible extensions are below.
@@ -27,10 +27,10 @@ typedef struct ChatTypeBroadcast {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatTypeBroadcast_t; } ChatTypeBroadcast_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatTypeBroadcast; extern asn_TYPE_descriptor_t asn_DEF_ChatTypeBroadcast;
#ifdef __cplusplus #ifdef __cplusplus
} }
+2 -2
View File
@@ -31,8 +31,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 684 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 707 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 686 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 709 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* ChatTypeGame */ /* ChatTypeGame */
typedef struct ChatTypeGame { typedef struct ChatTypeGame {
NonZeroId_t gameId; NonZeroId_t gameId;
NonZeroId_t playerId; NonZeroId_t playerId;
/* /*
@@ -30,10 +30,10 @@ typedef struct ChatTypeGame {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatTypeGame_t; } ChatTypeGame_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatTypeGame; extern asn_TYPE_descriptor_t asn_DEF_ChatTypeGame;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -22,7 +22,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 681 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 704 */
}; };
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
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* ChatTypeLobby */ /* ChatTypeLobby */
typedef struct ChatTypeLobby { typedef struct ChatTypeLobby {
NonZeroId_t playerId; NonZeroId_t playerId;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct ChatTypeLobby {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatTypeLobby_t; } ChatTypeLobby_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatTypeLobby; extern asn_TYPE_descriptor_t asn_DEF_ChatTypeLobby;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -22,7 +22,7 @@ static ber_tlv_tag_t asn_DEF_ChatTypePrivate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypePrivate_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatTypePrivate_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 696 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 719 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatTypePrivate_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypePrivate_specs_1 = {
sizeof(struct ChatTypePrivate), sizeof(struct ChatTypePrivate),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* ChatTypePrivate */ /* ChatTypePrivate */
typedef struct ChatTypePrivate { typedef struct ChatTypePrivate {
NonZeroId_t playerId; NonZeroId_t playerId;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct ChatTypePrivate {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ChatTypePrivate_t; } ChatTypePrivate_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatTypePrivate; extern asn_TYPE_descriptor_t asn_DEF_ChatTypePrivate;
#ifdef __cplusplus #ifdef __cplusplus
} }
+12 -11
View File
@@ -22,16 +22,17 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum cleanerActionType { typedef enum cleanerActionType {
cleanerActionType_cleanerActionNone = 0, cleanerActionType_cleanerActionNone = 0,
cleanerActionType_cleanerActionWarning = 1, cleanerActionType_cleanerActionWarning = 1,
cleanerActionType_cleanerActionKick = 2, cleanerActionType_cleanerActionKick = 2,
cleanerActionType_cleanerActionBan = 3 cleanerActionType_cleanerActionBan = 3
} e_cleanerActionType; }
e_cleanerActionType;
/* CleanerChatReplyMessage */ /* CleanerChatReplyMessage */
typedef struct CleanerChatReplyMessage { typedef struct CleanerChatReplyMessage {
unsigned long requestId; unsigned long requestId;
CleanerChatType_t cleanerChatType; CleanerChatType_t cleanerChatType;
unsigned long playerId; unsigned long playerId;
@@ -44,13 +45,13 @@ typedef struct CleanerChatReplyMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} CleanerChatReplyMessage_t; } CleanerChatReplyMessage_t;
/* Implementation */ /* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_requestId_2; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_requestId_2; // (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_playerId_4; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_playerId_4; // (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_cleanerActionType_5; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_cleanerActionType_5; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_CleanerChatReplyMessage; extern asn_TYPE_descriptor_t asn_DEF_CleanerChatReplyMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+7 -7
View File
@@ -21,8 +21,8 @@
extern "C" { extern "C" {
#endif #endif
/* CleanerChatRequestMessage */ /* CleanerChatRequestMessage */
typedef struct CleanerChatRequestMessage { typedef struct CleanerChatRequestMessage {
unsigned long requestId; unsigned long requestId;
CleanerChatType_t cleanerChatType; CleanerChatType_t cleanerChatType;
unsigned long playerId; unsigned long playerId;
@@ -35,12 +35,12 @@ typedef struct CleanerChatRequestMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} CleanerChatRequestMessage_t; } CleanerChatRequestMessage_t;
/* Implementation */ /* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_requestId_2; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_requestId_2; // (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_playerId_4; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_playerId_4; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_CleanerChatRequestMessage; extern asn_TYPE_descriptor_t asn_DEF_CleanerChatRequestMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+9 -8
View File
@@ -20,17 +20,18 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum CleanerChatType_PR { typedef enum CleanerChatType_PR {
CleanerChatType_PR_NOTHING, /* No components present */ CleanerChatType_PR_NOTHING, /* No components present */
CleanerChatType_PR_cleanerChatTypeLobby, CleanerChatType_PR_cleanerChatTypeLobby,
CleanerChatType_PR_cleanerChatTypeGame, CleanerChatType_PR_cleanerChatTypeGame,
/* Extensions may appear below */ /* Extensions may appear below */
} CleanerChatType_PR; }
CleanerChatType_PR;
/* CleanerChatType */ /* CleanerChatType */
typedef struct CleanerChatType { typedef struct CleanerChatType {
CleanerChatType_PR present; CleanerChatType_PR present;
union CleanerChatType_u { union CleanerChatType_u {
CleanerChatTypeLobby_t cleanerChatTypeLobby; CleanerChatTypeLobby_t cleanerChatTypeLobby;
@@ -43,10 +44,10 @@ typedef struct CleanerChatType {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} CleanerChatType_t; } CleanerChatType_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_CleanerChatType; extern asn_TYPE_descriptor_t asn_DEF_CleanerChatType;
#ifdef __cplusplus #ifdef __cplusplus
} }
+6 -6
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* CleanerChatTypeGame */ /* CleanerChatTypeGame */
typedef struct CleanerChatTypeGame { typedef struct CleanerChatTypeGame {
unsigned long gameId; unsigned long gameId;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,11 +29,11 @@ typedef struct CleanerChatTypeGame {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} CleanerChatTypeGame_t; } CleanerChatTypeGame_t;
/* Implementation */ /* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_gameId_2; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_gameId_2; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_CleanerChatTypeGame; extern asn_TYPE_descriptor_t asn_DEF_CleanerChatTypeGame;
#ifdef __cplusplus #ifdef __cplusplus
} }
+5 -5
View File
@@ -18,8 +18,8 @@
extern "C" { extern "C" {
#endif #endif
/* CleanerChatTypeLobby */ /* CleanerChatTypeLobby */
typedef struct CleanerChatTypeLobby { typedef struct CleanerChatTypeLobby {
/* /*
* This type is extensible, * This type is extensible,
* possible extensions are below. * possible extensions are below.
@@ -27,10 +27,10 @@ typedef struct CleanerChatTypeLobby {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} CleanerChatTypeLobby_t; } CleanerChatTypeLobby_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_CleanerChatTypeLobby; extern asn_TYPE_descriptor_t asn_DEF_CleanerChatTypeLobby;
#ifdef __cplusplus #ifdef __cplusplus
} }
+5 -5
View File
@@ -20,8 +20,8 @@
extern "C" { extern "C" {
#endif #endif
/* CleanerInitAckMessage */ /* CleanerInitAckMessage */
typedef struct CleanerInitAckMessage { typedef struct CleanerInitAckMessage {
long serverVersion; long serverVersion;
UTF8String_t serverSecret; UTF8String_t serverSecret;
/* /*
@@ -31,10 +31,10 @@ typedef struct CleanerInitAckMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} CleanerInitAckMessage_t; } CleanerInitAckMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_CleanerInitAckMessage; extern asn_TYPE_descriptor_t asn_DEF_CleanerInitAckMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+5 -5
View File
@@ -20,8 +20,8 @@
extern "C" { extern "C" {
#endif #endif
/* CleanerInitMessage */ /* CleanerInitMessage */
typedef struct CleanerInitMessage { typedef struct CleanerInitMessage {
long requestedVersion; long requestedVersion;
UTF8String_t clientSecret; UTF8String_t clientSecret;
/* /*
@@ -31,10 +31,10 @@ typedef struct CleanerInitMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} CleanerInitMessage_t; } CleanerInitMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_CleanerInitMessage; extern asn_TYPE_descriptor_t asn_DEF_CleanerInitMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+4 -4
View File
@@ -50,10 +50,10 @@ static ber_tlv_tag_t asn_DEF_DealFlopCardsMessage_tags_1[] = {
(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 497 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 520 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 498 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 521 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 499 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 522 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 501 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 524 */
}; };
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),
+5 -5
View File
@@ -20,8 +20,8 @@
extern "C" { extern "C" {
#endif #endif
/* DealFlopCardsMessage */ /* DealFlopCardsMessage */
typedef struct DealFlopCardsMessage { typedef struct DealFlopCardsMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
Card_t flopCard1; Card_t flopCard1;
Card_t flopCard2; Card_t flopCard2;
@@ -33,10 +33,10 @@ typedef struct DealFlopCardsMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} DealFlopCardsMessage_t; } DealFlopCardsMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_DealFlopCardsMessage; extern asn_TYPE_descriptor_t asn_DEF_DealFlopCardsMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_DealRiverCardMessage_tags_1[] = {
(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 509 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 532 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 511 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 534 */
}; };
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),
+5 -5
View File
@@ -20,8 +20,8 @@
extern "C" { extern "C" {
#endif #endif
/* DealRiverCardMessage */ /* DealRiverCardMessage */
typedef struct DealRiverCardMessage { typedef struct DealRiverCardMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
Card_t riverCard; Card_t riverCard;
/* /*
@@ -31,10 +31,10 @@ typedef struct DealRiverCardMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} DealRiverCardMessage_t; } DealRiverCardMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_DealRiverCardMessage; extern asn_TYPE_descriptor_t asn_DEF_DealRiverCardMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_DealTurnCardMessage_tags_1[] = {
(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 504 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 527 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 506 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 529 */
}; };
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),
+5 -5
View File
@@ -20,8 +20,8 @@
extern "C" { extern "C" {
#endif #endif
/* DealTurnCardMessage */ /* DealTurnCardMessage */
typedef struct DealTurnCardMessage { typedef struct DealTurnCardMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
Card_t turnCard; Card_t turnCard;
/* /*
@@ -31,10 +31,10 @@ typedef struct DealTurnCardMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} DealTurnCardMessage_t; } DealTurnCardMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_DealTurnCardMessage; extern asn_TYPE_descriptor_t asn_DEF_DealTurnCardMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -55,7 +55,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 703 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 726 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* DialogMessage */ /* DialogMessage */
typedef struct DialogMessage { typedef struct DialogMessage {
UTF8String_t notificationText; UTF8String_t notificationText;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct DialogMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} DialogMessage_t; } DialogMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_DialogMessage; extern asn_TYPE_descriptor_t asn_DEF_DialogMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -48,7 +48,7 @@ static ber_tlv_tag_t asn_DEF_EncryptedCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EncryptedCards_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EncryptedCards_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* cardData at 447 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* cardData at 470 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EncryptedCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EncryptedCards_specs_1 = {
sizeof(struct EncryptedCards), sizeof(struct EncryptedCards),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* EncryptedCards */ /* EncryptedCards */
typedef struct EncryptedCards { typedef struct EncryptedCards {
OCTET_STRING_t cardData; OCTET_STRING_t cardData;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct EncryptedCards {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} EncryptedCards_t; } EncryptedCards_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_EncryptedCards; extern asn_TYPE_descriptor_t asn_DEF_EncryptedCards;
#ifdef __cplusplus #ifdef __cplusplus
} }
+6 -6
View File
@@ -239,12 +239,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 628 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 651 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 624 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 647 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 625 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 648 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 626 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 649 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 627 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 650 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 630 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 653 */
}; };
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),
+10 -9
View File
@@ -22,16 +22,17 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum petitionEndReason { typedef enum petitionEndReason {
petitionEndReason_petitionEndEnoughVotes = 0, petitionEndReason_petitionEndEnoughVotes = 0,
petitionEndReason_petitionEndTooFewPlayers = 1, petitionEndReason_petitionEndTooFewPlayers = 1,
petitionEndReason_petitionEndPlayerLeft = 2, petitionEndReason_petitionEndPlayerLeft = 2,
petitionEndReason_petitionEndTimeout = 3 petitionEndReason_petitionEndTimeout = 3
} e_petitionEndReason; }
e_petitionEndReason;
/* EndKickPetitionMessage */ /* EndKickPetitionMessage */
typedef struct EndKickPetitionMessage { typedef struct EndKickPetitionMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
NonZeroId_t petitionId; NonZeroId_t petitionId;
long numVotesAgainstKicking; long numVotesAgainstKicking;
@@ -45,11 +46,11 @@ typedef struct EndKickPetitionMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} EndKickPetitionMessage_t; } EndKickPetitionMessage_t;
/* Implementation */ /* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_petitionEndReason_7; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_petitionEndReason_7; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_EndKickPetitionMessage; extern asn_TYPE_descriptor_t asn_DEF_EndKickPetitionMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+2 -2
View File
@@ -32,8 +32,8 @@ static ber_tlv_tag_t asn_DEF_EndOfGameMessage_tags_1[] = {
(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 560 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 583 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 562 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 585 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* EndOfGameMessage */ /* EndOfGameMessage */
typedef struct EndOfGameMessage { typedef struct EndOfGameMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
NonZeroId_t winnerPlayerId; NonZeroId_t winnerPlayerId;
/* /*
@@ -30,10 +30,10 @@ typedef struct EndOfGameMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} EndOfGameMessage_t; } EndOfGameMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_EndOfGameMessage; extern asn_TYPE_descriptor_t asn_DEF_EndOfGameMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+3 -3
View File
@@ -90,9 +90,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 547 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 570 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 548 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 571 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 549 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 572 */
}; };
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),
+5 -5
View File
@@ -20,8 +20,8 @@
extern "C" { extern "C" {
#endif #endif
/* EndOfHandHideCards */ /* EndOfHandHideCards */
typedef struct EndOfHandHideCards { typedef struct EndOfHandHideCards {
NonZeroId_t playerId; NonZeroId_t playerId;
long moneyWon; long moneyWon;
long playerMoney; long playerMoney;
@@ -32,10 +32,10 @@ typedef struct EndOfHandHideCards {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} EndOfHandHideCards_t; } EndOfHandHideCards_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_EndOfHandHideCards; extern asn_TYPE_descriptor_t asn_DEF_EndOfHandHideCards;
#ifdef __cplusplus #ifdef __cplusplus
} }
+5 -5
View File
@@ -28,8 +28,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 527 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 550 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 529 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 552 */
}; };
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),
@@ -89,9 +89,9 @@ static ber_tlv_tag_t asn_DEF_EndOfHandMessage_tags_1[] = {
(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 525 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 548 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 527 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 550 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 529 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 552 */
}; };
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),
+9 -8
View File
@@ -22,17 +22,18 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum endOfHandType_PR { typedef enum endOfHandType_PR {
endOfHandType_PR_NOTHING, /* No components present */ endOfHandType_PR_NOTHING, /* No components present */
endOfHandType_PR_endOfHandShowCards, endOfHandType_PR_endOfHandShowCards,
endOfHandType_PR_endOfHandHideCards, endOfHandType_PR_endOfHandHideCards,
/* Extensions may appear below */ /* Extensions may appear below */
} endOfHandType_PR; }
endOfHandType_PR;
/* EndOfHandMessage */ /* EndOfHandMessage */
typedef struct EndOfHandMessage { typedef struct EndOfHandMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
struct endOfHandType { struct endOfHandType {
endOfHandType_PR present; endOfHandType_PR present;
@@ -55,10 +56,10 @@ typedef struct EndOfHandMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} EndOfHandMessage_t; } EndOfHandMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_EndOfHandMessage; extern asn_TYPE_descriptor_t asn_DEF_EndOfHandMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -92,7 +92,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 534 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 557 */
}; };
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),
+7 -7
View File
@@ -20,11 +20,11 @@
extern "C" { extern "C" {
#endif #endif
/* Forward declarations */ /* Forward declarations */
struct PlayerResult; struct PlayerResult;
/* EndOfHandShowCards */ /* EndOfHandShowCards */
typedef struct EndOfHandShowCards { typedef struct EndOfHandShowCards {
struct playerResults { struct playerResults {
A_SEQUENCE_OF(struct PlayerResult) list; A_SEQUENCE_OF(struct PlayerResult) list;
@@ -38,10 +38,10 @@ typedef struct EndOfHandShowCards {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} EndOfHandShowCards_t; } EndOfHandShowCards_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_EndOfHandShowCards; extern asn_TYPE_descriptor_t asn_DEF_EndOfHandShowCards;
#ifdef __cplusplus #ifdef __cplusplus
} }
+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 737 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 760 */
}; };
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),
+10 -9
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum errorReason { typedef enum errorReason {
errorReason_errorReserved = 0, errorReason_errorReserved = 0,
errorReason_errorInitVersionNotSupported = 1, errorReason_errorInitVersionNotSupported = 1,
errorReason_errorInitServerFull = 2, errorReason_errorInitServerFull = 2,
@@ -36,10 +36,11 @@ typedef enum errorReason {
errorReason_errorBannedFromServer = 259, errorReason_errorBannedFromServer = 259,
errorReason_errorBlockedByServer = 260, errorReason_errorBlockedByServer = 260,
errorReason_errorSessionTimeout = 261 errorReason_errorSessionTimeout = 261
} e_errorReason; }
e_errorReason;
/* ErrorMessage */ /* ErrorMessage */
typedef struct ErrorMessage { typedef struct ErrorMessage {
long errorReason; long errorReason;
/* /*
* This type is extensible, * This type is extensible,
@@ -48,11 +49,11 @@ typedef struct ErrorMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} ErrorMessage_t; } ErrorMessage_t;
/* Implementation */ /* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_errorReason_2; // (Use -fall-defs-global to expose) */ /* extern asn_TYPE_descriptor_t asn_DEF_errorReason_2; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_ErrorMessage; extern asn_TYPE_descriptor_t asn_DEF_ErrorMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -22,7 +22,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 377 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 384 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* GameAdminChanged */ /* GameAdminChanged */
typedef struct GameAdminChanged { typedef struct GameAdminChanged {
NonZeroId_t newAdminPlayerId; NonZeroId_t newAdminPlayerId;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct GameAdminChanged {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} GameAdminChanged_t; } GameAdminChanged_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_GameAdminChanged; extern asn_TYPE_descriptor_t asn_DEF_GameAdminChanged;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -22,7 +22,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 229 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 231 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* GameListAdminChanged */ /* GameListAdminChanged */
typedef struct GameListAdminChanged { typedef struct GameListAdminChanged {
NonZeroId_t newAdminPlayerId; NonZeroId_t newAdminPlayerId;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct GameListAdminChanged {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} GameListAdminChanged_t; } GameListAdminChanged_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_GameListAdminChanged; extern asn_TYPE_descriptor_t asn_DEF_GameListAdminChanged;
#ifdef __cplusplus #ifdef __cplusplus
} }
+11 -11
View File
@@ -55,11 +55,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 199 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameListNew at 201 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 200 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 202 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 201 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 203 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 202 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 204 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 204 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 206 */
}; };
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),
@@ -119,12 +119,12 @@ static ber_tlv_tag_t asn_DEF_GameListMessage_tags_1[] = {
(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 197 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 199 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 199 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 201 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 200 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 202 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 201 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 203 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 202 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 204 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 204 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 206 */
}; };
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),
+9 -8
View File
@@ -25,8 +25,8 @@
extern "C" { extern "C" {
#endif #endif
/* Dependencies */ /* Dependencies */
typedef enum gameListNotification_PR { typedef enum gameListNotification_PR {
gameListNotification_PR_NOTHING, /* No components present */ gameListNotification_PR_NOTHING, /* No components present */
gameListNotification_PR_gameListNew, gameListNotification_PR_gameListNew,
gameListNotification_PR_gameListUpdate, gameListNotification_PR_gameListUpdate,
@@ -35,10 +35,11 @@ typedef enum gameListNotification_PR {
gameListNotification_PR_gameListAdminChanged, gameListNotification_PR_gameListAdminChanged,
/* Extensions may appear below */ /* Extensions may appear below */
} gameListNotification_PR; }
gameListNotification_PR;
/* GameListMessage */ /* GameListMessage */
typedef struct GameListMessage { typedef struct GameListMessage {
NonZeroId_t gameId; NonZeroId_t gameId;
struct gameListNotification { struct gameListNotification {
gameListNotification_PR present; gameListNotification_PR present;
@@ -64,10 +65,10 @@ typedef struct GameListMessage {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} GameListMessage_t; } GameListMessage_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_GameListMessage; extern asn_TYPE_descriptor_t asn_DEF_GameListMessage;
#ifdef __cplusplus #ifdef __cplusplus
} }
+5 -5
View File
@@ -128,11 +128,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 209 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isPrivate at 211 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 211 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 213 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 208 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 210 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 210 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 212 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 213 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 215 */
}; };
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),
+5 -5
View File
@@ -24,8 +24,8 @@
extern "C" { extern "C" {
#endif #endif
/* GameListNew */ /* GameListNew */
typedef struct GameListNew { typedef struct GameListNew {
NetGameMode_t gameMode; NetGameMode_t gameMode;
BOOLEAN_t isPrivate; BOOLEAN_t isPrivate;
struct playerIds { struct playerIds {
@@ -43,10 +43,10 @@ typedef struct GameListNew {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} GameListNew_t; } GameListNew_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_GameListNew; extern asn_TYPE_descriptor_t asn_DEF_GameListNew;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -22,7 +22,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 221 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 223 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* GameListPlayerJoined */ /* GameListPlayerJoined */
typedef struct GameListPlayerJoined { typedef struct GameListPlayerJoined {
NonZeroId_t playerId; NonZeroId_t playerId;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct GameListPlayerJoined {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} GameListPlayerJoined_t; } GameListPlayerJoined_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_GameListPlayerJoined; extern asn_TYPE_descriptor_t asn_DEF_GameListPlayerJoined;
#ifdef __cplusplus #ifdef __cplusplus
} }
+1 -1
View File
@@ -22,7 +22,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 225 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 227 */
}; };
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),
+5 -5
View File
@@ -19,8 +19,8 @@
extern "C" { extern "C" {
#endif #endif
/* GameListPlayerLeft */ /* GameListPlayerLeft */
typedef struct GameListPlayerLeft { typedef struct GameListPlayerLeft {
NonZeroId_t playerId; NonZeroId_t playerId;
/* /*
* This type is extensible, * This type is extensible,
@@ -29,10 +29,10 @@ typedef struct GameListPlayerLeft {
/* Context for parsing across buffer boundaries */ /* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx; asn_struct_ctx_t _asn_ctx;
} GameListPlayerLeft_t; } GameListPlayerLeft_t;
/* Implementation */ /* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_GameListPlayerLeft; extern asn_TYPE_descriptor_t asn_DEF_GameListPlayerLeft;
#ifdef __cplusplus #ifdef __cplusplus
} }

Some files were not shown because too many files have changed in this diff Show More