SuperScrollView_LoopGridViewWrap.cs 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class SuperScrollView_LoopGridViewWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(SuperScrollView.LoopGridView), typeof(UnityEngine.MonoBehaviour), "LoopGridView");
  9. L.RegFunction("GetItemPrefabConfData", GetItemPrefabConfData);
  10. L.RegFunction("InitGridView", InitGridView);
  11. L.RegFunction("SetListItemCount", SetListItemCount);
  12. L.RegFunction("RefreshListByIndex", RefreshListByIndex);
  13. L.RegFunction("RefreshListByRowColumn", RefreshListByRowColumn);
  14. L.RegFunction("NewListViewItem", NewListViewItem);
  15. L.RegFunction("RefreshItemByItemIndex", RefreshItemByItemIndex);
  16. L.RegFunction("RefreshItemByRowColumn", RefreshItemByRowColumn);
  17. L.RegFunction("ClearSnapData", ClearSnapData);
  18. L.RegFunction("SetSnapTargetItemRowColumn", SetSnapTargetItemRowColumn);
  19. L.RegFunction("ForceSnapUpdateCheck", ForceSnapUpdateCheck);
  20. L.RegFunction("ForceToCheckContentPos", ForceToCheckContentPos);
  21. L.RegFunction("MovePanelToItemByIndex", MovePanelToItemByIndex);
  22. L.RegFunction("MovePanelToItemByRowColumn", MovePanelToItemByRowColumn);
  23. L.RegFunction("RefreshAllShownItem", RefreshAllShownItem);
  24. L.RegFunction("OnBeginDrag", OnBeginDrag);
  25. L.RegFunction("OnEndDrag", OnEndDrag);
  26. L.RegFunction("OnDrag", OnDrag);
  27. L.RegFunction("GetItemIndexByRowColumn", GetItemIndexByRowColumn);
  28. L.RegFunction("GetRowColumnByItemIndex", GetRowColumnByItemIndex);
  29. L.RegFunction("GetItemAbsPos", GetItemAbsPos);
  30. L.RegFunction("GetItemPos", GetItemPos);
  31. L.RegFunction("GetShownItemByItemIndex", GetShownItemByItemIndex);
  32. L.RegFunction("GetShownItemByRowColumn", GetShownItemByRowColumn);
  33. L.RegFunction("UpdateAllGridSetting", UpdateAllGridSetting);
  34. L.RegFunction("SetGridFixedGroupCount", SetGridFixedGroupCount);
  35. L.RegFunction("UpdateRealFixedRowOrColumnCount", UpdateRealFixedRowOrColumnCount);
  36. L.RegFunction("SetItemSize", SetItemSize);
  37. L.RegFunction("SetItemPadding", SetItemPadding);
  38. L.RegFunction("SetPadding", SetPadding);
  39. L.RegFunction("UpdateContentSize", UpdateContentSize);
  40. L.RegFunction("VaildAndSetContainerPos", VaildAndSetContainerPos);
  41. L.RegFunction("ClearAllTmpRecycledItem", ClearAllTmpRecycledItem);
  42. L.RegFunction("RecycleAllItem", RecycleAllItem);
  43. L.RegFunction("UpdateGridViewContent", UpdateGridViewContent);
  44. L.RegFunction("UpdateStartEndPadding", UpdateStartEndPadding);
  45. L.RegFunction("UpdateItemSize", UpdateItemSize);
  46. L.RegFunction("UpdateColumnRowCount", UpdateColumnRowCount);
  47. L.RegFunction("FindNearestItemIndex", FindNearestItemIndex);
  48. L.RegFunction("FindItemIdxInWorldRect", FindItemIdxInWorldRect);
  49. L.RegFunction("FinishSnapImmediately", FinishSnapImmediately);
  50. L.RegFunction("Dispose", Dispose);
  51. L.RegFunction("__eq", op_Equality);
  52. L.RegFunction("__tostring", ToLua.op_ToString);
  53. L.RegVar("mOnBeginDragAction", get_mOnBeginDragAction, set_mOnBeginDragAction);
  54. L.RegVar("mOnDragingAction", get_mOnDragingAction, set_mOnDragingAction);
  55. L.RegVar("mOnEndDragAction", get_mOnEndDragAction, set_mOnEndDragAction);
  56. L.RegVar("mOnSnapItemFinished", get_mOnSnapItemFinished, set_mOnSnapItemFinished);
  57. L.RegVar("mOnSnapNearestChanged", get_mOnSnapNearestChanged, set_mOnSnapNearestChanged);
  58. L.RegVar("ArrangeType", get_ArrangeType, set_ArrangeType);
  59. L.RegVar("NeedReverse", get_NeedReverse, set_NeedReverse);
  60. L.RegVar("ItemPrefabDataList", get_ItemPrefabDataList, null);
  61. L.RegVar("ItemTotalCount", get_ItemTotalCount, null);
  62. L.RegVar("RealItemTotalCount", get_RealItemTotalCount, null);
  63. L.RegVar("ContainerTrans", get_ContainerTrans, null);
  64. L.RegVar("ViewPortWidth", get_ViewPortWidth, null);
  65. L.RegVar("ViewPortHeight", get_ViewPortHeight, null);
  66. L.RegVar("ScrollRect", get_ScrollRect, null);
  67. L.RegVar("IsDraging", get_IsDraging, null);
  68. L.RegVar("ItemSnapEnable", get_ItemSnapEnable, set_ItemSnapEnable);
  69. L.RegVar("ItemSnapPivot", get_ItemSnapPivot, set_ItemSnapPivot);
  70. L.RegVar("ViewPortSnapPivot", get_ViewPortSnapPivot, set_ViewPortSnapPivot);
  71. L.RegVar("ItemSize", get_ItemSize, set_ItemSize);
  72. L.RegVar("ItemPadding", get_ItemPadding, set_ItemPadding);
  73. L.RegVar("ItemSizeWithPadding", get_ItemSizeWithPadding, null);
  74. L.RegVar("Padding", get_Padding, set_Padding);
  75. L.RegVar("CurSnapNearestItemRowColumn", get_CurSnapNearestItemRowColumn, null);
  76. L.EndClass();
  77. }
  78. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  79. static int GetItemPrefabConfData(IntPtr L)
  80. {
  81. try
  82. {
  83. ToLua.CheckArgsCount(L, 2);
  84. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  85. string arg0 = ToLua.CheckString(L, 2);
  86. SuperScrollView.GridViewItemPrefabConfData o = obj.GetItemPrefabConfData(arg0);
  87. ToLua.PushObject(L, o);
  88. return 1;
  89. }
  90. catch (Exception e)
  91. {
  92. return LuaDLL.toluaL_exception(L, e);
  93. }
  94. }
  95. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  96. static int InitGridView(IntPtr L)
  97. {
  98. try
  99. {
  100. int count = LuaDLL.lua_gettop(L);
  101. if (count == 4)
  102. {
  103. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  104. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  105. System.Func<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem> arg1 = (System.Func<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>)ToLua.CheckDelegate<System.Func<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>>(L, 3);
  106. System.Action<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem> arg2 = (System.Action<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>)ToLua.CheckDelegate<System.Action<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>>(L, 4);
  107. obj.InitGridView(arg0, arg1, arg2);
  108. return 0;
  109. }
  110. else if (count == 5)
  111. {
  112. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  113. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  114. System.Func<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem> arg1 = (System.Func<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>)ToLua.CheckDelegate<System.Func<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>>(L, 3);
  115. System.Action<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem> arg2 = (System.Action<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>)ToLua.CheckDelegate<System.Action<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>>(L, 4);
  116. SuperScrollView.LoopGridViewSettingParam arg3 = (SuperScrollView.LoopGridViewSettingParam)ToLua.CheckObject<SuperScrollView.LoopGridViewSettingParam>(L, 5);
  117. obj.InitGridView(arg0, arg1, arg2, arg3);
  118. return 0;
  119. }
  120. else if (count == 6)
  121. {
  122. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  123. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  124. System.Func<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem> arg1 = (System.Func<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>)ToLua.CheckDelegate<System.Func<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>>(L, 3);
  125. System.Action<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem> arg2 = (System.Action<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>)ToLua.CheckDelegate<System.Action<SuperScrollView.LoopGridView,int,int,int,SuperScrollView.LoopGridViewItem>>(L, 4);
  126. SuperScrollView.LoopGridViewSettingParam arg3 = (SuperScrollView.LoopGridViewSettingParam)ToLua.CheckObject<SuperScrollView.LoopGridViewSettingParam>(L, 5);
  127. SuperScrollView.LoopGridViewInitParam arg4 = (SuperScrollView.LoopGridViewInitParam)ToLua.CheckObject<SuperScrollView.LoopGridViewInitParam>(L, 6);
  128. obj.InitGridView(arg0, arg1, arg2, arg3, arg4);
  129. return 0;
  130. }
  131. else
  132. {
  133. return LuaDLL.luaL_throw(L, "invalid arguments to method: SuperScrollView.LoopGridView.InitGridView");
  134. }
  135. }
  136. catch (Exception e)
  137. {
  138. return LuaDLL.toluaL_exception(L, e);
  139. }
  140. }
  141. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  142. static int SetListItemCount(IntPtr L)
  143. {
  144. try
  145. {
  146. int count = LuaDLL.lua_gettop(L);
  147. if (count == 2)
  148. {
  149. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  150. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  151. obj.SetListItemCount(arg0);
  152. return 0;
  153. }
  154. else if (count == 3)
  155. {
  156. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  157. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  158. bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
  159. obj.SetListItemCount(arg0, arg1);
  160. return 0;
  161. }
  162. else
  163. {
  164. return LuaDLL.luaL_throw(L, "invalid arguments to method: SuperScrollView.LoopGridView.SetListItemCount");
  165. }
  166. }
  167. catch (Exception e)
  168. {
  169. return LuaDLL.toluaL_exception(L, e);
  170. }
  171. }
  172. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  173. static int RefreshListByIndex(IntPtr L)
  174. {
  175. try
  176. {
  177. int count = LuaDLL.lua_gettop(L);
  178. if (count == 2)
  179. {
  180. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  181. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  182. obj.RefreshListByIndex(arg0);
  183. return 0;
  184. }
  185. else if (count == 3)
  186. {
  187. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  188. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  189. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  190. obj.RefreshListByIndex(arg0, arg1);
  191. return 0;
  192. }
  193. else if (count == 4)
  194. {
  195. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  196. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  197. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  198. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  199. obj.RefreshListByIndex(arg0, arg1, arg2);
  200. return 0;
  201. }
  202. else if (count == 5)
  203. {
  204. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  205. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  206. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  207. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  208. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  209. obj.RefreshListByIndex(arg0, arg1, arg2, arg3);
  210. return 0;
  211. }
  212. else
  213. {
  214. return LuaDLL.luaL_throw(L, "invalid arguments to method: SuperScrollView.LoopGridView.RefreshListByIndex");
  215. }
  216. }
  217. catch (Exception e)
  218. {
  219. return LuaDLL.toluaL_exception(L, e);
  220. }
  221. }
  222. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  223. static int RefreshListByRowColumn(IntPtr L)
  224. {
  225. try
  226. {
  227. int count = LuaDLL.lua_gettop(L);
  228. if (count == 2)
  229. {
  230. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  231. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  232. obj.RefreshListByRowColumn(arg0);
  233. return 0;
  234. }
  235. else if (count == 3)
  236. {
  237. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  238. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  239. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  240. obj.RefreshListByRowColumn(arg0, arg1);
  241. return 0;
  242. }
  243. else if (count == 4)
  244. {
  245. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  246. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  247. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  248. int arg2 = (int)LuaDLL.luaL_checknumber(L, 4);
  249. obj.RefreshListByRowColumn(arg0, arg1, arg2);
  250. return 0;
  251. }
  252. else if (count == 5)
  253. {
  254. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  255. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  256. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  257. int arg2 = (int)LuaDLL.luaL_checknumber(L, 4);
  258. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  259. obj.RefreshListByRowColumn(arg0, arg1, arg2, arg3);
  260. return 0;
  261. }
  262. else if (count == 6)
  263. {
  264. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  265. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  266. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  267. int arg2 = (int)LuaDLL.luaL_checknumber(L, 4);
  268. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  269. float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
  270. obj.RefreshListByRowColumn(arg0, arg1, arg2, arg3, arg4);
  271. return 0;
  272. }
  273. else
  274. {
  275. return LuaDLL.luaL_throw(L, "invalid arguments to method: SuperScrollView.LoopGridView.RefreshListByRowColumn");
  276. }
  277. }
  278. catch (Exception e)
  279. {
  280. return LuaDLL.toluaL_exception(L, e);
  281. }
  282. }
  283. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  284. static int NewListViewItem(IntPtr L)
  285. {
  286. try
  287. {
  288. ToLua.CheckArgsCount(L, 2);
  289. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  290. string arg0 = ToLua.CheckString(L, 2);
  291. SuperScrollView.LoopGridViewItem o = obj.NewListViewItem(arg0);
  292. ToLua.Push(L, o);
  293. return 1;
  294. }
  295. catch (Exception e)
  296. {
  297. return LuaDLL.toluaL_exception(L, e);
  298. }
  299. }
  300. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  301. static int RefreshItemByItemIndex(IntPtr L)
  302. {
  303. try
  304. {
  305. ToLua.CheckArgsCount(L, 2);
  306. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  307. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  308. obj.RefreshItemByItemIndex(arg0);
  309. return 0;
  310. }
  311. catch (Exception e)
  312. {
  313. return LuaDLL.toluaL_exception(L, e);
  314. }
  315. }
  316. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  317. static int RefreshItemByRowColumn(IntPtr L)
  318. {
  319. try
  320. {
  321. ToLua.CheckArgsCount(L, 3);
  322. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  323. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  324. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  325. obj.RefreshItemByRowColumn(arg0, arg1);
  326. return 0;
  327. }
  328. catch (Exception e)
  329. {
  330. return LuaDLL.toluaL_exception(L, e);
  331. }
  332. }
  333. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  334. static int ClearSnapData(IntPtr L)
  335. {
  336. try
  337. {
  338. ToLua.CheckArgsCount(L, 1);
  339. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  340. obj.ClearSnapData();
  341. return 0;
  342. }
  343. catch (Exception e)
  344. {
  345. return LuaDLL.toluaL_exception(L, e);
  346. }
  347. }
  348. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  349. static int SetSnapTargetItemRowColumn(IntPtr L)
  350. {
  351. try
  352. {
  353. ToLua.CheckArgsCount(L, 3);
  354. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  355. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  356. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  357. obj.SetSnapTargetItemRowColumn(arg0, arg1);
  358. return 0;
  359. }
  360. catch (Exception e)
  361. {
  362. return LuaDLL.toluaL_exception(L, e);
  363. }
  364. }
  365. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  366. static int ForceSnapUpdateCheck(IntPtr L)
  367. {
  368. try
  369. {
  370. ToLua.CheckArgsCount(L, 1);
  371. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  372. obj.ForceSnapUpdateCheck();
  373. return 0;
  374. }
  375. catch (Exception e)
  376. {
  377. return LuaDLL.toluaL_exception(L, e);
  378. }
  379. }
  380. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  381. static int ForceToCheckContentPos(IntPtr L)
  382. {
  383. try
  384. {
  385. ToLua.CheckArgsCount(L, 1);
  386. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  387. obj.ForceToCheckContentPos();
  388. return 0;
  389. }
  390. catch (Exception e)
  391. {
  392. return LuaDLL.toluaL_exception(L, e);
  393. }
  394. }
  395. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  396. static int MovePanelToItemByIndex(IntPtr L)
  397. {
  398. try
  399. {
  400. int count = LuaDLL.lua_gettop(L);
  401. if (count == 2)
  402. {
  403. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  404. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  405. obj.MovePanelToItemByIndex(arg0);
  406. return 0;
  407. }
  408. else if (count == 3)
  409. {
  410. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  411. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  412. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  413. obj.MovePanelToItemByIndex(arg0, arg1);
  414. return 0;
  415. }
  416. else if (count == 4)
  417. {
  418. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  419. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  420. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  421. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  422. obj.MovePanelToItemByIndex(arg0, arg1, arg2);
  423. return 0;
  424. }
  425. else
  426. {
  427. return LuaDLL.luaL_throw(L, "invalid arguments to method: SuperScrollView.LoopGridView.MovePanelToItemByIndex");
  428. }
  429. }
  430. catch (Exception e)
  431. {
  432. return LuaDLL.toluaL_exception(L, e);
  433. }
  434. }
  435. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  436. static int MovePanelToItemByRowColumn(IntPtr L)
  437. {
  438. try
  439. {
  440. int count = LuaDLL.lua_gettop(L);
  441. if (count == 3)
  442. {
  443. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  444. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  445. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  446. obj.MovePanelToItemByRowColumn(arg0, arg1);
  447. return 0;
  448. }
  449. else if (count == 4)
  450. {
  451. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  452. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  453. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  454. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  455. obj.MovePanelToItemByRowColumn(arg0, arg1, arg2);
  456. return 0;
  457. }
  458. else if (count == 5)
  459. {
  460. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  461. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  462. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  463. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  464. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  465. obj.MovePanelToItemByRowColumn(arg0, arg1, arg2, arg3);
  466. return 0;
  467. }
  468. else
  469. {
  470. return LuaDLL.luaL_throw(L, "invalid arguments to method: SuperScrollView.LoopGridView.MovePanelToItemByRowColumn");
  471. }
  472. }
  473. catch (Exception e)
  474. {
  475. return LuaDLL.toluaL_exception(L, e);
  476. }
  477. }
  478. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  479. static int RefreshAllShownItem(IntPtr L)
  480. {
  481. try
  482. {
  483. ToLua.CheckArgsCount(L, 1);
  484. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  485. obj.RefreshAllShownItem();
  486. return 0;
  487. }
  488. catch (Exception e)
  489. {
  490. return LuaDLL.toluaL_exception(L, e);
  491. }
  492. }
  493. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  494. static int OnBeginDrag(IntPtr L)
  495. {
  496. try
  497. {
  498. ToLua.CheckArgsCount(L, 2);
  499. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  500. UnityEngine.EventSystems.PointerEventData arg0 = (UnityEngine.EventSystems.PointerEventData)ToLua.CheckObject<UnityEngine.EventSystems.PointerEventData>(L, 2);
  501. obj.OnBeginDrag(arg0);
  502. return 0;
  503. }
  504. catch (Exception e)
  505. {
  506. return LuaDLL.toluaL_exception(L, e);
  507. }
  508. }
  509. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  510. static int OnEndDrag(IntPtr L)
  511. {
  512. try
  513. {
  514. ToLua.CheckArgsCount(L, 2);
  515. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  516. UnityEngine.EventSystems.PointerEventData arg0 = (UnityEngine.EventSystems.PointerEventData)ToLua.CheckObject<UnityEngine.EventSystems.PointerEventData>(L, 2);
  517. obj.OnEndDrag(arg0);
  518. return 0;
  519. }
  520. catch (Exception e)
  521. {
  522. return LuaDLL.toluaL_exception(L, e);
  523. }
  524. }
  525. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  526. static int OnDrag(IntPtr L)
  527. {
  528. try
  529. {
  530. ToLua.CheckArgsCount(L, 2);
  531. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  532. UnityEngine.EventSystems.PointerEventData arg0 = (UnityEngine.EventSystems.PointerEventData)ToLua.CheckObject<UnityEngine.EventSystems.PointerEventData>(L, 2);
  533. obj.OnDrag(arg0);
  534. return 0;
  535. }
  536. catch (Exception e)
  537. {
  538. return LuaDLL.toluaL_exception(L, e);
  539. }
  540. }
  541. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  542. static int GetItemIndexByRowColumn(IntPtr L)
  543. {
  544. try
  545. {
  546. ToLua.CheckArgsCount(L, 3);
  547. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  548. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  549. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  550. int o = obj.GetItemIndexByRowColumn(arg0, arg1);
  551. LuaDLL.lua_pushinteger(L, o);
  552. return 1;
  553. }
  554. catch (Exception e)
  555. {
  556. return LuaDLL.toluaL_exception(L, e);
  557. }
  558. }
  559. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  560. static int GetRowColumnByItemIndex(IntPtr L)
  561. {
  562. try
  563. {
  564. ToLua.CheckArgsCount(L, 2);
  565. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  566. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  567. SuperScrollView.RowColumnPair o = obj.GetRowColumnByItemIndex(arg0);
  568. ToLua.PushValue(L, o);
  569. return 1;
  570. }
  571. catch (Exception e)
  572. {
  573. return LuaDLL.toluaL_exception(L, e);
  574. }
  575. }
  576. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  577. static int GetItemAbsPos(IntPtr L)
  578. {
  579. try
  580. {
  581. int count = LuaDLL.lua_gettop(L);
  582. if (count == 2)
  583. {
  584. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  585. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  586. UnityEngine.Vector2 o = obj.GetItemAbsPos(arg0);
  587. ToLua.Push(L, o);
  588. return 1;
  589. }
  590. else if (count == 3)
  591. {
  592. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  593. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  594. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  595. UnityEngine.Vector2 o = obj.GetItemAbsPos(arg0, arg1);
  596. ToLua.Push(L, o);
  597. return 1;
  598. }
  599. else
  600. {
  601. return LuaDLL.luaL_throw(L, "invalid arguments to method: SuperScrollView.LoopGridView.GetItemAbsPos");
  602. }
  603. }
  604. catch (Exception e)
  605. {
  606. return LuaDLL.toluaL_exception(L, e);
  607. }
  608. }
  609. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  610. static int GetItemPos(IntPtr L)
  611. {
  612. try
  613. {
  614. ToLua.CheckArgsCount(L, 3);
  615. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  616. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  617. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  618. UnityEngine.Vector2 o = obj.GetItemPos(arg0, arg1);
  619. ToLua.Push(L, o);
  620. return 1;
  621. }
  622. catch (Exception e)
  623. {
  624. return LuaDLL.toluaL_exception(L, e);
  625. }
  626. }
  627. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  628. static int GetShownItemByItemIndex(IntPtr L)
  629. {
  630. try
  631. {
  632. ToLua.CheckArgsCount(L, 2);
  633. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  634. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  635. SuperScrollView.LoopGridViewItem o = obj.GetShownItemByItemIndex(arg0);
  636. ToLua.Push(L, o);
  637. return 1;
  638. }
  639. catch (Exception e)
  640. {
  641. return LuaDLL.toluaL_exception(L, e);
  642. }
  643. }
  644. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  645. static int GetShownItemByRowColumn(IntPtr L)
  646. {
  647. try
  648. {
  649. ToLua.CheckArgsCount(L, 3);
  650. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  651. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  652. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  653. SuperScrollView.LoopGridViewItem o = obj.GetShownItemByRowColumn(arg0, arg1);
  654. ToLua.Push(L, o);
  655. return 1;
  656. }
  657. catch (Exception e)
  658. {
  659. return LuaDLL.toluaL_exception(L, e);
  660. }
  661. }
  662. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  663. static int UpdateAllGridSetting(IntPtr L)
  664. {
  665. try
  666. {
  667. ToLua.CheckArgsCount(L, 1);
  668. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  669. obj.UpdateAllGridSetting();
  670. return 0;
  671. }
  672. catch (Exception e)
  673. {
  674. return LuaDLL.toluaL_exception(L, e);
  675. }
  676. }
  677. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  678. static int SetGridFixedGroupCount(IntPtr L)
  679. {
  680. try
  681. {
  682. ToLua.CheckArgsCount(L, 3);
  683. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  684. SuperScrollView.GridFixedType arg0 = (SuperScrollView.GridFixedType)ToLua.CheckObject(L, 2, typeof(SuperScrollView.GridFixedType));
  685. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  686. obj.SetGridFixedGroupCount(arg0, arg1);
  687. return 0;
  688. }
  689. catch (Exception e)
  690. {
  691. return LuaDLL.toluaL_exception(L, e);
  692. }
  693. }
  694. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  695. static int UpdateRealFixedRowOrColumnCount(IntPtr L)
  696. {
  697. try
  698. {
  699. ToLua.CheckArgsCount(L, 1);
  700. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  701. obj.UpdateRealFixedRowOrColumnCount();
  702. return 0;
  703. }
  704. catch (Exception e)
  705. {
  706. return LuaDLL.toluaL_exception(L, e);
  707. }
  708. }
  709. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  710. static int SetItemSize(IntPtr L)
  711. {
  712. try
  713. {
  714. ToLua.CheckArgsCount(L, 2);
  715. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  716. UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2);
  717. obj.SetItemSize(arg0);
  718. return 0;
  719. }
  720. catch (Exception e)
  721. {
  722. return LuaDLL.toluaL_exception(L, e);
  723. }
  724. }
  725. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  726. static int SetItemPadding(IntPtr L)
  727. {
  728. try
  729. {
  730. ToLua.CheckArgsCount(L, 2);
  731. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  732. UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2);
  733. obj.SetItemPadding(arg0);
  734. return 0;
  735. }
  736. catch (Exception e)
  737. {
  738. return LuaDLL.toluaL_exception(L, e);
  739. }
  740. }
  741. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  742. static int SetPadding(IntPtr L)
  743. {
  744. try
  745. {
  746. ToLua.CheckArgsCount(L, 2);
  747. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  748. UnityEngine.RectOffset arg0 = (UnityEngine.RectOffset)ToLua.CheckObject<UnityEngine.RectOffset>(L, 2);
  749. obj.SetPadding(arg0);
  750. return 0;
  751. }
  752. catch (Exception e)
  753. {
  754. return LuaDLL.toluaL_exception(L, e);
  755. }
  756. }
  757. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  758. static int UpdateContentSize(IntPtr L)
  759. {
  760. try
  761. {
  762. ToLua.CheckArgsCount(L, 1);
  763. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  764. obj.UpdateContentSize();
  765. return 0;
  766. }
  767. catch (Exception e)
  768. {
  769. return LuaDLL.toluaL_exception(L, e);
  770. }
  771. }
  772. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  773. static int VaildAndSetContainerPos(IntPtr L)
  774. {
  775. try
  776. {
  777. ToLua.CheckArgsCount(L, 1);
  778. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  779. obj.VaildAndSetContainerPos();
  780. return 0;
  781. }
  782. catch (Exception e)
  783. {
  784. return LuaDLL.toluaL_exception(L, e);
  785. }
  786. }
  787. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  788. static int ClearAllTmpRecycledItem(IntPtr L)
  789. {
  790. try
  791. {
  792. ToLua.CheckArgsCount(L, 1);
  793. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  794. obj.ClearAllTmpRecycledItem();
  795. return 0;
  796. }
  797. catch (Exception e)
  798. {
  799. return LuaDLL.toluaL_exception(L, e);
  800. }
  801. }
  802. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  803. static int RecycleAllItem(IntPtr L)
  804. {
  805. try
  806. {
  807. ToLua.CheckArgsCount(L, 1);
  808. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  809. obj.RecycleAllItem();
  810. return 0;
  811. }
  812. catch (Exception e)
  813. {
  814. return LuaDLL.toluaL_exception(L, e);
  815. }
  816. }
  817. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  818. static int UpdateGridViewContent(IntPtr L)
  819. {
  820. try
  821. {
  822. ToLua.CheckArgsCount(L, 1);
  823. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  824. obj.UpdateGridViewContent();
  825. return 0;
  826. }
  827. catch (Exception e)
  828. {
  829. return LuaDLL.toluaL_exception(L, e);
  830. }
  831. }
  832. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  833. static int UpdateStartEndPadding(IntPtr L)
  834. {
  835. try
  836. {
  837. ToLua.CheckArgsCount(L, 1);
  838. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  839. obj.UpdateStartEndPadding();
  840. return 0;
  841. }
  842. catch (Exception e)
  843. {
  844. return LuaDLL.toluaL_exception(L, e);
  845. }
  846. }
  847. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  848. static int UpdateItemSize(IntPtr L)
  849. {
  850. try
  851. {
  852. ToLua.CheckArgsCount(L, 1);
  853. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  854. obj.UpdateItemSize();
  855. return 0;
  856. }
  857. catch (Exception e)
  858. {
  859. return LuaDLL.toluaL_exception(L, e);
  860. }
  861. }
  862. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  863. static int UpdateColumnRowCount(IntPtr L)
  864. {
  865. try
  866. {
  867. ToLua.CheckArgsCount(L, 1);
  868. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  869. obj.UpdateColumnRowCount();
  870. return 0;
  871. }
  872. catch (Exception e)
  873. {
  874. return LuaDLL.toluaL_exception(L, e);
  875. }
  876. }
  877. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  878. static int FindNearestItemIndex(IntPtr L)
  879. {
  880. try
  881. {
  882. ToLua.CheckArgsCount(L, 1);
  883. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  884. int o = obj.FindNearestItemIndex();
  885. LuaDLL.lua_pushinteger(L, o);
  886. return 1;
  887. }
  888. catch (Exception e)
  889. {
  890. return LuaDLL.toluaL_exception(L, e);
  891. }
  892. }
  893. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  894. static int FindItemIdxInWorldRect(IntPtr L)
  895. {
  896. try
  897. {
  898. ToLua.CheckArgsCount(L, 5);
  899. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  900. UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2);
  901. UnityEngine.Vector2 arg1 = ToLua.ToVector2(L, 3);
  902. int arg2;
  903. int arg3;
  904. obj.FindItemIdxInWorldRect(arg0, arg1, out arg2, out arg3);
  905. LuaDLL.lua_pushinteger(L, arg2);
  906. LuaDLL.lua_pushinteger(L, arg3);
  907. return 2;
  908. }
  909. catch (Exception e)
  910. {
  911. return LuaDLL.toluaL_exception(L, e);
  912. }
  913. }
  914. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  915. static int FinishSnapImmediately(IntPtr L)
  916. {
  917. try
  918. {
  919. ToLua.CheckArgsCount(L, 1);
  920. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  921. obj.FinishSnapImmediately();
  922. return 0;
  923. }
  924. catch (Exception e)
  925. {
  926. return LuaDLL.toluaL_exception(L, e);
  927. }
  928. }
  929. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  930. static int Dispose(IntPtr L)
  931. {
  932. try
  933. {
  934. ToLua.CheckArgsCount(L, 1);
  935. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)ToLua.CheckObject<SuperScrollView.LoopGridView>(L, 1);
  936. obj.Dispose();
  937. return 0;
  938. }
  939. catch (Exception e)
  940. {
  941. return LuaDLL.toluaL_exception(L, e);
  942. }
  943. }
  944. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  945. static int op_Equality(IntPtr L)
  946. {
  947. try
  948. {
  949. ToLua.CheckArgsCount(L, 2);
  950. UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
  951. UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
  952. bool o = arg0 == arg1;
  953. LuaDLL.lua_pushboolean(L, o);
  954. return 1;
  955. }
  956. catch (Exception e)
  957. {
  958. return LuaDLL.toluaL_exception(L, e);
  959. }
  960. }
  961. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  962. static int get_mOnBeginDragAction(IntPtr L)
  963. {
  964. object o = null;
  965. try
  966. {
  967. o = ToLua.ToObject(L, 1);
  968. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  969. System.Action<SuperScrollView.LoopGridView> ret = obj.mOnBeginDragAction;
  970. ToLua.Push(L, ret);
  971. return 1;
  972. }
  973. catch(Exception e)
  974. {
  975. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnBeginDragAction on a nil value");
  976. }
  977. }
  978. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  979. static int get_mOnDragingAction(IntPtr L)
  980. {
  981. object o = null;
  982. try
  983. {
  984. o = ToLua.ToObject(L, 1);
  985. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  986. System.Action<SuperScrollView.LoopGridView> ret = obj.mOnDragingAction;
  987. ToLua.Push(L, ret);
  988. return 1;
  989. }
  990. catch(Exception e)
  991. {
  992. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnDragingAction on a nil value");
  993. }
  994. }
  995. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  996. static int get_mOnEndDragAction(IntPtr L)
  997. {
  998. object o = null;
  999. try
  1000. {
  1001. o = ToLua.ToObject(L, 1);
  1002. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1003. System.Action<SuperScrollView.LoopGridView> ret = obj.mOnEndDragAction;
  1004. ToLua.Push(L, ret);
  1005. return 1;
  1006. }
  1007. catch(Exception e)
  1008. {
  1009. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnEndDragAction on a nil value");
  1010. }
  1011. }
  1012. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1013. static int get_mOnSnapItemFinished(IntPtr L)
  1014. {
  1015. object o = null;
  1016. try
  1017. {
  1018. o = ToLua.ToObject(L, 1);
  1019. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1020. System.Action<SuperScrollView.LoopGridView,SuperScrollView.LoopGridViewItem> ret = obj.mOnSnapItemFinished;
  1021. ToLua.Push(L, ret);
  1022. return 1;
  1023. }
  1024. catch(Exception e)
  1025. {
  1026. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnSnapItemFinished on a nil value");
  1027. }
  1028. }
  1029. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1030. static int get_mOnSnapNearestChanged(IntPtr L)
  1031. {
  1032. object o = null;
  1033. try
  1034. {
  1035. o = ToLua.ToObject(L, 1);
  1036. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1037. System.Action<SuperScrollView.LoopGridView> ret = obj.mOnSnapNearestChanged;
  1038. ToLua.Push(L, ret);
  1039. return 1;
  1040. }
  1041. catch(Exception e)
  1042. {
  1043. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnSnapNearestChanged on a nil value");
  1044. }
  1045. }
  1046. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1047. static int get_ArrangeType(IntPtr L)
  1048. {
  1049. object o = null;
  1050. try
  1051. {
  1052. o = ToLua.ToObject(L, 1);
  1053. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1054. SuperScrollView.GridItemArrangeType ret = obj.ArrangeType;
  1055. ToLua.Push(L, ret);
  1056. return 1;
  1057. }
  1058. catch(Exception e)
  1059. {
  1060. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ArrangeType on a nil value");
  1061. }
  1062. }
  1063. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1064. static int get_NeedReverse(IntPtr L)
  1065. {
  1066. object o = null;
  1067. try
  1068. {
  1069. o = ToLua.ToObject(L, 1);
  1070. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1071. bool ret = obj.NeedReverse;
  1072. LuaDLL.lua_pushboolean(L, ret);
  1073. return 1;
  1074. }
  1075. catch(Exception e)
  1076. {
  1077. return LuaDLL.toluaL_exception(L, e, o, "attempt to index NeedReverse on a nil value");
  1078. }
  1079. }
  1080. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1081. static int get_ItemPrefabDataList(IntPtr L)
  1082. {
  1083. object o = null;
  1084. try
  1085. {
  1086. o = ToLua.ToObject(L, 1);
  1087. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1088. System.Collections.Generic.List<SuperScrollView.GridViewItemPrefabConfData> ret = obj.ItemPrefabDataList;
  1089. ToLua.PushSealed(L, ret);
  1090. return 1;
  1091. }
  1092. catch(Exception e)
  1093. {
  1094. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemPrefabDataList on a nil value");
  1095. }
  1096. }
  1097. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1098. static int get_ItemTotalCount(IntPtr L)
  1099. {
  1100. object o = null;
  1101. try
  1102. {
  1103. o = ToLua.ToObject(L, 1);
  1104. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1105. int ret = obj.ItemTotalCount;
  1106. LuaDLL.lua_pushinteger(L, ret);
  1107. return 1;
  1108. }
  1109. catch(Exception e)
  1110. {
  1111. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemTotalCount on a nil value");
  1112. }
  1113. }
  1114. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1115. static int get_RealItemTotalCount(IntPtr L)
  1116. {
  1117. object o = null;
  1118. try
  1119. {
  1120. o = ToLua.ToObject(L, 1);
  1121. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1122. int ret = obj.RealItemTotalCount;
  1123. LuaDLL.lua_pushinteger(L, ret);
  1124. return 1;
  1125. }
  1126. catch(Exception e)
  1127. {
  1128. return LuaDLL.toluaL_exception(L, e, o, "attempt to index RealItemTotalCount on a nil value");
  1129. }
  1130. }
  1131. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1132. static int get_ContainerTrans(IntPtr L)
  1133. {
  1134. object o = null;
  1135. try
  1136. {
  1137. o = ToLua.ToObject(L, 1);
  1138. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1139. UnityEngine.RectTransform ret = obj.ContainerTrans;
  1140. ToLua.PushSealed(L, ret);
  1141. return 1;
  1142. }
  1143. catch(Exception e)
  1144. {
  1145. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ContainerTrans on a nil value");
  1146. }
  1147. }
  1148. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1149. static int get_ViewPortWidth(IntPtr L)
  1150. {
  1151. object o = null;
  1152. try
  1153. {
  1154. o = ToLua.ToObject(L, 1);
  1155. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1156. float ret = obj.ViewPortWidth;
  1157. LuaDLL.lua_pushnumber(L, ret);
  1158. return 1;
  1159. }
  1160. catch(Exception e)
  1161. {
  1162. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ViewPortWidth on a nil value");
  1163. }
  1164. }
  1165. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1166. static int get_ViewPortHeight(IntPtr L)
  1167. {
  1168. object o = null;
  1169. try
  1170. {
  1171. o = ToLua.ToObject(L, 1);
  1172. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1173. float ret = obj.ViewPortHeight;
  1174. LuaDLL.lua_pushnumber(L, ret);
  1175. return 1;
  1176. }
  1177. catch(Exception e)
  1178. {
  1179. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ViewPortHeight on a nil value");
  1180. }
  1181. }
  1182. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1183. static int get_ScrollRect(IntPtr L)
  1184. {
  1185. object o = null;
  1186. try
  1187. {
  1188. o = ToLua.ToObject(L, 1);
  1189. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1190. UnityEngine.UI.ScrollRect ret = obj.ScrollRect;
  1191. ToLua.Push(L, ret);
  1192. return 1;
  1193. }
  1194. catch(Exception e)
  1195. {
  1196. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ScrollRect on a nil value");
  1197. }
  1198. }
  1199. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1200. static int get_IsDraging(IntPtr L)
  1201. {
  1202. object o = null;
  1203. try
  1204. {
  1205. o = ToLua.ToObject(L, 1);
  1206. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1207. bool ret = obj.IsDraging;
  1208. LuaDLL.lua_pushboolean(L, ret);
  1209. return 1;
  1210. }
  1211. catch(Exception e)
  1212. {
  1213. return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsDraging on a nil value");
  1214. }
  1215. }
  1216. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1217. static int get_ItemSnapEnable(IntPtr L)
  1218. {
  1219. object o = null;
  1220. try
  1221. {
  1222. o = ToLua.ToObject(L, 1);
  1223. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1224. bool ret = obj.ItemSnapEnable;
  1225. LuaDLL.lua_pushboolean(L, ret);
  1226. return 1;
  1227. }
  1228. catch(Exception e)
  1229. {
  1230. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSnapEnable on a nil value");
  1231. }
  1232. }
  1233. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1234. static int get_ItemSnapPivot(IntPtr L)
  1235. {
  1236. object o = null;
  1237. try
  1238. {
  1239. o = ToLua.ToObject(L, 1);
  1240. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1241. UnityEngine.Vector2 ret = obj.ItemSnapPivot;
  1242. ToLua.Push(L, ret);
  1243. return 1;
  1244. }
  1245. catch(Exception e)
  1246. {
  1247. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSnapPivot on a nil value");
  1248. }
  1249. }
  1250. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1251. static int get_ViewPortSnapPivot(IntPtr L)
  1252. {
  1253. object o = null;
  1254. try
  1255. {
  1256. o = ToLua.ToObject(L, 1);
  1257. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1258. UnityEngine.Vector2 ret = obj.ViewPortSnapPivot;
  1259. ToLua.Push(L, ret);
  1260. return 1;
  1261. }
  1262. catch(Exception e)
  1263. {
  1264. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ViewPortSnapPivot on a nil value");
  1265. }
  1266. }
  1267. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1268. static int get_ItemSize(IntPtr L)
  1269. {
  1270. object o = null;
  1271. try
  1272. {
  1273. o = ToLua.ToObject(L, 1);
  1274. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1275. UnityEngine.Vector2 ret = obj.ItemSize;
  1276. ToLua.Push(L, ret);
  1277. return 1;
  1278. }
  1279. catch(Exception e)
  1280. {
  1281. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSize on a nil value");
  1282. }
  1283. }
  1284. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1285. static int get_ItemPadding(IntPtr L)
  1286. {
  1287. object o = null;
  1288. try
  1289. {
  1290. o = ToLua.ToObject(L, 1);
  1291. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1292. UnityEngine.Vector2 ret = obj.ItemPadding;
  1293. ToLua.Push(L, ret);
  1294. return 1;
  1295. }
  1296. catch(Exception e)
  1297. {
  1298. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemPadding on a nil value");
  1299. }
  1300. }
  1301. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1302. static int get_ItemSizeWithPadding(IntPtr L)
  1303. {
  1304. object o = null;
  1305. try
  1306. {
  1307. o = ToLua.ToObject(L, 1);
  1308. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1309. UnityEngine.Vector2 ret = obj.ItemSizeWithPadding;
  1310. ToLua.Push(L, ret);
  1311. return 1;
  1312. }
  1313. catch(Exception e)
  1314. {
  1315. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSizeWithPadding on a nil value");
  1316. }
  1317. }
  1318. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1319. static int get_Padding(IntPtr L)
  1320. {
  1321. object o = null;
  1322. try
  1323. {
  1324. o = ToLua.ToObject(L, 1);
  1325. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1326. UnityEngine.RectOffset ret = obj.Padding;
  1327. ToLua.PushObject(L, ret);
  1328. return 1;
  1329. }
  1330. catch(Exception e)
  1331. {
  1332. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Padding on a nil value");
  1333. }
  1334. }
  1335. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1336. static int get_CurSnapNearestItemRowColumn(IntPtr L)
  1337. {
  1338. object o = null;
  1339. try
  1340. {
  1341. o = ToLua.ToObject(L, 1);
  1342. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1343. SuperScrollView.RowColumnPair ret = obj.CurSnapNearestItemRowColumn;
  1344. ToLua.PushValue(L, ret);
  1345. return 1;
  1346. }
  1347. catch(Exception e)
  1348. {
  1349. return LuaDLL.toluaL_exception(L, e, o, "attempt to index CurSnapNearestItemRowColumn on a nil value");
  1350. }
  1351. }
  1352. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1353. static int set_mOnBeginDragAction(IntPtr L)
  1354. {
  1355. object o = null;
  1356. try
  1357. {
  1358. o = ToLua.ToObject(L, 1);
  1359. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1360. System.Action<SuperScrollView.LoopGridView> arg0 = (System.Action<SuperScrollView.LoopGridView>)ToLua.CheckDelegate<System.Action<SuperScrollView.LoopGridView>>(L, 2);
  1361. obj.mOnBeginDragAction = arg0;
  1362. return 0;
  1363. }
  1364. catch(Exception e)
  1365. {
  1366. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnBeginDragAction on a nil value");
  1367. }
  1368. }
  1369. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1370. static int set_mOnDragingAction(IntPtr L)
  1371. {
  1372. object o = null;
  1373. try
  1374. {
  1375. o = ToLua.ToObject(L, 1);
  1376. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1377. System.Action<SuperScrollView.LoopGridView> arg0 = (System.Action<SuperScrollView.LoopGridView>)ToLua.CheckDelegate<System.Action<SuperScrollView.LoopGridView>>(L, 2);
  1378. obj.mOnDragingAction = arg0;
  1379. return 0;
  1380. }
  1381. catch(Exception e)
  1382. {
  1383. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnDragingAction on a nil value");
  1384. }
  1385. }
  1386. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1387. static int set_mOnEndDragAction(IntPtr L)
  1388. {
  1389. object o = null;
  1390. try
  1391. {
  1392. o = ToLua.ToObject(L, 1);
  1393. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1394. System.Action<SuperScrollView.LoopGridView> arg0 = (System.Action<SuperScrollView.LoopGridView>)ToLua.CheckDelegate<System.Action<SuperScrollView.LoopGridView>>(L, 2);
  1395. obj.mOnEndDragAction = arg0;
  1396. return 0;
  1397. }
  1398. catch(Exception e)
  1399. {
  1400. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnEndDragAction on a nil value");
  1401. }
  1402. }
  1403. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1404. static int set_mOnSnapItemFinished(IntPtr L)
  1405. {
  1406. object o = null;
  1407. try
  1408. {
  1409. o = ToLua.ToObject(L, 1);
  1410. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1411. System.Action<SuperScrollView.LoopGridView,SuperScrollView.LoopGridViewItem> arg0 = (System.Action<SuperScrollView.LoopGridView,SuperScrollView.LoopGridViewItem>)ToLua.CheckDelegate<System.Action<SuperScrollView.LoopGridView,SuperScrollView.LoopGridViewItem>>(L, 2);
  1412. obj.mOnSnapItemFinished = arg0;
  1413. return 0;
  1414. }
  1415. catch(Exception e)
  1416. {
  1417. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnSnapItemFinished on a nil value");
  1418. }
  1419. }
  1420. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1421. static int set_mOnSnapNearestChanged(IntPtr L)
  1422. {
  1423. object o = null;
  1424. try
  1425. {
  1426. o = ToLua.ToObject(L, 1);
  1427. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1428. System.Action<SuperScrollView.LoopGridView> arg0 = (System.Action<SuperScrollView.LoopGridView>)ToLua.CheckDelegate<System.Action<SuperScrollView.LoopGridView>>(L, 2);
  1429. obj.mOnSnapNearestChanged = arg0;
  1430. return 0;
  1431. }
  1432. catch(Exception e)
  1433. {
  1434. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mOnSnapNearestChanged on a nil value");
  1435. }
  1436. }
  1437. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1438. static int set_ArrangeType(IntPtr L)
  1439. {
  1440. object o = null;
  1441. try
  1442. {
  1443. o = ToLua.ToObject(L, 1);
  1444. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1445. SuperScrollView.GridItemArrangeType arg0 = (SuperScrollView.GridItemArrangeType)ToLua.CheckObject(L, 2, typeof(SuperScrollView.GridItemArrangeType));
  1446. obj.ArrangeType = arg0;
  1447. return 0;
  1448. }
  1449. catch(Exception e)
  1450. {
  1451. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ArrangeType on a nil value");
  1452. }
  1453. }
  1454. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1455. static int set_NeedReverse(IntPtr L)
  1456. {
  1457. object o = null;
  1458. try
  1459. {
  1460. o = ToLua.ToObject(L, 1);
  1461. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1462. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  1463. obj.NeedReverse = arg0;
  1464. return 0;
  1465. }
  1466. catch(Exception e)
  1467. {
  1468. return LuaDLL.toluaL_exception(L, e, o, "attempt to index NeedReverse on a nil value");
  1469. }
  1470. }
  1471. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1472. static int set_ItemSnapEnable(IntPtr L)
  1473. {
  1474. object o = null;
  1475. try
  1476. {
  1477. o = ToLua.ToObject(L, 1);
  1478. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1479. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  1480. obj.ItemSnapEnable = arg0;
  1481. return 0;
  1482. }
  1483. catch(Exception e)
  1484. {
  1485. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSnapEnable on a nil value");
  1486. }
  1487. }
  1488. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1489. static int set_ItemSnapPivot(IntPtr L)
  1490. {
  1491. object o = null;
  1492. try
  1493. {
  1494. o = ToLua.ToObject(L, 1);
  1495. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1496. UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2);
  1497. obj.ItemSnapPivot = arg0;
  1498. return 0;
  1499. }
  1500. catch(Exception e)
  1501. {
  1502. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSnapPivot on a nil value");
  1503. }
  1504. }
  1505. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1506. static int set_ViewPortSnapPivot(IntPtr L)
  1507. {
  1508. object o = null;
  1509. try
  1510. {
  1511. o = ToLua.ToObject(L, 1);
  1512. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1513. UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2);
  1514. obj.ViewPortSnapPivot = arg0;
  1515. return 0;
  1516. }
  1517. catch(Exception e)
  1518. {
  1519. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ViewPortSnapPivot on a nil value");
  1520. }
  1521. }
  1522. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1523. static int set_ItemSize(IntPtr L)
  1524. {
  1525. object o = null;
  1526. try
  1527. {
  1528. o = ToLua.ToObject(L, 1);
  1529. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1530. UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2);
  1531. obj.ItemSize = arg0;
  1532. return 0;
  1533. }
  1534. catch(Exception e)
  1535. {
  1536. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemSize on a nil value");
  1537. }
  1538. }
  1539. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1540. static int set_ItemPadding(IntPtr L)
  1541. {
  1542. object o = null;
  1543. try
  1544. {
  1545. o = ToLua.ToObject(L, 1);
  1546. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1547. UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2);
  1548. obj.ItemPadding = arg0;
  1549. return 0;
  1550. }
  1551. catch(Exception e)
  1552. {
  1553. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ItemPadding on a nil value");
  1554. }
  1555. }
  1556. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1557. static int set_Padding(IntPtr L)
  1558. {
  1559. object o = null;
  1560. try
  1561. {
  1562. o = ToLua.ToObject(L, 1);
  1563. SuperScrollView.LoopGridView obj = (SuperScrollView.LoopGridView)o;
  1564. UnityEngine.RectOffset arg0 = (UnityEngine.RectOffset)ToLua.CheckObject<UnityEngine.RectOffset>(L, 2);
  1565. obj.Padding = arg0;
  1566. return 0;
  1567. }
  1568. catch(Exception e)
  1569. {
  1570. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Padding on a nil value");
  1571. }
  1572. }
  1573. }