From 1af2280ebabbd41c8b77747b6834fefbde0f0e80 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 24 May 2008 12:49:33 +0000 Subject: Hail --- src/core/gameserver.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/gameserver.h') 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 players; /*----- static ---------------------------------------------------- */ -- cgit v1.2.3