From 01dcbd84d68071a92bde6affdbc930abae167ba4 Mon Sep 17 00:00:00 2001 From: lotodore Date: Wed, 24 Mar 2010 15:26:46 +0000 Subject: [PATCH] Generated code for protocol changes. --- src/third_party/asn1/AllInShowCardsMessage.c | 4 +- src/third_party/asn1/AskKickDeniedMessage.c | 6 +- src/third_party/asn1/AskKickPlayerMessage.c | 4 +- src/third_party/asn1/ChatMessage.c | 18 +-- src/third_party/asn1/ChatRequestMessage.c | 10 +- src/third_party/asn1/ChatRequestTypeGame.c | 2 +- src/third_party/asn1/ChatTypeGame.c | 4 +- src/third_party/asn1/ChatTypeLobby.c | 2 +- src/third_party/asn1/DealFlopCardsMessage.c | 8 +- src/third_party/asn1/DealRiverCardMessage.c | 4 +- src/third_party/asn1/DealTurnCardMessage.c | 4 +- src/third_party/asn1/DialogMessage.c | 2 +- src/third_party/asn1/EndKickPetitionMessage.c | 12 +- src/third_party/asn1/EndOfGameMessage.c | 4 +- src/third_party/asn1/EndOfHandHideCards.c | 6 +- src/third_party/asn1/EndOfHandMessage.c | 10 +- src/third_party/asn1/EndOfHandShowCards.c | 2 +- src/third_party/asn1/ErrorMessage.c | 2 +- src/third_party/asn1/GameAdminChanged.c | 2 +- src/third_party/asn1/GamePlayerJoined.c | 12 +- src/third_party/asn1/GamePlayerJoined.h | 4 +- src/third_party/asn1/GamePlayerLeft.c | 4 +- src/third_party/asn1/GamePlayerMessage.c | 18 +-- src/third_party/asn1/GameStartMessage.c | 6 +- src/third_party/asn1/HandStartMessage.c | 8 +- src/third_party/asn1/JoinExistingGame.c | 2 +- src/third_party/asn1/JoinGameAck.c | 12 +- src/third_party/asn1/JoinGameAck.h | 4 +- src/third_party/asn1/JoinGameFailed.c | 2 +- src/third_party/asn1/JoinGameReplyMessage.c | 10 +- src/third_party/asn1/JoinGameRequestMessage.c | 10 +- src/third_party/asn1/JoinNewGame.c | 2 +- .../asn1/KickPetitionUpdateMessage.c | 10 +- .../asn1/KickPlayerRequestMessage.c | 4 +- .../asn1/LeaveGameRequestMessage.c | 2 +- src/third_party/asn1/MyActionRequestMessage.c | 8 +- src/third_party/asn1/NetGameInfo.c | 28 ++-- src/third_party/asn1/PlayerAllIn.c | 6 +- src/third_party/asn1/PlayerInfoData.c | 58 ++++---- src/third_party/asn1/PlayerInfoData.h | 2 + src/third_party/asn1/PlayerInfoRights.c | 129 ++++++++++++++++++ src/third_party/asn1/PlayerInfoRights.h | 45 ++++++ src/third_party/asn1/PlayerResult.c | 14 +- .../asn1/PlayersActionDoneMessage.c | 16 +-- src/third_party/asn1/PlayersTurnMessage.c | 6 +- src/third_party/asn1/RemovedFromGame.c | 2 +- src/third_party/asn1/StartEventAckMessage.c | 2 +- src/third_party/asn1/StartEventMessage.c | 4 +- .../asn1/StartKickPetitionMessage.c | 12 +- src/third_party/asn1/StatisticsData.c | 4 +- src/third_party/asn1/StatisticsMessage.c | 2 +- .../asn1/SubscriptionRequestMessage.c | 2 +- src/third_party/asn1/TimeoutWarningMessage.c | 4 +- src/third_party/asn1/VoteKickDenied.c | 2 +- src/third_party/asn1/VoteKickReplyMessage.c | 12 +- src/third_party/asn1/VoteKickRequestMessage.c | 6 +- .../asn1/YourActionRejectedMessage.c | 10 +- 57 files changed, 388 insertions(+), 202 deletions(-) create mode 100644 src/third_party/asn1/PlayerInfoRights.c create mode 100644 src/third_party/asn1/PlayerInfoRights.h diff --git a/src/third_party/asn1/AllInShowCardsMessage.c b/src/third_party/asn1/AllInShowCardsMessage.c index b2b24835..d1b715de 100644 --- a/src/third_party/asn1/AllInShowCardsMessage.c +++ b/src/third_party/asn1/AllInShowCardsMessage.c @@ -104,8 +104,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 443 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 445 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 450 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* playersAllIn at 452 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AllInShowCardsMessage_specs_1 = { sizeof(struct AllInShowCardsMessage), diff --git a/src/third_party/asn1/AskKickDeniedMessage.c b/src/third_party/asn1/AskKickDeniedMessage.c index 811ed625..bfc78eb5 100644 --- a/src/third_party/asn1/AskKickDeniedMessage.c +++ b/src/third_party/asn1/AskKickDeniedMessage.c @@ -166,9 +166,9 @@ static ber_tlv_tag_t asn_DEF_AskKickDeniedMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AskKickDeniedMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 492 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 493 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 495 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 499 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 500 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* kickDeniedReason at 502 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AskKickDeniedMessage_specs_1 = { sizeof(struct AskKickDeniedMessage), diff --git a/src/third_party/asn1/AskKickPlayerMessage.c b/src/third_party/asn1/AskKickPlayerMessage.c index 8ae4526d..c732583a 100644 --- a/src/third_party/asn1/AskKickPlayerMessage.c +++ b/src/third_party/asn1/AskKickPlayerMessage.c @@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_AskKickPlayerMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_AskKickPlayerMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 487 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 489 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 494 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 496 */ }; static asn_SEQUENCE_specifics_t asn_SPC_AskKickPlayerMessage_specs_1 = { sizeof(struct AskKickPlayerMessage), diff --git a/src/third_party/asn1/ChatMessage.c b/src/third_party/asn1/ChatMessage.c index 585d181d..ca5d1634 100644 --- a/src/third_party/asn1/ChatMessage.c +++ b/src/third_party/asn1/ChatMessage.c @@ -80,10 +80,10 @@ static asn_TYPE_member_t asn_MBR_chatType_2[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_chatType_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 587 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 588 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 589 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 591 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 594 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* chatTypeGame at 595 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* chatTypeBot at 596 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* chatTypeBroadcast at 598 */ }; static asn_CHOICE_specifics_t asn_SPC_chatType_specs_2 = { sizeof(struct chatType), @@ -143,11 +143,11 @@ static ber_tlv_tag_t asn_DEF_ChatMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 592 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 587 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 588 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 589 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 591 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 599 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatTypeLobby at 594 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* chatTypeGame at 595 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* chatTypeBot at 596 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* chatTypeBroadcast at 598 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = { sizeof(struct ChatMessage), diff --git a/src/third_party/asn1/ChatRequestMessage.c b/src/third_party/asn1/ChatRequestMessage.c index a9c351dd..38236d5e 100644 --- a/src/third_party/asn1/ChatRequestMessage.c +++ b/src/third_party/asn1/ChatRequestMessage.c @@ -62,8 +62,8 @@ static asn_TYPE_member_t asn_MBR_chatRequestType_2[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_chatRequestType_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 572 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 574 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 579 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* chatRequestTypeGame at 581 */ }; static asn_CHOICE_specifics_t asn_SPC_chatRequestType_specs_2 = { sizeof(struct chatRequestType), @@ -123,9 +123,9 @@ static ber_tlv_tag_t asn_DEF_ChatRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 575 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 572 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 574 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* chatText at 582 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* chatRequestTypeLobby at 579 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* chatRequestTypeGame at 581 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestMessage_specs_1 = { sizeof(struct ChatRequestMessage), diff --git a/src/third_party/asn1/ChatRequestTypeGame.c b/src/third_party/asn1/ChatRequestTypeGame.c index 8e85c4ca..767b2147 100644 --- a/src/third_party/asn1/ChatRequestTypeGame.c +++ b/src/third_party/asn1/ChatRequestTypeGame.c @@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_ChatRequestTypeGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypeGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 583 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 590 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypeGame_specs_1 = { sizeof(struct ChatRequestTypeGame), diff --git a/src/third_party/asn1/ChatTypeGame.c b/src/third_party/asn1/ChatTypeGame.c index 8bacb3ce..ef84052f 100644 --- a/src/third_party/asn1/ChatTypeGame.c +++ b/src/third_party/asn1/ChatTypeGame.c @@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_ChatTypeGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatTypeGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 600 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 602 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 607 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 609 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeGame_specs_1 = { sizeof(struct ChatTypeGame), diff --git a/src/third_party/asn1/ChatTypeLobby.c b/src/third_party/asn1/ChatTypeLobby.c index 86e5e513..db38454f 100644 --- a/src/third_party/asn1/ChatTypeLobby.c +++ b/src/third_party/asn1/ChatTypeLobby.c @@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_ChatTypeLobby_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ChatTypeLobby_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 597 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 604 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ChatTypeLobby_specs_1 = { sizeof(struct ChatTypeLobby), diff --git a/src/third_party/asn1/DealFlopCardsMessage.c b/src/third_party/asn1/DealFlopCardsMessage.c index 580d56ff..02c35a8c 100644 --- a/src/third_party/asn1/DealFlopCardsMessage.c +++ b/src/third_party/asn1/DealFlopCardsMessage.c @@ -52,10 +52,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 426 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 427 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 428 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 430 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 433 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* flopCard1 at 434 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* flopCard2 at 435 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* flopCard3 at 437 */ }; static asn_SEQUENCE_specifics_t asn_SPC_DealFlopCardsMessage_specs_1 = { sizeof(struct DealFlopCardsMessage), diff --git a/src/third_party/asn1/DealRiverCardMessage.c b/src/third_party/asn1/DealRiverCardMessage.c index 5b3a5c66..94c08b26 100644 --- a/src/third_party/asn1/DealRiverCardMessage.c +++ b/src/third_party/asn1/DealRiverCardMessage.c @@ -34,8 +34,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 438 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 440 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 445 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* riverCard at 447 */ }; static asn_SEQUENCE_specifics_t asn_SPC_DealRiverCardMessage_specs_1 = { sizeof(struct DealRiverCardMessage), diff --git a/src/third_party/asn1/DealTurnCardMessage.c b/src/third_party/asn1/DealTurnCardMessage.c index 5a9aacf3..f1b05c61 100644 --- a/src/third_party/asn1/DealTurnCardMessage.c +++ b/src/third_party/asn1/DealTurnCardMessage.c @@ -34,8 +34,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 433 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 435 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 440 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* turnCard at 442 */ }; static asn_SEQUENCE_specifics_t asn_SPC_DealTurnCardMessage_specs_1 = { sizeof(struct DealTurnCardMessage), diff --git a/src/third_party/asn1/DialogMessage.c b/src/third_party/asn1/DialogMessage.c index f8534bbb..dedb003f 100644 --- a/src/third_party/asn1/DialogMessage.c +++ b/src/third_party/asn1/DialogMessage.c @@ -57,7 +57,7 @@ static ber_tlv_tag_t asn_DEF_DialogMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_DialogMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 611 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 } /* notificationText at 618 */ }; static asn_SEQUENCE_specifics_t asn_SPC_DialogMessage_specs_1 = { sizeof(struct DialogMessage), diff --git a/src/third_party/asn1/EndKickPetitionMessage.c b/src/third_party/asn1/EndKickPetitionMessage.c index f64e7568..1a22a860 100644 --- a/src/third_party/asn1/EndKickPetitionMessage.c +++ b/src/third_party/asn1/EndKickPetitionMessage.c @@ -241,12 +241,12 @@ static ber_tlv_tag_t asn_DEF_EndKickPetitionMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_EndKickPetitionMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 550 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 546 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 547 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 548 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 549 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 552 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 4, 0, 0 }, /* resultPlayerKicked at 557 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 553 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* petitionId at 554 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* numVotesAgainstKicking at 555 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 }, /* numVotesInFavourOfKicking at 556 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 } /* petitionEndReason at 559 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndKickPetitionMessage_specs_1 = { sizeof(struct EndKickPetitionMessage), diff --git a/src/third_party/asn1/EndOfGameMessage.c b/src/third_party/asn1/EndOfGameMessage.c index 7703c155..d7cdd838 100644 --- a/src/third_party/asn1/EndOfGameMessage.c +++ b/src/third_party/asn1/EndOfGameMessage.c @@ -34,8 +34,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 482 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 484 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 489 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* winnerPlayerId at 491 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndOfGameMessage_specs_1 = { sizeof(struct EndOfGameMessage), diff --git a/src/third_party/asn1/EndOfHandHideCards.c b/src/third_party/asn1/EndOfHandHideCards.c index 6fac7a91..b35883b1 100644 --- a/src/third_party/asn1/EndOfHandHideCards.c +++ b/src/third_party/asn1/EndOfHandHideCards.c @@ -92,9 +92,9 @@ static ber_tlv_tag_t asn_DEF_EndOfHandHideCards_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_EndOfHandHideCards_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 476 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 477 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 478 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 483 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* moneyWon at 484 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* playerMoney at 485 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandHideCards_specs_1 = { sizeof(struct EndOfHandHideCards), diff --git a/src/third_party/asn1/EndOfHandMessage.c b/src/third_party/asn1/EndOfHandMessage.c index 631c0046..e8672e88 100644 --- a/src/third_party/asn1/EndOfHandMessage.c +++ b/src/third_party/asn1/EndOfHandMessage.c @@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_endOfHandType_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_endOfHandType_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 456 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 458 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* endOfHandShowCards at 463 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 465 */ }; static asn_CHOICE_specifics_t asn_SPC_endOfHandType_specs_3 = { sizeof(struct endOfHandType), @@ -91,9 +91,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 454 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 456 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 458 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 461 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* endOfHandShowCards at 463 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* endOfHandHideCards at 465 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandMessage_specs_1 = { sizeof(struct EndOfHandMessage), diff --git a/src/third_party/asn1/EndOfHandShowCards.c b/src/third_party/asn1/EndOfHandShowCards.c index 30f34b46..7b544e45 100644 --- a/src/third_party/asn1/EndOfHandShowCards.c +++ b/src/third_party/asn1/EndOfHandShowCards.c @@ -94,7 +94,7 @@ static ber_tlv_tag_t asn_DEF_EndOfHandShowCards_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_EndOfHandShowCards_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 463 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* playerResults at 470 */ }; static asn_SEQUENCE_specifics_t asn_SPC_EndOfHandShowCards_specs_1 = { sizeof(struct EndOfHandShowCards), diff --git a/src/third_party/asn1/ErrorMessage.c b/src/third_party/asn1/ErrorMessage.c index e26eebad..3902de8d 100644 --- a/src/third_party/asn1/ErrorMessage.c +++ b/src/third_party/asn1/ErrorMessage.c @@ -166,7 +166,7 @@ static ber_tlv_tag_t asn_DEF_ErrorMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_ErrorMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 627 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* errorReason at 634 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ErrorMessage_specs_1 = { sizeof(struct ErrorMessage), diff --git a/src/third_party/asn1/GameAdminChanged.c b/src/third_party/asn1/GameAdminChanged.c index a64f7ec2..975caa2f 100644 --- a/src/third_party/asn1/GameAdminChanged.c +++ b/src/third_party/asn1/GameAdminChanged.c @@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_GameAdminChanged_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameAdminChanged_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 345 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* newAdminPlayerId at 352 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameAdminChanged_specs_1 = { sizeof(struct GameAdminChanged), diff --git a/src/third_party/asn1/GamePlayerJoined.c b/src/third_party/asn1/GamePlayerJoined.c index 55b0bfbd..8151d9e6 100644 --- a/src/third_party/asn1/GamePlayerJoined.c +++ b/src/third_party/asn1/GamePlayerJoined.c @@ -19,22 +19,22 @@ static asn_TYPE_member_t asn_MBR_GamePlayerJoined_1[] = { 0, "playerId" }, - { ATF_NOFLAGS, 0, offsetof(struct GamePlayerJoined, isAdmin), - (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), + { ATF_NOFLAGS, 0, offsetof(struct GamePlayerJoined, curPlayerRights), + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, - &asn_DEF_BOOLEAN, + &asn_DEF_PlayerInfoRights, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ 0, - "isAdmin" + "curPlayerRights" }, }; static ber_tlv_tag_t asn_DEF_GamePlayerJoined_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GamePlayerJoined_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isAdmin at 331 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 330 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 337 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* curPlayerRights at 339 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = { sizeof(struct GamePlayerJoined), diff --git a/src/third_party/asn1/GamePlayerJoined.h b/src/third_party/asn1/GamePlayerJoined.h index 123b167e..16dcf0d5 100644 --- a/src/third_party/asn1/GamePlayerJoined.h +++ b/src/third_party/asn1/GamePlayerJoined.h @@ -13,7 +13,7 @@ /* Including external dependencies */ #include "NonZeroId.h" -#include +#include "PlayerInfoRights.h" #include #ifdef __cplusplus @@ -23,7 +23,7 @@ extern "C" { /* GamePlayerJoined */ typedef struct GamePlayerJoined { NonZeroId_t playerId; - BOOLEAN_t isAdmin; + PlayerInfoRights_t curPlayerRights; /* * This type is extensible, * possible extensions are below. diff --git a/src/third_party/asn1/GamePlayerLeft.c b/src/third_party/asn1/GamePlayerLeft.c index 106fad56..ef940545 100644 --- a/src/third_party/asn1/GamePlayerLeft.c +++ b/src/third_party/asn1/GamePlayerLeft.c @@ -152,8 +152,8 @@ static ber_tlv_tag_t asn_DEF_GamePlayerLeft_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GamePlayerLeft_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 335 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 337 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* playerId at 342 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* gamePlayerLeftReason at 344 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerLeft_specs_1 = { sizeof(struct GamePlayerLeft), diff --git a/src/third_party/asn1/GamePlayerMessage.c b/src/third_party/asn1/GamePlayerMessage.c index 82646132..22bc7a9a 100644 --- a/src/third_party/asn1/GamePlayerMessage.c +++ b/src/third_party/asn1/GamePlayerMessage.c @@ -48,10 +48,10 @@ static asn_TYPE_member_t asn_MBR_gamePlayerNotification_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_gamePlayerNotification_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 322 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 323 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 324 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 326 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gamePlayerJoined at 329 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 330 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* gameAdminChanged at 331 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* removedFromGame at 333 */ }; static asn_CHOICE_specifics_t asn_SPC_gamePlayerNotification_specs_3 = { sizeof(struct gamePlayerNotification), @@ -111,11 +111,11 @@ static ber_tlv_tag_t asn_DEF_GamePlayerMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GamePlayerMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 320 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 322 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 323 */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 324 */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 326 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 327 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* gamePlayerJoined at 329 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gamePlayerLeft at 330 */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* gameAdminChanged at 331 */ + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* removedFromGame at 333 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerMessage_specs_1 = { sizeof(struct GamePlayerMessage), diff --git a/src/third_party/asn1/GameStartMessage.c b/src/third_party/asn1/GameStartMessage.c index 3771a2c5..cdd7b461 100644 --- a/src/third_party/asn1/GameStartMessage.c +++ b/src/third_party/asn1/GameStartMessage.c @@ -113,9 +113,9 @@ static ber_tlv_tag_t asn_DEF_GameStartMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_GameStartMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 377 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 378 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 380 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 384 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* startDealerPlayerId at 385 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* playerSeats at 387 */ }; static asn_SEQUENCE_specifics_t asn_SPC_GameStartMessage_specs_1 = { sizeof(struct GameStartMessage), diff --git a/src/third_party/asn1/HandStartMessage.c b/src/third_party/asn1/HandStartMessage.c index 8c062116..1259f269 100644 --- a/src/third_party/asn1/HandStartMessage.c +++ b/src/third_party/asn1/HandStartMessage.c @@ -77,10 +77,10 @@ static ber_tlv_tag_t asn_DEF_HandStartMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_HandStartMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 383 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 384 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 385 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 386 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 3 }, /* gameId at 390 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 2 }, /* yourCard1 at 391 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 1 }, /* yourCard2 at 392 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 0 } /* smallBlind at 393 */ }; static asn_SEQUENCE_specifics_t asn_SPC_HandStartMessage_specs_1 = { sizeof(struct HandStartMessage), diff --git a/src/third_party/asn1/JoinExistingGame.c b/src/third_party/asn1/JoinExistingGame.c index 266ab636..08d27307 100644 --- a/src/third_party/asn1/JoinExistingGame.c +++ b/src/third_party/asn1/JoinExistingGame.c @@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_JoinExistingGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinExistingGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 270 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 277 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinExistingGame_specs_1 = { sizeof(struct JoinExistingGame), diff --git a/src/third_party/asn1/JoinGameAck.c b/src/third_party/asn1/JoinGameAck.c index 8a146416..dd4a4861 100644 --- a/src/third_party/asn1/JoinGameAck.c +++ b/src/third_party/asn1/JoinGameAck.c @@ -10,14 +10,14 @@ #include "JoinGameAck.h" static asn_TYPE_member_t asn_MBR_JoinGameAck_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct JoinGameAck, areYouAdmin), - (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), + { ATF_NOFLAGS, 0, offsetof(struct JoinGameAck, yourRights), + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, - &asn_DEF_BOOLEAN, + &asn_DEF_PlayerInfoRights, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ 0, - "areYouAdmin" + "yourRights" }, { ATF_NOFLAGS, 0, offsetof(struct JoinGameAck, gameInfo), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), @@ -33,8 +33,8 @@ static ber_tlv_tag_t asn_DEF_JoinGameAck_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinGameAck_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* areYouAdmin at 285 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 287 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* yourRights at 292 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* gameInfo at 294 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinGameAck_specs_1 = { sizeof(struct JoinGameAck), diff --git a/src/third_party/asn1/JoinGameAck.h b/src/third_party/asn1/JoinGameAck.h index afc3cba6..0e298d8c 100644 --- a/src/third_party/asn1/JoinGameAck.h +++ b/src/third_party/asn1/JoinGameAck.h @@ -12,7 +12,7 @@ #include /* Including external dependencies */ -#include +#include "PlayerInfoRights.h" #include "NetGameInfo.h" #include @@ -22,7 +22,7 @@ extern "C" { /* JoinGameAck */ typedef struct JoinGameAck { - BOOLEAN_t areYouAdmin; + PlayerInfoRights_t yourRights; NetGameInfo_t gameInfo; /* * This type is extensible, diff --git a/src/third_party/asn1/JoinGameFailed.c b/src/third_party/asn1/JoinGameFailed.c index e21bb74e..079602a3 100644 --- a/src/third_party/asn1/JoinGameFailed.c +++ b/src/third_party/asn1/JoinGameFailed.c @@ -145,7 +145,7 @@ static ber_tlv_tag_t asn_DEF_JoinGameFailed_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinGameFailed_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* joinGameFailureReason at 291 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* joinGameFailureReason at 298 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinGameFailed_specs_1 = { sizeof(struct JoinGameFailed), diff --git a/src/third_party/asn1/JoinGameReplyMessage.c b/src/third_party/asn1/JoinGameReplyMessage.c index 321e422f..9fe66fc9 100644 --- a/src/third_party/asn1/JoinGameReplyMessage.c +++ b/src/third_party/asn1/JoinGameReplyMessage.c @@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_joinGameResult_3[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_joinGameResult_tag2el_3[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinGameAck at 279 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 281 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinGameAck at 286 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 288 */ }; static asn_CHOICE_specifics_t asn_SPC_joinGameResult_specs_3 = { sizeof(struct joinGameResult), @@ -91,9 +91,9 @@ static ber_tlv_tag_t asn_DEF_JoinGameReplyMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinGameReplyMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 277 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 279 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 281 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* gameId at 284 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* joinGameAck at 286 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinGameFailed at 288 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinGameReplyMessage_specs_1 = { sizeof(struct JoinGameReplyMessage), diff --git a/src/third_party/asn1/JoinGameRequestMessage.c b/src/third_party/asn1/JoinGameRequestMessage.c index 9f50c434..49334de1 100644 --- a/src/third_party/asn1/JoinGameRequestMessage.c +++ b/src/third_party/asn1/JoinGameRequestMessage.c @@ -62,8 +62,8 @@ static asn_TYPE_member_t asn_MBR_joinGameAction_2[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_joinGameAction_tag2el_2[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 262 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 264 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 269 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* joinNewGame at 271 */ }; static asn_CHOICE_specifics_t asn_SPC_joinGameAction_specs_2 = { sizeof(struct joinGameAction), @@ -123,9 +123,9 @@ static ber_tlv_tag_t asn_DEF_JoinGameRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinGameRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* password at 265 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 262 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 264 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 }, /* password at 272 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* joinExistingGame at 269 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 } /* joinNewGame at 271 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinGameRequestMessage_specs_1 = { sizeof(struct JoinGameRequestMessage), diff --git a/src/third_party/asn1/JoinNewGame.c b/src/third_party/asn1/JoinNewGame.c index b0ce025c..39137a02 100644 --- a/src/third_party/asn1/JoinNewGame.c +++ b/src/third_party/asn1/JoinNewGame.c @@ -24,7 +24,7 @@ static ber_tlv_tag_t asn_DEF_JoinNewGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_JoinNewGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* gameInfo at 274 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* gameInfo at 281 */ }; static asn_SEQUENCE_specifics_t asn_SPC_JoinNewGame_specs_1 = { sizeof(struct JoinNewGame), diff --git a/src/third_party/asn1/KickPetitionUpdateMessage.c b/src/third_party/asn1/KickPetitionUpdateMessage.c index f0c1c486..daf85154 100644 --- a/src/third_party/asn1/KickPetitionUpdateMessage.c +++ b/src/third_party/asn1/KickPetitionUpdateMessage.c @@ -136,11 +136,11 @@ static ber_tlv_tag_t asn_DEF_KickPetitionUpdateMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_KickPetitionUpdateMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* gameId at 538 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 539 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 540 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 541 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 542 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* gameId at 545 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 3 }, /* petitionId at 546 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 2 }, /* numVotesAgainstKicking at 547 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 1 }, /* numVotesInFavourOfKicking at 548 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 0 } /* numVotesNeededToKick at 549 */ }; static asn_SEQUENCE_specifics_t asn_SPC_KickPetitionUpdateMessage_specs_1 = { sizeof(struct KickPetitionUpdateMessage), diff --git a/src/third_party/asn1/KickPlayerRequestMessage.c b/src/third_party/asn1/KickPlayerRequestMessage.c index c463b5a8..2120d4a9 100644 --- a/src/third_party/asn1/KickPlayerRequestMessage.c +++ b/src/third_party/asn1/KickPlayerRequestMessage.c @@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_KickPlayerRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_KickPlayerRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 359 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 361 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 366 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* playerId at 368 */ }; static asn_SEQUENCE_specifics_t asn_SPC_KickPlayerRequestMessage_specs_1 = { sizeof(struct KickPlayerRequestMessage), diff --git a/src/third_party/asn1/LeaveGameRequestMessage.c b/src/third_party/asn1/LeaveGameRequestMessage.c index ddda0b87..f0f27868 100644 --- a/src/third_party/asn1/LeaveGameRequestMessage.c +++ b/src/third_party/asn1/LeaveGameRequestMessage.c @@ -25,7 +25,7 @@ static ber_tlv_tag_t asn_DEF_LeaveGameRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_LeaveGameRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 365 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 372 */ }; static asn_SEQUENCE_specifics_t asn_SPC_LeaveGameRequestMessage_specs_1 = { sizeof(struct LeaveGameRequestMessage), diff --git a/src/third_party/asn1/MyActionRequestMessage.c b/src/third_party/asn1/MyActionRequestMessage.c index 5b74448e..0228028a 100644 --- a/src/third_party/asn1/MyActionRequestMessage.c +++ b/src/third_party/asn1/MyActionRequestMessage.c @@ -77,10 +77,10 @@ static ber_tlv_tag_t asn_DEF_MyActionRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_MyActionRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 396 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 399 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 397 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 398 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 403 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* myRelativeBet at 406 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 1 }, /* gameState at 404 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 0 } /* myAction at 405 */ }; static asn_SEQUENCE_specifics_t asn_SPC_MyActionRequestMessage_specs_1 = { sizeof(struct MyActionRequestMessage), diff --git a/src/third_party/asn1/NetGameInfo.c b/src/third_party/asn1/NetGameInfo.c index 8f39ffb5..a2fde14b 100644 --- a/src/third_party/asn1/NetGameInfo.c +++ b/src/third_party/asn1/NetGameInfo.c @@ -411,8 +411,8 @@ static asn_TYPE_member_t asn_MBR_raiseIntervalMode_4[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_raiseIntervalMode_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* raiseEveryHands at 302 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 303 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* raiseEveryHands at 309 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* raiseEveryMinutes at 310 */ }; static asn_CHOICE_specifics_t asn_SPC_raiseIntervalMode_specs_4 = { sizeof(struct raiseIntervalMode), @@ -642,18 +642,18 @@ static ber_tlv_tag_t asn_DEF_NetGameInfo_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_NetGameInfo_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 6 }, /* maxNumPlayers at 300 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 5 }, /* proposedGuiSpeed at 310 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 4 }, /* delayBetweenHands at 311 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 3 }, /* playerActionTimeout at 312 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 2 }, /* firstSmallBlind at 313 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 1 }, /* endRaiseSmallBlindValue at 314 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 9, -6, 0 }, /* startMoney at 315 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 306 */ - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 299 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, 0, 0 }, /* manualBlinds at 316 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 302 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 303 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 6 }, /* maxNumPlayers at 307 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -1, 5 }, /* proposedGuiSpeed at 317 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -2, 4 }, /* delayBetweenHands at 318 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 3 }, /* playerActionTimeout at 319 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 2 }, /* firstSmallBlind at 320 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -5, 1 }, /* endRaiseSmallBlindValue at 321 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 9, -6, 0 }, /* startMoney at 322 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* endRaiseMode at 313 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* gameName at 306 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, 0, 0 }, /* manualBlinds at 323 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* raiseEveryHands at 309 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* raiseEveryMinutes at 310 */ }; static asn_SEQUENCE_specifics_t asn_SPC_NetGameInfo_specs_1 = { sizeof(struct NetGameInfo), diff --git a/src/third_party/asn1/PlayerAllIn.c b/src/third_party/asn1/PlayerAllIn.c index 8da4b8ed..e1029c4d 100644 --- a/src/third_party/asn1/PlayerAllIn.c +++ b/src/third_party/asn1/PlayerAllIn.c @@ -42,9 +42,9 @@ static ber_tlv_tag_t asn_DEF_PlayerAllIn_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayerAllIn_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 448 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 449 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 451 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* playerId at 455 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* allInCard1 at 456 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 } /* allInCard2 at 458 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayerAllIn_specs_1 = { sizeof(struct PlayerAllIn), diff --git a/src/third_party/asn1/PlayerInfoData.c b/src/third_party/asn1/PlayerInfoData.c index 37ceb5b3..6f975de6 100644 --- a/src/third_party/asn1/PlayerInfoData.c +++ b/src/third_party/asn1/PlayerInfoData.c @@ -41,7 +41,7 @@ memb_playerName_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, } } -static asn_TYPE_member_t asn_MBR_avatarData_4[] = { +static asn_TYPE_member_t asn_MBR_avatarData_5[] = { { ATF_NOFLAGS, 0, offsetof(struct avatarData, avatarType), (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, @@ -61,24 +61,24 @@ static asn_TYPE_member_t asn_MBR_avatarData_4[] = { "avatar" }, }; -static ber_tlv_tag_t asn_DEF_avatarData_tags_4[] = { +static ber_tlv_tag_t asn_DEF_avatarData_tags_5[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; -static asn_TYPE_tag2member_t asn_MAP_avatarData_tag2el_4[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 244 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 242 */ +static asn_TYPE_tag2member_t asn_MAP_avatarData_tag2el_5[] = { + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* avatar at 251 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* avatarType at 249 */ }; -static asn_SEQUENCE_specifics_t asn_SPC_avatarData_specs_4 = { +static asn_SEQUENCE_specifics_t asn_SPC_avatarData_specs_5 = { sizeof(struct avatarData), offsetof(struct avatarData, _asn_ctx), - asn_MAP_avatarData_tag2el_4, + asn_MAP_avatarData_tag2el_5, 2, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ 1, /* Start extensions */ 3 /* Stop extensions */ }; static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_avatarData_4 = { +asn_TYPE_descriptor_t asn_DEF_avatarData_5 = { "avatarData", "avatarData", SEQUENCE_free, @@ -90,16 +90,16 @@ asn_TYPE_descriptor_t asn_DEF_avatarData_4 = { SEQUENCE_encode_xer, 0, 0, /* No PER support, use "-gen-PER" to enable */ 0, /* Use generic outmost tag fetcher */ - asn_DEF_avatarData_tags_4, - sizeof(asn_DEF_avatarData_tags_4) - /sizeof(asn_DEF_avatarData_tags_4[0]), /* 1 */ - asn_DEF_avatarData_tags_4, /* Same as above */ - sizeof(asn_DEF_avatarData_tags_4) - /sizeof(asn_DEF_avatarData_tags_4[0]), /* 1 */ + asn_DEF_avatarData_tags_5, + sizeof(asn_DEF_avatarData_tags_5) + /sizeof(asn_DEF_avatarData_tags_5[0]), /* 1 */ + asn_DEF_avatarData_tags_5, /* Same as above */ + sizeof(asn_DEF_avatarData_tags_5) + /sizeof(asn_DEF_avatarData_tags_5[0]), /* 1 */ 0, /* No PER visible constraints */ - asn_MBR_avatarData_4, + asn_MBR_avatarData_5, 2, /* Elements count */ - &asn_SPC_avatarData_specs_4 /* Additional specs */ + &asn_SPC_avatarData_specs_5 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_PlayerInfoData_1[] = { @@ -121,10 +121,19 @@ static asn_TYPE_member_t asn_MBR_PlayerInfoData_1[] = { 0, "isHuman" }, + { ATF_NOFLAGS, 0, offsetof(struct PlayerInfoData, playerRights), + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), + 0, + &asn_DEF_PlayerInfoRights, + 0, /* Defer constraints checking to the member type */ + 0, /* PER is not compiled, use -gen-PER */ + 0, + "playerRights" + }, { ATF_POINTER, 1, offsetof(struct PlayerInfoData, avatarData), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, - &asn_DEF_avatarData_4, + &asn_DEF_avatarData_5, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ 0, @@ -135,18 +144,19 @@ static ber_tlv_tag_t asn_DEF_PlayerInfoData_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayerInfoData_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isHuman at 240 */ - { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 239 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* avatarData at 242 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isHuman at 246 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 }, /* playerRights at 247 */ + { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* playerName at 245 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* avatarData at 249 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayerInfoData_specs_1 = { sizeof(struct PlayerInfoData), offsetof(struct PlayerInfoData, _asn_ctx), asn_MAP_PlayerInfoData_tag2el_1, - 3, /* Count of tags in the map */ + 4, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ - 2, /* Start extensions */ - 4 /* Stop extensions */ + 3, /* Start extensions */ + 5 /* Stop extensions */ }; asn_TYPE_descriptor_t asn_DEF_PlayerInfoData = { "PlayerInfoData", @@ -168,7 +178,7 @@ asn_TYPE_descriptor_t asn_DEF_PlayerInfoData = { /sizeof(asn_DEF_PlayerInfoData_tags_1[0]), /* 1 */ 0, /* No PER visible constraints */ asn_MBR_PlayerInfoData_1, - 3, /* Elements count */ + 4, /* Elements count */ &asn_SPC_PlayerInfoData_specs_1 /* Additional specs */ }; diff --git a/src/third_party/asn1/PlayerInfoData.h b/src/third_party/asn1/PlayerInfoData.h index 29a89858..bb766d53 100644 --- a/src/third_party/asn1/PlayerInfoData.h +++ b/src/third_party/asn1/PlayerInfoData.h @@ -14,6 +14,7 @@ /* Including external dependencies */ #include #include +#include "PlayerInfoRights.h" #include "NetAvatarType.h" #include "AvatarHash.h" #include @@ -26,6 +27,7 @@ extern "C" { typedef struct PlayerInfoData { UTF8String_t playerName; BOOLEAN_t isHuman; + PlayerInfoRights_t playerRights; struct avatarData { NetAvatarType_t avatarType; AvatarHash_t avatar; diff --git a/src/third_party/asn1/PlayerInfoRights.c b/src/third_party/asn1/PlayerInfoRights.c new file mode 100644 index 00000000..b630a97e --- /dev/null +++ b/src/third_party/asn1/PlayerInfoRights.c @@ -0,0 +1,129 @@ +/* + * Generated by asn1c-0.9.22 (http://lionet.info/asn1c) + * From ASN.1 module "POKERTH-PROTOCOL" + * found in "../../../docs/pokerth.asn1" + * `asn1c -fnative-types` + */ + +#include + +#include "PlayerInfoRights.h" + +int +PlayerInfoRights_constraint(asn_TYPE_descriptor_t *td, const void *sptr, + asn_app_constraint_failed_f *ctfailcb, void *app_key) { + /* Replace with underlying type checker */ + td->check_constraints = asn_DEF_NativeEnumerated.check_constraints; + return td->check_constraints(td, sptr, ctfailcb, app_key); +} + +/* + * This type is implemented using NativeEnumerated, + * so here we adjust the DEF accordingly. + */ +static void +PlayerInfoRights_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) { + td->free_struct = asn_DEF_NativeEnumerated.free_struct; + td->print_struct = asn_DEF_NativeEnumerated.print_struct; + td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder; + td->der_encoder = asn_DEF_NativeEnumerated.der_encoder; + td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder; + td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder; + td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder; + td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder; + if(!td->per_constraints) + td->per_constraints = asn_DEF_NativeEnumerated.per_constraints; + td->elements = asn_DEF_NativeEnumerated.elements; + td->elements_count = asn_DEF_NativeEnumerated.elements_count; + /* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */ +} + +void +PlayerInfoRights_free(asn_TYPE_descriptor_t *td, + void *struct_ptr, int contents_only) { + PlayerInfoRights_1_inherit_TYPE_descriptor(td); + td->free_struct(td, struct_ptr, contents_only); +} + +int +PlayerInfoRights_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, + int ilevel, asn_app_consume_bytes_f *cb, void *app_key) { + PlayerInfoRights_1_inherit_TYPE_descriptor(td); + return td->print_struct(td, struct_ptr, ilevel, cb, app_key); +} + +asn_dec_rval_t +PlayerInfoRights_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, + void **structure, const void *bufptr, size_t size, int tag_mode) { + PlayerInfoRights_1_inherit_TYPE_descriptor(td); + return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode); +} + +asn_enc_rval_t +PlayerInfoRights_encode_der(asn_TYPE_descriptor_t *td, + void *structure, int tag_mode, ber_tlv_tag_t tag, + asn_app_consume_bytes_f *cb, void *app_key) { + PlayerInfoRights_1_inherit_TYPE_descriptor(td); + return td->der_encoder(td, structure, tag_mode, tag, cb, app_key); +} + +asn_dec_rval_t +PlayerInfoRights_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, + void **structure, const char *opt_mname, const void *bufptr, size_t size) { + PlayerInfoRights_1_inherit_TYPE_descriptor(td); + return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size); +} + +asn_enc_rval_t +PlayerInfoRights_encode_xer(asn_TYPE_descriptor_t *td, void *structure, + int ilevel, enum xer_encoder_flags_e flags, + asn_app_consume_bytes_f *cb, void *app_key) { + PlayerInfoRights_1_inherit_TYPE_descriptor(td); + return td->xer_encoder(td, structure, ilevel, flags, cb, app_key); +} + +static asn_INTEGER_enum_map_t asn_MAP_PlayerInfoRights_value2enum_1[] = { + { 1, 17, "playerRightsGuest" }, + { 2, 18, "playerRightsNormal" }, + { 3, 17, "playerRightsAdmin" } +}; +static unsigned int asn_MAP_PlayerInfoRights_enum2value_1[] = { + 2, /* playerRightsAdmin(3) */ + 0, /* playerRightsGuest(1) */ + 1 /* playerRightsNormal(2) */ +}; +static asn_INTEGER_specifics_t asn_SPC_PlayerInfoRights_specs_1 = { + asn_MAP_PlayerInfoRights_value2enum_1, /* "tag" => N; sorted by tag */ + asn_MAP_PlayerInfoRights_enum2value_1, /* N => "tag"; sorted by N */ + 3, /* Number of elements in the maps */ + 0, /* Enumeration is not extensible */ + 1, /* Strict enumeration */ + 0, /* Native long size */ + 0 +}; +static ber_tlv_tag_t asn_DEF_PlayerInfoRights_tags_1[] = { + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) +}; +asn_TYPE_descriptor_t asn_DEF_PlayerInfoRights = { + "PlayerInfoRights", + "PlayerInfoRights", + PlayerInfoRights_free, + PlayerInfoRights_print, + PlayerInfoRights_constraint, + PlayerInfoRights_decode_ber, + PlayerInfoRights_encode_der, + PlayerInfoRights_decode_xer, + PlayerInfoRights_encode_xer, + 0, 0, /* No PER support, use "-gen-PER" to enable */ + 0, /* Use generic outmost tag fetcher */ + asn_DEF_PlayerInfoRights_tags_1, + sizeof(asn_DEF_PlayerInfoRights_tags_1) + /sizeof(asn_DEF_PlayerInfoRights_tags_1[0]), /* 1 */ + asn_DEF_PlayerInfoRights_tags_1, /* Same as above */ + sizeof(asn_DEF_PlayerInfoRights_tags_1) + /sizeof(asn_DEF_PlayerInfoRights_tags_1[0]), /* 1 */ + 0, /* No PER visible constraints */ + 0, 0, /* Defined elsewhere */ + &asn_SPC_PlayerInfoRights_specs_1 /* Additional specs */ +}; + diff --git a/src/third_party/asn1/PlayerInfoRights.h b/src/third_party/asn1/PlayerInfoRights.h new file mode 100644 index 00000000..83046d9e --- /dev/null +++ b/src/third_party/asn1/PlayerInfoRights.h @@ -0,0 +1,45 @@ +/* + * 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 _PlayerInfoRights_H_ +#define _PlayerInfoRights_H_ + + +#include + +/* Including external dependencies */ +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* Dependencies */ +typedef enum PlayerInfoRights { + PlayerInfoRights_playerRightsGuest = 1, + PlayerInfoRights_playerRightsNormal = 2, + PlayerInfoRights_playerRightsAdmin = 3 +} e_PlayerInfoRights; + +/* PlayerInfoRights */ +typedef long PlayerInfoRights_t; + +/* Implementation */ +extern asn_TYPE_descriptor_t asn_DEF_PlayerInfoRights; +asn_struct_free_f PlayerInfoRights_free; +asn_struct_print_f PlayerInfoRights_print; +asn_constr_check_f PlayerInfoRights_constraint; +ber_type_decoder_f PlayerInfoRights_decode_ber; +der_type_encoder_f PlayerInfoRights_encode_der; +xer_type_decoder_f PlayerInfoRights_decode_xer; +xer_type_encoder_f PlayerInfoRights_encode_xer; + +#ifdef __cplusplus +} +#endif + +#endif /* _PlayerInfoRights_H_ */ diff --git a/src/third_party/asn1/PlayerResult.c b/src/third_party/asn1/PlayerResult.c index adcb6721..4b1f39d8 100644 --- a/src/third_party/asn1/PlayerResult.c +++ b/src/third_party/asn1/PlayerResult.c @@ -198,13 +198,13 @@ static ber_tlv_tag_t asn_DEF_PlayerResult_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayerResult_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* playerId at 466 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 467 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 468 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 470 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 471 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 472 */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 469 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* playerId at 473 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* resultCard1 at 474 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* resultCard2 at 475 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 2 }, /* cardsValue at 477 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 1 }, /* moneyWon at 478 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -5, 0 }, /* playerMoney at 479 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* bestHandPosition at 476 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayerResult_specs_1 = { sizeof(struct PlayerResult), diff --git a/src/third_party/asn1/PlayersActionDoneMessage.c b/src/third_party/asn1/PlayersActionDoneMessage.c index a8a1a718..42a53392 100644 --- a/src/third_party/asn1/PlayersActionDoneMessage.c +++ b/src/third_party/asn1/PlayersActionDoneMessage.c @@ -188,14 +188,14 @@ static ber_tlv_tag_t asn_DEF_PlayersActionDoneMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayersActionDoneMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 415 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 416 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 419 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 420 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 421 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 422 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 417 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 418 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 422 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* playerId at 423 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -2, 3 }, /* totalPlayerBet at 426 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -3, 2 }, /* playerMoney at 427 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -4, 1 }, /* highestSet at 428 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 0 }, /* minimumRaise at 429 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 1 }, /* gameState at 424 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, -1, 0 } /* playerAction at 425 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayersActionDoneMessage_specs_1 = { sizeof(struct PlayersActionDoneMessage), diff --git a/src/third_party/asn1/PlayersTurnMessage.c b/src/third_party/asn1/PlayersTurnMessage.c index d94eee1d..6edaff18 100644 --- a/src/third_party/asn1/PlayersTurnMessage.c +++ b/src/third_party/asn1/PlayersTurnMessage.c @@ -43,9 +43,9 @@ static ber_tlv_tag_t asn_DEF_PlayersTurnMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_PlayersTurnMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 390 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 391 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 393 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 397 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 398 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 } /* gameState at 400 */ }; static asn_SEQUENCE_specifics_t asn_SPC_PlayersTurnMessage_specs_1 = { sizeof(struct PlayersTurnMessage), diff --git a/src/third_party/asn1/RemovedFromGame.c b/src/third_party/asn1/RemovedFromGame.c index 5eb7e38f..df832731 100644 --- a/src/third_party/asn1/RemovedFromGame.c +++ b/src/third_party/asn1/RemovedFromGame.c @@ -149,7 +149,7 @@ static ber_tlv_tag_t asn_DEF_RemovedFromGame_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_RemovedFromGame_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* removedFromGameReason at 349 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* removedFromGameReason at 356 */ }; static asn_SEQUENCE_specifics_t asn_SPC_RemovedFromGame_specs_1 = { sizeof(struct RemovedFromGame), diff --git a/src/third_party/asn1/StartEventAckMessage.c b/src/third_party/asn1/StartEventAckMessage.c index 790de95e..844ca9c0 100644 --- a/src/third_party/asn1/StartEventAckMessage.c +++ b/src/third_party/asn1/StartEventAckMessage.c @@ -25,7 +25,7 @@ static ber_tlv_tag_t asn_DEF_StartEventAckMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StartEventAckMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 374 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 381 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StartEventAckMessage_specs_1 = { sizeof(struct StartEventAckMessage), diff --git a/src/third_party/asn1/StartEventMessage.c b/src/third_party/asn1/StartEventMessage.c index 04a7172b..51517337 100644 --- a/src/third_party/asn1/StartEventMessage.c +++ b/src/third_party/asn1/StartEventMessage.c @@ -34,8 +34,8 @@ static ber_tlv_tag_t asn_DEF_StartEventMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StartEventMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 369 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 368 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* fillWithComputerPlayers at 376 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* gameId at 375 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StartEventMessage_specs_1 = { sizeof(struct StartEventMessage), diff --git a/src/third_party/asn1/StartKickPetitionMessage.c b/src/third_party/asn1/StartKickPetitionMessage.c index 21cd0610..c86b16fc 100644 --- a/src/third_party/asn1/StartKickPetitionMessage.c +++ b/src/third_party/asn1/StartKickPetitionMessage.c @@ -120,12 +120,12 @@ static ber_tlv_tag_t asn_DEF_StartKickPetitionMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StartKickPetitionMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 504 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 505 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 506 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 507 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 508 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 509 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* gameId at 511 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 4 }, /* petitionId at 512 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 3 }, /* proposingPlayerId at 513 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -3, 2 }, /* kickPlayerId at 514 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -4, 1 }, /* kickTimeoutSec at 515 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -5, 0 } /* numVotesNeededToKick at 516 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StartKickPetitionMessage_specs_1 = { sizeof(struct StartKickPetitionMessage), diff --git a/src/third_party/asn1/StatisticsData.c b/src/third_party/asn1/StatisticsData.c index c28a1b65..a2c8976c 100644 --- a/src/third_party/asn1/StatisticsData.c +++ b/src/third_party/asn1/StatisticsData.c @@ -148,8 +148,8 @@ static ber_tlv_tag_t asn_DEF_StatisticsData_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StatisticsData_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 568 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 565 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* statisticsValue at 575 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* statisticsType at 572 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StatisticsData_specs_1 = { sizeof(struct StatisticsData), diff --git a/src/third_party/asn1/StatisticsMessage.c b/src/third_party/asn1/StatisticsMessage.c index 5e2f7fed..6355d005 100644 --- a/src/third_party/asn1/StatisticsMessage.c +++ b/src/third_party/asn1/StatisticsMessage.c @@ -95,7 +95,7 @@ static ber_tlv_tag_t asn_DEF_StatisticsMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_StatisticsMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* statisticsData at 561 */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* statisticsData at 568 */ }; static asn_SEQUENCE_specifics_t asn_SPC_StatisticsMessage_specs_1 = { sizeof(struct StatisticsMessage), diff --git a/src/third_party/asn1/SubscriptionRequestMessage.c b/src/third_party/asn1/SubscriptionRequestMessage.c index f82c1528..8fab29ac 100644 --- a/src/third_party/asn1/SubscriptionRequestMessage.c +++ b/src/third_party/asn1/SubscriptionRequestMessage.c @@ -142,7 +142,7 @@ static ber_tlv_tag_t asn_DEF_SubscriptionRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_SubscriptionRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* subscriptionAction at 255 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* subscriptionAction at 262 */ }; static asn_SEQUENCE_specifics_t asn_SPC_SubscriptionRequestMessage_specs_1 = { sizeof(struct SubscriptionRequestMessage), diff --git a/src/third_party/asn1/TimeoutWarningMessage.c b/src/third_party/asn1/TimeoutWarningMessage.c index ccbf229e..466aed91 100644 --- a/src/third_party/asn1/TimeoutWarningMessage.c +++ b/src/third_party/asn1/TimeoutWarningMessage.c @@ -151,8 +151,8 @@ static ber_tlv_tag_t asn_DEF_TimeoutWarningMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_TimeoutWarningMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 620 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 616 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* remainingSeconds at 627 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* timeoutReason at 623 */ }; static asn_SEQUENCE_specifics_t asn_SPC_TimeoutWarningMessage_specs_1 = { sizeof(struct TimeoutWarningMessage), diff --git a/src/third_party/asn1/VoteKickDenied.c b/src/third_party/asn1/VoteKickDenied.c index 126edc99..9186e59b 100644 --- a/src/third_party/asn1/VoteKickDenied.c +++ b/src/third_party/asn1/VoteKickDenied.c @@ -141,7 +141,7 @@ static ber_tlv_tag_t asn_DEF_VoteKickDenied_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_VoteKickDenied_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* voteKickDeniedReason at 532 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* voteKickDeniedReason at 539 */ }; static asn_SEQUENCE_specifics_t asn_SPC_VoteKickDenied_specs_1 = { sizeof(struct VoteKickDenied), diff --git a/src/third_party/asn1/VoteKickReplyMessage.c b/src/third_party/asn1/VoteKickReplyMessage.c index 3876ff48..fc15606e 100644 --- a/src/third_party/asn1/VoteKickReplyMessage.c +++ b/src/third_party/asn1/VoteKickReplyMessage.c @@ -30,8 +30,8 @@ static asn_TYPE_member_t asn_MBR_voteKickReplyType_4[] = { }, }; static asn_TYPE_tag2member_t asn_MAP_voteKickReplyType_tag2el_4[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 522 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 524 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* voteKickAck at 529 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* voteKickDenied at 531 */ }; static asn_CHOICE_specifics_t asn_SPC_voteKickReplyType_specs_4 = { sizeof(struct voteKickReplyType), @@ -100,10 +100,10 @@ static ber_tlv_tag_t asn_DEF_VoteKickReplyMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_VoteKickReplyMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 519 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 520 */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 522 */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 524 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 526 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* petitionId at 527 */ + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* voteKickAck at 529 */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* voteKickDenied at 531 */ }; static asn_SEQUENCE_specifics_t asn_SPC_VoteKickReplyMessage_specs_1 = { sizeof(struct VoteKickReplyMessage), diff --git a/src/third_party/asn1/VoteKickRequestMessage.c b/src/third_party/asn1/VoteKickRequestMessage.c index ff84c858..b7dfd987 100644 --- a/src/third_party/asn1/VoteKickRequestMessage.c +++ b/src/third_party/asn1/VoteKickRequestMessage.c @@ -43,9 +43,9 @@ static ber_tlv_tag_t asn_DEF_VoteKickRequestMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_VoteKickRequestMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 515 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 513 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 514 */ + { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 522 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 520 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 521 */ }; static asn_SEQUENCE_specifics_t asn_SPC_VoteKickRequestMessage_specs_1 = { sizeof(struct VoteKickRequestMessage), diff --git a/src/third_party/asn1/YourActionRejectedMessage.c b/src/third_party/asn1/YourActionRejectedMessage.c index 02333521..268c1cac 100644 --- a/src/third_party/asn1/YourActionRejectedMessage.c +++ b/src/third_party/asn1/YourActionRejectedMessage.c @@ -205,11 +205,11 @@ static ber_tlv_tag_t asn_DEF_YourActionRejectedMessage_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_TYPE_tag2member_t asn_MAP_YourActionRejectedMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 403 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 406 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 404 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 405 */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 408 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 410 */ + { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* yourRelativeBet at 413 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 2 }, /* gameState at 411 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -1, 1 }, /* yourAction at 412 */ + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, -2, 0 } /* rejectionReason at 415 */ }; static asn_SEQUENCE_specifics_t asn_SPC_YourActionRejectedMessage_specs_1 = { sizeof(struct YourActionRejectedMessage),