From 2f4c20a0b6fa0397d623d883ee48ba59563f1e2f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 18 May 2008 19:22:39 +0000 Subject: standard hail --- src/core/gameserver.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core/gameserver.h') diff --git a/src/core/gameserver.h b/src/core/gameserver.h index bcd9cc3..c35ef74 100644 --- a/src/core/gameserver.h +++ b/src/core/gameserver.h @@ -52,9 +52,15 @@ public: /// broadcast a message to all players void broadcast(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 message to a single player void send(Player *player, std::string message); + /// send a sound to a single player + void send_sound(Player *player, std::string sound); + /// a player sends a command to the game server void exec(Player *player, std::string const &cmdline); -- cgit v1.2.3