summaryrefslogtreecommitdiff
path: root/src/net/protocol.h
diff options
context:
space:
mode:
authorRoderic Morris <roderic@ccs.neu.edu>2008-06-03 16:29:11 +0000
committerRoderic Morris <roderic@ccs.neu.edu>2008-06-03 16:29:11 +0000
commit0fdbf1d62c1add8800ffc7171a1911e1e243ac2a (patch)
treec22e6d658d908d3050cfe3dd5970f356e28aa465 /src/net/protocol.h
parentd4e8401e55c7bc3f5c8545b66167e8c3bf3cd380 (diff)
downloadmana-0fdbf1d62c1add8800ffc7171a1911e1e243ac2a.tar.gz
mana-0fdbf1d62c1add8800ffc7171a1911e1e243ac2a.tar.bz2
mana-0fdbf1d62c1add8800ffc7171a1911e1e243ac2a.tar.xz
mana-0fdbf1d62c1add8800ffc7171a1911e1e243ac2a.zip
channel announcements and leave / enter messages, chat code refactoring
Diffstat (limited to 'src/net/protocol.h')
-rw-r--r--src/net/protocol.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/net/protocol.h b/src/net/protocol.h
index d2d5937d..87577942 100644
--- a/src/net/protocol.h
+++ b/src/net/protocol.h
@@ -252,4 +252,21 @@ enum {
MOVING_DESTINATION = 2
};
+// Email change specific return values
+enum {
+ EMAILCHG_EXISTS_EMAIL = 0x40
+};
+
+// Chat errors return values
+enum {
+ CHAT_USING_BAD_WORDS = 0x40,
+ CHAT_UNHANDLED_COMMAND
+};
+
+// Chat channels event values
+enum {
+ CHAT_EVENT_NEW_PLAYER = 0,
+ CHAT_EVENT_LEAVING_PLAYER
+};
+
#endif