SuperScrollView_LoopListViewItemWrap.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class SuperScrollView_LoopListViewItemWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(SuperScrollView.LoopListViewItem), typeof(UnityEngine.MonoBehaviour), "LoopListViewItem");
  9. L.RegFunction("__eq", op_Equality);
  10. L.RegFunction("__tostring", ToLua.op_ToString);
  11. L.RegVar("UserObjectData", get_UserObjectData, set_UserObjectData);
  12. L.RegVar("UserIntData1", get_UserIntData1, set_UserIntData1);
  13. L.RegVar("UserIntData2", get_UserIntData2, set_UserIntData2);
  14. L.RegVar("UserStringData1", get_UserStringData1, set_UserStringData1);
  15. L.RegVar("UserStringData2", get_UserStringData2, set_UserStringData2);
  16. L.RegVar("DistanceWithViewPortSnapCenter", get_DistanceWithViewPortSnapCenter, set_DistanceWithViewPortSnapCenter);
  17. L.RegVar("StartPosOffset", get_StartPosOffset, set_StartPosOffset);
  18. L.RegVar("ItemCreatedCheckFrameCount", get_ItemCreatedCheckFrameCount, set_ItemCreatedCheckFrameCount);
  19. L.RegVar("Padding", get_Padding, set_Padding);
  20. L.RegVar("CachedRectTransform", get_CachedRectTransform, null);
  21. L.RegVar("ItemPrefabName", get_ItemPrefabName, set_ItemPrefabName);
  22. L.RegVar("ItemIndex", get_ItemIndex, set_ItemIndex);
  23. L.RegVar("ItemId", get_ItemId, set_ItemId);
  24. L.RegVar("IsInitHandlerCalled", get_IsInitHandlerCalled, set_IsInitHandlerCalled);
  25. L.RegVar("ParentListView", get_ParentListView, set_ParentListView);
  26. L.RegVar("TopY", get_TopY, null);
  27. L.RegVar("BottomY", get_BottomY, null);
  28. L.RegVar("LeftX", get_LeftX, null);
  29. L.RegVar("RightX", get_RightX, null);
  30. L.RegVar("ItemSize", get_ItemSize, null);
  31. L.RegVar("ItemSizeWithPadding", get_ItemSizeWithPadding, null);
  32. L.EndClass();
  33. }
  34. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  35. static int op_Equality(IntPtr L)
  36. {
  37. try
  38. {
  39. ToLua.CheckArgsCount(L, 2);
  40. UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
  41. UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
  42. bool o = arg0 == arg1;
  43. LuaDLL.lua_pushboolean(L, o);
  44. return 1;
  45. }
  46. catch (Exception e)
  47. {
  48. return LuaDLL.toluaL_exception(L, e);
  49. }
  50. }
  51. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  52. static int get_UserObjectData(IntPtr L)
  53. {
  54. object o = null;
  55. try
  56. {
  57. o = ToLua.ToObject(L, 1);
  58. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  59. object ret = obj.UserObjectData;
  60. ToLua.Push(L, ret);
  61. return 1;
  62. }
  63. catch(Exception e)
  64. {
  65. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserObjectData on a nil value");
  66. }
  67. }
  68. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  69. static int get_UserIntData1(IntPtr L)
  70. {
  71. object o = null;
  72. try
  73. {
  74. o = ToLua.ToObject(L, 1);
  75. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  76. int ret = obj.UserIntData1;
  77. LuaDLL.lua_pushinteger(L, ret);
  78. return 1;
  79. }
  80. catch(Exception e)
  81. {
  82. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserIntData1 on a nil value");
  83. }
  84. }
  85. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  86. static int get_UserIntData2(IntPtr L)
  87. {
  88. object o = null;
  89. try
  90. {
  91. o = ToLua.ToObject(L, 1);
  92. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  93. int ret = obj.UserIntData2;
  94. LuaDLL.lua_pushinteger(L, ret);
  95. return 1;
  96. }
  97. catch(Exception e)
  98. {
  99. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserIntData2 on a nil value");
  100. }
  101. }
  102. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  103. static int get_UserStringData1(IntPtr L)
  104. {
  105. object o = null;
  106. try
  107. {
  108. o = ToLua.ToObject(L, 1);
  109. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  110. string ret = obj.UserStringData1;
  111. LuaDLL.lua_pushstring(L, ret);
  112. return 1;
  113. }
  114. catch(Exception e)
  115. {
  116. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserStringData1 on a nil value");
  117. }
  118. }
  119. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  120. static int get_UserStringData2(IntPtr L)
  121. {
  122. object o = null;
  123. try
  124. {
  125. o = ToLua.ToObject(L, 1);
  126. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  127. string ret = obj.UserStringData2;
  128. LuaDLL.lua_pushstring(L, ret);
  129. return 1;
  130. }
  131. catch(Exception e)
  132. {
  133. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserStringData2 on a nil value");
  134. }
  135. }
  136. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  137. static int get_DistanceWithViewPortSnapCenter(IntPtr L)
  138. {
  139. object o = null;
  140. try
  141. {
  142. o = ToLua.ToObject(L, 1);
  143. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  144. float ret = obj.DistanceWithViewPortSnapCenter;
  145. LuaDLL.lua_pushnumber(L, ret);
  146. return 1;
  147. }
  148. catch(Exception e)
  149. {
  150. return LuaDLL.toluaL_exception(L, e, o, "attempt to index DistanceWithViewPortSnapCenter on a nil value");
  151. }
  152. }
  153. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  154. static int get_StartPosOffset(IntPtr L)
  155. {
  156. object o = null;
  157. try
  158. {
  159. o = ToLua.ToObject(L, 1);
  160. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  161. float ret = obj.StartPosOffset;
  162. LuaDLL.lua_pushnumber(L, ret);
  163. return 1;
  164. }
  165. catch(Exception e)
  166. {
  167. return LuaDLL.toluaL_exception(L, e, o, "attempt to index StartPosOffset on a nil value");
  168. }
  169. }
  170. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  171. static int get_ItemCreatedCheckFrameCount(IntPtr L)
  172. {
  173. object o = null;
  174. try
  175. {
  176. o = ToLua.ToObject(L, 1);
  177. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  178. int ret = obj.ItemCreatedCheckFrameCount;
  179. LuaDLL.lua_pushinteger(L, ret);
  180. return 1;
  181. }
  182. catch(Exception e)
  183. {
  184. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemCreatedCheckFrameCount on a nil value");
  185. }
  186. }
  187. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  188. static int get_Padding(IntPtr L)
  189. {
  190. object o = null;
  191. try
  192. {
  193. o = ToLua.ToObject(L, 1);
  194. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  195. float ret = obj.Padding;
  196. LuaDLL.lua_pushnumber(L, ret);
  197. return 1;
  198. }
  199. catch(Exception e)
  200. {
  201. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Padding on a nil value");
  202. }
  203. }
  204. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  205. static int get_CachedRectTransform(IntPtr L)
  206. {
  207. object o = null;
  208. try
  209. {
  210. o = ToLua.ToObject(L, 1);
  211. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  212. UnityEngine.RectTransform ret = obj.CachedRectTransform;
  213. ToLua.PushSealed(L, ret);
  214. return 1;
  215. }
  216. catch(Exception e)
  217. {
  218. return LuaDLL.toluaL_exception(L, e, o, "attempt to index CachedRectTransform on a nil value");
  219. }
  220. }
  221. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  222. static int get_ItemPrefabName(IntPtr L)
  223. {
  224. object o = null;
  225. try
  226. {
  227. o = ToLua.ToObject(L, 1);
  228. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  229. string ret = obj.ItemPrefabName;
  230. LuaDLL.lua_pushstring(L, ret);
  231. return 1;
  232. }
  233. catch(Exception e)
  234. {
  235. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemPrefabName on a nil value");
  236. }
  237. }
  238. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  239. static int get_ItemIndex(IntPtr L)
  240. {
  241. object o = null;
  242. try
  243. {
  244. o = ToLua.ToObject(L, 1);
  245. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  246. int ret = obj.ItemIndex;
  247. LuaDLL.lua_pushinteger(L, ret);
  248. return 1;
  249. }
  250. catch(Exception e)
  251. {
  252. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemIndex on a nil value");
  253. }
  254. }
  255. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  256. static int get_ItemId(IntPtr L)
  257. {
  258. object o = null;
  259. try
  260. {
  261. o = ToLua.ToObject(L, 1);
  262. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  263. int ret = obj.ItemId;
  264. LuaDLL.lua_pushinteger(L, ret);
  265. return 1;
  266. }
  267. catch(Exception e)
  268. {
  269. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemId on a nil value");
  270. }
  271. }
  272. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  273. static int get_IsInitHandlerCalled(IntPtr L)
  274. {
  275. object o = null;
  276. try
  277. {
  278. o = ToLua.ToObject(L, 1);
  279. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  280. bool ret = obj.IsInitHandlerCalled;
  281. LuaDLL.lua_pushboolean(L, ret);
  282. return 1;
  283. }
  284. catch(Exception e)
  285. {
  286. return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsInitHandlerCalled on a nil value");
  287. }
  288. }
  289. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  290. static int get_ParentListView(IntPtr L)
  291. {
  292. object o = null;
  293. try
  294. {
  295. o = ToLua.ToObject(L, 1);
  296. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  297. SuperScrollView.LoopListView ret = obj.ParentListView;
  298. ToLua.Push(L, ret);
  299. return 1;
  300. }
  301. catch(Exception e)
  302. {
  303. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ParentListView on a nil value");
  304. }
  305. }
  306. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  307. static int get_TopY(IntPtr L)
  308. {
  309. object o = null;
  310. try
  311. {
  312. o = ToLua.ToObject(L, 1);
  313. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  314. float ret = obj.TopY;
  315. LuaDLL.lua_pushnumber(L, ret);
  316. return 1;
  317. }
  318. catch(Exception e)
  319. {
  320. return LuaDLL.toluaL_exception(L, e, o, "attempt to index TopY on a nil value");
  321. }
  322. }
  323. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  324. static int get_BottomY(IntPtr L)
  325. {
  326. object o = null;
  327. try
  328. {
  329. o = ToLua.ToObject(L, 1);
  330. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  331. float ret = obj.BottomY;
  332. LuaDLL.lua_pushnumber(L, ret);
  333. return 1;
  334. }
  335. catch(Exception e)
  336. {
  337. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BottomY on a nil value");
  338. }
  339. }
  340. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  341. static int get_LeftX(IntPtr L)
  342. {
  343. object o = null;
  344. try
  345. {
  346. o = ToLua.ToObject(L, 1);
  347. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  348. float ret = obj.LeftX;
  349. LuaDLL.lua_pushnumber(L, ret);
  350. return 1;
  351. }
  352. catch(Exception e)
  353. {
  354. return LuaDLL.toluaL_exception(L, e, o, "attempt to index LeftX on a nil value");
  355. }
  356. }
  357. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  358. static int get_RightX(IntPtr L)
  359. {
  360. object o = null;
  361. try
  362. {
  363. o = ToLua.ToObject(L, 1);
  364. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  365. float ret = obj.RightX;
  366. LuaDLL.lua_pushnumber(L, ret);
  367. return 1;
  368. }
  369. catch(Exception e)
  370. {
  371. return LuaDLL.toluaL_exception(L, e, o, "attempt to index RightX on a nil value");
  372. }
  373. }
  374. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  375. static int get_ItemSize(IntPtr L)
  376. {
  377. object o = null;
  378. try
  379. {
  380. o = ToLua.ToObject(L, 1);
  381. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  382. float ret = obj.ItemSize;
  383. LuaDLL.lua_pushnumber(L, ret);
  384. return 1;
  385. }
  386. catch(Exception e)
  387. {
  388. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSize on a nil value");
  389. }
  390. }
  391. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  392. static int get_ItemSizeWithPadding(IntPtr L)
  393. {
  394. object o = null;
  395. try
  396. {
  397. o = ToLua.ToObject(L, 1);
  398. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  399. float ret = obj.ItemSizeWithPadding;
  400. LuaDLL.lua_pushnumber(L, ret);
  401. return 1;
  402. }
  403. catch(Exception e)
  404. {
  405. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSizeWithPadding on a nil value");
  406. }
  407. }
  408. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  409. static int set_UserObjectData(IntPtr L)
  410. {
  411. object o = null;
  412. try
  413. {
  414. o = ToLua.ToObject(L, 1);
  415. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  416. object arg0 = ToLua.ToVarObject(L, 2);
  417. obj.UserObjectData = arg0;
  418. return 0;
  419. }
  420. catch(Exception e)
  421. {
  422. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserObjectData on a nil value");
  423. }
  424. }
  425. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  426. static int set_UserIntData1(IntPtr L)
  427. {
  428. object o = null;
  429. try
  430. {
  431. o = ToLua.ToObject(L, 1);
  432. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  433. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  434. obj.UserIntData1 = arg0;
  435. return 0;
  436. }
  437. catch(Exception e)
  438. {
  439. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserIntData1 on a nil value");
  440. }
  441. }
  442. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  443. static int set_UserIntData2(IntPtr L)
  444. {
  445. object o = null;
  446. try
  447. {
  448. o = ToLua.ToObject(L, 1);
  449. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  450. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  451. obj.UserIntData2 = arg0;
  452. return 0;
  453. }
  454. catch(Exception e)
  455. {
  456. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserIntData2 on a nil value");
  457. }
  458. }
  459. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  460. static int set_UserStringData1(IntPtr L)
  461. {
  462. object o = null;
  463. try
  464. {
  465. o = ToLua.ToObject(L, 1);
  466. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  467. string arg0 = ToLua.CheckString(L, 2);
  468. obj.UserStringData1 = arg0;
  469. return 0;
  470. }
  471. catch(Exception e)
  472. {
  473. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserStringData1 on a nil value");
  474. }
  475. }
  476. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  477. static int set_UserStringData2(IntPtr L)
  478. {
  479. object o = null;
  480. try
  481. {
  482. o = ToLua.ToObject(L, 1);
  483. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  484. string arg0 = ToLua.CheckString(L, 2);
  485. obj.UserStringData2 = arg0;
  486. return 0;
  487. }
  488. catch(Exception e)
  489. {
  490. return LuaDLL.toluaL_exception(L, e, o, "attempt to index UserStringData2 on a nil value");
  491. }
  492. }
  493. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  494. static int set_DistanceWithViewPortSnapCenter(IntPtr L)
  495. {
  496. object o = null;
  497. try
  498. {
  499. o = ToLua.ToObject(L, 1);
  500. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  501. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  502. obj.DistanceWithViewPortSnapCenter = arg0;
  503. return 0;
  504. }
  505. catch(Exception e)
  506. {
  507. return LuaDLL.toluaL_exception(L, e, o, "attempt to index DistanceWithViewPortSnapCenter on a nil value");
  508. }
  509. }
  510. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  511. static int set_StartPosOffset(IntPtr L)
  512. {
  513. object o = null;
  514. try
  515. {
  516. o = ToLua.ToObject(L, 1);
  517. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  518. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  519. obj.StartPosOffset = arg0;
  520. return 0;
  521. }
  522. catch(Exception e)
  523. {
  524. return LuaDLL.toluaL_exception(L, e, o, "attempt to index StartPosOffset on a nil value");
  525. }
  526. }
  527. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  528. static int set_ItemCreatedCheckFrameCount(IntPtr L)
  529. {
  530. object o = null;
  531. try
  532. {
  533. o = ToLua.ToObject(L, 1);
  534. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  535. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  536. obj.ItemCreatedCheckFrameCount = arg0;
  537. return 0;
  538. }
  539. catch(Exception e)
  540. {
  541. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemCreatedCheckFrameCount on a nil value");
  542. }
  543. }
  544. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  545. static int set_Padding(IntPtr L)
  546. {
  547. object o = null;
  548. try
  549. {
  550. o = ToLua.ToObject(L, 1);
  551. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  552. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  553. obj.Padding = arg0;
  554. return 0;
  555. }
  556. catch(Exception e)
  557. {
  558. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Padding on a nil value");
  559. }
  560. }
  561. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  562. static int set_ItemPrefabName(IntPtr L)
  563. {
  564. object o = null;
  565. try
  566. {
  567. o = ToLua.ToObject(L, 1);
  568. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  569. string arg0 = ToLua.CheckString(L, 2);
  570. obj.ItemPrefabName = arg0;
  571. return 0;
  572. }
  573. catch(Exception e)
  574. {
  575. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemPrefabName on a nil value");
  576. }
  577. }
  578. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  579. static int set_ItemIndex(IntPtr L)
  580. {
  581. object o = null;
  582. try
  583. {
  584. o = ToLua.ToObject(L, 1);
  585. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  586. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  587. obj.ItemIndex = arg0;
  588. return 0;
  589. }
  590. catch(Exception e)
  591. {
  592. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemIndex on a nil value");
  593. }
  594. }
  595. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  596. static int set_ItemId(IntPtr L)
  597. {
  598. object o = null;
  599. try
  600. {
  601. o = ToLua.ToObject(L, 1);
  602. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  603. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  604. obj.ItemId = arg0;
  605. return 0;
  606. }
  607. catch(Exception e)
  608. {
  609. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemId on a nil value");
  610. }
  611. }
  612. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  613. static int set_IsInitHandlerCalled(IntPtr L)
  614. {
  615. object o = null;
  616. try
  617. {
  618. o = ToLua.ToObject(L, 1);
  619. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  620. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  621. obj.IsInitHandlerCalled = arg0;
  622. return 0;
  623. }
  624. catch(Exception e)
  625. {
  626. return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsInitHandlerCalled on a nil value");
  627. }
  628. }
  629. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  630. static int set_ParentListView(IntPtr L)
  631. {
  632. object o = null;
  633. try
  634. {
  635. o = ToLua.ToObject(L, 1);
  636. SuperScrollView.LoopListViewItem obj = (SuperScrollView.LoopListViewItem)o;
  637. SuperScrollView.LoopListView arg0 = (SuperScrollView.LoopListView)ToLua.CheckObject<SuperScrollView.LoopListView>(L, 2);
  638. obj.ParentListView = arg0;
  639. return 0;
  640. }
  641. catch(Exception e)
  642. {
  643. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ParentListView on a nil value");
  644. }
  645. }
  646. }