diff options
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); |