From 6cd1a38f1d3a0a45846d63a75475400372af1277 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 8 Nov 2008 16:51:28 +0000 Subject: moved message functions into Player class --- src/core/gameserver.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/core/gameserver.h') 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); -- cgit v1.2.3