From 6a7d3f9343f29bd9b46f3bbac917aa190b42b14d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 1 May 2009 14:35:41 -0600 Subject: Merge the NPC dialogs into one Also add support for the new TMWServ NPC packets --- src/net/tmwserv/protocol.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net/tmwserv/protocol.h') diff --git a/src/net/tmwserv/protocol.h b/src/net/tmwserv/protocol.h index fc52bd57..7fa3b372 100644 --- a/src/net/tmwserv/protocol.h +++ b/src/net/tmwserv/protocol.h @@ -120,9 +120,14 @@ enum { GPMSG_NPC_SELL = 0x02B6, // W being id, { W item id, W amount, W cost }* PGMSG_NPC_BUYSELL = 0x02B7, // W item id, W amount GPMSG_NPC_ERROR = 0x02B8, // B error + GPMSG_NPC_CLOSE = 0x02B9, // W being id GPMSG_NPC_POST = 0x02D0, // W being id PGMSG_NPC_POST_SEND = 0x02D1, // S name, S text, W item id GPMSG_NPC_POST_GET = 0x02D2, // W being id, { S name, S text, W item id } + PGMSG_NPC_NUMBER = 0x02D3, // W being id, L number + PGMSG_NPC_STRING = 0x02D4, // W being id, S string + GPMSG_NPC_NUMBER = 0x02D5, // W being id, L max, L min, L default + GPMSG_NPC_STRING = 0x02D6, // W being id PGMSG_TRADE_REQUEST = 0x02C0, // W being id GPMSG_TRADE_REQUEST = 0x02C1, // W being id GPMSG_TRADE_START = 0x02C2, // - -- cgit v1.2.3-60-g2f50