Adding new init packet type without authentication, which is no guest login.

This commit is contained in:
lotodore
2009-11-14 13:13:51 +00:00
parent 059da0232a
commit f258786b62
79 changed files with 403 additions and 235 deletions
+7 -1
View File
@@ -88,7 +88,8 @@ InitMessage ::= [APPLICATION 1] SEQUENCE {
buildId INTEGER, buildId INTEGER,
login CHOICE { login CHOICE {
guestLogin [0] GuestLogin, guestLogin [0] GuestLogin,
authenticatedLogin [1] AuthenticatedLogin authenticatedLogin [1] AuthenticatedLogin,
unauthenticatedLogin [2] UnauthenticatedLogin
} }
} }
@@ -107,6 +108,11 @@ AuthenticatedLogin ::= SEQUENCE {
avatar AvatarHash OPTIONAL avatar AvatarHash OPTIONAL
} }
UnauthenticatedLogin ::= SEQUENCE {
nickName UTF8String (SIZE(1..64)),
avatar AvatarHash OPTIONAL
}
AuthMessage ::= [APPLICATION 2] CHOICE { AuthMessage ::= [APPLICATION 2] CHOICE {
authServerChallenge [0] AuthServerChallenge, authServerChallenge [0] AuthServerChallenge,
authClientResponse [1] AuthClientResponse, authClientResponse [1] AuthClientResponse,
+4 -2
View File
@@ -152,7 +152,8 @@ HEADERS += src/third_party/asn1/AllInShowCardsMessage.h \
src/third_party/asn1/xer_encoder.h \ src/third_party/asn1/xer_encoder.h \
src/third_party/asn1/xer_support.h \ src/third_party/asn1/xer_support.h \
src/third_party/asn1/YourActionRejectedMessage.h \ src/third_party/asn1/YourActionRejectedMessage.h \
src/third_party/asn1/AnnounceMessage.h src/third_party/asn1/AnnounceMessage.h \
src/third_party/asn1/UnauthenticatedLogin.h
SOURCES += src/third_party/asn1/ChatCleanerMessage.c \ SOURCES += src/third_party/asn1/ChatCleanerMessage.c \
src/third_party/asn1/CleanerInitMessage.c \ src/third_party/asn1/CleanerInitMessage.c \
src/third_party/asn1/CleanerInitAckMessage.c \ src/third_party/asn1/CleanerInitAckMessage.c \
@@ -277,7 +278,8 @@ SOURCES += src/third_party/asn1/ChatCleanerMessage.c \
src/third_party/asn1/AskKickPlayerMessage.c \ src/third_party/asn1/AskKickPlayerMessage.c \
src/third_party/asn1/AskKickDeniedMessage.c \ src/third_party/asn1/AskKickDeniedMessage.c \
src/third_party/asn1/GuestLogin.c \ src/third_party/asn1/GuestLogin.c \
src/third_party/asn1/AnnounceMessage.c src/third_party/asn1/AnnounceMessage.c \
src/third_party/asn1/UnauthenticatedLogin.c
win32 { win32 {
DEFINES += CURL_STATICLIB DEFINES += CURL_STATICLIB
DEFINES += _WIN32_WINNT=0x0501 DEFINES += _WIN32_WINNT=0x0501
+2 -2
View File
@@ -104,8 +104,8 @@ static ber_tlv_tag_t asn_DEF_AllInShowCardsMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AllInShowCardsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AllInShowCardsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 437 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 443 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 439 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 445 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = {
sizeof(struct AllInShowCardsMessage), sizeof(struct AllInShowCardsMessage),
+3 -3
View File
@@ -166,9 +166,9 @@ static ber_tlv_tag_t asn_DEF_AskKickDeniedMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 486 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 492 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 487 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 493 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 489 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 495 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = {
sizeof(struct AskKickDeniedMessage), sizeof(struct AskKickDeniedMessage),
+2 -2
View File
@@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_AskKickPlayerMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 481 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 487 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 483 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 489 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = {
sizeof(struct AskKickPlayerMessage), sizeof(struct AskKickPlayerMessage),
+1 -1
View File
@@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AuthClientResponse_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthClientResponse_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AuthClientResponse_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* clientResponse at 121 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* clientResponse at 127 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AuthClientResponse_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AuthClientResponse_specs_1 = {
sizeof(struct AuthClientResponse), sizeof(struct AuthClientResponse),
+3 -3
View File
@@ -42,9 +42,9 @@ static ber_tlv_tag_t asn_DEF_AuthMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (2 << 2)) (ASN_TAG_CLASS_APPLICATION | (2 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AuthMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* authServerChallenge at 111 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* authServerChallenge at 117 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 112 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 118 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 114 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 120 */
}; };
static asn_CHOICE_specifics_t asn_SPC_AuthMessage_specs_1 = { static asn_CHOICE_specifics_t asn_SPC_AuthMessage_specs_1 = {
sizeof(struct AuthMessage), sizeof(struct AuthMessage),
+1 -1
View File
@@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AuthServerChallenge_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthServerChallenge_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AuthServerChallenge_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverChallenge at 117 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverChallenge at 123 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AuthServerChallenge_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AuthServerChallenge_specs_1 = {
sizeof(struct AuthServerChallenge), sizeof(struct AuthServerChallenge),
+1 -1
View File
@@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AuthServerVerification_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthServerVerification_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AuthServerVerification_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverVerification at 125 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* serverVerification at 131 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AuthServerVerification_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AuthServerVerification_specs_1 = {
sizeof(struct AuthServerVerification), sizeof(struct AuthServerVerification),
+2 -2
View File
@@ -59,8 +59,8 @@ static ber_tlv_tag_t asn_DEF_AuthenticatedLogin_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AuthenticatedLogin_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AuthenticatedLogin_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 1 }, /* clientUserData at 106 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 1 }, /* clientUserData at 107 */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 107 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, -1, 0 } /* avatar at 108 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AuthenticatedLogin_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AuthenticatedLogin_specs_1 = {
sizeof(struct AuthenticatedLogin), sizeof(struct AuthenticatedLogin),
+1 -1
View File
@@ -50,7 +50,7 @@ static ber_tlv_tag_t asn_DEF_AvatarData_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarData_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AvatarData_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* avatarBlock at 154 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* avatarBlock at 160 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarData_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarData_specs_1 = {
sizeof(struct AvatarData), sizeof(struct AvatarData),
+2 -2
View File
@@ -58,8 +58,8 @@ static ber_tlv_tag_t asn_DEF_AvatarHeader_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarHeader_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AvatarHeader_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* avatarSize at 150 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* avatarSize at 156 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 149 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 155 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarHeader_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarHeader_specs_1 = {
sizeof(struct AvatarHeader), sizeof(struct AvatarHeader),
+9 -9
View File
@@ -48,10 +48,10 @@ static asn_TYPE_member_t asn_MBR_avatarResult_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_avatarResult_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_avatarResult_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 141 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* avatarHeader at 147 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 142 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 148 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 143 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* avatarEnd at 149 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 145 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* unknownAvatar at 151 */
}; };
static asn_CHOICE_specifics_t asn_SPC_avatarResult_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_avatarResult_specs_3 = {
sizeof(struct avatarResult), sizeof(struct avatarResult),
@@ -111,11 +111,11 @@ static ber_tlv_tag_t asn_DEF_AvatarReplyMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarReplyMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AvatarReplyMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 139 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 145 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 141 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* avatarHeader at 147 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 142 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* avatarData at 148 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 143 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* avatarEnd at 149 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 145 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* unknownAvatar at 151 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarReplyMessage_specs_1 = {
sizeof(struct AvatarReplyMessage), sizeof(struct AvatarReplyMessage),
+2 -2
View File
@@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_AvatarRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_AvatarRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_AvatarRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 134 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* requestId at 140 */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 136 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 } /* avatar at 142 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_AvatarRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_AvatarRequestMessage_specs_1 = {
sizeof(struct AvatarRequestMessage), sizeof(struct AvatarRequestMessage),
+9 -9
View File
@@ -80,10 +80,10 @@ static asn_TYPE_member_t asn_MBR_chatType_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_2[] = { static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 581 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 587 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 582 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 588 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 583 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 589 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 585 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 591 */
}; };
static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = {
sizeof(struct chatType), sizeof(struct chatType),
@@ -143,11 +143,11 @@ static ber_tlv_tag_t asn_DEF_ChatMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 586 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 592 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 581 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 587 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 582 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 588 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 583 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 589 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 585 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 591 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = {
sizeof(struct ChatMessage), sizeof(struct ChatMessage),
+5 -5
View File
@@ -62,8 +62,8 @@ static asn_TYPE_member_t asn_MBR_chatRequestType_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_2[] = { static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 566 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 572 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 568 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 574 */
}; };
static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = {
sizeof(struct chatRequestType), sizeof(struct chatRequestType),
@@ -123,9 +123,9 @@ static ber_tlv_tag_t asn_DEF_ChatRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 569 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 575 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 566 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 572 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 568 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 574 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = {
sizeof(struct ChatRequestMessage), sizeof(struct ChatRequestMessage),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_ChatRequestTypeGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 577 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 583 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = {
sizeof(struct ChatRequestTypeGame), sizeof(struct ChatRequestTypeGame),
+2 -2
View File
@@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_ChatTypeGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 594 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 600 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 596 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 602 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = {
sizeof(struct ChatTypeGame), sizeof(struct ChatTypeGame),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_ChatTypeLobby_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 591 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 597 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = {
sizeof(struct ChatTypeLobby), sizeof(struct ChatTypeLobby),
+4 -4
View File
@@ -52,10 +52,10 @@ static ber_tlv_tag_t asn_DEF_DealFlopCardsMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealFlopCardsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DealFlopCardsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 420 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 426 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 421 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 427 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 422 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 428 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 424 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 430 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = {
sizeof(struct DealFlopCardsMessage), sizeof(struct DealFlopCardsMessage),
+2 -2
View File
@@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_DealRiverCardMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealRiverCardMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DealRiverCardMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 432 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 438 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 434 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 440 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = {
sizeof(struct DealRiverCardMessage), sizeof(struct DealRiverCardMessage),
+2 -2
View File
@@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_DealTurnCardMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DealTurnCardMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DealTurnCardMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 427 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 433 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 429 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 435 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = {
sizeof(struct DealTurnCardMessage), sizeof(struct DealTurnCardMessage),
+1 -1
View File
@@ -57,7 +57,7 @@ static ber_tlv_tag_t asn_DEF_DialogMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 605 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 611 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = {
sizeof(struct DialogMessage), sizeof(struct DialogMessage),
+6 -6
View File
@@ -241,12 +241,12 @@ static ber_tlv_tag_t asn_DEF_EndKickPetitionMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 544 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 550 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 540 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 546 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 541 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 547 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 542 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 548 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 543 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 549 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 546 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 552 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = {
sizeof(struct EndKickPetitionMessage), sizeof(struct EndKickPetitionMessage),
+2 -2
View File
@@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_EndOfGameMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfGameMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfGameMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 476 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 482 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 478 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 484 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = {
sizeof(struct EndOfGameMessage), sizeof(struct EndOfGameMessage),
+3 -3
View File
@@ -92,9 +92,9 @@ static ber_tlv_tag_t asn_DEF_EndOfHandHideCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 470 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 476 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 471 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 477 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 472 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 478 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = {
sizeof(struct EndOfHandHideCards), sizeof(struct EndOfHandHideCards),
+5 -5
View File
@@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_endOfHandType_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 450 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 456 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 452 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 458 */
}; };
static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = {
sizeof(struct endOfHandType), sizeof(struct endOfHandType),
@@ -91,9 +91,9 @@ static ber_tlv_tag_t asn_DEF_EndOfHandMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfHandMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 448 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 454 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 450 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 456 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 452 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 458 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = {
sizeof(struct EndOfHandMessage), sizeof(struct EndOfHandMessage),
+1 -1
View File
@@ -94,7 +94,7 @@ static ber_tlv_tag_t asn_DEF_EndOfHandShowCards_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 457 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 463 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = {
sizeof(struct EndOfHandShowCards), sizeof(struct EndOfHandShowCards),
+1 -1
View File
@@ -166,7 +166,7 @@ static ber_tlv_tag_t asn_DEF_ErrorMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 621 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 627 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = {
sizeof(struct ErrorMessage), sizeof(struct ErrorMessage),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameAdminChanged_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameAdminChanged_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameAdminChanged_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 339 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 345 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameAdminChanged_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameAdminChanged_specs_1 = {
sizeof(struct GameAdminChanged), sizeof(struct GameAdminChanged),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListAdminChanged_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListAdminChanged_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListAdminChanged_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 212 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 218 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListAdminChanged_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListAdminChanged_specs_1 = {
sizeof(struct GameListAdminChanged), sizeof(struct GameListAdminChanged),
+11 -11
View File
@@ -57,11 +57,11 @@ static asn_TYPE_member_t asn_MBR_gameListNotification_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_gameListNotification_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_gameListNotification_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameListNew at 182 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gameListNew at 188 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 183 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 189 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 184 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameListPlayerJoined at 190 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 185 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* gameListPlayerLeft at 191 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 187 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* gameListAdminChanged at 193 */
}; };
static asn_CHOICE_specifics_t asn_SPC_gameListNotification_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_gameListNotification_specs_3 = {
sizeof(struct gameListNotification), sizeof(struct gameListNotification),
@@ -121,12 +121,12 @@ static ber_tlv_tag_t asn_DEF_GameListMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 180 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 186 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 182 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gameListNew at 188 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 183 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gameListUpdate at 189 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 184 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameListPlayerJoined at 190 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 185 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 }, /* gameListPlayerLeft at 191 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 187 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 } /* gameListAdminChanged at 193 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListMessage_specs_1 = {
sizeof(struct GameListMessage), sizeof(struct GameListMessage),
+5 -5
View File
@@ -130,11 +130,11 @@ static ber_tlv_tag_t asn_DEF_GameListNew_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListNew_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListNew_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isPrivate at 192 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isPrivate at 198 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 194 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* adminPlayerId at 200 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 191 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* gameMode at 197 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 193 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 1 }, /* playerIds at 199 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 196 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 } /* gameInfo at 202 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListNew_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListNew_specs_1 = {
sizeof(struct GameListNew), sizeof(struct GameListNew),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListPlayerJoined_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListPlayerJoined_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListPlayerJoined_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 204 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 210 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerJoined_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerJoined_specs_1 = {
sizeof(struct GameListPlayerJoined), sizeof(struct GameListPlayerJoined),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListPlayerLeft_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListPlayerLeft_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListPlayerLeft_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 208 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 214 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerLeft_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListPlayerLeft_specs_1 = {
sizeof(struct GameListPlayerLeft), sizeof(struct GameListPlayerLeft),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameListUpdate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameListUpdate_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameListUpdate_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* gameMode at 200 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* gameMode at 206 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameListUpdate_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameListUpdate_specs_1 = {
sizeof(struct GameListUpdate), sizeof(struct GameListUpdate),
+2 -2
View File
@@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_GamePlayerJoined_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GamePlayerJoined_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GamePlayerJoined_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isAdmin at 325 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isAdmin at 331 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 324 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 330 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = {
sizeof(struct GamePlayerJoined), sizeof(struct GamePlayerJoined),
+2 -2
View File
@@ -152,8 +152,8 @@ static ber_tlv_tag_t asn_DEF_GamePlayerLeft_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GamePlayerLeft_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GamePlayerLeft_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 329 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 335 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 331 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 337 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerLeft_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerLeft_specs_1 = {
sizeof(struct GamePlayerLeft), sizeof(struct GamePlayerLeft),
+9 -9
View File
@@ -48,10 +48,10 @@ static asn_TYPE_member_t asn_MBR_gamePlayerNotification_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_gamePlayerNotification_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_gamePlayerNotification_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 316 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 322 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 317 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 323 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 318 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 324 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 320 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 326 */
}; };
static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = {
sizeof(struct gamePlayerNotification), sizeof(struct gamePlayerNotification),
@@ -111,11 +111,11 @@ static ber_tlv_tag_t asn_DEF_GamePlayerMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GamePlayerMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GamePlayerMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 314 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 320 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 316 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 322 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 317 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 323 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 318 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 324 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 320 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 326 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerMessage_specs_1 = {
sizeof(struct GamePlayerMessage), sizeof(struct GamePlayerMessage),
+3 -3
View File
@@ -113,9 +113,9 @@ static ber_tlv_tag_t asn_DEF_GameStartMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 371 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 377 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 372 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 378 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 374 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 380 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = {
sizeof(struct GameStartMessage), sizeof(struct GameStartMessage),
+1 -1
View File
@@ -56,7 +56,7 @@ static ber_tlv_tag_t asn_DEF_GuestLogin_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_GuestLogin_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_GuestLogin_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* nickName at 101 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* nickName at 102 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_GuestLogin_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_GuestLogin_specs_1 = {
sizeof(struct GuestLogin), sizeof(struct GuestLogin),
+4 -4
View File
@@ -77,10 +77,10 @@ static ber_tlv_tag_t asn_DEF_HandStartMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 377 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 383 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 378 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 384 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 379 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 385 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 380 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 386 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = {
sizeof(struct HandStartMessage), sizeof(struct HandStartMessage),
+2 -2
View File
@@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_InitAckMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_InitAckMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_InitAckMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* yourSessionId at 129 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* yourSessionId at 135 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* yourPlayerId at 131 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* yourPlayerId at 137 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_InitAckMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_InitAckMessage_specs_1 = {
sizeof(struct InitAckMessage), sizeof(struct InitAckMessage),
+17 -6
View File
@@ -28,10 +28,20 @@ static asn_TYPE_member_t asn_MBR_login_4[] = {
0, 0,
"authenticatedLogin" "authenticatedLogin"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct login, choice.unauthenticatedLogin),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_UnauthenticatedLogin,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"unauthenticatedLogin"
},
}; };
static asn_TYPE_tag2member_t asn_MAP_login_tag2el_4[] = { static asn_TYPE_tag2member_t asn_MAP_login_tag2el_4[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* guestLogin at 90 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* guestLogin at 90 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* authenticatedLogin at 92 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authenticatedLogin at 91 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unauthenticatedLogin at 93 */
}; };
static asn_CHOICE_specifics_t asn_SPC_login_specs_4 = { static asn_CHOICE_specifics_t asn_SPC_login_specs_4 = {
sizeof(struct login), sizeof(struct login),
@@ -39,9 +49,9 @@ static asn_CHOICE_specifics_t asn_SPC_login_specs_4 = {
offsetof(struct login, present), offsetof(struct login, present),
sizeof(((struct login *)0)->present), sizeof(((struct login *)0)->present),
asn_MAP_login_tag2el_4, asn_MAP_login_tag2el_4,
2, /* Count of tags in the map */ 3, /* Count of tags in the map */
0, 0,
2 /* Extensions start */ 3 /* Extensions start */
}; };
static /* Use -fall-defs-global to expose */ static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_login_4 = { asn_TYPE_descriptor_t asn_DEF_login_4 = {
@@ -62,7 +72,7 @@ asn_TYPE_descriptor_t asn_DEF_login_4 = {
0, /* No tags (count) */ 0, /* No tags (count) */
0, /* No PER visible constraints */ 0, /* No PER visible constraints */
asn_MBR_login_4, asn_MBR_login_4,
2, /* Elements count */ 3, /* Elements count */
&asn_SPC_login_specs_4 /* Additional specs */ &asn_SPC_login_specs_4 /* Additional specs */
}; };
@@ -103,13 +113,14 @@ static asn_TYPE_tag2member_t asn_MAP_InitMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* buildId at 88 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* buildId at 88 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* requestedVersion at 87 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* requestedVersion at 87 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* guestLogin at 90 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* guestLogin at 90 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* authenticatedLogin at 92 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* authenticatedLogin at 91 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unauthenticatedLogin at 93 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_InitMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_InitMessage_specs_1 = {
sizeof(struct InitMessage), sizeof(struct InitMessage),
offsetof(struct InitMessage, _asn_ctx), offsetof(struct InitMessage, _asn_ctx),
asn_MAP_InitMessage_tag2el_1, asn_MAP_InitMessage_tag2el_1,
4, /* Count of tags in the map */ 5, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */ 0, 0, 0, /* Optional elements (not needed) */
2, /* Start extensions */ 2, /* Start extensions */
4 /* Stop extensions */ 4 /* Stop extensions */
+3
View File
@@ -16,6 +16,7 @@
#include <NativeInteger.h> #include <NativeInteger.h>
#include "GuestLogin.h" #include "GuestLogin.h"
#include "AuthenticatedLogin.h" #include "AuthenticatedLogin.h"
#include "UnauthenticatedLogin.h"
#include <constr_CHOICE.h> #include <constr_CHOICE.h>
#include <constr_SEQUENCE.h> #include <constr_SEQUENCE.h>
@@ -28,6 +29,7 @@ typedef enum login_PR {
login_PR_NOTHING, /* No components present */ login_PR_NOTHING, /* No components present */
login_PR_guestLogin, login_PR_guestLogin,
login_PR_authenticatedLogin, login_PR_authenticatedLogin,
login_PR_unauthenticatedLogin,
/* Extensions may appear below */ /* Extensions may appear below */
} login_PR; } login_PR;
@@ -41,6 +43,7 @@ typedef struct InitMessage {
union InitMessage__login_u { union InitMessage__login_u {
GuestLogin_t guestLogin; GuestLogin_t guestLogin;
AuthenticatedLogin_t authenticatedLogin; AuthenticatedLogin_t authenticatedLogin;
UnauthenticatedLogin_t unauthenticatedLogin;
/* /*
* This type is extensible, * This type is extensible,
* possible extensions are below. * possible extensions are below.
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_JoinExistingGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinExistingGame_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_JoinExistingGame_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 264 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 270 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_JoinExistingGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinExistingGame_specs_1 = {
sizeof(struct JoinExistingGame), sizeof(struct JoinExistingGame),
+2 -2
View File
@@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_JoinGameAck_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinGameAck_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_JoinGameAck_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* areYouAdmin at 279 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* areYouAdmin at 285 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 281 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 287 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_JoinGameAck_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinGameAck_specs_1 = {
sizeof(struct JoinGameAck), sizeof(struct JoinGameAck),
+1 -1
View File
@@ -145,7 +145,7 @@ static ber_tlv_tag_t asn_DEF_JoinGameFailed_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinGameFailed_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_JoinGameFailed_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* joinGameFailureReason at 285 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* joinGameFailureReason at 291 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_JoinGameFailed_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinGameFailed_specs_1 = {
sizeof(struct JoinGameFailed), sizeof(struct JoinGameFailed),
+5 -5
View File
@@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_joinGameResult_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_joinGameResult_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_joinGameResult_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinGameAck at 273 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinGameAck at 279 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 275 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 281 */
}; };
static asn_CHOICE_specifics_t asn_SPC_joinGameResult_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_joinGameResult_specs_3 = {
sizeof(struct joinGameResult), sizeof(struct joinGameResult),
@@ -91,9 +91,9 @@ static ber_tlv_tag_t asn_DEF_JoinGameReplyMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinGameReplyMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_JoinGameReplyMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 271 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 277 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 273 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 279 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 275 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 281 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_JoinGameReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinGameReplyMessage_specs_1 = {
sizeof(struct JoinGameReplyMessage), sizeof(struct JoinGameReplyMessage),
+5 -5
View File
@@ -62,8 +62,8 @@ static asn_TYPE_member_t asn_MBR_joinGameAction_2[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_joinGameAction_tag2el_2[] = { static asn_TYPE_tag2member_t asn_MAP_joinGameAction_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 256 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 262 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 258 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 264 */
}; };
static asn_CHOICE_specifics_t asn_SPC_joinGameAction_specs_2 = { static asn_CHOICE_specifics_t asn_SPC_joinGameAction_specs_2 = {
sizeof(struct joinGameAction), sizeof(struct joinGameAction),
@@ -123,9 +123,9 @@ static ber_tlv_tag_t asn_DEF_JoinGameRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinGameRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_JoinGameRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* password at 259 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* password at 265 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 256 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 262 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 258 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 264 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_JoinGameRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinGameRequestMessage_specs_1 = {
sizeof(struct JoinGameRequestMessage), sizeof(struct JoinGameRequestMessage),
+1 -1
View File
@@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_JoinNewGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_JoinNewGame_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_JoinNewGame_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* gameInfo at 268 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* gameInfo at 274 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_JoinNewGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_JoinNewGame_specs_1 = {
sizeof(struct JoinNewGame), sizeof(struct JoinNewGame),
+5 -5
View File
@@ -136,11 +136,11 @@ static ber_tlv_tag_t asn_DEF_KickPetitionUpdateMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_KickPetitionUpdateMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_KickPetitionUpdateMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* gameId at 532 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* gameId at 538 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 533 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 539 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 534 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 540 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 535 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 541 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 536 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 542 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_KickPetitionUpdateMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_KickPetitionUpdateMessage_specs_1 = {
sizeof(struct KickPetitionUpdateMessage), sizeof(struct KickPetitionUpdateMessage),
+2 -2
View File
@@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_KickPlayerRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_KickPlayerRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_KickPlayerRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 353 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 359 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 355 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 361 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_KickPlayerRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_KickPlayerRequestMessage_specs_1 = {
sizeof(struct KickPlayerRequestMessage), sizeof(struct KickPlayerRequestMessage),
+1 -1
View File
@@ -25,7 +25,7 @@ static ber_tlv_tag_t asn_DEF_LeaveGameRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_LeaveGameRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_LeaveGameRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 359 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 365 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_LeaveGameRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_LeaveGameRequestMessage_specs_1 = {
sizeof(struct LeaveGameRequestMessage), sizeof(struct LeaveGameRequestMessage),
+4 -4
View File
@@ -77,10 +77,10 @@ static ber_tlv_tag_t asn_DEF_MyActionRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_MyActionRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_MyActionRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 390 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 396 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 393 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 399 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 391 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 397 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 392 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 398 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_MyActionRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_MyActionRequestMessage_specs_1 = {
sizeof(struct MyActionRequestMessage), sizeof(struct MyActionRequestMessage),
+14 -14
View File
@@ -411,8 +411,8 @@ static asn_TYPE_member_t asn_MBR_raiseIntervalMode_4[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_raiseIntervalMode_tag2el_4[] = { static asn_TYPE_tag2member_t asn_MAP_raiseIntervalMode_tag2el_4[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* raiseEveryHands at 296 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* raiseEveryHands at 302 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 297 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 303 */
}; };
static asn_CHOICE_specifics_t asn_SPC_raiseIntervalMode_specs_4 = { static asn_CHOICE_specifics_t asn_SPC_raiseIntervalMode_specs_4 = {
sizeof(struct raiseIntervalMode), sizeof(struct raiseIntervalMode),
@@ -642,18 +642,18 @@ static ber_tlv_tag_t asn_DEF_NetGameInfo_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_NetGameInfo_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_NetGameInfo_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 6 }, /* maxNumPlayers at 294 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 6 }, /* maxNumPlayers at 300 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 5 }, /* proposedGuiSpeed at 304 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 5 }, /* proposedGuiSpeed at 310 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 4 }, /* delayBetweenHands at 305 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 4 }, /* delayBetweenHands at 311 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 3 }, /* playerActionTimeout at 306 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 3 }, /* playerActionTimeout at 312 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 2 }, /* firstSmallBlind at 307 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 2 }, /* firstSmallBlind at 313 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 1 }, /* endRaiseSmallBlindValue at 308 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 1 }, /* endRaiseSmallBlindValue at 314 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 9, -6, 0 }, /* startMoney at 309 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 9, -6, 0 }, /* startMoney at 315 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 300 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 306 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 293 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 299 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, 0, 0 }, /* manualBlinds at 310 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, 0, 0 }, /* manualBlinds at 316 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 296 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 302 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 297 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 303 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_NetGameInfo_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_NetGameInfo_specs_1 = {
sizeof(struct NetGameInfo), sizeof(struct NetGameInfo),
+3 -3
View File
@@ -42,9 +42,9 @@ static ber_tlv_tag_t asn_DEF_PlayerAllIn_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerAllIn_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayerAllIn_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 442 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 448 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 443 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 449 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 445 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 451 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerAllIn_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerAllIn_specs_1 = {
sizeof(struct PlayerAllIn), sizeof(struct PlayerAllIn),
+5 -5
View File
@@ -65,8 +65,8 @@ static ber_tlv_tag_t asn_DEF_avatarData_tags_4[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_avatarData_tag2el_4[] = { static asn_TYPE_tag2member_t asn_MAP_avatarData_tag2el_4[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 238 */ { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 244 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 236 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 242 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_avatarData_specs_4 = { static asn_SEQUENCE_specifics_t asn_SPC_avatarData_specs_4 = {
sizeof(struct avatarData), sizeof(struct avatarData),
@@ -135,9 +135,9 @@ static ber_tlv_tag_t asn_DEF_PlayerInfoData_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerInfoData_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayerInfoData_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isHuman at 234 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isHuman at 240 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 233 */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 239 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* avatarData at 236 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* avatarData at 242 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoData_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoData_specs_1 = {
sizeof(struct PlayerInfoData), sizeof(struct PlayerInfoData),
+5 -5
View File
@@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_playerInfoResult_3[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_playerInfoResult_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_playerInfoResult_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* playerInfoData at 227 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* playerInfoData at 233 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 229 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 235 */
}; };
static asn_CHOICE_specifics_t asn_SPC_playerInfoResult_specs_3 = { static asn_CHOICE_specifics_t asn_SPC_playerInfoResult_specs_3 = {
sizeof(struct playerInfoResult), sizeof(struct playerInfoResult),
@@ -91,9 +91,9 @@ static ber_tlv_tag_t asn_DEF_PlayerInfoReplyMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerInfoReplyMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayerInfoReplyMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 225 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 231 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* playerInfoData at 227 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* playerInfoData at 233 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 229 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknownPlayerInfo at 235 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoReplyMessage_specs_1 = {
sizeof(struct PlayerInfoReplyMessage), sizeof(struct PlayerInfoReplyMessage),
+1 -1
View File
@@ -25,7 +25,7 @@ static ber_tlv_tag_t asn_DEF_PlayerInfoRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerInfoRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayerInfoRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 222 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 228 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoRequestMessage_specs_1 = {
sizeof(struct PlayerInfoRequestMessage), sizeof(struct PlayerInfoRequestMessage),
+2 -2
View File
@@ -151,8 +151,8 @@ static ber_tlv_tag_t asn_DEF_PlayerListMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerListMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayerListMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 172 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 178 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* playerListNotification at 174 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* playerListNotification at 180 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerListMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerListMessage_specs_1 = {
sizeof(struct PlayerListMessage), sizeof(struct PlayerListMessage),
+7 -7
View File
@@ -198,13 +198,13 @@ static ber_tlv_tag_t asn_DEF_PlayerResult_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayerResult_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayerResult_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* playerId at 460 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* playerId at 466 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 461 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 467 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 462 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 468 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 464 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 470 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 465 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 471 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 466 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 472 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 463 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 469 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayerResult_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayerResult_specs_1 = {
sizeof(struct PlayerResult), sizeof(struct PlayerResult),
+8 -8
View File
@@ -188,14 +188,14 @@ static ber_tlv_tag_t asn_DEF_PlayersActionDoneMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayersActionDoneMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayersActionDoneMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 409 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 415 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 410 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 416 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 413 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 419 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 414 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 420 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 415 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 421 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 416 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 422 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 411 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 417 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 412 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 418 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayersActionDoneMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayersActionDoneMessage_specs_1 = {
sizeof(struct PlayersActionDoneMessage), sizeof(struct PlayersActionDoneMessage),
+3 -3
View File
@@ -43,9 +43,9 @@ static ber_tlv_tag_t asn_DEF_PlayersTurnMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PlayersTurnMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PlayersTurnMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 384 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 390 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 385 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 391 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 387 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 393 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PlayersTurnMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PlayersTurnMessage_specs_1 = {
sizeof(struct PlayersTurnMessage), sizeof(struct PlayersTurnMessage),
+1 -1
View File
@@ -149,7 +149,7 @@ static ber_tlv_tag_t asn_DEF_RemovedFromGame_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_RemovedFromGame_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_RemovedFromGame_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* removedFromGameReason at 343 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* removedFromGameReason at 349 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_RemovedFromGame_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_RemovedFromGame_specs_1 = {
sizeof(struct RemovedFromGame), sizeof(struct RemovedFromGame),
+1 -1
View File
@@ -25,7 +25,7 @@ static ber_tlv_tag_t asn_DEF_StartEventAckMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StartEventAckMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StartEventAckMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 368 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 374 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StartEventAckMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StartEventAckMessage_specs_1 = {
sizeof(struct StartEventAckMessage), sizeof(struct StartEventAckMessage),
+2 -2
View File
@@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_StartEventMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StartEventMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StartEventMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 363 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 369 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 362 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 368 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StartEventMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StartEventMessage_specs_1 = {
sizeof(struct StartEventMessage), sizeof(struct StartEventMessage),
+6 -6
View File
@@ -120,12 +120,12 @@ static ber_tlv_tag_t asn_DEF_StartKickPetitionMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StartKickPetitionMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StartKickPetitionMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 498 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 504 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 499 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 505 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 500 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 506 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 501 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 507 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 502 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 508 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 503 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 509 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StartKickPetitionMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StartKickPetitionMessage_specs_1 = {
sizeof(struct StartKickPetitionMessage), sizeof(struct StartKickPetitionMessage),
+2 -2
View File
@@ -148,8 +148,8 @@ static ber_tlv_tag_t asn_DEF_StatisticsData_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StatisticsData_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StatisticsData_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 562 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 568 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 559 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 565 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StatisticsData_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StatisticsData_specs_1 = {
sizeof(struct StatisticsData), sizeof(struct StatisticsData),
+1 -1
View File
@@ -95,7 +95,7 @@ static ber_tlv_tag_t asn_DEF_StatisticsMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_StatisticsMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_StatisticsMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* statisticsData at 555 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* statisticsData at 561 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_StatisticsMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_StatisticsMessage_specs_1 = {
sizeof(struct StatisticsMessage), sizeof(struct StatisticsMessage),
+1 -1
View File
@@ -142,7 +142,7 @@ static ber_tlv_tag_t asn_DEF_SubscriptionRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_SubscriptionRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_SubscriptionRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* subscriptionAction at 249 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* subscriptionAction at 255 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_SubscriptionRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_SubscriptionRequestMessage_specs_1 = {
sizeof(struct SubscriptionRequestMessage), sizeof(struct SubscriptionRequestMessage),
+2 -2
View File
@@ -151,8 +151,8 @@ static ber_tlv_tag_t asn_DEF_TimeoutWarningMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_TimeoutWarningMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_TimeoutWarningMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 614 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 620 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 610 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 616 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_TimeoutWarningMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_TimeoutWarningMessage_specs_1 = {
sizeof(struct TimeoutWarningMessage), sizeof(struct TimeoutWarningMessage),
+103
View File
@@ -0,0 +1,103 @@
/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/
#include <asn_internal.h>
#include "UnauthenticatedLogin.h"
static int
memb_nickName_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const UTF8String_t *st = (const UTF8String_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
size = UTF8String_length(st);
if((ssize_t)size < 0) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: UTF-8: broken encoding (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if((size >= 1 && size <= 64)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static asn_TYPE_member_t asn_MBR_UnauthenticatedLogin_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct UnauthenticatedLogin, nickName),
(ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
0,
&asn_DEF_UTF8String,
memb_nickName_constraint_1,
0, /* PER is not compiled, use -gen-PER */
0,
"nickName"
},
{ ATF_POINTER, 1, offsetof(struct UnauthenticatedLogin, avatar),
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
0,
&asn_DEF_AvatarHash,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"avatar"
},
};
static ber_tlv_tag_t asn_DEF_UnauthenticatedLogin_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_UnauthenticatedLogin_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 113 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* nickName at 112 */
};
static asn_SEQUENCE_specifics_t asn_SPC_UnauthenticatedLogin_specs_1 = {
sizeof(struct UnauthenticatedLogin),
offsetof(struct UnauthenticatedLogin, _asn_ctx),
asn_MAP_UnauthenticatedLogin_tag2el_1,
2, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */
1, /* Start extensions */
3 /* Stop extensions */
};
asn_TYPE_descriptor_t asn_DEF_UnauthenticatedLogin = {
"UnauthenticatedLogin",
"UnauthenticatedLogin",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_UnauthenticatedLogin_tags_1,
sizeof(asn_DEF_UnauthenticatedLogin_tags_1)
/sizeof(asn_DEF_UnauthenticatedLogin_tags_1[0]), /* 1 */
asn_DEF_UnauthenticatedLogin_tags_1, /* Same as above */
sizeof(asn_DEF_UnauthenticatedLogin_tags_1)
/sizeof(asn_DEF_UnauthenticatedLogin_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
asn_MBR_UnauthenticatedLogin_1,
2, /* Elements count */
&asn_SPC_UnauthenticatedLogin_specs_1 /* Additional specs */
};
+43
View File
@@ -0,0 +1,43 @@
/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/
#ifndef _UnauthenticatedLogin_H_
#define _UnauthenticatedLogin_H_
#include <asn_application.h>
/* Including external dependencies */
#include <UTF8String.h>
#include "AvatarHash.h"
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* UnauthenticatedLogin */
typedef struct UnauthenticatedLogin {
UTF8String_t nickName;
AvatarHash_t *avatar /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} UnauthenticatedLogin_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_UnauthenticatedLogin;
#ifdef __cplusplus
}
#endif
#endif /* _UnauthenticatedLogin_H_ */
+2 -2
View File
@@ -83,8 +83,8 @@ static ber_tlv_tag_t asn_DEF_Version_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_Version_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_Version_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* major at 96 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* major at 97 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* minor at 97 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* minor at 98 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_Version_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_Version_specs_1 = {
sizeof(struct Version), sizeof(struct Version),
+1 -1
View File
@@ -141,7 +141,7 @@ static ber_tlv_tag_t asn_DEF_VoteKickDenied_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_VoteKickDenied_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_VoteKickDenied_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* voteKickDeniedReason at 526 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* voteKickDeniedReason at 532 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_VoteKickDenied_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_VoteKickDenied_specs_1 = {
sizeof(struct VoteKickDenied), sizeof(struct VoteKickDenied),
+6 -6
View File
@@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_voteKickReplyType_4[] = {
}, },
}; };
static asn_TYPE_tag2member_t asn_MAP_voteKickReplyType_tag2el_4[] = { static asn_TYPE_tag2member_t asn_MAP_voteKickReplyType_tag2el_4[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 516 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 522 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 518 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 524 */
}; };
static asn_CHOICE_specifics_t asn_SPC_voteKickReplyType_specs_4 = { static asn_CHOICE_specifics_t asn_SPC_voteKickReplyType_specs_4 = {
sizeof(struct voteKickReplyType), sizeof(struct voteKickReplyType),
@@ -100,10 +100,10 @@ static ber_tlv_tag_t asn_DEF_VoteKickReplyMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_VoteKickReplyMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_VoteKickReplyMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 513 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 519 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 514 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 520 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 516 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 522 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 518 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 524 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_VoteKickReplyMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_VoteKickReplyMessage_specs_1 = {
sizeof(struct VoteKickReplyMessage), sizeof(struct VoteKickReplyMessage),
+3 -3
View File
@@ -43,9 +43,9 @@ static ber_tlv_tag_t asn_DEF_VoteKickRequestMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_VoteKickRequestMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_VoteKickRequestMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 509 */ { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 515 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 507 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 513 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 508 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 514 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_VoteKickRequestMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_VoteKickRequestMessage_specs_1 = {
sizeof(struct VoteKickRequestMessage), sizeof(struct VoteKickRequestMessage),
+5 -5
View File
@@ -205,11 +205,11 @@ static ber_tlv_tag_t asn_DEF_YourActionRejectedMessage_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_YourActionRejectedMessage_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_YourActionRejectedMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 397 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 403 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 400 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 406 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 398 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 404 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 399 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 405 */
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 402 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 408 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_YourActionRejectedMessage_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_YourActionRejectedMessage_specs_1 = {
sizeof(struct YourActionRejectedMessage), sizeof(struct YourActionRejectedMessage),