mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 16:07:12 +01:00
some window moving
This commit is contained in:
@@ -50,6 +50,12 @@ void LuaInterface::init()
|
||||
registerClass<LuaObject>();
|
||||
bindClassMemberFunction<LuaObject>("getUseCount", &LuaObject::getUseCount);
|
||||
bindClassMemberFunction<LuaObject>("getClassName", &LuaObject::getClassName);
|
||||
|
||||
registerClassMemberFunction<LuaObject>("getFieldsTable", (LuaCppFunction) ([](LuaInterface* lua) {
|
||||
LuaObjectPtr obj = g_lua.popObject();
|
||||
obj->luaGetFieldsTable();
|
||||
return 1;
|
||||
}));
|
||||
}
|
||||
|
||||
void LuaInterface::terminate()
|
||||
|
||||
Reference in New Issue
Block a user