diff options
author | chai <chaifix@163.com> | 2021-11-11 10:29:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-11 10:29:17 +0800 |
commit | de46b91a524c5f2c8e72b379f2900afe34ccb815 (patch) | |
tree | 365122dc27fd1cdcd80939c63ea248e90716c641 /Runtime/Lua/LuaHelper.h | |
parent | f706f0e17ac2e7893feddc96b496db89f35e94a8 (diff) |
*misc
Diffstat (limited to 'Runtime/Lua/LuaHelper.h')
-rw-r--r-- | Runtime/Lua/LuaHelper.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Runtime/Lua/LuaHelper.h b/Runtime/Lua/LuaHelper.h index 79cab29..1c18620 100644 --- a/Runtime/Lua/LuaHelper.h +++ b/Runtime/Lua/LuaHelper.h @@ -15,5 +15,8 @@ public: // 找到类table,并留在栈顶,如果返回false表示没有找到,栈顶无值
static bool GetLuaClass(LuaBind::State& state, const char* fullName);
+
+ // 找到全局表下的数据
+ static bool GetGlobalField(LuaBind::State& state, const char* fullName);
-};
\ No newline at end of file +};
|