static int get_NeedRemove(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); EventSystem.CloseUiBindRemove obj = (EventSystem.CloseUiBindRemove)o; int ret = obj.NeedRemove; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index NeedRemove on a nil value" : e.Message)); } }
static int get_Config(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); EventSystem.CloseUiBindRemove obj = (EventSystem.CloseUiBindRemove)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_NeedRemove(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); EventSystem.CloseUiBindRemove obj = (EventSystem.CloseUiBindRemove)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.NeedRemove = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index NeedRemove on a nil value" : e.Message)); } }
static int set_Config(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); EventSystem.CloseUiBindRemove obj = (EventSystem.CloseUiBindRemove)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_CloseUiBindRemove(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { UIConfig arg0 = (UIConfig)ToLua.CheckObject(L, 1, typeof(UIConfig)); int arg1 = (int)LuaDLL.luaL_checknumber(L, 2); EventSystem.CloseUiBindRemove obj = new EventSystem.CloseUiBindRemove(arg0, arg1); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: EventSystem.CloseUiBindRemove.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }