summaryrefslogtreecommitdiff
path: root/Runtime/Scripting/ScriptGlobals.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Scripting/ScriptGlobals.h')
-rw-r--r--Runtime/Scripting/ScriptGlobals.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Runtime/Scripting/ScriptGlobals.h b/Runtime/Scripting/ScriptGlobals.h
new file mode 100644
index 0000000..af396bd
--- /dev/null
+++ b/Runtime/Scripting/ScriptGlobals.h
@@ -0,0 +1,10 @@
+#pragma once
+#include "Runtime/Lua/LuaHelper.h"
+
+#define DECL_LUA_FUNC(name) LuaBind::LuaFunction name
+
+// 全局方法和变量
+struct ScriptGlobals
+{
+ DECL_LUA_FUNC(setCurrentEvent);
+}; \ No newline at end of file