Adding game id to vote kick messages.
This commit is contained in:
+16
-6
@@ -9,6 +9,15 @@
|
||||
#include "VoteKickRequestMessage.h"
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_VoteKickRequestMessage_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct VoteKickRequestMessage, gameId),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
|
||||
0,
|
||||
&asn_DEF_NonZeroId,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* PER is not compiled, use -gen-PER */
|
||||
0,
|
||||
"gameId"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct VoteKickRequestMessage, petitionId),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
|
||||
0,
|
||||
@@ -33,17 +42,18 @@ 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)), 1, 0, 0 }, /* voteKick at 468 */
|
||||
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* petitionId at 467 */
|
||||
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, 0, 0 }, /* voteKick at 472 */
|
||||
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 470 */
|
||||
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* petitionId at 471 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_VoteKickRequestMessage_specs_1 = {
|
||||
sizeof(struct VoteKickRequestMessage),
|
||||
offsetof(struct VoteKickRequestMessage, _asn_ctx),
|
||||
asn_MAP_VoteKickRequestMessage_tag2el_1,
|
||||
2, /* Count of tags in the map */
|
||||
3, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
1, /* Start extensions */
|
||||
3 /* Stop extensions */
|
||||
2, /* Start extensions */
|
||||
4 /* Stop extensions */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_VoteKickRequestMessage = {
|
||||
"VoteKickRequestMessage",
|
||||
@@ -65,7 +75,7 @@ asn_TYPE_descriptor_t asn_DEF_VoteKickRequestMessage = {
|
||||
/sizeof(asn_DEF_VoteKickRequestMessage_tags_1[0]), /* 2 */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_VoteKickRequestMessage_1,
|
||||
2, /* Elements count */
|
||||
3, /* Elements count */
|
||||
&asn_SPC_VoteKickRequestMessage_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user