Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-13 16:37:18 +0000
committerStijn Buys <ingar@osirion.org>2008-07-13 16:37:18 +0000
commit3a3ba622dbf9c035b0f26979601b2d4d192b4167 (patch)
tree1439700a9df9ba1dd32ae1f7ca86c5caa0fd4d1c /src/core/gameserver.h
parent2e789cb9894ac5a9565013b134f1c1e51174f430 (diff)
connection sequence updates, breaks network protocol
Diffstat (limited to 'src/core/gameserver.h')
-rw-r--r--src/core/gameserver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/gameserver.h b/src/core/gameserver.h
index 7a2f4a6..172fb94 100644
--- a/src/core/gameserver.h
+++ b/src/core/gameserver.h
@@ -52,6 +52,9 @@ public:
/// a player sends a chat message to the public channel
void say(Player *player, std::string const &args);
+ /// kick a player from the server
+ void kick(Player *player, std::string const &reason);
+
/// broadcast a message to all players
void broadcast(std::string const & message, Player *ignore_player = 0);