| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- public class SuperScrollView_LoopGridViewItemWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginClass(typeof(SuperScrollView.LoopGridViewItem), 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("ItemCreatedCheckFrameCount", get_ItemCreatedCheckFrameCount, set_ItemCreatedCheckFrameCount);
- L.RegVar("CachedRectTransform", get_CachedRectTransform, null);
- L.RegVar("ItemPrefabName", get_ItemPrefabName, set_ItemPrefabName);
- L.RegVar("Row", get_Row, set_Row);
- L.RegVar("Column", get_Column, set_Column);
- L.RegVar("ItemIndex", get_ItemIndex, set_ItemIndex);
- L.RegVar("ItemId", get_ItemId, set_ItemId);
- L.RegVar("IsInitHandlerCalled", get_IsInitHandlerCalled, set_IsInitHandlerCalled);
- L.RegVar("ParentGridView", get_ParentGridView, set_ParentGridView);
- L.RegVar("PrevItem", get_PrevItem, set_PrevItem);
- L.RegVar("NextItem", get_NextItem, set_NextItem);
- 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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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_ItemCreatedCheckFrameCount(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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_CachedRectTransform(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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_Row(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- int ret = obj.Row;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index Row on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_Column(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- int ret = obj.Column;
- LuaDLL.lua_pushinteger(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index Column on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_ItemIndex(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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_ParentGridView(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- SuperScrollView.LoopGridView ret = obj.ParentGridView;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index ParentGridView on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_PrevItem(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- SuperScrollView.LoopGridViewItem ret = obj.PrevItem;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index PrevItem on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_NextItem(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- SuperScrollView.LoopGridViewItem ret = obj.NextItem;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index NextItem on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_UserObjectData(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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_ItemCreatedCheckFrameCount(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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_ItemPrefabName(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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_Row(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.Row = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index Row on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_Column(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
- obj.Column = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index Column on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_ItemIndex(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)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_ParentGridView(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- SuperScrollView.LoopGridView arg0 = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 2);
- obj.ParentGridView = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index ParentGridView on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_PrevItem(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- SuperScrollView.LoopGridViewItem arg0 = (SuperScrollView.LoopGridViewItem)ToLua.CheckObject<SuperScrollView.LoopGridViewItem>(L, 2);
- obj.PrevItem = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index PrevItem on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_NextItem(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewItem obj = (SuperScrollView.LoopGridViewItem)o;
- SuperScrollView.LoopGridViewItem arg0 = (SuperScrollView.LoopGridViewItem)ToLua.CheckObject<SuperScrollView.LoopGridViewItem>(L, 2);
- obj.NextItem = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index NextItem on a nil value");
- }
- }
- }
|