summaryrefslogtreecommitdiff
path: root/src/net/protocol.h
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-10-15 15:45:14 +0000
committerDavid Athay <ko2fan@gmail.com>2008-10-15 15:45:14 +0000
commit438be47fa7078cd235bda7d2461024ddc222c026 (patch)
tree45afebcc356b7e77a8999ef1bda638c638522fae /src/net/protocol.h
parent61a5caef2951f7e0e3a660514eb5d778d787df8f (diff)
downloadmana-438be47fa7078cd235bda7d2461024ddc222c026.tar.gz
mana-438be47fa7078cd235bda7d2461024ddc222c026.tar.bz2
mana-438be47fa7078cd235bda7d2461024ddc222c026.tar.xz
mana-438be47fa7078cd235bda7d2461024ddc222c026.zip
src/localplayer.cpp
src/net/beinghandler.cpp src/net/protocol.h src/net/gameserver/player.h src/net/gameserver/player.cpp src/net/beinghandler.h ChangeLog tmw.cbp
Diffstat (limited to 'src/net/protocol.h')
-rw-r--r--src/net/protocol.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/protocol.h b/src/net/protocol.h
index bd4eaa17..f766d2da 100644
--- a/src/net/protocol.h
+++ b/src/net/protocol.h
@@ -99,6 +99,8 @@ enum {
PGMSG_WALK = 0x0260, // W*2 destination
PGMSG_ACTION_CHANGE = 0x0270, // B Action
GPMSG_BEING_ACTION_CHANGE = 0x0271, // W being id, B action
+ PGMSG_DIRECTION_CHANGE = 0x0272, // B Direction
+ GPMSG_BEING_DIR_CHANGE = 0x0273, // W being id, B direction
GPMSG_BEINGS_MOVE = 0x0280, // { W being id, B flags [, C position, B speed] [, W*2 destination] }*
GPMSG_ITEMS = 0x0281, // { W item id, W*2 position }*
PGMSG_ATTACK = 0x0290, // B direction
@@ -180,6 +182,12 @@ enum {
PCMSG_USER_MODE = 0x0465, // W channel id, S name, B mode
PCMSG_KICK_USER = 0x0466, // W channel id, S name
+ // Post
+ PGMSG_SEND_POST = 0x04A0, // S player, S letter, { W attachment id }
+ GPMSG_SEND_POST_RESPONSE = 0x04A1, // B error
+ PGMSG_GET_POST = 0x04A2, //
+ GPMSG_GET_POST_RESPONSE = 0x04A3, // { L sender id, S letter, { W attachment id } }
+
XXMSG_INVALID = 0x7FFF
};