UIParterGotView_Generate.lua 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096
  1. ---@class UIParterGot__Generate_itemName10
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIParterGot__Generate_iconItem10
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public rectTransform UnityEngine.RectTransform
  7. ---@field public layoutElement UnityEngine.UI.LayoutElement
  8. ---@class UIParterGot__Generate_item10
  9. ---@field public gameObject UnityEngine.GameObject
  10. ---@field public animation UnityEngine.Animation
  11. ---@class UIParterGot__Generate_itemName9
  12. ---@field public gameObject UnityEngine.GameObject
  13. ---@field public text UnityEngine.UI.Text
  14. ---@class UIParterGot__Generate_iconItem9
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public rectTransform UnityEngine.RectTransform
  17. ---@field public layoutElement UnityEngine.UI.LayoutElement
  18. ---@class UIParterGot__Generate_item9
  19. ---@field public gameObject UnityEngine.GameObject
  20. ---@field public animation UnityEngine.Animation
  21. ---@class UIParterGot__Generate_itemName8
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public text UnityEngine.UI.Text
  24. ---@class UIParterGot__Generate_iconItem8
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public rectTransform UnityEngine.RectTransform
  27. ---@field public layoutElement UnityEngine.UI.LayoutElement
  28. ---@class UIParterGot__Generate_item8
  29. ---@field public gameObject UnityEngine.GameObject
  30. ---@field public animation UnityEngine.Animation
  31. ---@class UIParterGot__Generate_itemName7
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public text UnityEngine.UI.Text
  34. ---@class UIParterGot__Generate_iconItem7
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public rectTransform UnityEngine.RectTransform
  37. ---@field public layoutElement UnityEngine.UI.LayoutElement
  38. ---@class UIParterGot__Generate_item7
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public animation UnityEngine.Animation
  41. ---@class UIParterGot__Generate_itemName6
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public text UnityEngine.UI.Text
  44. ---@class UIParterGot__Generate_iconItem6
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public rectTransform UnityEngine.RectTransform
  47. ---@field public layoutElement UnityEngine.UI.LayoutElement
  48. ---@class UIParterGot__Generate_item6
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public animation UnityEngine.Animation
  51. ---@class UIParterGot__Generate_itemName5
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public text UnityEngine.UI.Text
  54. ---@class UIParterGot__Generate_iconItem5
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public rectTransform UnityEngine.RectTransform
  57. ---@field public layoutElement UnityEngine.UI.LayoutElement
  58. ---@class UIParterGot__Generate_item5
  59. ---@field public gameObject UnityEngine.GameObject
  60. ---@field public animation UnityEngine.Animation
  61. ---@class UIParterGot__Generate_itemName4
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public text UnityEngine.UI.Text
  64. ---@class UIParterGot__Generate_iconItem4
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public rectTransform UnityEngine.RectTransform
  67. ---@field public layoutElement UnityEngine.UI.LayoutElement
  68. ---@class UIParterGot__Generate_item4
  69. ---@field public gameObject UnityEngine.GameObject
  70. ---@field public animation UnityEngine.Animation
  71. ---@class UIParterGot__Generate_itemName3
  72. ---@field public gameObject UnityEngine.GameObject
  73. ---@field public text UnityEngine.UI.Text
  74. ---@class UIParterGot__Generate_iconItem3
  75. ---@field public gameObject UnityEngine.GameObject
  76. ---@field public rectTransform UnityEngine.RectTransform
  77. ---@field public layoutElement UnityEngine.UI.LayoutElement
  78. ---@class UIParterGot__Generate_item3
  79. ---@field public gameObject UnityEngine.GameObject
  80. ---@field public animation UnityEngine.Animation
  81. ---@class UIParterGot__Generate_itemName2
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public text UnityEngine.UI.Text
  84. ---@class UIParterGot__Generate_iconItem2
  85. ---@field public gameObject UnityEngine.GameObject
  86. ---@field public rectTransform UnityEngine.RectTransform
  87. ---@field public layoutElement UnityEngine.UI.LayoutElement
  88. ---@class UIParterGot__Generate_item2
  89. ---@field public gameObject UnityEngine.GameObject
  90. ---@field public animation UnityEngine.Animation
  91. ---@class UIParterGot__Generate_itemName1
  92. ---@field public gameObject UnityEngine.GameObject
  93. ---@field public text UnityEngine.UI.Text
  94. ---@class UIParterGot__Generate_iconItem1
  95. ---@field public gameObject UnityEngine.GameObject
  96. ---@field public rectTransform UnityEngine.RectTransform
  97. ---@field public layoutElement UnityEngine.UI.LayoutElement
  98. ---@class UIParterGot__Generate_item1
  99. ---@field public gameObject UnityEngine.GameObject
  100. ---@field public animation UnityEngine.Animation
  101. ---@class UIParterGot__Generate_alpha
  102. ---@field public gameObject UnityEngine.GameObject
  103. ---@field public button UnityEngine.UI.Button
  104. ---@class UIParterGot__Generate_uIAnimator
  105. ---@field public gameObject UnityEngine.GameObject
  106. ---@field public animator UnityEngine.Animator
  107. ---@class UIParterGot__Generate
  108. ---@field private gameObject UnityEngine.GameObject
  109. ---@field private transform UnityEngine.Transform
  110. ---@field private uIAnimator UIParterGot__Generate_uIAnimator
  111. ---@field private alpha UIParterGot__Generate_alpha
  112. ---@field private window UnityEngine.GameObject
  113. ---@field private content UnityEngine.GameObject
  114. ---@field private itemRoot1 UnityEngine.GameObject
  115. ---@field private item1 UIParterGot__Generate_item1
  116. ---@field private iconItem1 UIParterGot__Generate_iconItem1
  117. ---@field private itemName1 UIParterGot__Generate_itemName1
  118. ---@field private itemRoot2 UnityEngine.GameObject
  119. ---@field private item2 UIParterGot__Generate_item2
  120. ---@field private iconItem2 UIParterGot__Generate_iconItem2
  121. ---@field private itemName2 UIParterGot__Generate_itemName2
  122. ---@field private itemRoot3 UnityEngine.GameObject
  123. ---@field private item3 UIParterGot__Generate_item3
  124. ---@field private iconItem3 UIParterGot__Generate_iconItem3
  125. ---@field private itemName3 UIParterGot__Generate_itemName3
  126. ---@field private itemRoot4 UnityEngine.GameObject
  127. ---@field private item4 UIParterGot__Generate_item4
  128. ---@field private iconItem4 UIParterGot__Generate_iconItem4
  129. ---@field private itemName4 UIParterGot__Generate_itemName4
  130. ---@field private itemRoot5 UnityEngine.GameObject
  131. ---@field private item5 UIParterGot__Generate_item5
  132. ---@field private iconItem5 UIParterGot__Generate_iconItem5
  133. ---@field private itemName5 UIParterGot__Generate_itemName5
  134. ---@field private itemRoot6 UnityEngine.GameObject
  135. ---@field private item6 UIParterGot__Generate_item6
  136. ---@field private iconItem6 UIParterGot__Generate_iconItem6
  137. ---@field private itemName6 UIParterGot__Generate_itemName6
  138. ---@field private itemRoot7 UnityEngine.GameObject
  139. ---@field private item7 UIParterGot__Generate_item7
  140. ---@field private iconItem7 UIParterGot__Generate_iconItem7
  141. ---@field private itemName7 UIParterGot__Generate_itemName7
  142. ---@field private itemRoot8 UnityEngine.GameObject
  143. ---@field private item8 UIParterGot__Generate_item8
  144. ---@field private iconItem8 UIParterGot__Generate_iconItem8
  145. ---@field private itemName8 UIParterGot__Generate_itemName8
  146. ---@field private itemRoot9 UnityEngine.GameObject
  147. ---@field private item9 UIParterGot__Generate_item9
  148. ---@field private iconItem9 UIParterGot__Generate_iconItem9
  149. ---@field private itemName9 UIParterGot__Generate_itemName9
  150. ---@field private itemRoot10 UnityEngine.GameObject
  151. ---@field private item10 UIParterGot__Generate_item10
  152. ---@field private iconItem10 UIParterGot__Generate_iconItem10
  153. ---@field private itemName10 UIParterGot__Generate_itemName10
  154. local UIParterGotView = class("UIParterGotView", require("UIViewBase"))
  155. function UIParterGotView:ctor()
  156. end
  157. ---@private
  158. function UIParterGotView:SetActive(result)
  159. self.gameObject:SetActive(result)
  160. end
  161. ---@private
  162. function UIParterGotView:InitGenerate(Root, data)
  163. self.transform = Root
  164. self.inited = true
  165. if self.super.Init then
  166. self.super.Init(self)
  167. end
  168. local tmp
  169. self:InitGenerate__1(Root,data)
  170. self:InitGenerate__2(Root,data)
  171. self:InitGenerate__3(Root,data)
  172. self:InitGenerate__4(Root,data)
  173. self:InitGenerate__5(Root,data)
  174. self:InitGenerate__6(Root,data)
  175. self:InitGenerate__7(Root,data)
  176. self:InitGenerate__8(Root,data)
  177. self:InitGenerate__9(Root,data)
  178. self:InitGenerate__10(Root,data)
  179. self:InitGenerate__11(Root,data)
  180. self:InitGenerate__12(Root,data)
  181. self:InitGenerate__13(Root,data)
  182. self:InitGenerate__14(Root,data)
  183. self:InitGenerate__15(Root,data)
  184. self:InitGenerate__16(Root,data)
  185. self:InitGenerate__17(Root,data)
  186. self:InitGenerate__18(Root,data)
  187. self:InitGenerate__19(Root,data)
  188. self:InitGenerate__20(Root,data)
  189. self:InitGenerate__21(Root,data)
  190. self:InitGenerate__22(Root,data)
  191. self:InitGenerate__23(Root,data)
  192. self:InitGenerate__24(Root,data)
  193. self:InitGenerate__25(Root,data)
  194. self:InitGenerate__26(Root,data)
  195. self:InitGenerate__27(Root,data)
  196. self:InitGenerate__28(Root,data)
  197. self:InitGenerate__29(Root,data)
  198. self:InitGenerate__30(Root,data)
  199. self:InitGenerate__31(Root,data)
  200. self:InitGenerate__32(Root,data)
  201. self:InitGenerate__33(Root,data)
  202. self:InitGenerate__34(Root,data)
  203. self:InitGenerate__35(Root,data)
  204. self:InitGenerate__36(Root,data)
  205. self:InitGenerate__37(Root,data)
  206. self:InitGenerate__38(Root,data)
  207. self:InitGenerate__39(Root,data)
  208. self:InitGenerate__40(Root,data)
  209. self:InitGenerate__41(Root,data)
  210. self:InitGenerate__42(Root,data)
  211. self:InitGenerate__43(Root,data)
  212. self:InitGenerate__44(Root,data)
  213. self:InitGenerate__45(Root,data)
  214. end
  215. ---@private
  216. function UIParterGotView:InitGenerate__1(Root, data)
  217. --[[
  218. Root
  219. --]]
  220. end
  221. ---@private
  222. function UIParterGotView:InitGenerate__2(Root, data)
  223. --[[
  224. UIAnimator
  225. --]]
  226. local tmp = Root:Find("UIAnimator").gameObject
  227. if tolua.getpeer(tmp) == nil then
  228. tolua.setpeer(tmp, {})
  229. end
  230. self.uIAnimator = tmp
  231. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  232. tmp.animator.logWarnings = false
  233. end
  234. ---@private
  235. function UIParterGotView:InitGenerate__3(Root, data)
  236. --[[
  237. UIAnimator/Alpha
  238. --]]
  239. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  240. if tolua.getpeer(tmp) == nil then
  241. tolua.setpeer(tmp, {})
  242. end
  243. self.alpha = tmp
  244. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  245. end
  246. ---@private
  247. function UIParterGotView:InitGenerate__4(Root, data)
  248. --[[
  249. UIAnimator/Window
  250. --]]
  251. local tmp = Root:Find("UIAnimator/Window").gameObject
  252. if tolua.getpeer(tmp) == nil then
  253. tolua.setpeer(tmp, {})
  254. end
  255. self.window = tmp
  256. end
  257. ---@private
  258. function UIParterGotView:InitGenerate__5(Root, data)
  259. --[[
  260. UIAnimator/Window/Content
  261. --]]
  262. local tmp = Root:Find("UIAnimator/Window/Content").gameObject
  263. if tolua.getpeer(tmp) == nil then
  264. tolua.setpeer(tmp, {})
  265. end
  266. self.content = tmp
  267. end
  268. ---@private
  269. function UIParterGotView:InitGenerate__6(Root, data)
  270. --[[
  271. UIAnimator/Window/Content/Item1
  272. --]]
  273. local tmp = Root:Find("UIAnimator/Window/Content/Item1").gameObject
  274. if tolua.getpeer(tmp) == nil then
  275. tolua.setpeer(tmp, {})
  276. end
  277. self.itemRoot1 = tmp
  278. end
  279. ---@private
  280. function UIParterGotView:InitGenerate__7(Root, data)
  281. --[[
  282. UIAnimator/Window/Content/Item1/GotItemItem
  283. --]]
  284. local tmp = Root:Find("UIAnimator/Window/Content/Item1/GotItemItem").gameObject
  285. if tolua.getpeer(tmp) == nil then
  286. tolua.setpeer(tmp, {})
  287. end
  288. self.item1 = tmp
  289. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  290. end
  291. ---@private
  292. function UIParterGotView:InitGenerate__8(Root, data)
  293. --[[
  294. UIAnimator/Window/Content/Item1/GotItemItem/IconItem
  295. --]]
  296. local tmp = Root:Find("UIAnimator/Window/Content/Item1/GotItemItem/IconItem").gameObject
  297. if tolua.getpeer(tmp) == nil then
  298. tolua.setpeer(tmp, {})
  299. end
  300. self.iconItem1 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  301. self.iconItem1.prefabName = "IconItem"
  302. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  303. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  304. end
  305. ---@private
  306. function UIParterGotView:InitGenerate__9(Root, data)
  307. --[[
  308. UIAnimator/Window/Content/Item1/GotItemItem/Name
  309. --]]
  310. local tmp = Root:Find("UIAnimator/Window/Content/Item1/GotItemItem/Name").gameObject
  311. if tolua.getpeer(tmp) == nil then
  312. tolua.setpeer(tmp, {})
  313. end
  314. self.itemName1 = tmp
  315. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  316. end
  317. ---@private
  318. function UIParterGotView:InitGenerate__10(Root, data)
  319. --[[
  320. UIAnimator/Window/Content/Item2
  321. --]]
  322. local tmp = Root:Find("UIAnimator/Window/Content/Item2").gameObject
  323. if tolua.getpeer(tmp) == nil then
  324. tolua.setpeer(tmp, {})
  325. end
  326. self.itemRoot2 = tmp
  327. end
  328. ---@private
  329. function UIParterGotView:InitGenerate__11(Root, data)
  330. --[[
  331. UIAnimator/Window/Content/Item2/GotItemItem
  332. --]]
  333. local tmp = Root:Find("UIAnimator/Window/Content/Item2/GotItemItem").gameObject
  334. if tolua.getpeer(tmp) == nil then
  335. tolua.setpeer(tmp, {})
  336. end
  337. self.item2 = tmp
  338. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  339. end
  340. ---@private
  341. function UIParterGotView:InitGenerate__12(Root, data)
  342. --[[
  343. UIAnimator/Window/Content/Item2/GotItemItem/IconItem
  344. --]]
  345. local tmp = Root:Find("UIAnimator/Window/Content/Item2/GotItemItem/IconItem").gameObject
  346. if tolua.getpeer(tmp) == nil then
  347. tolua.setpeer(tmp, {})
  348. end
  349. self.iconItem2 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  350. self.iconItem2.prefabName = "IconItem"
  351. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  352. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  353. end
  354. ---@private
  355. function UIParterGotView:InitGenerate__13(Root, data)
  356. --[[
  357. UIAnimator/Window/Content/Item2/GotItemItem/Name
  358. --]]
  359. local tmp = Root:Find("UIAnimator/Window/Content/Item2/GotItemItem/Name").gameObject
  360. if tolua.getpeer(tmp) == nil then
  361. tolua.setpeer(tmp, {})
  362. end
  363. self.itemName2 = tmp
  364. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  365. end
  366. ---@private
  367. function UIParterGotView:InitGenerate__14(Root, data)
  368. --[[
  369. UIAnimator/Window/Content/Item3
  370. --]]
  371. local tmp = Root:Find("UIAnimator/Window/Content/Item3").gameObject
  372. if tolua.getpeer(tmp) == nil then
  373. tolua.setpeer(tmp, {})
  374. end
  375. self.itemRoot3 = tmp
  376. end
  377. ---@private
  378. function UIParterGotView:InitGenerate__15(Root, data)
  379. --[[
  380. UIAnimator/Window/Content/Item3/GotItemItem
  381. --]]
  382. local tmp = Root:Find("UIAnimator/Window/Content/Item3/GotItemItem").gameObject
  383. if tolua.getpeer(tmp) == nil then
  384. tolua.setpeer(tmp, {})
  385. end
  386. self.item3 = tmp
  387. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  388. end
  389. ---@private
  390. function UIParterGotView:InitGenerate__16(Root, data)
  391. --[[
  392. UIAnimator/Window/Content/Item3/GotItemItem/IconItem
  393. --]]
  394. local tmp = Root:Find("UIAnimator/Window/Content/Item3/GotItemItem/IconItem").gameObject
  395. if tolua.getpeer(tmp) == nil then
  396. tolua.setpeer(tmp, {})
  397. end
  398. self.iconItem3 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  399. self.iconItem3.prefabName = "IconItem"
  400. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  401. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  402. end
  403. ---@private
  404. function UIParterGotView:InitGenerate__17(Root, data)
  405. --[[
  406. UIAnimator/Window/Content/Item3/GotItemItem/Name
  407. --]]
  408. local tmp = Root:Find("UIAnimator/Window/Content/Item3/GotItemItem/Name").gameObject
  409. if tolua.getpeer(tmp) == nil then
  410. tolua.setpeer(tmp, {})
  411. end
  412. self.itemName3 = tmp
  413. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  414. end
  415. ---@private
  416. function UIParterGotView:InitGenerate__18(Root, data)
  417. --[[
  418. UIAnimator/Window/Content/Item4
  419. --]]
  420. local tmp = Root:Find("UIAnimator/Window/Content/Item4").gameObject
  421. if tolua.getpeer(tmp) == nil then
  422. tolua.setpeer(tmp, {})
  423. end
  424. self.itemRoot4 = tmp
  425. end
  426. ---@private
  427. function UIParterGotView:InitGenerate__19(Root, data)
  428. --[[
  429. UIAnimator/Window/Content/Item4/GotItemItem
  430. --]]
  431. local tmp = Root:Find("UIAnimator/Window/Content/Item4/GotItemItem").gameObject
  432. if tolua.getpeer(tmp) == nil then
  433. tolua.setpeer(tmp, {})
  434. end
  435. self.item4 = tmp
  436. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  437. end
  438. ---@private
  439. function UIParterGotView:InitGenerate__20(Root, data)
  440. --[[
  441. UIAnimator/Window/Content/Item4/GotItemItem/IconItem
  442. --]]
  443. local tmp = Root:Find("UIAnimator/Window/Content/Item4/GotItemItem/IconItem").gameObject
  444. if tolua.getpeer(tmp) == nil then
  445. tolua.setpeer(tmp, {})
  446. end
  447. self.iconItem4 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  448. self.iconItem4.prefabName = "IconItem"
  449. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  450. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  451. end
  452. ---@private
  453. function UIParterGotView:InitGenerate__21(Root, data)
  454. --[[
  455. UIAnimator/Window/Content/Item4/GotItemItem/Name
  456. --]]
  457. local tmp = Root:Find("UIAnimator/Window/Content/Item4/GotItemItem/Name").gameObject
  458. if tolua.getpeer(tmp) == nil then
  459. tolua.setpeer(tmp, {})
  460. end
  461. self.itemName4 = tmp
  462. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  463. end
  464. ---@private
  465. function UIParterGotView:InitGenerate__22(Root, data)
  466. --[[
  467. UIAnimator/Window/Content/Item5
  468. --]]
  469. local tmp = Root:Find("UIAnimator/Window/Content/Item5").gameObject
  470. if tolua.getpeer(tmp) == nil then
  471. tolua.setpeer(tmp, {})
  472. end
  473. self.itemRoot5 = tmp
  474. end
  475. ---@private
  476. function UIParterGotView:InitGenerate__23(Root, data)
  477. --[[
  478. UIAnimator/Window/Content/Item5/GotItemItem
  479. --]]
  480. local tmp = Root:Find("UIAnimator/Window/Content/Item5/GotItemItem").gameObject
  481. if tolua.getpeer(tmp) == nil then
  482. tolua.setpeer(tmp, {})
  483. end
  484. self.item5 = tmp
  485. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  486. end
  487. ---@private
  488. function UIParterGotView:InitGenerate__24(Root, data)
  489. --[[
  490. UIAnimator/Window/Content/Item5/GotItemItem/IconItem
  491. --]]
  492. local tmp = Root:Find("UIAnimator/Window/Content/Item5/GotItemItem/IconItem").gameObject
  493. if tolua.getpeer(tmp) == nil then
  494. tolua.setpeer(tmp, {})
  495. end
  496. self.iconItem5 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  497. self.iconItem5.prefabName = "IconItem"
  498. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  499. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  500. end
  501. ---@private
  502. function UIParterGotView:InitGenerate__25(Root, data)
  503. --[[
  504. UIAnimator/Window/Content/Item5/GotItemItem/Name
  505. --]]
  506. local tmp = Root:Find("UIAnimator/Window/Content/Item5/GotItemItem/Name").gameObject
  507. if tolua.getpeer(tmp) == nil then
  508. tolua.setpeer(tmp, {})
  509. end
  510. self.itemName5 = tmp
  511. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  512. end
  513. ---@private
  514. function UIParterGotView:InitGenerate__26(Root, data)
  515. --[[
  516. UIAnimator/Window/Content/Item6
  517. --]]
  518. local tmp = Root:Find("UIAnimator/Window/Content/Item6").gameObject
  519. if tolua.getpeer(tmp) == nil then
  520. tolua.setpeer(tmp, {})
  521. end
  522. self.itemRoot6 = tmp
  523. end
  524. ---@private
  525. function UIParterGotView:InitGenerate__27(Root, data)
  526. --[[
  527. UIAnimator/Window/Content/Item6/GotItemItem
  528. --]]
  529. local tmp = Root:Find("UIAnimator/Window/Content/Item6/GotItemItem").gameObject
  530. if tolua.getpeer(tmp) == nil then
  531. tolua.setpeer(tmp, {})
  532. end
  533. self.item6 = tmp
  534. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  535. end
  536. ---@private
  537. function UIParterGotView:InitGenerate__28(Root, data)
  538. --[[
  539. UIAnimator/Window/Content/Item6/GotItemItem/IconItem
  540. --]]
  541. local tmp = Root:Find("UIAnimator/Window/Content/Item6/GotItemItem/IconItem").gameObject
  542. if tolua.getpeer(tmp) == nil then
  543. tolua.setpeer(tmp, {})
  544. end
  545. self.iconItem6 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  546. self.iconItem6.prefabName = "IconItem"
  547. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  548. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  549. end
  550. ---@private
  551. function UIParterGotView:InitGenerate__29(Root, data)
  552. --[[
  553. UIAnimator/Window/Content/Item6/GotItemItem/Name
  554. --]]
  555. local tmp = Root:Find("UIAnimator/Window/Content/Item6/GotItemItem/Name").gameObject
  556. if tolua.getpeer(tmp) == nil then
  557. tolua.setpeer(tmp, {})
  558. end
  559. self.itemName6 = tmp
  560. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  561. end
  562. ---@private
  563. function UIParterGotView:InitGenerate__30(Root, data)
  564. --[[
  565. UIAnimator/Window/Content/Item7
  566. --]]
  567. local tmp = Root:Find("UIAnimator/Window/Content/Item7").gameObject
  568. if tolua.getpeer(tmp) == nil then
  569. tolua.setpeer(tmp, {})
  570. end
  571. self.itemRoot7 = tmp
  572. end
  573. ---@private
  574. function UIParterGotView:InitGenerate__31(Root, data)
  575. --[[
  576. UIAnimator/Window/Content/Item7/GotItemItem
  577. --]]
  578. local tmp = Root:Find("UIAnimator/Window/Content/Item7/GotItemItem").gameObject
  579. if tolua.getpeer(tmp) == nil then
  580. tolua.setpeer(tmp, {})
  581. end
  582. self.item7 = tmp
  583. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  584. end
  585. ---@private
  586. function UIParterGotView:InitGenerate__32(Root, data)
  587. --[[
  588. UIAnimator/Window/Content/Item7/GotItemItem/IconItem
  589. --]]
  590. local tmp = Root:Find("UIAnimator/Window/Content/Item7/GotItemItem/IconItem").gameObject
  591. if tolua.getpeer(tmp) == nil then
  592. tolua.setpeer(tmp, {})
  593. end
  594. self.iconItem7 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  595. self.iconItem7.prefabName = "IconItem"
  596. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  597. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  598. end
  599. ---@private
  600. function UIParterGotView:InitGenerate__33(Root, data)
  601. --[[
  602. UIAnimator/Window/Content/Item7/GotItemItem/Name
  603. --]]
  604. local tmp = Root:Find("UIAnimator/Window/Content/Item7/GotItemItem/Name").gameObject
  605. if tolua.getpeer(tmp) == nil then
  606. tolua.setpeer(tmp, {})
  607. end
  608. self.itemName7 = tmp
  609. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  610. end
  611. ---@private
  612. function UIParterGotView:InitGenerate__34(Root, data)
  613. --[[
  614. UIAnimator/Window/Content/Item8
  615. --]]
  616. local tmp = Root:Find("UIAnimator/Window/Content/Item8").gameObject
  617. if tolua.getpeer(tmp) == nil then
  618. tolua.setpeer(tmp, {})
  619. end
  620. self.itemRoot8 = tmp
  621. end
  622. ---@private
  623. function UIParterGotView:InitGenerate__35(Root, data)
  624. --[[
  625. UIAnimator/Window/Content/Item8/GotItemItem
  626. --]]
  627. local tmp = Root:Find("UIAnimator/Window/Content/Item8/GotItemItem").gameObject
  628. if tolua.getpeer(tmp) == nil then
  629. tolua.setpeer(tmp, {})
  630. end
  631. self.item8 = tmp
  632. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  633. end
  634. ---@private
  635. function UIParterGotView:InitGenerate__36(Root, data)
  636. --[[
  637. UIAnimator/Window/Content/Item8/GotItemItem/IconItem
  638. --]]
  639. local tmp = Root:Find("UIAnimator/Window/Content/Item8/GotItemItem/IconItem").gameObject
  640. if tolua.getpeer(tmp) == nil then
  641. tolua.setpeer(tmp, {})
  642. end
  643. self.iconItem8 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  644. self.iconItem8.prefabName = "IconItem"
  645. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  646. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  647. end
  648. ---@private
  649. function UIParterGotView:InitGenerate__37(Root, data)
  650. --[[
  651. UIAnimator/Window/Content/Item8/GotItemItem/Name
  652. --]]
  653. local tmp = Root:Find("UIAnimator/Window/Content/Item8/GotItemItem/Name").gameObject
  654. if tolua.getpeer(tmp) == nil then
  655. tolua.setpeer(tmp, {})
  656. end
  657. self.itemName8 = tmp
  658. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  659. end
  660. ---@private
  661. function UIParterGotView:InitGenerate__38(Root, data)
  662. --[[
  663. UIAnimator/Window/Content/Item9
  664. --]]
  665. local tmp = Root:Find("UIAnimator/Window/Content/Item9").gameObject
  666. if tolua.getpeer(tmp) == nil then
  667. tolua.setpeer(tmp, {})
  668. end
  669. self.itemRoot9 = tmp
  670. end
  671. ---@private
  672. function UIParterGotView:InitGenerate__39(Root, data)
  673. --[[
  674. UIAnimator/Window/Content/Item9/GotItemItem
  675. --]]
  676. local tmp = Root:Find("UIAnimator/Window/Content/Item9/GotItemItem").gameObject
  677. if tolua.getpeer(tmp) == nil then
  678. tolua.setpeer(tmp, {})
  679. end
  680. self.item9 = tmp
  681. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  682. end
  683. ---@private
  684. function UIParterGotView:InitGenerate__40(Root, data)
  685. --[[
  686. UIAnimator/Window/Content/Item9/GotItemItem/IconItem
  687. --]]
  688. local tmp = Root:Find("UIAnimator/Window/Content/Item9/GotItemItem/IconItem").gameObject
  689. if tolua.getpeer(tmp) == nil then
  690. tolua.setpeer(tmp, {})
  691. end
  692. self.iconItem9 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  693. self.iconItem9.prefabName = "IconItem"
  694. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  695. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  696. end
  697. ---@private
  698. function UIParterGotView:InitGenerate__41(Root, data)
  699. --[[
  700. UIAnimator/Window/Content/Item9/GotItemItem/Name
  701. --]]
  702. local tmp = Root:Find("UIAnimator/Window/Content/Item9/GotItemItem/Name").gameObject
  703. if tolua.getpeer(tmp) == nil then
  704. tolua.setpeer(tmp, {})
  705. end
  706. self.itemName9 = tmp
  707. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  708. end
  709. ---@private
  710. function UIParterGotView:InitGenerate__42(Root, data)
  711. --[[
  712. UIAnimator/Window/Content/Item10
  713. --]]
  714. local tmp = Root:Find("UIAnimator/Window/Content/Item10").gameObject
  715. if tolua.getpeer(tmp) == nil then
  716. tolua.setpeer(tmp, {})
  717. end
  718. self.itemRoot10 = tmp
  719. end
  720. ---@private
  721. function UIParterGotView:InitGenerate__43(Root, data)
  722. --[[
  723. UIAnimator/Window/Content/Item10/GotItemItem
  724. --]]
  725. local tmp = Root:Find("UIAnimator/Window/Content/Item10/GotItemItem").gameObject
  726. if tolua.getpeer(tmp) == nil then
  727. tolua.setpeer(tmp, {})
  728. end
  729. self.item10 = tmp
  730. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  731. end
  732. ---@private
  733. function UIParterGotView:InitGenerate__44(Root, data)
  734. --[[
  735. UIAnimator/Window/Content/Item10/GotItemItem/IconItem
  736. --]]
  737. local tmp = Root:Find("UIAnimator/Window/Content/Item10/GotItemItem/IconItem").gameObject
  738. if tolua.getpeer(tmp) == nil then
  739. tolua.setpeer(tmp, {})
  740. end
  741. self.iconItem10 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  742. self.iconItem10.prefabName = "IconItem"
  743. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  744. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  745. end
  746. ---@private
  747. function UIParterGotView:InitGenerate__45(Root, data)
  748. --[[
  749. UIAnimator/Window/Content/Item10/GotItemItem/Name
  750. --]]
  751. local tmp = Root:Find("UIAnimator/Window/Content/Item10/GotItemItem/Name").gameObject
  752. if tolua.getpeer(tmp) == nil then
  753. tolua.setpeer(tmp, {})
  754. end
  755. self.itemName10 = tmp
  756. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  757. end
  758. ---@private
  759. function UIParterGotView:GenerateDestroy()
  760. if tolua.getpeer(self.uIAnimator) ~= nil then
  761. tolua.setpeer(self.uIAnimator, nil)
  762. end
  763. self.uIAnimator = nil
  764. if tolua.getpeer(self.alpha) ~= nil then
  765. tolua.setpeer(self.alpha, nil)
  766. end
  767. self.alpha = nil
  768. if tolua.getpeer(self.window) ~= nil then
  769. tolua.setpeer(self.window, nil)
  770. end
  771. self.window = nil
  772. if tolua.getpeer(self.content) ~= nil then
  773. tolua.setpeer(self.content, nil)
  774. end
  775. self.content = nil
  776. if tolua.getpeer(self.itemRoot1) ~= nil then
  777. tolua.setpeer(self.itemRoot1, nil)
  778. end
  779. self.itemRoot1 = nil
  780. if tolua.getpeer(self.item1) ~= nil then
  781. tolua.setpeer(self.item1, nil)
  782. end
  783. self.item1 = nil
  784. if self.iconItem1.GenerateDestroy ~= nil then
  785. self.iconItem1:GenerateDestroy()
  786. end
  787. if tolua.getpeer(self.iconItem1) ~= nil then
  788. tolua.setpeer(self.iconItem1, nil)
  789. end
  790. self.iconItem1 = nil
  791. if tolua.getpeer(self.itemName1) ~= nil then
  792. tolua.setpeer(self.itemName1, nil)
  793. end
  794. self.itemName1 = nil
  795. if tolua.getpeer(self.itemRoot2) ~= nil then
  796. tolua.setpeer(self.itemRoot2, nil)
  797. end
  798. self.itemRoot2 = nil
  799. if tolua.getpeer(self.item2) ~= nil then
  800. tolua.setpeer(self.item2, nil)
  801. end
  802. self.item2 = nil
  803. if self.iconItem2.GenerateDestroy ~= nil then
  804. self.iconItem2:GenerateDestroy()
  805. end
  806. if tolua.getpeer(self.iconItem2) ~= nil then
  807. tolua.setpeer(self.iconItem2, nil)
  808. end
  809. self.iconItem2 = nil
  810. if tolua.getpeer(self.itemName2) ~= nil then
  811. tolua.setpeer(self.itemName2, nil)
  812. end
  813. self.itemName2 = nil
  814. if tolua.getpeer(self.itemRoot3) ~= nil then
  815. tolua.setpeer(self.itemRoot3, nil)
  816. end
  817. self.itemRoot3 = nil
  818. if tolua.getpeer(self.item3) ~= nil then
  819. tolua.setpeer(self.item3, nil)
  820. end
  821. self.item3 = nil
  822. if self.iconItem3.GenerateDestroy ~= nil then
  823. self.iconItem3:GenerateDestroy()
  824. end
  825. if tolua.getpeer(self.iconItem3) ~= nil then
  826. tolua.setpeer(self.iconItem3, nil)
  827. end
  828. self.iconItem3 = nil
  829. if tolua.getpeer(self.itemName3) ~= nil then
  830. tolua.setpeer(self.itemName3, nil)
  831. end
  832. self.itemName3 = nil
  833. if tolua.getpeer(self.itemRoot4) ~= nil then
  834. tolua.setpeer(self.itemRoot4, nil)
  835. end
  836. self.itemRoot4 = nil
  837. if tolua.getpeer(self.item4) ~= nil then
  838. tolua.setpeer(self.item4, nil)
  839. end
  840. self.item4 = nil
  841. if self.iconItem4.GenerateDestroy ~= nil then
  842. self.iconItem4:GenerateDestroy()
  843. end
  844. if tolua.getpeer(self.iconItem4) ~= nil then
  845. tolua.setpeer(self.iconItem4, nil)
  846. end
  847. self.iconItem4 = nil
  848. if tolua.getpeer(self.itemName4) ~= nil then
  849. tolua.setpeer(self.itemName4, nil)
  850. end
  851. self.itemName4 = nil
  852. if tolua.getpeer(self.itemRoot5) ~= nil then
  853. tolua.setpeer(self.itemRoot5, nil)
  854. end
  855. self.itemRoot5 = nil
  856. if tolua.getpeer(self.item5) ~= nil then
  857. tolua.setpeer(self.item5, nil)
  858. end
  859. self.item5 = nil
  860. if self.iconItem5.GenerateDestroy ~= nil then
  861. self.iconItem5:GenerateDestroy()
  862. end
  863. if tolua.getpeer(self.iconItem5) ~= nil then
  864. tolua.setpeer(self.iconItem5, nil)
  865. end
  866. self.iconItem5 = nil
  867. if tolua.getpeer(self.itemName5) ~= nil then
  868. tolua.setpeer(self.itemName5, nil)
  869. end
  870. self.itemName5 = nil
  871. if tolua.getpeer(self.itemRoot6) ~= nil then
  872. tolua.setpeer(self.itemRoot6, nil)
  873. end
  874. self.itemRoot6 = nil
  875. if tolua.getpeer(self.item6) ~= nil then
  876. tolua.setpeer(self.item6, nil)
  877. end
  878. self.item6 = nil
  879. if self.iconItem6.GenerateDestroy ~= nil then
  880. self.iconItem6:GenerateDestroy()
  881. end
  882. if tolua.getpeer(self.iconItem6) ~= nil then
  883. tolua.setpeer(self.iconItem6, nil)
  884. end
  885. self.iconItem6 = nil
  886. if tolua.getpeer(self.itemName6) ~= nil then
  887. tolua.setpeer(self.itemName6, nil)
  888. end
  889. self.itemName6 = nil
  890. if tolua.getpeer(self.itemRoot7) ~= nil then
  891. tolua.setpeer(self.itemRoot7, nil)
  892. end
  893. self.itemRoot7 = nil
  894. if tolua.getpeer(self.item7) ~= nil then
  895. tolua.setpeer(self.item7, nil)
  896. end
  897. self.item7 = nil
  898. if self.iconItem7.GenerateDestroy ~= nil then
  899. self.iconItem7:GenerateDestroy()
  900. end
  901. if tolua.getpeer(self.iconItem7) ~= nil then
  902. tolua.setpeer(self.iconItem7, nil)
  903. end
  904. self.iconItem7 = nil
  905. if tolua.getpeer(self.itemName7) ~= nil then
  906. tolua.setpeer(self.itemName7, nil)
  907. end
  908. self.itemName7 = nil
  909. if tolua.getpeer(self.itemRoot8) ~= nil then
  910. tolua.setpeer(self.itemRoot8, nil)
  911. end
  912. self.itemRoot8 = nil
  913. if tolua.getpeer(self.item8) ~= nil then
  914. tolua.setpeer(self.item8, nil)
  915. end
  916. self.item8 = nil
  917. if self.iconItem8.GenerateDestroy ~= nil then
  918. self.iconItem8:GenerateDestroy()
  919. end
  920. if tolua.getpeer(self.iconItem8) ~= nil then
  921. tolua.setpeer(self.iconItem8, nil)
  922. end
  923. self.iconItem8 = nil
  924. if tolua.getpeer(self.itemName8) ~= nil then
  925. tolua.setpeer(self.itemName8, nil)
  926. end
  927. self.itemName8 = nil
  928. if tolua.getpeer(self.itemRoot9) ~= nil then
  929. tolua.setpeer(self.itemRoot9, nil)
  930. end
  931. self.itemRoot9 = nil
  932. if tolua.getpeer(self.item9) ~= nil then
  933. tolua.setpeer(self.item9, nil)
  934. end
  935. self.item9 = nil
  936. if self.iconItem9.GenerateDestroy ~= nil then
  937. self.iconItem9:GenerateDestroy()
  938. end
  939. if tolua.getpeer(self.iconItem9) ~= nil then
  940. tolua.setpeer(self.iconItem9, nil)
  941. end
  942. self.iconItem9 = nil
  943. if tolua.getpeer(self.itemName9) ~= nil then
  944. tolua.setpeer(self.itemName9, nil)
  945. end
  946. self.itemName9 = nil
  947. if tolua.getpeer(self.itemRoot10) ~= nil then
  948. tolua.setpeer(self.itemRoot10, nil)
  949. end
  950. self.itemRoot10 = nil
  951. if tolua.getpeer(self.item10) ~= nil then
  952. tolua.setpeer(self.item10, nil)
  953. end
  954. self.item10 = nil
  955. if self.iconItem10.GenerateDestroy ~= nil then
  956. self.iconItem10:GenerateDestroy()
  957. end
  958. if tolua.getpeer(self.iconItem10) ~= nil then
  959. tolua.setpeer(self.iconItem10, nil)
  960. end
  961. self.iconItem10 = nil
  962. if tolua.getpeer(self.itemName10) ~= nil then
  963. tolua.setpeer(self.itemName10, nil)
  964. end
  965. self.itemName10 = nil
  966. self.transform = nil
  967. self.gameObject = nil
  968. self.inited = false
  969. end
  970. return UIParterGotView