Preparing network protocol for rejoin.
This commit is contained in:
+8
-8
@@ -8,7 +8,7 @@
|
||||
#include "GamePlayerJoined.h"
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_GamePlayerJoined_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct GamePlayerJoined, playerId),
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct GamePlayerJoined, playerId),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
|
||||
0,
|
||||
&asn_DEF_NonZeroId,
|
||||
@@ -16,8 +16,8 @@ static asn_TYPE_member_t asn_MBR_GamePlayerJoined_1[] = {
|
||||
0, /* PER is not compiled, use -gen-PER */
|
||||
0,
|
||||
"playerId"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct GamePlayerJoined, isGameAdmin),
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct GamePlayerJoined, isGameAdmin),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
|
||||
0,
|
||||
&asn_DEF_BOOLEAN,
|
||||
@@ -25,14 +25,14 @@ static asn_TYPE_member_t asn_MBR_GamePlayerJoined_1[] = {
|
||||
0, /* PER is not compiled, use -gen-PER */
|
||||
0,
|
||||
"isGameAdmin"
|
||||
},
|
||||
},
|
||||
};
|
||||
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 }, /* isGameAdmin at 363 */
|
||||
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 362 */
|
||||
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, 0, 0 }, /* isGameAdmin at 370 */
|
||||
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* playerId at 369 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GamePlayerJoined_specs_1 = {
|
||||
sizeof(struct GamePlayerJoined),
|
||||
@@ -57,10 +57,10 @@ asn_TYPE_descriptor_t asn_DEF_GamePlayerJoined = {
|
||||
0, /* Use generic outmost tag fetcher */
|
||||
asn_DEF_GamePlayerJoined_tags_1,
|
||||
sizeof(asn_DEF_GamePlayerJoined_tags_1)
|
||||
/sizeof(asn_DEF_GamePlayerJoined_tags_1[0]), /* 1 */
|
||||
/sizeof(asn_DEF_GamePlayerJoined_tags_1[0]), /* 1 */
|
||||
asn_DEF_GamePlayerJoined_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GamePlayerJoined_tags_1)
|
||||
/sizeof(asn_DEF_GamePlayerJoined_tags_1[0]), /* 1 */
|
||||
/sizeof(asn_DEF_GamePlayerJoined_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GamePlayerJoined_1,
|
||||
2, /* Elements count */
|
||||
|
||||
Reference in New Issue
Block a user