summaryrefslogtreecommitdiff
path: root/src/net/protocol.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-12-29 12:22:33 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-12-29 12:22:33 +0000
commitf50453791d237120f1ded69323fb914d6069f6be (patch)
tree2610258aeaec84a04978a92774794774b66ac9d5 /src/net/protocol.h
parentb2ef30efb59c8aa4df3bbaab376d46c583a40d98 (diff)
downloadMana-f50453791d237120f1ded69323fb914d6069f6be.tar.gz
Mana-f50453791d237120f1ded69323fb914d6069f6be.tar.bz2
Mana-f50453791d237120f1ded69323fb914d6069f6be.tar.xz
Mana-f50453791d237120f1ded69323fb914d6069f6be.zip
Implemented catching and displaying of damage notifications.
Diffstat (limited to 'src/net/protocol.h')
-rw-r--r--src/net/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/protocol.h b/src/net/protocol.h
index 081a70fc..80ad48af 100644
--- a/src/net/protocol.h
+++ b/src/net/protocol.h
@@ -159,7 +159,7 @@ enum {
GPMSG_BEING_LEAVE = 0x0201, // W being id
PGMSG_WALK = 0x0260, // W*2 destination
GPMSG_BEINGS_MOVE = 0x0280, // { W being id, B flags [, C position] [, W*2 destination] }*
- PGMSG_ATTACK = 0x0290, // -
+ PGMSG_ATTACK = 0x0290, // B direction
GPMSG_BEING_ATTACK = 0x0291, // W being id
PGMSG_SAY = 0x02A0, // S text
GPMSG_SAY = 0x02A1, // W being id, S text
@@ -167,6 +167,7 @@ enum {
GPMSG_USE_RESPONSE = 0x0301, // B error
PGMSG_EQUIP = 0x0302, // L item id, B slot
GPMSG_EQUIP_RESPONSE = 0x0303, // B error
+ GPMSG_BEINGS_DAMAGE = 0x0310, // { W being id, W ammount }*
// Chat
CPMSG_ERROR = 0x0401, // B error