| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- public class SuperScrollView_LoopListViewInitParamWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginClass(typeof(SuperScrollView.LoopListViewInitParam), typeof(System.Object), "LoopListViewInitParam");
- L.RegFunction("CopyDefaultInitParam", CopyDefaultInitParam);
- L.RegFunction("New", _CreateSuperScrollView_LoopListViewInitParam);
- L.RegFunction("__tostring", ToLua.op_ToString);
- L.RegVar("mDistanceForRecycle0", get_mDistanceForRecycle0, set_mDistanceForRecycle0);
- L.RegVar("mDistanceForNew0", get_mDistanceForNew0, set_mDistanceForNew0);
- L.RegVar("mDistanceForRecycle1", get_mDistanceForRecycle1, set_mDistanceForRecycle1);
- L.RegVar("mDistanceForNew1", get_mDistanceForNew1, set_mDistanceForNew1);
- L.RegVar("mSmoothDumpRate", get_mSmoothDumpRate, set_mSmoothDumpRate);
- L.RegVar("mSnapFinishThreshold", get_mSnapFinishThreshold, set_mSnapFinishThreshold);
- L.RegVar("mSnapVecThreshold", get_mSnapVecThreshold, set_mSnapVecThreshold);
- L.RegVar("mItemDefaultWithPaddingSize", get_mItemDefaultWithPaddingSize, set_mItemDefaultWithPaddingSize);
- L.EndClass();
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _CreateSuperScrollView_LoopListViewInitParam(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 0)
- {
- SuperScrollView.LoopListViewInitParam obj = new SuperScrollView.LoopListViewInitParam();
- ToLua.PushObject(L, obj);
- return 1;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: SuperScrollView.LoopListViewInitParam.New");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int CopyDefaultInitParam(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 0);
- SuperScrollView.LoopListViewInitParam o = SuperScrollView.LoopListViewInitParam.CopyDefaultInitParam();
- ToLua.PushObject(L, o);
- return 1;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mDistanceForRecycle0(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float ret = obj.mDistanceForRecycle0;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForRecycle0 on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mDistanceForNew0(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float ret = obj.mDistanceForNew0;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForNew0 on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mDistanceForRecycle1(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float ret = obj.mDistanceForRecycle1;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForRecycle1 on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mDistanceForNew1(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float ret = obj.mDistanceForNew1;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForNew1 on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mSmoothDumpRate(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float ret = obj.mSmoothDumpRate;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSmoothDumpRate on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mSnapFinishThreshold(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float ret = obj.mSnapFinishThreshold;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSnapFinishThreshold on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mSnapVecThreshold(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float ret = obj.mSnapVecThreshold;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSnapVecThreshold on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mItemDefaultWithPaddingSize(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float ret = obj.mItemDefaultWithPaddingSize;
- LuaDLL.lua_pushnumber(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemDefaultWithPaddingSize on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mDistanceForRecycle0(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.mDistanceForRecycle0 = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForRecycle0 on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mDistanceForNew0(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.mDistanceForNew0 = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForNew0 on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mDistanceForRecycle1(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.mDistanceForRecycle1 = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForRecycle1 on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mDistanceForNew1(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.mDistanceForNew1 = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForNew1 on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mSmoothDumpRate(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.mSmoothDumpRate = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSmoothDumpRate on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mSnapFinishThreshold(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.mSnapFinishThreshold = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSnapFinishThreshold on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mSnapVecThreshold(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.mSnapVecThreshold = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSnapVecThreshold on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mItemDefaultWithPaddingSize(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
- float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
- obj.mItemDefaultWithPaddingSize = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemDefaultWithPaddingSize on a nil value");
- }
- }
- }
|