diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 23:10:27 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 23:10:27 +0000 |
commit | 346bb6d670d630d65f8c35125831c75d031aac7f (patch) | |
tree | c79877ea0d6b46ae748bf4a6d6d3969dc483f0a4 /src/net/protocol.h | |
parent | 6f9a2e74958d794fb049253833b98982e915df45 (diff) | |
download | mana-346bb6d670d630d65f8c35125831c75d031aac7f.tar.gz mana-346bb6d670d630d65f8c35125831c75d031aac7f.tar.bz2 mana-346bb6d670d630d65f8c35125831c75d031aac7f.tar.xz mana-346bb6d670d630d65f8c35125831c75d031aac7f.zip |
Redesigned the localplayer class to use getters and setters instead of direct access to the member variables. Implemented communication of attributes between server and client.
Diffstat (limited to 'src/net/protocol.h')
-rw-r--r-- | src/net/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/protocol.h b/src/net/protocol.h index 980e841a..a9ee0e5b 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -160,6 +160,7 @@ enum { PGMSG_EQUIP = 0x0112, // B slot GPMSG_INVENTORY = 0x0120, // { B slot, W item id [, B amount] }* GPMSG_INVENTORY_FULL = 0x0121, // { B slot, W item id [, B amount] }* + GPMSG_PLAYER_ATTRIBUTE_UPDATE = 0x0130, // { W attribute, W value }* GPMSG_BEING_ENTER = 0x0200, // B type, W being id, B action, W*2 position // player: S name, B hair style, B hair color, B gender // monster: W type id |