diff options
| author | Stijn Buys <ingar@osirion.org> | 2008-11-08 16:51:28 +0000 | 
|---|---|---|
| committer | Stijn Buys <ingar@osirion.org> | 2008-11-08 16:51:28 +0000 | 
| commit | 6cd1a38f1d3a0a45846d63a75475400372af1277 (patch) | |
| tree | 35bc79e34fe727fc387103a183f80b203c6dfa12 /src/core/gameserver.h | |
| parent | 731dfb8f3ca9c34e4160021cb221c3056c00dbf9 (diff) | |
moved message functions into Player class
Diffstat (limited to 'src/core/gameserver.h')
| -rw-r--r-- | src/core/gameserver.h | 14 | 
1 files changed, 1 insertions, 13 deletions
| diff --git a/src/core/gameserver.h b/src/core/gameserver.h index 4ea476b..8d9ca9b 100644 --- a/src/core/gameserver.h +++ b/src/core/gameserver.h @@ -63,23 +63,11 @@ public:  	void broadcast(std::string const message, Player *ignore_player = 0);  	/// broadcast a message to all players on a specified channel -	void broadcast_message(Message::Channel const channel, std::string const message, Player *ignore_player = 0); - -	/// send an Info message to a single player -	void send(Player *player, std::string const message); - -	/// send a RCon message to a single player -	void send_rcon(Player *player, std::string const message); - -	/// send a message on the specific channel to the specified Player -	void send_message(Message::Channel const channel, Player *player, std::string const message); +	void broadcast(Message::Channel const channel, std::string const message, Player *ignore_player = 0);  	/// broadcast a sound to all players  	void broadcast_sound(std::string const sound, Player *ignore_player = 0); -	/// send a sound to a single player -	void send_sound(Player *player, std::string const sound); -  	/// a player sends a command to the game server  	void exec(Player *player, std::string const &cmdline); | 
