diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-18 19:22:39 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-18 19:22:39 +0000 |
commit | 2f4c20a0b6fa0397d623d883ee48ba59563f1e2f (patch) | |
tree | 2186c4ada36a9bc832a89c662029d3b12bf1840e /src/core/gameserver.h | |
parent | cc0a133a616aeff57887b27497e4a978b5697c04 (diff) |
standard hail
Diffstat (limited to 'src/core/gameserver.h')
-rw-r--r-- | src/core/gameserver.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); |