summaryrefslogtreecommitdiff
path: root/src/connectionhandler.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-03-05 01:14:15 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-03-05 01:14:15 +0000
commitee55fb86718729e1ce445b9f674bf8287981cbaf (patch)
tree3053a880f816f176d316e21f61924a219eb545b4 /src/connectionhandler.h
parentdca3ef9431e83d60ed305c8a301081d2d004f849 (diff)
downloadmanaserv-ee55fb86718729e1ce445b9f674bf8287981cbaf.tar.gz
manaserv-ee55fb86718729e1ce445b9f674bf8287981cbaf.tar.bz2
manaserv-ee55fb86718729e1ce445b9f674bf8287981cbaf.tar.xz
manaserv-ee55fb86718729e1ce445b9f674bf8287981cbaf.zip
Added the server code to enter and leave a channel. Some minor fix to the state code, and completed the TODO a little for later coding.
Diffstat (limited to 'src/connectionhandler.h')
-rw-r--r--src/connectionhandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connectionhandler.h b/src/connectionhandler.h
index e89d9f74..c00abfc6 100644
--- a/src/connectionhandler.h
+++ b/src/connectionhandler.h
@@ -138,6 +138,12 @@ class ConnectionHandler
*/
void makeUsersLeaveChannel(const short channelId);
+ /**
+ * tells a list of user about an event in a chatchannel about a player.
+ */
+ void warnUsersAboutPlayerEventInChat(const short channelId,
+ const std::string& userName,
+ const char eventId);
private:
std::map<unsigned int, MessageHandler*> handlers;