static int set_scrollView(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; UIScrollView arg0 = (UIScrollView)ToLua.CheckUnityObject(L, 2, typeof(UIScrollView)); obj.scrollView = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index scrollView on a nil value" : e.Message)); } }
static int set_itemPrefab(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject)); obj.itemPrefab = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index itemPrefab on a nil value" : e.Message)); } }
static int set_datasList(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; System.Collections.Generic.List <LoopItemData> arg0 = (System.Collections.Generic.List <LoopItemData>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <LoopItemData>)); obj.datasList = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index datasList on a nil value" : e.Message)); } }
static int get_gapDis(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; float ret = obj.gapDis; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index gapDis on a nil value" : e.Message)); } }
static int set_arrangeDirection(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; LoopItemScrollView.ArrangeDirection arg0 = (LoopItemScrollView.ArrangeDirection)ToLua.CheckObject(L, 2, typeof(LoopItemScrollView.ArrangeDirection)); obj.arrangeDirection = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index arrangeDirection on a nil value" : e.Message)); } }
static int get_itemStartPos(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; UnityEngine.Vector3 ret = obj.itemStartPos; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index itemStartPos on a nil value" : e.Message)); } }
static int get_OnItemInit(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; LoopItemScrollView.DelegateHandler ret = obj.OnItemInit; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index OnItemInit on a nil value" : e.Message)); } }
static int get_lastItem(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; LoopItemObject ret = obj.lastItem; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index lastItem on a nil value" : e.Message)); } }
static int get_datasList(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; System.Collections.Generic.List <LoopItemData> ret = obj.datasList; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index datasList on a nil value" : e.Message)); } }
static int get_arrangeDirection(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); LoopItemScrollView obj = (LoopItemScrollView)o; LoopItemScrollView.ArrangeDirection ret = obj.arrangeDirection; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index arrangeDirection on a nil value" : e.Message)); } }
static int UpdateInBack(IntPtr L) { try { ToLua.CheckArgsCount(L, 6); LoopItemScrollView obj = (LoopItemScrollView)ToLua.CheckObject(L, 1, typeof(LoopItemScrollView)); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); string arg1 = ToLua.CheckString(L, 3); string arg2 = ToLua.CheckString(L, 4); string arg3 = ToLua.CheckString(L, 5); int arg4 = (int)LuaDLL.luaL_checknumber(L, 6); obj.UpdateInBack(arg0, arg1, arg2, arg3, arg4); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }