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