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

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldClient.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarWorldClient.hpp')
-rw-r--r--source/game/StarWorldClient.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/game/StarWorldClient.hpp b/source/game/StarWorldClient.hpp
index 2957661..502a928 100644
--- a/source/game/StarWorldClient.hpp
+++ b/source/game/StarWorldClient.hpp
@@ -38,7 +38,7 @@ STAR_EXCEPTION(WorldClientException, StarException);
class WorldClient : public World {
public:
- WorldClient(PlayerPtr mainPlayer);
+ WorldClient(PlayerPtr mainPlayer, LuaRootPtr luaRoot);
~WorldClient();
ConnectionId connection() const override;
@@ -134,9 +134,6 @@ public:
void handleIncomingPackets(List<PacketPtr> const& packets);
List<PacketPtr> getOutgoingPackets();
-
- // Sets default callbacks in the LuaRoot.
- void setLuaCallbacks(String const& groupName, LuaCallbacks const& callbacks);
// Set the rendering window for this client.
void setClientWindow(RectI window);