diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-21 05:10:39 +0800 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-21 05:56:26 +0800 |
commit | 80397d3f1c93d79a4151647e4a412bb003a0f9bc (patch) | |
tree | a25ae4fed6c45bac348e905a51f83e0d64ffddf4 /src/common | |
parent | 07da1b321cde4787aa51741079fa2e41fbf08a8b (diff) | |
download | manaserv-80397d3f1c93d79a4151647e4a412bb003a0f9bc.tar.gz manaserv-80397d3f1c93d79a4151647e4a412bb003a0f9bc.tar.xz manaserv-80397d3f1c93d79a4151647e4a412bb003a0f9bc.zip |
Made @announce fully functional
- Added announcements having senders now.
- Removed /announcement support.
Reviewed-by: Bjorn.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/manaserv_protocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h index 7ad2bc1..6c34276 100644 --- a/src/common/manaserv_protocol.h +++ b/src/common/manaserv_protocol.h @@ -209,11 +209,10 @@ enum { // Chat CPMSG_ERROR = 0x0401, // B error - CPMSG_ANNOUNCEMENT = 0x0402, // S text + CPMSG_ANNOUNCEMENT = 0x0402, // S text, S sender CPMSG_PRIVMSG = 0x0403, // S user, S text CPMSG_PUBMSG = 0x0404, // W channel, S user, S text PCMSG_CHAT = 0x0410, // S text, W channel - PCMSG_ANNOUNCE = 0x0411, // S text PCMSG_PRIVMSG = 0x0412, // S user, S text PCMSG_WHO = 0x0415, // - CPMSG_WHO_RESPONSE = 0x0416, // { S user } @@ -264,6 +263,7 @@ enum { GAMSG_TRANSACTION = 0x0600, // D character id, D action, S message GAMSG_CREATE_ITEM_ON_MAP = 0x0601, // D map id, D item id, W amount, W pos x, W pos y GAMSG_REMOVE_ITEM_ON_MAP = 0x0602, // D map id, D item id, W amount, W pos x, W pos y + GAMSG_ANNOUNCE = 0x0603, // S text, W senderid, S sendername XXMSG_INVALID = 0x7FFF }; |