diff options
author | Stijn Buys <ingar@osirion.org> | 2009-01-11 12:15:22 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-01-11 12:15:22 +0000 |
commit | 20e8e4c0fb1262a25c2491679da4587d264208a2 (patch) | |
tree | c836dc74bfb82088c70bdd636dfb1f236043f58d /src/core/gameinterface.h | |
parent | 7082a5a1b7258580c698a09cf9fb8bec0bc97472 (diff) |
core::Player interface updates
Diffstat (limited to 'src/core/gameinterface.h')
-rw-r--r-- | src/core/gameinterface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/gameinterface.h b/src/core/gameinterface.h index f188475..22b85d5 100644 --- a/src/core/gameinterface.h +++ b/src/core/gameinterface.h @@ -32,6 +32,9 @@ public: inline Players & players() { return game_players; } + /// find the first player who's id or name matches the search string + Player *find_player(const std::string &search); + /// show a list of connected players void list_players(); |