Inform players when another player is no longer allowed to rejoin.

This commit is contained in:
lotodore
2011-12-22 20:10:18 +00:00
parent bc37ac69fd
commit f8c1cdf56e
8 changed files with 30 additions and 35 deletions
+4 -2
View File
@@ -82,16 +82,18 @@ NetPlayerState_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
static asn_INTEGER_enum_map_t asn_MAP_NetPlayerState_value2enum_1[] = {
{ 0, 17, "playerStateNormal" },
{ 1, 26, "playerStateSessionInactive" }
{ 1, 26, "playerStateSessionInactive" },
{ 2, 18, "playerStateNoMoney" }
};
static unsigned int asn_MAP_NetPlayerState_enum2value_1[] = {
2, /* playerStateNoMoney(2) */
0, /* playerStateNormal(0) */
1 /* playerStateSessionInactive(1) */
};
static asn_INTEGER_specifics_t asn_SPC_NetPlayerState_specs_1 = {
asn_MAP_NetPlayerState_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_NetPlayerState_enum2value_1, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
3, /* Number of elements in the maps */
0, /* Enumeration is not extensible */
1, /* Strict enumeration */
0, /* Native long size */
+3 -2
View File
@@ -21,9 +21,10 @@ extern "C" {
/* Dependencies */
typedef enum NetPlayerState {
NetPlayerState_playerStateNormal = 0,
NetPlayerState_playerStateSessionInactive = 1
NetPlayerState_playerStateSessionInactive = 1,
NetPlayerState_playerStateNoMoney = 2
}
e_NetPlayerState;
e_NetPlayerState;
/* NetPlayerState */
typedef long NetPlayerState_t;