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-05-24 12:49:33 +0000
committerStijn Buys <ingar@osirion.org>2008-05-24 12:49:33 +0000
commit1af2280ebabbd41c8b77747b6834fefbde0f0e80 (patch)
treeb7501865a383b6789ed755261eb9e1467dd73cd7 /src/core/gameserver.h
parent1b8c92e759adf6605803d86931d349a06f963554 (diff)
Hail
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 d7d6eb8..025ea4d 100644
--- a/src/core/gameserver.h
+++ b/src/core/gameserver.h
@@ -64,6 +64,9 @@ public:
/// a player sends a command to the game server
void exec(Player *player, std::string const &cmdline);
+ /// find the first player who's id or name matches the search string
+ Player *find_player(std::string const search);
+
std::list<Player *> players;
/*----- static ---------------------------------------------------- */