diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-19 01:16:22 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-19 01:16:22 +1000 |
commit | e1645f37fc72e7733b64c51ffbee0370e13cbe29 (patch) | |
tree | bdd219080958016e68589476004427cbb50616f5 /source/core/StarLua.hpp | |
parent | 770314fd7e86c0be355f19bd4273ebd12d5bcdc6 (diff) |
Support for player entity message commands
Diffstat (limited to 'source/core/StarLua.hpp')
-rw-r--r-- | source/core/StarLua.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/core/StarLua.hpp b/source/core/StarLua.hpp index 500923d..dda0802 100644 --- a/source/core/StarLua.hpp +++ b/source/core/StarLua.hpp @@ -310,6 +310,7 @@ public: using LuaTable::contains; using LuaTable::remove; using LuaTable::engine; + using LuaTable::handleIndex; // Splits the path by '.' character, so can get / set values in tables inside // other tables. If any table in the path is not a table but is accessed as @@ -530,6 +531,8 @@ public: LuaFunction createRawFunction(lua_CFunction func); + LuaFunction createFunctionFromSource(int handleIndex, char const* contents, size_t size, char const* name); + LuaThread createThread(); template <typename T> |