static int get_onResetItem(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Common.UI.Components.ScrollContent obj = (Common.UI.Components.ScrollContent)o; Common.UI.Components.OnResetItem ret = obj.onResetItem; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index onResetItem on a nil value" : e.Message)); } }
static int set_onResetItem(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Common.UI.Components.ScrollContent obj = (Common.UI.Components.ScrollContent)o; Common.UI.Components.OnResetItem arg0 = (Common.UI.Components.OnResetItem)ToLua.CheckObject(L, 2, typeof(Common.UI.Components.OnResetItem)); obj.onResetItem = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index onResetItem on a nil value" : e.Message)); } }
static int _CreateCommon_UI_Components_OnResetItem(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { Common.UI.Components.OnResetItem obj = new Common.UI.Components.OnResetItem(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: Common.UI.Components.OnResetItem.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }