summaryrefslogtreecommitdiff
path: root/src/net/manaserv/manaserv_protocol.h
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-01-21 05:12:32 +0800
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-01-21 05:56:14 +0800
commitf263ad5867ce03f585fc9d7145d6c5f3ebbcdb59 (patch)
tree6fcdd4cd3520f195c11669cf9af04ad170823758 /src/net/manaserv/manaserv_protocol.h
parentd2b77eb41833eb775165a39331d02af83bdb0d8b (diff)
downloadmana-f263ad5867ce03f585fc9d7145d6c5f3ebbcdb59.tar.gz
mana-f263ad5867ce03f585fc9d7145d6c5f3ebbcdb59.tar.bz2
mana-f263ad5867ce03f585fc9d7145d6c5f3ebbcdb59.tar.xz
mana-f263ad5867ce03f585fc9d7145d6c5f3ebbcdb59.zip
Clientside fix of switching from /announce to @announce
- Added support for senders of announcement Reviewed-by: Bjorn.
Diffstat (limited to 'src/net/manaserv/manaserv_protocol.h')
-rw-r--r--src/net/manaserv/manaserv_protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/manaserv/manaserv_protocol.h b/src/net/manaserv/manaserv_protocol.h
index 2dc270c4..800eb452 100644
--- a/src/net/manaserv/manaserv_protocol.h
+++ b/src/net/manaserv/manaserv_protocol.h
@@ -205,11 +205,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 }
@@ -252,6 +251,7 @@ enum {
GCMSG_STORE_POST = 0x05A5, // D sender id, S receiver name, S letter, { W attachment item id, W quantity }
CGMSG_STORE_POST_RESPONSE = 0x05A6, // D id, B error
GAMSG_TRANSACTION = 0x0600, // D character id, D action, S message
+ GAMSG_ANNOUNCE = 0x0603, // S text, W senderid, S sendername
XXMSG_INVALID = 0x7FFF
};