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-11-15 14:20:13 +0000
committerStijn Buys <ingar@osirion.org>2009-11-15 14:20:13 +0000
commit89c0bc88bd4ebdc44dfb99235609c90e968af533 (patch)
tree1f381edf91aff4da09ea3b1515107dd20c19a71e /src/core/gameserver.cc
parentb513c7d9bf6fba4a26e734ce405996f665d9c835 (diff)
added core::Info id, changed network info message, updated entity network message to include the info id
Diffstat (limited to 'src/core/gameserver.cc')
-rw-r--r--src/core/gameserver.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc
index c0d7382..2e848e0 100644
--- a/src/core/gameserver.cc
+++ b/src/core/gameserver.cc
@@ -237,6 +237,11 @@ float GameServer::time() const
return ((float)(server_timestamp) / 1000.0f);
}
+Info *GameServer::info(unsigned int id)
+{
+ return Info::find(id);
+}
+
Info *GameServer::info(const std::string &type, const std::string &label)
{
// find the class