SuperScrollView_LoopListViewInitParamWrap.cs 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class SuperScrollView_LoopListViewInitParamWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(SuperScrollView.LoopListViewInitParam), typeof(System.Object));
  9. L.RegFunction("CopyDefaultInitParam", CopyDefaultInitParam);
  10. L.RegFunction("New", _CreateSuperScrollView_LoopListViewInitParam);
  11. L.RegFunction("__tostring", ToLua.op_ToString);
  12. L.RegVar("mDistanceForRecycle0", get_mDistanceForRecycle0, set_mDistanceForRecycle0);
  13. L.RegVar("mDistanceForNew0", get_mDistanceForNew0, set_mDistanceForNew0);
  14. L.RegVar("mDistanceForRecycle1", get_mDistanceForRecycle1, set_mDistanceForRecycle1);
  15. L.RegVar("mDistanceForNew1", get_mDistanceForNew1, set_mDistanceForNew1);
  16. L.RegVar("mSmoothDumpRate", get_mSmoothDumpRate, set_mSmoothDumpRate);
  17. L.RegVar("mSnapFinishThreshold", get_mSnapFinishThreshold, set_mSnapFinishThreshold);
  18. L.RegVar("mSnapVecThreshold", get_mSnapVecThreshold, set_mSnapVecThreshold);
  19. L.RegVar("mItemDefaultWithPaddingSize", get_mItemDefaultWithPaddingSize, set_mItemDefaultWithPaddingSize);
  20. L.EndClass();
  21. }
  22. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  23. static int _CreateSuperScrollView_LoopListViewInitParam(IntPtr L)
  24. {
  25. try
  26. {
  27. int count = LuaDLL.lua_gettop(L);
  28. if (count == 0)
  29. {
  30. SuperScrollView.LoopListViewInitParam obj = new SuperScrollView.LoopListViewInitParam();
  31. ToLua.PushObject(L, obj);
  32. return 1;
  33. }
  34. else
  35. {
  36. return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: SuperScrollView.LoopListViewInitParam.New");
  37. }
  38. }
  39. catch (Exception e)
  40. {
  41. return LuaDLL.toluaL_exception(L, e);
  42. }
  43. }
  44. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  45. static int CopyDefaultInitParam(IntPtr L)
  46. {
  47. try
  48. {
  49. ToLua.CheckArgsCount(L, 0);
  50. SuperScrollView.LoopListViewInitParam o = SuperScrollView.LoopListViewInitParam.CopyDefaultInitParam();
  51. ToLua.PushObject(L, o);
  52. return 1;
  53. }
  54. catch (Exception e)
  55. {
  56. return LuaDLL.toluaL_exception(L, e);
  57. }
  58. }
  59. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  60. static int get_mDistanceForRecycle0(IntPtr L)
  61. {
  62. object o = null;
  63. try
  64. {
  65. o = ToLua.ToObject(L, 1);
  66. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  67. float ret = obj.mDistanceForRecycle0;
  68. LuaDLL.lua_pushnumber(L, ret);
  69. return 1;
  70. }
  71. catch(Exception e)
  72. {
  73. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForRecycle0 on a nil value");
  74. }
  75. }
  76. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  77. static int get_mDistanceForNew0(IntPtr L)
  78. {
  79. object o = null;
  80. try
  81. {
  82. o = ToLua.ToObject(L, 1);
  83. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  84. float ret = obj.mDistanceForNew0;
  85. LuaDLL.lua_pushnumber(L, ret);
  86. return 1;
  87. }
  88. catch(Exception e)
  89. {
  90. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForNew0 on a nil value");
  91. }
  92. }
  93. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  94. static int get_mDistanceForRecycle1(IntPtr L)
  95. {
  96. object o = null;
  97. try
  98. {
  99. o = ToLua.ToObject(L, 1);
  100. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  101. float ret = obj.mDistanceForRecycle1;
  102. LuaDLL.lua_pushnumber(L, ret);
  103. return 1;
  104. }
  105. catch(Exception e)
  106. {
  107. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForRecycle1 on a nil value");
  108. }
  109. }
  110. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  111. static int get_mDistanceForNew1(IntPtr L)
  112. {
  113. object o = null;
  114. try
  115. {
  116. o = ToLua.ToObject(L, 1);
  117. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  118. float ret = obj.mDistanceForNew1;
  119. LuaDLL.lua_pushnumber(L, ret);
  120. return 1;
  121. }
  122. catch(Exception e)
  123. {
  124. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForNew1 on a nil value");
  125. }
  126. }
  127. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  128. static int get_mSmoothDumpRate(IntPtr L)
  129. {
  130. object o = null;
  131. try
  132. {
  133. o = ToLua.ToObject(L, 1);
  134. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  135. float ret = obj.mSmoothDumpRate;
  136. LuaDLL.lua_pushnumber(L, ret);
  137. return 1;
  138. }
  139. catch(Exception e)
  140. {
  141. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSmoothDumpRate on a nil value");
  142. }
  143. }
  144. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  145. static int get_mSnapFinishThreshold(IntPtr L)
  146. {
  147. object o = null;
  148. try
  149. {
  150. o = ToLua.ToObject(L, 1);
  151. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  152. float ret = obj.mSnapFinishThreshold;
  153. LuaDLL.lua_pushnumber(L, ret);
  154. return 1;
  155. }
  156. catch(Exception e)
  157. {
  158. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSnapFinishThreshold on a nil value");
  159. }
  160. }
  161. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  162. static int get_mSnapVecThreshold(IntPtr L)
  163. {
  164. object o = null;
  165. try
  166. {
  167. o = ToLua.ToObject(L, 1);
  168. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  169. float ret = obj.mSnapVecThreshold;
  170. LuaDLL.lua_pushnumber(L, ret);
  171. return 1;
  172. }
  173. catch(Exception e)
  174. {
  175. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSnapVecThreshold on a nil value");
  176. }
  177. }
  178. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  179. static int get_mItemDefaultWithPaddingSize(IntPtr L)
  180. {
  181. object o = null;
  182. try
  183. {
  184. o = ToLua.ToObject(L, 1);
  185. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  186. float ret = obj.mItemDefaultWithPaddingSize;
  187. LuaDLL.lua_pushnumber(L, ret);
  188. return 1;
  189. }
  190. catch(Exception e)
  191. {
  192. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemDefaultWithPaddingSize on a nil value");
  193. }
  194. }
  195. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  196. static int set_mDistanceForRecycle0(IntPtr L)
  197. {
  198. object o = null;
  199. try
  200. {
  201. o = ToLua.ToObject(L, 1);
  202. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  203. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  204. obj.mDistanceForRecycle0 = arg0;
  205. return 0;
  206. }
  207. catch(Exception e)
  208. {
  209. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForRecycle0 on a nil value");
  210. }
  211. }
  212. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  213. static int set_mDistanceForNew0(IntPtr L)
  214. {
  215. object o = null;
  216. try
  217. {
  218. o = ToLua.ToObject(L, 1);
  219. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  220. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  221. obj.mDistanceForNew0 = arg0;
  222. return 0;
  223. }
  224. catch(Exception e)
  225. {
  226. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForNew0 on a nil value");
  227. }
  228. }
  229. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  230. static int set_mDistanceForRecycle1(IntPtr L)
  231. {
  232. object o = null;
  233. try
  234. {
  235. o = ToLua.ToObject(L, 1);
  236. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  237. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  238. obj.mDistanceForRecycle1 = arg0;
  239. return 0;
  240. }
  241. catch(Exception e)
  242. {
  243. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForRecycle1 on a nil value");
  244. }
  245. }
  246. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  247. static int set_mDistanceForNew1(IntPtr L)
  248. {
  249. object o = null;
  250. try
  251. {
  252. o = ToLua.ToObject(L, 1);
  253. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  254. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  255. obj.mDistanceForNew1 = arg0;
  256. return 0;
  257. }
  258. catch(Exception e)
  259. {
  260. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mDistanceForNew1 on a nil value");
  261. }
  262. }
  263. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  264. static int set_mSmoothDumpRate(IntPtr L)
  265. {
  266. object o = null;
  267. try
  268. {
  269. o = ToLua.ToObject(L, 1);
  270. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  271. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  272. obj.mSmoothDumpRate = arg0;
  273. return 0;
  274. }
  275. catch(Exception e)
  276. {
  277. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSmoothDumpRate on a nil value");
  278. }
  279. }
  280. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  281. static int set_mSnapFinishThreshold(IntPtr L)
  282. {
  283. object o = null;
  284. try
  285. {
  286. o = ToLua.ToObject(L, 1);
  287. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  288. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  289. obj.mSnapFinishThreshold = arg0;
  290. return 0;
  291. }
  292. catch(Exception e)
  293. {
  294. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSnapFinishThreshold on a nil value");
  295. }
  296. }
  297. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  298. static int set_mSnapVecThreshold(IntPtr L)
  299. {
  300. object o = null;
  301. try
  302. {
  303. o = ToLua.ToObject(L, 1);
  304. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  305. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  306. obj.mSnapVecThreshold = arg0;
  307. return 0;
  308. }
  309. catch(Exception e)
  310. {
  311. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mSnapVecThreshold on a nil value");
  312. }
  313. }
  314. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  315. static int set_mItemDefaultWithPaddingSize(IntPtr L)
  316. {
  317. object o = null;
  318. try
  319. {
  320. o = ToLua.ToObject(L, 1);
  321. SuperScrollView.LoopListViewInitParam obj = (SuperScrollView.LoopListViewInitParam)o;
  322. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  323. obj.mItemDefaultWithPaddingSize = arg0;
  324. return 0;
  325. }
  326. catch(Exception e)
  327. {
  328. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mItemDefaultWithPaddingSize on a nil value");
  329. }
  330. }
  331. }