summaryrefslogtreecommitdiff
path: root/src/common/manaserv_protocol.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-10-13 14:45:28 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-10-13 14:45:28 +0200
commit336ce321a9b996e56a61a5364bb32124efa84dd9 (patch)
treef7712a71ba4b008c140f2ba320fb4c1bd67c7e4d /src/common/manaserv_protocol.h
parent363fab6ca67d52b303e1217a3bca150f2e2097ad (diff)
downloadmanaserv-336ce321a9b996e56a61a5364bb32124efa84dd9.tar.gz
manaserv-336ce321a9b996e56a61a5364bb32124efa84dd9.tar.bz2
manaserv-336ce321a9b996e56a61a5364bb32124efa84dd9.tar.xz
manaserv-336ce321a9b996e56a61a5364bb32124efa84dd9.zip
Added GPMSG_NPC_BUYSELL_RESPONSE
Without this message it is not possible to reliably know how many items were traded with an NPC at the client side. It helps with updating the shop's inventory.
Diffstat (limited to 'src/common/manaserv_protocol.h')
-rw-r--r--src/common/manaserv_protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h
index 9d562037..0382efb5 100644
--- a/src/common/manaserv_protocol.h
+++ b/src/common/manaserv_protocol.h
@@ -172,6 +172,7 @@ enum {
PGMSG_NPC_STRING = 0x02D4, // W being id, S string
GPMSG_NPC_NUMBER = 0x02D5, // W being id, D max, D min, D default
GPMSG_NPC_STRING = 0x02D6, // W being id
+ GPMSG_NPC_BUYSELL_RESPONSE = 0x02D7, // B error, W item id, W amount
PGMSG_TRADE_REQUEST = 0x02E0, // W being id
GPMSG_TRADE_REQUEST = 0x02E1, // W being id
GPMSG_TRADE_START = 0x02E2, // -