From 351f050dd77c7dfae7ab901b9dab08336e59b4fc Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Tue, 23 May 2006 05:35:13 +0000 Subject: Split server into three logical servers: an account server, a chat server, and a game server. --- src/chatchannel.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/chatchannel.h') diff --git a/src/chatchannel.h b/src/chatchannel.h index 997519a8..f46b1dae 100644 --- a/src/chatchannel.h +++ b/src/chatchannel.h @@ -30,8 +30,8 @@ #include "being.h" class ChatChannel { - public: + typedef std::vector< std::string > ChannelUsers; /** * Constructors @@ -78,17 +78,17 @@ class ChatChannel { /** * Get the list of the users registered in the channel */ - std::vector getUserList() const; + ChannelUsers const &getUserList() const; /** * Add a user in the channel */ - bool addUserInChannel(tmwserv::BeingPtr beingPtr); + bool addUserInChannel(std::string const &); /** * Remove a user from the channel. */ - bool removeUserFromChannel(tmwserv::BeingPtr beingPtr); + bool removeUserFromChannel(std::string const &); /** * Empties a channel from its users (admin included). @@ -114,7 +114,7 @@ class ChatChannel { /** * The registered user list */ - std::vector mRegisteredUsers; + ChannelUsers mRegisteredUsers; }; -- cgit v1.2.3-70-g09d2