diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-23 13:49:34 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-23 13:49:34 +1000 |
commit | 121d27446b42c960014b2e69999dad73322b05f3 (patch) | |
tree | 2a1bbbd55de5628fcd03b64d0c49710e26d64243 /source/game/scripting/StarWorldLuaBindings.hpp | |
parent | d93b02682994730a2b4d33c6604e0b997b7ee977 (diff) |
world.callScriptContext
Diffstat (limited to 'source/game/scripting/StarWorldLuaBindings.hpp')
-rw-r--r-- | source/game/scripting/StarWorldLuaBindings.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/game/scripting/StarWorldLuaBindings.hpp b/source/game/scripting/StarWorldLuaBindings.hpp index 87a0367..725e824 100644 --- a/source/game/scripting/StarWorldLuaBindings.hpp +++ b/source/game/scripting/StarWorldLuaBindings.hpp @@ -86,6 +86,7 @@ namespace LuaBindings { void setPlayerStart(World* world, Vec2F const& playerStart, Maybe<bool> respawnInWorld); List<EntityId> players(World* world); LuaString fidelity(World* world, LuaEngine& engine); + Maybe<LuaValue> callScriptContext(World* world, String const& contextName, String const& function, LuaVariadic<LuaValue> const& args); } namespace WorldDebugCallbacks { |