summaryrefslogtreecommitdiff
path: root/src/net/protocol.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-23 16:51:13 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-23 16:51:13 +0000
commit430bbe292eb51b3f3bb7b356d8b218b28bed0ff4 (patch)
treeafe53ed4e2978408a0082ec974f0b9dfab32a00c /src/net/protocol.h
parenta30bb2e92405fb379db298f2996e1c0ecd3f4bbd (diff)
downloadmana-client-430bbe292eb51b3f3bb7b356d8b218b28bed0ff4.tar.gz
mana-client-430bbe292eb51b3f3bb7b356d8b218b28bed0ff4.tar.bz2
mana-client-430bbe292eb51b3f3bb7b356d8b218b28bed0ff4.tar.xz
mana-client-430bbe292eb51b3f3bb7b356d8b218b28bed0ff4.zip
Converted NPC code to new server.
Diffstat (limited to 'src/net/protocol.h')
-rw-r--r--src/net/protocol.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/protocol.h b/src/net/protocol.h
index f13b6a02..8fe7e1b6 100644
--- a/src/net/protocol.h
+++ b/src/net/protocol.h
@@ -165,6 +165,7 @@ enum {
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, B item bitmask, { W item id }*
// monster: W type id
+ // npc: W type id
GPMSG_BEING_LEAVE = 0x0201, // W being id
GPMSG_ITEM_APPEAR = 0x0202, // W item id, W*2 position
GPMSG_BEING_LOOKS_CHANGE = 0x0210, // W weapon, W hat, W top clothes, W bottom clothes
@@ -177,6 +178,11 @@ 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_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
PGMSG_USE_ITEM = 0x0300, // L item id
GPMSG_USE_RESPONSE = 0x0301, // B error
GPMSG_BEINGS_DAMAGE = 0x0310, // { W being id, W amount }*