SuperScrollView_LoopGridViewSettingParamWrap.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class SuperScrollView_LoopGridViewSettingParamWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(SuperScrollView.LoopGridViewSettingParam), typeof(System.Object));
  9. L.RegFunction("New", _CreateSuperScrollView_LoopGridViewSettingParam);
  10. L.RegFunction("__tostring", ToLua.op_ToString);
  11. L.RegVar("mItemSize", get_mItemSize, set_mItemSize);
  12. L.RegVar("mPadding", get_mPadding, set_mPadding);
  13. L.RegVar("mItemPadding", get_mItemPadding, set_mItemPadding);
  14. L.RegVar("mGridFixedType", get_mGridFixedType, set_mGridFixedType);
  15. L.RegVar("mFixedRowOrColumnCount", get_mFixedRowOrColumnCount, set_mFixedRowOrColumnCount);
  16. L.EndClass();
  17. }
  18. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  19. static int _CreateSuperScrollView_LoopGridViewSettingParam(IntPtr L)
  20. {
  21. try
  22. {
  23. int count = LuaDLL.lua_gettop(L);
  24. if (count == 0)
  25. {
  26. SuperScrollView.LoopGridViewSettingParam obj = new SuperScrollView.LoopGridViewSettingParam();
  27. ToLua.PushObject(L, obj);
  28. return 1;
  29. }
  30. else
  31. {
  32. return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: SuperScrollView.LoopGridViewSettingParam.New");
  33. }
  34. }
  35. catch (Exception e)
  36. {
  37. return LuaDLL.toluaL_exception(L, e);
  38. }
  39. }
  40. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  41. static int get_mItemSize(IntPtr L)
  42. {
  43. object o = null;
  44. try
  45. {
  46. o = ToLua.ToObject(L, 1);
  47. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  48. object ret = obj.mItemSize;
  49. ToLua.Push(L, ret);
  50. return 1;
  51. }
  52. catch(Exception e)
  53. {
  54. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemSize on a nil value");
  55. }
  56. }
  57. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  58. static int get_mPadding(IntPtr L)
  59. {
  60. object o = null;
  61. try
  62. {
  63. o = ToLua.ToObject(L, 1);
  64. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  65. object ret = obj.mPadding;
  66. ToLua.Push(L, ret);
  67. return 1;
  68. }
  69. catch(Exception e)
  70. {
  71. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mPadding on a nil value");
  72. }
  73. }
  74. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  75. static int get_mItemPadding(IntPtr L)
  76. {
  77. object o = null;
  78. try
  79. {
  80. o = ToLua.ToObject(L, 1);
  81. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  82. object ret = obj.mItemPadding;
  83. ToLua.Push(L, ret);
  84. return 1;
  85. }
  86. catch(Exception e)
  87. {
  88. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemPadding on a nil value");
  89. }
  90. }
  91. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  92. static int get_mGridFixedType(IntPtr L)
  93. {
  94. object o = null;
  95. try
  96. {
  97. o = ToLua.ToObject(L, 1);
  98. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  99. object ret = obj.mGridFixedType;
  100. ToLua.Push(L, ret);
  101. return 1;
  102. }
  103. catch(Exception e)
  104. {
  105. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mGridFixedType on a nil value");
  106. }
  107. }
  108. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  109. static int get_mFixedRowOrColumnCount(IntPtr L)
  110. {
  111. object o = null;
  112. try
  113. {
  114. o = ToLua.ToObject(L, 1);
  115. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  116. object ret = obj.mFixedRowOrColumnCount;
  117. ToLua.Push(L, ret);
  118. return 1;
  119. }
  120. catch(Exception e)
  121. {
  122. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mFixedRowOrColumnCount on a nil value");
  123. }
  124. }
  125. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  126. static int set_mItemSize(IntPtr L)
  127. {
  128. object o = null;
  129. try
  130. {
  131. o = ToLua.ToObject(L, 1);
  132. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  133. object arg0 = ToLua.ToVarObject(L, 2);
  134. obj.mItemSize = arg0;
  135. return 0;
  136. }
  137. catch(Exception e)
  138. {
  139. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemSize on a nil value");
  140. }
  141. }
  142. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  143. static int set_mPadding(IntPtr L)
  144. {
  145. object o = null;
  146. try
  147. {
  148. o = ToLua.ToObject(L, 1);
  149. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  150. object arg0 = ToLua.ToVarObject(L, 2);
  151. obj.mPadding = arg0;
  152. return 0;
  153. }
  154. catch(Exception e)
  155. {
  156. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mPadding on a nil value");
  157. }
  158. }
  159. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  160. static int set_mItemPadding(IntPtr L)
  161. {
  162. object o = null;
  163. try
  164. {
  165. o = ToLua.ToObject(L, 1);
  166. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  167. object arg0 = ToLua.ToVarObject(L, 2);
  168. obj.mItemPadding = arg0;
  169. return 0;
  170. }
  171. catch(Exception e)
  172. {
  173. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemPadding on a nil value");
  174. }
  175. }
  176. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  177. static int set_mGridFixedType(IntPtr L)
  178. {
  179. object o = null;
  180. try
  181. {
  182. o = ToLua.ToObject(L, 1);
  183. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  184. object arg0 = ToLua.ToVarObject(L, 2);
  185. obj.mGridFixedType = arg0;
  186. return 0;
  187. }
  188. catch(Exception e)
  189. {
  190. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mGridFixedType on a nil value");
  191. }
  192. }
  193. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  194. static int set_mFixedRowOrColumnCount(IntPtr L)
  195. {
  196. object o = null;
  197. try
  198. {
  199. o = ToLua.ToObject(L, 1);
  200. SuperScrollView.LoopGridViewSettingParam obj = (SuperScrollView.LoopGridViewSettingParam)o;
  201. object arg0 = ToLua.ToVarObject(L, 2);
  202. obj.mFixedRowOrColumnCount = arg0;
  203. return 0;
  204. }
  205. catch(Exception e)
  206. {
  207. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mFixedRowOrColumnCount on a nil value");
  208. }
  209. }
  210. }