static int GetView(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); ShibaInu.PageList obj = (ShibaInu.PageList)ToLua.CheckObject <ShibaInu.PageList>(L, 1); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); UnityEngine.GameObject o = obj.GetView(arg0); ToLua.PushSealed(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_itemPrefab(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PageList obj = (ShibaInu.PageList)o; UnityEngine.GameObject ret = obj.itemPrefab; ToLua.PushSealed(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index itemPrefab on a nil value")); } }
static int set_verticalGap(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PageList obj = (ShibaInu.PageList)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.verticalGap = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalGap on a nil value")); } }
static int set_luaTarget(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PageList obj = (ShibaInu.PageList)o; LuaTable arg0 = ToLua.CheckLuaTable(L, 2); obj.luaTarget = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index luaTarget on a nil value")); } }
static int set_itemPrefab(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PageList obj = (ShibaInu.PageList)o; UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject)); obj.itemPrefab = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index itemPrefab on a nil value")); } }
static int get_content(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PageList obj = (ShibaInu.PageList)o; UnityEngine.RectTransform ret = obj.content; ToLua.PushSealed(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index content on a nil value")); } }
static int get_verticalGap(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PageList obj = (ShibaInu.PageList)o; int ret = obj.verticalGap; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalGap on a nil value")); } }
static int get_columnCount(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PageList obj = (ShibaInu.PageList)o; uint ret = obj.columnCount; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index columnCount on a nil value")); } }
static int SyncPropertys(IntPtr L) { try { ToLua.CheckArgsCount(L, 6); ShibaInu.PageList obj = (ShibaInu.PageList)ToLua.CheckObject <ShibaInu.PageList>(L, 1); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject)); uint arg1 = (uint)LuaDLL.luaL_checknumber(L, 3); uint arg2 = (uint)LuaDLL.luaL_checknumber(L, 4); int arg3 = (int)LuaDLL.luaL_checknumber(L, 5); int arg4 = (int)LuaDLL.luaL_checknumber(L, 6); obj.SyncPropertys(arg0, arg1, arg2, arg3, arg4); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }