diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-13 20:40:16 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-13 20:40:16 +0000 |
commit | d3e938c478570be44c497607262fe8ca7145b171 (patch) | |
tree | 24f0e39e7f46d0ce17ba3f135137f8c7b024a2cf /src/net/protocol.h | |
parent | 0bc585c7299ed1c9bccfaf0aa6b2cc7c4327d1ca (diff) | |
download | mana-d3e938c478570be44c497607262fe8ca7145b171.tar.gz mana-d3e938c478570be44c497607262fe8ca7145b171.tar.bz2 mana-d3e938c478570be44c497607262fe8ca7145b171.tar.xz mana-d3e938c478570be44c497607262fe8ca7145b171.zip |
Started conversion of buy/sell to new server.
Diffstat (limited to 'src/net/protocol.h')
-rw-r--r-- | src/net/protocol.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/protocol.h b/src/net/protocol.h index a524304a..6bbe7919 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -98,11 +98,14 @@ enum { GPMSG_BEING_ATTACK = 0x0291, // W being id PGMSG_SAY = 0x02A0, // S text GPMSG_SAY = 0x02A1, // W being id, S text - GPMSG_NPC_CHOICE = 0x02B0, // W being id, B* text + GPMSG_NPC_CHOICE = 0x02B0, // W being id, { S text }* GPMSG_NPC_MESSAGE = 0x02B1, // W being id, B* text PGMSG_NPC_TALK = 0x02B2, // W being id PGMSG_NPC_TALK_NEXT = 0x02B3, // W being id PGMSG_NPC_SELECT = 0x02B4, // W being id, B choice + GPMSG_NPC_BUY = 0x02B5, // W being id, { W item id, W amount, W cost }* + GPMSG_NPC_SELL = 0x02B6, // W being id, { W item id, W amount, W cost }* + PGMSG_NPC_BUYSELL = 0x02B7, // W item id, W amount PGMSG_TRADE_REQUEST = 0x02C0, // W being id GPMSG_TRADE_REQUEST = 0x02C1, // W being id GPMSG_TRADE_START = 0x02C2, // - |