summaryrefslogtreecommitdiff
path: root/src/connectionhandler.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-01-20 23:17:19 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-01-20 23:17:19 +0000
commitd318b2428878bd0e35b189b3e6d3bffd825da25c (patch)
treedc61bd08aec87a5293e1ca072079652ad6047423 /src/connectionhandler.h
parent7960ff184f15a3b6029fef8e5100d24a6c556afe (diff)
downloadmanaserv-d318b2428878bd0e35b189b3e6d3bffd825da25c.tar.gz
manaserv-d318b2428878bd0e35b189b3e6d3bffd825da25c.tar.bz2
manaserv-d318b2428878bd0e35b189b3e6d3bffd825da25c.tar.xz
manaserv-d318b2428878bd0e35b189b3e6d3bffd825da25c.zip
Chat channeling commit part 3. Is now linked with the connection handler to chat in a specific channel. Also made some fixes on the chat channeling.
Diffstat (limited to 'src/connectionhandler.h')
-rw-r--r--src/connectionhandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/connectionhandler.h b/src/connectionhandler.h
index 9b0938e1..08965a6a 100644
--- a/src/connectionhandler.h
+++ b/src/connectionhandler.h
@@ -124,6 +124,11 @@ class ConnectionHandler
void sendAround(tmwserv::BeingPtr, MessageOut &);
/**
+ * Send packet to every client in a registered channel.
+ */
+ void sendInChannel(short channelId, MessageOut &);
+
+ /**
* Return the number of connected clients.
*/
unsigned int getClientNumber();