diff options
author | ErodeesFleurs <3353309908@qq.com> | 2024-03-21 10:10:22 +0800 |
---|---|---|
committer | ErodeesFleurs <3353309908@qq.com> | 2024-03-21 10:10:22 +0800 |
commit | 868216a992c5d2d721ce457bbc0ac9843b121a0f (patch) | |
tree | 861b72422875a3f8694b76ed2ac0a4860f22adbc /source/core/scripting/StarUtilityLuaBindings.hpp | |
parent | 330fc938f327476509973c5fed7cf5d6fbcdb0b4 (diff) |
Add parseJson and clientWorld functions to LuaBindings
Diffstat (limited to 'source/core/scripting/StarUtilityLuaBindings.hpp')
-rw-r--r-- | source/core/scripting/StarUtilityLuaBindings.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/core/scripting/StarUtilityLuaBindings.hpp b/source/core/scripting/StarUtilityLuaBindings.hpp index 8435ecd..67d1f9c 100644 --- a/source/core/scripting/StarUtilityLuaBindings.hpp +++ b/source/core/scripting/StarUtilityLuaBindings.hpp @@ -16,6 +16,7 @@ namespace LuaBindings { void logWarn(String const& str, LuaVariadic<LuaValue> const& args); void logError(String const& str, LuaVariadic<LuaValue> const& args); void setLogMap(String const& key, String const& value, LuaVariadic<LuaValue> const& args); + Json parseJson(String const& str); String printJson(Json const& arg, Maybe<int> pretty); String print(LuaValue const& arg); LuaValue interpolateSinEase(LuaEngine& engine, double offset, LuaValue const& value1, LuaValue const& value2); |