Adding game id to vote kick messages.

This commit is contained in:
lotodore
2009-08-03 21:55:38 +00:00
parent 5faad7b288
commit 1d989b9552
23 changed files with 234 additions and 157 deletions
+12 -12
View File
@@ -41,15 +41,6 @@ memb_chatText_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
}
static asn_TYPE_member_t asn_MBR_ChatMessage_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct ChatMessage, playerId),
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
0,
&asn_DEF_Id,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"playerId"
},
{ ATF_NOFLAGS, 0, offsetof(struct ChatMessage, gameId),
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
0,
@@ -59,6 +50,15 @@ static asn_TYPE_member_t asn_MBR_ChatMessage_1[] = {
0,
"gameId"
},
{ ATF_NOFLAGS, 0, offsetof(struct ChatMessage, playerId),
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
0,
&asn_DEF_Id,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"playerId"
},
{ ATF_NOFLAGS, 0, offsetof(struct ChatMessage, chatText),
(ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
0,
@@ -74,9 +74,9 @@ 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 | (2 << 2)), 0, 0, 1 }, /* playerId at 526 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* gameId at 527 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 2, 0, 0 } /* chatText at 528 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* gameId at 533 */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 }, /* playerId at 534 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 2, 0, 0 } /* chatText at 535 */
};
static asn_SEQUENCE_specifics_t asn_SPC_ChatMessage_specs_1 = {
sizeof(struct ChatMessage),