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>2010-09-27 20:03:50 +0000
committerStijn Buys <ingar@osirion.org>2010-09-27 20:03:50 +0000
commit178f0e4a83918df416ac8274b0e845b390772d76 (patch)
treeee3d4bf0a29cfcd32530e2c38353668a42ce509d /src/core/gameinterface.h
parenta80e501a0a8006034a7dc0cda1fc047f6c37fbd9 (diff)
documentation updates, initial chat window playerlist, trade menu ESC key
Diffstat (limited to 'src/core/gameinterface.h')
-rw-r--r--src/core/gameinterface.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/gameinterface.h b/src/core/gameinterface.h
index bdce1d3..98894e7 100644
--- a/src/core/gameinterface.h
+++ b/src/core/gameinterface.h
@@ -38,6 +38,10 @@ public:
inline Players & players() {
return game_players;
}
+
+ inline const unsigned long playerlist_timestamp() const {
+ return game_playerlist_timestamp;
+ }
inline model::VertexArray *vertexarray() {
return game_vertexarray;
@@ -68,6 +72,9 @@ public:
/// request inventory for entity with id
virtual Inventory *request_inventory(Entity *entity) = 0;
+
+ void set_playerlist_timestamp(const unsigned long timestamp);
+
/*----- mutators ------------------------------------------------- */
@@ -89,6 +96,9 @@ protected:
Players game_players;
model::VertexArray *game_vertexarray;
+
+ /// timestamp of the time the playerlist was last changed
+ unsigned long game_playerlist_timestamp;
};
/// global local player instance