diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 19:27:16 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 19:27:16 +1000 |
commit | e3461e90531345650fe70ada38d875a68f87f416 (patch) | |
tree | 41b923b02ca8dbac1b075654052c972545aab16e /source/game/StarUniverseClient.hpp | |
parent | ab72b03ad8679437ebf01ead65d9f0d3195e6bae (diff) |
Start of Interface callbacks, starting with a bindCanvas function for the whole screen
Diffstat (limited to 'source/game/StarUniverseClient.hpp')
-rw-r--r-- | source/game/StarUniverseClient.hpp | 4 |
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; |