From ee55fb86718729e1ce445b9f674bf8287981cbaf Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 5 Mar 2006 01:14:15 +0000 Subject: 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. --- src/connectionhandler.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/connectionhandler.h') 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 handlers; -- cgit v1.2.3-60-g2f50