| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- public class SuperScrollView_LoopGridViewSettingParamWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginClass(typeof(SuperScrollView.LoopGridViewSettingParam), typeof(System.Object));
- L.RegFunction("New", _CreateSuperScrollView_LoopGridViewSettingParam);
- L.RegFunction("__tostring", ToLua.op_ToString);
- L.RegVar("mItemSize", get_mItemSize, set_mItemSize);
- L.RegVar("mPadding", get_mPadding, set_mPadding);
- L.RegVar("mItemPadding", get_mItemPadding, set_mItemPadding);
- L.RegVar("mGridFixedType", get_mGridFixedType, set_mGridFixedType);
- L.RegVar("mFixedRowOrColumnCount", get_mFixedRowOrColumnCount, set_mFixedRowOrColumnCount);
- L.EndClass();
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _CreateSuperScrollView_LoopGridViewSettingParam(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 0)
- {
- SuperScrollView.LoopGridViewSettingParam obj = new SuperScrollView.LoopGridViewSettingParam();
- ToLua.PushObject(L, obj);
- return 1;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: SuperScrollView.LoopGridViewSettingParam.New");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mItemSize(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object ret = obj.mItemSize;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemSize on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mPadding(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object ret = obj.mPadding;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mPadding on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mItemPadding(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object ret = obj.mItemPadding;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemPadding on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mGridFixedType(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object ret = obj.mGridFixedType;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mGridFixedType on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_mFixedRowOrColumnCount(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object ret = obj.mFixedRowOrColumnCount;
- ToLua.Push(L, ret);
- return 1;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mFixedRowOrColumnCount on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mItemSize(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object arg0 = ToLua.ToVarObject(L, 2);
- obj.mItemSize = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemSize on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mPadding(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object arg0 = ToLua.ToVarObject(L, 2);
- obj.mPadding = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mPadding on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mItemPadding(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object arg0 = ToLua.ToVarObject(L, 2);
- obj.mItemPadding = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemPadding on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mGridFixedType(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object arg0 = ToLua.ToVarObject(L, 2);
- obj.mGridFixedType = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mGridFixedType on a nil value");
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int set_mFixedRowOrColumnCount(IntPtr L)
- {
- object o = null;
- try
- {
- o = ToLua.ToObject(L, 1);
- SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
- object arg0 = ToLua.ToVarObject(L, 2);
- obj.mFixedRowOrColumnCount = arg0;
- return 0;
- }
- catch(Exception e)
- {
- return LuaDLL.toluaL_exception(L, e, o, "attempt to index mFixedRowOrColumnCount on a nil value");
- }
- }
- }
|