summaryrefslogtreecommitdiff
path: root/src/net/ea/protocol.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-01 14:13:11 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-01 14:13:11 -0600
commitb987a2806dbcd87a23850901f6f0b86f0801086c (patch)
treee373f4869436f830c2cdeeeaf34a941560ded3fe /src/net/ea/protocol.h
parent6ef22b50f3d0c2410af5bd2543bedc0b3d692f83 (diff)
downloadMana-b987a2806dbcd87a23850901f6f0b86f0801086c.tar.gz
Mana-b987a2806dbcd87a23850901f6f0b86f0801086c.tar.bz2
Mana-b987a2806dbcd87a23850901f6f0b86f0801086c.tar.xz
Mana-b987a2806dbcd87a23850901f6f0b86f0801086c.zip
Create a few more handlers for eAthena
Map, chat, and admin have been finished (to the degree they handle all existing cases).
Diffstat (limited to 'src/net/ea/protocol.h')
-rw-r--r--src/net/ea/protocol.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/ea/protocol.h b/src/net/ea/protocol.h
index 8a4d6135..5a2260e6 100644
--- a/src/net/ea/protocol.h
+++ b/src/net/ea/protocol.h
@@ -121,6 +121,7 @@ static const int STORAGE_OFFSET = 1;
* Packets from client to server *
**********************************/
#define CMSG_CLIENT_PING 0x007e /**< Send to server with tick */
+#define CMSG_CLIENT_QUIT 0x018A
#define CMSG_TRADE_RESPONSE 0x00e6
#define CMSG_ITEM_PICKUP 0x009f
#define CMSG_MAP_LOADED 0x007d
@@ -161,6 +162,11 @@ static const int STORAGE_OFFSET = 1;
#define CSMG_MOVE_FROM_STORAGE 0x00f5 /** Remove item from storage */
#define CMSG_CLOSE_STORAGE 0x00f7 /** Request storage close */
+#define CMSG_ADMIN_ANNOUNCE 0x0099
+#define CMSG_ADMIN_LOCAL_ANNOUNCE 0x019C
+#define CMSG_ADMIN_HIDE 0x019D
+#define CMSG_ADMIN_KICK 0x00CC
+
/** Encodes coords and direction in 3 bytes data */
void set_coordinates(char *data, unsigned short x, unsigned short y, unsigned char direction);