static int get_IsBack(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); EventSystem.Close_UI_Event obj = (EventSystem.Close_UI_Event)o; bool ret = obj.IsBack; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index IsBack on a nil value" : e.Message)); } }
static int get_config(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); EventSystem.Close_UI_Event obj = (EventSystem.Close_UI_Event)o; UIConfig ret = obj.config; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index config on a nil value" : e.Message)); } }
static int set_IsBack(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); EventSystem.Close_UI_Event obj = (EventSystem.Close_UI_Event)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.IsBack = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index IsBack on a nil value" : e.Message)); } }
static int set_config(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); EventSystem.Close_UI_Event obj = (EventSystem.Close_UI_Event)o; UIConfig arg0 = (UIConfig)ToLua.CheckObject(L, 2, typeof(UIConfig)); obj.config = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index config on a nil value" : e.Message)); } }
static int _CreateEventSystem_Close_UI_Event(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { UIConfig arg0 = (UIConfig)ToLua.CheckObject(L, 1, typeof(UIConfig)); bool arg1 = LuaDLL.luaL_checkboolean(L, 2); EventSystem.Close_UI_Event obj = new EventSystem.Close_UI_Event(arg0, arg1); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: EventSystem.Close_UI_Event.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }