Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarUniverseClient.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarUniverseClient.hpp')
-rw-r--r--source/game/StarUniverseClient.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/game/StarUniverseClient.hpp b/source/game/StarUniverseClient.hpp
index c5213cf..b26f2df 100644
--- a/source/game/StarUniverseClient.hpp
+++ b/source/game/StarUniverseClient.hpp
@@ -85,6 +85,8 @@ public:
uint16_t players();
uint16_t maxPlayers();
+ void setLuaCallbacks(String const& groupName, LuaCallbacks const& callbacks);
+
ClockConstPtr universeClock() const;
CelestialLogConstPtr celestialLog() const;
JsonRpcInterfacePtr rpcInterface() const;
@@ -117,6 +119,8 @@ private:
SystemWorldClientPtr m_systemWorldClient;
Maybe<UniverseConnection> m_connection;
Maybe<ServerInfo> m_serverInfo;
+
+ StringMap<LuaCallbacks> m_luaCallbacks;
CelestialSlaveDatabasePtr m_celestialDatabase;
ClientContextPtr m_clientContext;