summaryrefslogtreecommitdiff
path: root/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'core.h')
-rw-r--r--core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/core.h b/core.h
index 2696032..7d2f052 100644
--- a/core.h
+++ b/core.h
@@ -155,9 +155,15 @@ struct Packet {
B2C_WINDOW_ADD = 0x100,
B2C_WINDOW_REMOVE = 0x101,
B2C_WINDOW_MESSAGE = 0x102,
+ B2C_WINDOW_RENAME = 0x103,
C2B_WINDOW_INPUT = 0x102,
+ B2C_CHANNEL_USER_ADD = 0x120,
+ B2C_CHANNEL_USER_REMOVE = 0x121,
+ B2C_CHANNEL_USER_RENAME = 0x122,
+ B2C_CHANNEL_USER_MODES = 0x123,
+
C2B_OOB_LOGIN = 0x8001,
B2C_OOB_LOGIN_SUCCESS = 0x8001,
@@ -317,6 +323,8 @@ public:
int clientCount;
int serverCount;
+ void sendToClients(Packet::Type type, const Buffer &data);
+
std::list<Window *> windows;
int nextWindowID;