summaryrefslogtreecommitdiff
path: root/Editor/Scripting/EditorScripting.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-12 19:13:03 +0800
committerchai <chaifix@163.com>2021-11-12 19:13:03 +0800
commit9b1f8214eea0c86d41f903a5feba9aac78603df1 (patch)
treee4459ce952c6059f8663bc6039c3eee2bc74c949 /Editor/Scripting/EditorScripting.cpp
parentbfbe1b31322030d0af6f4d010f578c0b3b3dde21 (diff)
*misc
Diffstat (limited to 'Editor/Scripting/EditorScripting.cpp')
-rw-r--r--Editor/Scripting/EditorScripting.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Editor/Scripting/EditorScripting.cpp b/Editor/Scripting/EditorScripting.cpp
index 244dd78..12f591c 100644
--- a/Editor/Scripting/EditorScripting.cpp
+++ b/Editor/Scripting/EditorScripting.cpp
@@ -6,6 +6,7 @@ extern int luaopen_GameLab(lua_State* L); // GameLab
extern int luaopen_GameLab_Debug(lua_State* L); // GameLab.Debug
extern int luaopen_GameLab_IO(lua_State* L); // GameLab.IO
extern int luaopen_GameLab_Path(lua_State* L); // GameLab.Path
+extern int luaopen_GameLab_Events(lua_State* L); // GameLab.Events
extern int luaopen_GameLab_Engine(lua_State* L); // GameLab.Engine
extern int luaopen_GameLab_Engine_Rendering(lua_State* L); // GameLab.Engine.Rendering
@@ -39,7 +40,8 @@ bool SetupGameLabEditorScripting(lua_State* L)
openlib(luaopen_GameLab_Debug);
openlib(luaopen_GameLab_Path);
- openlib(luaopen_GameLab_IO);
+ openlib(luaopen_GameLab_IO);
+ openlib(luaopen_GameLab_Events);
openlib(luaopen_GameLab_Engine_Rendering);
openlib(luaopen_GameLab_Engine_GL);