//this source code was auto-generated by tolua#, do not modify it using System; using LuaInterface; public class SuperScrollView_LoopListViewItemWrap { public static void Register(LuaState L) { L.BeginClass(typeof(SuperScrollView.LoopListViewItem), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("UserObjectData", get_UserObjectData, set_UserObjectData); L.RegVar("UserIntData1", get_UserIntData1, set_UserIntData1); L.RegVar("UserIntData2", get_UserIntData2, set_UserIntData2); L.RegVar("UserStringData1", get_UserStringData1, set_UserStringData1); L.RegVar("UserStringData2", get_UserStringData2, set_UserStringData2); L.RegVar("DistanceWithViewPortSnapCenter", get_DistanceWithViewPortSnapCenter, set_DistanceWithViewPortSnapCenter); L.RegVar("StartPosOffset", get_StartPosOffset, set_StartPosOffset); L.RegVar("ItemCreatedCheckFrameCount", get_ItemCreatedCheckFrameCount, set_ItemCreatedCheckFrameCount); L.RegVar("Padding", get_Padding, set_Padding); L.RegVar("CachedRectTransform", get_CachedRectTransform, null); L.RegVar("ItemPrefabName", get_ItemPrefabName, set_ItemPrefabName); L.RegVar("ItemIndex", get_ItemIndex, set_ItemIndex); L.RegVar("ItemId", get_ItemId, set_ItemId); L.RegVar("IsInitHandlerCalled", get_IsInitHandlerCalled, set_IsInitHandlerCalled); L.RegVar("ParentListView", get_ParentListView, set_ParentListView); L.RegVar("TopY", get_TopY, null); L.RegVar("BottomY", get_BottomY, null); L.RegVar("LeftX", get_LeftX, null); L.RegVar("RightX", get_RightX, null); L.RegVar("ItemSize", get_ItemSize, null); L.RegVar("ItemSizeWithPadding", get_ItemSizeWithPadding, null); L.EndClass(); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int op_Equality(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1); UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2); bool o = arg0 == arg1; LuaDLL.lua_pushboolean(L, o); return 1; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_UserObjectData(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; object ret = obj.UserObjectData; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserObjectData on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_UserIntData1(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int ret = obj.UserIntData1; LuaDLL.lua_pushinteger(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserIntData1 on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_UserIntData2(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int ret = obj.UserIntData2; LuaDLL.lua_pushinteger(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserIntData2 on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_UserStringData1(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; string ret = obj.UserStringData1; LuaDLL.lua_pushstring(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserStringData1 on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_UserStringData2(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; string ret = obj.UserStringData2; LuaDLL.lua_pushstring(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserStringData2 on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_DistanceWithViewPortSnapCenter(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float ret = obj.DistanceWithViewPortSnapCenter; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index DistanceWithViewPortSnapCenter on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_StartPosOffset(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float ret = obj.StartPosOffset; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index StartPosOffset on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ItemCreatedCheckFrameCount(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int ret = obj.ItemCreatedCheckFrameCount; LuaDLL.lua_pushinteger(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemCreatedCheckFrameCount on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_Padding(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float ret = obj.Padding; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Padding on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_CachedRectTransform(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; UnityEngine.RectTransform ret = obj.CachedRectTransform; ToLua.PushSealed(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index CachedRectTransform on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ItemPrefabName(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; string ret = obj.ItemPrefabName; LuaDLL.lua_pushstring(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemPrefabName on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ItemIndex(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int ret = obj.ItemIndex; LuaDLL.lua_pushinteger(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemIndex on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ItemId(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int ret = obj.ItemId; LuaDLL.lua_pushinteger(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemId on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_IsInitHandlerCalled(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; bool ret = obj.IsInitHandlerCalled; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsInitHandlerCalled on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ParentListView(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; SuperScrollView.LoopListView ret = obj.ParentListView; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ParentListView on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_TopY(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float ret = obj.TopY; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index TopY on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_BottomY(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float ret = obj.BottomY; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index BottomY on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_LeftX(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float ret = obj.LeftX; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index LeftX on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_RightX(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float ret = obj.RightX; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index RightX on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ItemSize(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float ret = obj.ItemSize; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSize on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ItemSizeWithPadding(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float ret = obj.ItemSizeWithPadding; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSizeWithPadding on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_UserObjectData(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; object arg0 = ToLua.ToVarObject(L, 2); obj.UserObjectData = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserObjectData on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_UserIntData1(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.UserIntData1 = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserIntData1 on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_UserIntData2(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.UserIntData2 = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserIntData2 on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_UserStringData1(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; string arg0 = ToLua.CheckString(L, 2); obj.UserStringData1 = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserStringData1 on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_UserStringData2(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; string arg0 = ToLua.CheckString(L, 2); obj.UserStringData2 = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserStringData2 on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_DistanceWithViewPortSnapCenter(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.DistanceWithViewPortSnapCenter = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index DistanceWithViewPortSnapCenter on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_StartPosOffset(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.StartPosOffset = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index StartPosOffset on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_ItemCreatedCheckFrameCount(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.ItemCreatedCheckFrameCount = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemCreatedCheckFrameCount on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_Padding(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.Padding = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Padding on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_ItemPrefabName(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; string arg0 = ToLua.CheckString(L, 2); obj.ItemPrefabName = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemPrefabName on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_ItemIndex(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.ItemIndex = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemIndex on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_ItemId(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.ItemId = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemId on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_IsInitHandlerCalled(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.IsInitHandlerCalled = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsInitHandlerCalled on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_ParentListView(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o; SuperScrollView.LoopListView arg0 = (SuperScrollView.LoopListView)ToLua.CheckObject(L, 2); obj.ParentListView = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ParentListView on a nil value"); } } }