diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-10-22 21:15:41 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-10-22 21:15:41 +0200 |
commit | 3a79ff0eae322e69efc11e1a5f60c911308eea7e (patch) | |
tree | 0a1684cd1f4cd3ae1d4e5263192943161b37ca99 /src/common | |
parent | 22afb99c7977176474f81546bca6b114b05e818f (diff) | |
download | manaserv-3a79ff0eae322e69efc11e1a5f60c911308eea7e.tar.gz manaserv-3a79ff0eae322e69efc11e1a5f60c911308eea7e.tar.xz manaserv-3a79ff0eae322e69efc11e1a5f60c911308eea7e.zip |
Officially added the being gender to the protocol.
Reviewed-by: o11c.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/manaserv_protocol.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h index dc7e47b..cbe7a0b 100644 --- a/src/common/manaserv_protocol.h +++ b/src/common/manaserv_protocol.h @@ -165,7 +165,7 @@ enum { GPMSG_BEINGS_DAMAGE = 0x0310, // { W being id, W amount }* GPMSG_CREATE_EFFECT_POS = 0x0320, // W effect id, W*2 position GPMSG_CREATE_EFFECT_BEING = 0x0321, // W effect id, W BeingID - GPMSG_SHAKE = 0x0330, // W intensityX, W intensityY, [W decay_times_10000, [W duration]]
+ GPMSG_SHAKE = 0x0330, // W intensityX, W intensityY, [W decay_times_10000, [W duration]] // Guild PCMSG_GUILD_CREATE = 0x0350, // S name @@ -443,6 +443,18 @@ enum SpriteLayer SPRITE_VECTOREND }; +/** + * Beings Genders + * WARNING: Has to be in sync with the same enum in the Being class + * of the client! + */ +enum BeingGender +{ + GENDER_MALE = 0, + GENDER_FEMALE, + GENDER_UNSPECIFIED +}; + } // namespace ManaServ #endif // MANASERV_PROTOCOL_H |