summaryrefslogtreecommitdiff
path: root/Runtime/Lua/LuaHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Lua/LuaHelper.h')
-rw-r--r--Runtime/Lua/LuaHelper.h5
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
+};