diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-09-02 11:58:35 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-09-02 11:58:35 +0000 |
commit | 2b322bf18d80acb464a9dc1820e581e7204cca1e (patch) | |
tree | 6938f1d8f63c8d8c1142b972117b42d2c50d1883 /src/net/protocol.h | |
parent | da43e09d2b043d5c75ad0adb87dd43f1fe36fe8f (diff) | |
download | mana-2b322bf18d80acb464a9dc1820e581e7204cca1e.tar.gz mana-2b322bf18d80acb464a9dc1820e581e7204cca1e.tar.bz2 mana-2b322bf18d80acb464a9dc1820e581e7204cca1e.tar.xz mana-2b322bf18d80acb464a9dc1820e581e7204cca1e.zip |
Switched to short IDs for beings.
Diffstat (limited to 'src/net/protocol.h')
-rw-r--r-- | src/net/protocol.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/net/protocol.h b/src/net/protocol.h index 6feee9d4..f056f003 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -152,13 +152,14 @@ enum { // [, S32 token, S server, W port] PGMSG_PICKUP = 0x0110, GPMSG_PICKUP_RESPONSE = 0x0111, - GPMSG_BEING_ENTER = 0x0200, // B type, L being id + GPMSG_BEING_ENTER = 0x0200, // B type, W being id // player: S name, B hair style, B hair color, B gender - GPMSG_BEING_LEAVE = 0x0201, // B type, L being id + // monster: W type id + GPMSG_BEING_LEAVE = 0x0201, // W being id PGMSG_WALK = 0x0260, // W*2 destination - GPMSG_BEINGS_MOVE = 0x0280, // { L being id, W*2 position, W*2 destination }* + GPMSG_BEINGS_MOVE = 0x0280, // { W being id, W*2 position, W*2 destination }* PGMSG_SAY = 0x02A0, // S text - GPMSG_SAY = 0x02A1, // L being id, S text + GPMSG_SAY = 0x02A1, // W being id, S text PGMSG_USE_ITEM = 0x0300, // L item id GPMSG_USE_RESPONSE = 0x0301, // B error PGMSG_EQUIP = 0x0302, // L item id, B slot |