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>2009-01-11 12:15:22 +0000
committerStijn Buys <ingar@osirion.org>2009-01-11 12:15:22 +0000
commit20e8e4c0fb1262a25c2491679da4587d264208a2 (patch)
treec836dc74bfb82088c70bdd636dfb1f236043f58d /src/core/gameserver.h
parent7082a5a1b7258580c698a09cf9fb8bec0bc97472 (diff)
core::Player interface updates
Diffstat (limited to 'src/core/gameserver.h')
-rw-r--r--src/core/gameserver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gameserver.h b/src/core/gameserver.h
index 59db0c5..31cfca6 100644
--- a/src/core/gameserver.h
+++ b/src/core/gameserver.h
@@ -74,8 +74,8 @@ 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);
+ /// time the server was started
+ inline const unsigned long startup() const { return server_startup; }
/*----- static ---------------------------------------------------- */