UIPetAdvenceView_Generate.lua 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430
  1. ---@class UIPetAdvence__Generate_cost1_num
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIPetAdvence__Generate_cost1_res
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public image UnityEngine.UI.Image
  7. ---@class UIPetAdvence__Generate_cost1
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public res UIPetAdvence__Generate_cost1_res
  10. ---@field public num UIPetAdvence__Generate_cost1_num
  11. ---@class UIPetAdvence__Generate_btnSure
  12. ---@field public gameObject UnityEngine.GameObject
  13. ---@field public button UnityEngine.UI.Button
  14. ---@class UIPetAdvence__Generate_dsc
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public uILocalizeScript UILocalizeScript
  17. ---@class UIPetAdvence__Generate_iconPetItem
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public rectTransform UnityEngine.RectTransform
  20. ---@field public layoutElement UnityEngine.UI.LayoutElement
  21. ---@class UIPetAdvence__Generate_mats
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public loopGridView SuperScrollView.LoopGridView
  24. ---@class UIPetAdvence__Generate_attrs_attr5_number2
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public text UnityEngine.UI.Text
  27. ---@class UIPetAdvence__Generate_attrs_attr5_number1
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public text UnityEngine.UI.Text
  30. ---@class UIPetAdvence__Generate_attrs_attr5_text
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public text UnityEngine.UI.Text
  33. ---@class UIPetAdvence__Generate_attrs_attr5
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public text UIPetAdvence__Generate_attrs_attr5_text
  36. ---@field public number1 UIPetAdvence__Generate_attrs_attr5_number1
  37. ---@field public number2 UIPetAdvence__Generate_attrs_attr5_number2
  38. ---@class UIPetAdvence__Generate_attrs_attr4_number2
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public text UnityEngine.UI.Text
  41. ---@class UIPetAdvence__Generate_attrs_attr4_number1
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public text UnityEngine.UI.Text
  44. ---@class UIPetAdvence__Generate_attrs_attr4_text
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public text UnityEngine.UI.Text
  47. ---@class UIPetAdvence__Generate_attrs_attr4
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public text UIPetAdvence__Generate_attrs_attr4_text
  50. ---@field public number1 UIPetAdvence__Generate_attrs_attr4_number1
  51. ---@field public number2 UIPetAdvence__Generate_attrs_attr4_number2
  52. ---@class UIPetAdvence__Generate_attrs_attr3_number2
  53. ---@field public gameObject UnityEngine.GameObject
  54. ---@field public text UnityEngine.UI.Text
  55. ---@class UIPetAdvence__Generate_attrs_attr3_number1
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public text UnityEngine.UI.Text
  58. ---@class UIPetAdvence__Generate_attrs_attr3_text
  59. ---@field public gameObject UnityEngine.GameObject
  60. ---@field public text UnityEngine.UI.Text
  61. ---@class UIPetAdvence__Generate_attrs_attr3
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public text UIPetAdvence__Generate_attrs_attr3_text
  64. ---@field public number1 UIPetAdvence__Generate_attrs_attr3_number1
  65. ---@field public number2 UIPetAdvence__Generate_attrs_attr3_number2
  66. ---@class UIPetAdvence__Generate_attrs_attr2_number2
  67. ---@field public gameObject UnityEngine.GameObject
  68. ---@field public text UnityEngine.UI.Text
  69. ---@class UIPetAdvence__Generate_attrs_attr2_number1
  70. ---@field public gameObject UnityEngine.GameObject
  71. ---@field public text UnityEngine.UI.Text
  72. ---@class UIPetAdvence__Generate_attrs_attr2_text
  73. ---@field public gameObject UnityEngine.GameObject
  74. ---@field public text UnityEngine.UI.Text
  75. ---@class UIPetAdvence__Generate_attrs_attr2
  76. ---@field public gameObject UnityEngine.GameObject
  77. ---@field public text UIPetAdvence__Generate_attrs_attr2_text
  78. ---@field public number1 UIPetAdvence__Generate_attrs_attr2_number1
  79. ---@field public number2 UIPetAdvence__Generate_attrs_attr2_number2
  80. ---@class UIPetAdvence__Generate_attrs_attr1_number2
  81. ---@field public gameObject UnityEngine.GameObject
  82. ---@field public text UnityEngine.UI.Text
  83. ---@class UIPetAdvence__Generate_attrs_attr1_number1
  84. ---@field public gameObject UnityEngine.GameObject
  85. ---@field public text UnityEngine.UI.Text
  86. ---@class UIPetAdvence__Generate_attrs_attr1_text
  87. ---@field public gameObject UnityEngine.GameObject
  88. ---@field public text UnityEngine.UI.Text
  89. ---@class UIPetAdvence__Generate_attrs_attr1
  90. ---@field public gameObject UnityEngine.GameObject
  91. ---@field public text UIPetAdvence__Generate_attrs_attr1_text
  92. ---@field public number1 UIPetAdvence__Generate_attrs_attr1_number1
  93. ---@field public number2 UIPetAdvence__Generate_attrs_attr1_number2
  94. ---@class UIPetAdvence__Generate_attrs_lVLimit_number2
  95. ---@field public gameObject UnityEngine.GameObject
  96. ---@field public text UnityEngine.UI.Text
  97. ---@class UIPetAdvence__Generate_attrs_lVLimit_number1
  98. ---@field public gameObject UnityEngine.GameObject
  99. ---@field public text UnityEngine.UI.Text
  100. ---@class UIPetAdvence__Generate_attrs_lVLimit
  101. ---@field public gameObject UnityEngine.GameObject
  102. ---@field public number1 UIPetAdvence__Generate_attrs_lVLimit_number1
  103. ---@field public number2 UIPetAdvence__Generate_attrs_lVLimit_number2
  104. ---@class UIPetAdvence__Generate_attrs
  105. ---@field public gameObject UnityEngine.GameObject
  106. ---@field public lVLimit UIPetAdvence__Generate_attrs_lVLimit
  107. ---@field public attr1 UIPetAdvence__Generate_attrs_attr1
  108. ---@field public attr2 UIPetAdvence__Generate_attrs_attr2
  109. ---@field public attr3 UIPetAdvence__Generate_attrs_attr3
  110. ---@field public attr4 UIPetAdvence__Generate_attrs_attr4
  111. ---@field public attr5 UIPetAdvence__Generate_attrs_attr5
  112. ---@class UIPetAdvence__Generate_item4_unowned_frame
  113. ---@field public gameObject UnityEngine.GameObject
  114. ---@field public button UnityEngine.UI.Button
  115. ---@class UIPetAdvence__Generate_item4_unowned_icon
  116. ---@field public gameObject UnityEngine.GameObject
  117. ---@field public button UnityEngine.UI.Button
  118. ---@class UIPetAdvence__Generate_item4_unowned
  119. ---@field public gameObject UnityEngine.GameObject
  120. ---@field public icon UIPetAdvence__Generate_item4_unowned_icon
  121. ---@field public frame UIPetAdvence__Generate_item4_unowned_frame
  122. ---@class UIPetAdvence__Generate_item4_iconPetItem
  123. ---@field public gameObject UnityEngine.GameObject
  124. ---@field public rectTransform UnityEngine.RectTransform
  125. ---@field public layoutElement UnityEngine.UI.LayoutElement
  126. ---@class UIPetAdvence__Generate_item4
  127. ---@field public gameObject UnityEngine.GameObject
  128. ---@field public owned UnityEngine.GameObject
  129. ---@field public iconPetItem UIPetAdvence__Generate_item4_iconPetItem
  130. ---@field public unowned UIPetAdvence__Generate_item4_unowned
  131. ---@class UIPetAdvence__Generate_item3_unowned_frame
  132. ---@field public gameObject UnityEngine.GameObject
  133. ---@field public button UnityEngine.UI.Button
  134. ---@class UIPetAdvence__Generate_item3_unowned_icon
  135. ---@field public gameObject UnityEngine.GameObject
  136. ---@field public button UnityEngine.UI.Button
  137. ---@class UIPetAdvence__Generate_item3_unowned
  138. ---@field public gameObject UnityEngine.GameObject
  139. ---@field public icon UIPetAdvence__Generate_item3_unowned_icon
  140. ---@field public frame UIPetAdvence__Generate_item3_unowned_frame
  141. ---@class UIPetAdvence__Generate_item3_iconPetItem
  142. ---@field public gameObject UnityEngine.GameObject
  143. ---@field public rectTransform UnityEngine.RectTransform
  144. ---@field public layoutElement UnityEngine.UI.LayoutElement
  145. ---@class UIPetAdvence__Generate_item3
  146. ---@field public gameObject UnityEngine.GameObject
  147. ---@field public owned UnityEngine.GameObject
  148. ---@field public iconPetItem UIPetAdvence__Generate_item3_iconPetItem
  149. ---@field public unowned UIPetAdvence__Generate_item3_unowned
  150. ---@class UIPetAdvence__Generate_item2_unowned_frame
  151. ---@field public gameObject UnityEngine.GameObject
  152. ---@field public button UnityEngine.UI.Button
  153. ---@class UIPetAdvence__Generate_item2_unowned_icon
  154. ---@field public gameObject UnityEngine.GameObject
  155. ---@field public button UnityEngine.UI.Button
  156. ---@class UIPetAdvence__Generate_item2_unowned
  157. ---@field public gameObject UnityEngine.GameObject
  158. ---@field public icon UIPetAdvence__Generate_item2_unowned_icon
  159. ---@field public frame UIPetAdvence__Generate_item2_unowned_frame
  160. ---@class UIPetAdvence__Generate_item2_iconPetItem
  161. ---@field public gameObject UnityEngine.GameObject
  162. ---@field public rectTransform UnityEngine.RectTransform
  163. ---@field public layoutElement UnityEngine.UI.LayoutElement
  164. ---@class UIPetAdvence__Generate_item2
  165. ---@field public gameObject UnityEngine.GameObject
  166. ---@field public owned UnityEngine.GameObject
  167. ---@field public iconPetItem UIPetAdvence__Generate_item2_iconPetItem
  168. ---@field public unowned UIPetAdvence__Generate_item2_unowned
  169. ---@class UIPetAdvence__Generate_item1_unowned_frame
  170. ---@field public gameObject UnityEngine.GameObject
  171. ---@field public button UnityEngine.UI.Button
  172. ---@class UIPetAdvence__Generate_item1_unowned_icon
  173. ---@field public gameObject UnityEngine.GameObject
  174. ---@field public button UnityEngine.UI.Button
  175. ---@class UIPetAdvence__Generate_item1_unowned
  176. ---@field public gameObject UnityEngine.GameObject
  177. ---@field public icon UIPetAdvence__Generate_item1_unowned_icon
  178. ---@field public frame UIPetAdvence__Generate_item1_unowned_frame
  179. ---@class UIPetAdvence__Generate_item1_iconPetItem
  180. ---@field public gameObject UnityEngine.GameObject
  181. ---@field public rectTransform UnityEngine.RectTransform
  182. ---@field public layoutElement UnityEngine.UI.LayoutElement
  183. ---@class UIPetAdvence__Generate_item1
  184. ---@field public gameObject UnityEngine.GameObject
  185. ---@field public owned UnityEngine.GameObject
  186. ---@field public iconPetItem UIPetAdvence__Generate_item1_iconPetItem
  187. ---@field public unowned UIPetAdvence__Generate_item1_unowned
  188. ---@class UIPetAdvence__Generate_btnClose
  189. ---@field public gameObject UnityEngine.GameObject
  190. ---@field public button UnityEngine.UI.Button
  191. ---@class UIPetAdvence__Generate_bg
  192. ---@field public gameObject UnityEngine.GameObject
  193. ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup
  194. ---@class UIPetAdvence__Generate_AnyBtn
  195. ---@field public gameObject UnityEngine.GameObject
  196. ---@field public button UnityEngine.UI.Button
  197. ---@class UIPetAdvence__Generate_uIAnimator
  198. ---@field public gameObject UnityEngine.GameObject
  199. ---@field public animator UnityEngine.Animator
  200. ---@class UIPetAdvence__Generate
  201. ---@field private gameObject UnityEngine.GameObject
  202. ---@field private transform UnityEngine.Transform
  203. ---@field private uIAnimator UIPetAdvence__Generate_uIAnimator
  204. ---@field private AnyBtn UIPetAdvence__Generate_AnyBtn
  205. ---@field private window UnityEngine.GameObject
  206. ---@field private bg UIPetAdvence__Generate_bg
  207. ---@field private closeBox UnityEngine.GameObject
  208. ---@field private btnClose UIPetAdvence__Generate_btnClose
  209. ---@field private item1 UIPetAdvence__Generate_item1
  210. ---@field private item2 UIPetAdvence__Generate_item2
  211. ---@field private item3 UIPetAdvence__Generate_item3
  212. ---@field private item4 UIPetAdvence__Generate_item4
  213. ---@field private attrs UIPetAdvence__Generate_attrs
  214. ---@field private mats UIPetAdvence__Generate_mats
  215. ---@field private iconPetItem UIPetAdvence__Generate_iconPetItem
  216. ---@field private dsc UIPetAdvence__Generate_dsc
  217. ---@field private btnBox UnityEngine.GameObject
  218. ---@field private btnSure UIPetAdvence__Generate_btnSure
  219. ---@field private cost1 UIPetAdvence__Generate_cost1
  220. local UIPetAdvenceView = class("UIPetAdvenceView", require("UIViewBase"))
  221. function UIPetAdvenceView:ctor()
  222. end
  223. ---@private
  224. function UIPetAdvenceView:SetActive(result)
  225. self.gameObject:SetActive(result)
  226. end
  227. ---@private
  228. function UIPetAdvenceView:InitGenerate(Root, data)
  229. self.transform = Root
  230. self.inited = true
  231. if self.super.Init then
  232. self.super.Init(self)
  233. end
  234. local tmp
  235. self:InitGenerate__1(Root,data)
  236. self:InitGenerate__2(Root,data)
  237. self:InitGenerate__3(Root,data)
  238. self:InitGenerate__4(Root,data)
  239. self:InitGenerate__5(Root,data)
  240. self:InitGenerate__6(Root,data)
  241. self:InitGenerate__7(Root,data)
  242. self:InitGenerate__8(Root,data)
  243. self:InitGenerate__9(Root,data)
  244. self:InitGenerate__10(Root,data)
  245. self:InitGenerate__11(Root,data)
  246. self:InitGenerate__12(Root,data)
  247. self:InitGenerate__13(Root,data)
  248. self:InitGenerate__14(Root,data)
  249. self:InitGenerate__15(Root,data)
  250. self:InitGenerate__16(Root,data)
  251. self:InitGenerate__17(Root,data)
  252. self:InitGenerate__18(Root,data)
  253. self:InitGenerate__19(Root,data)
  254. self:InitGenerate__20(Root,data)
  255. self:InitGenerate__21(Root,data)
  256. self:InitGenerate__22(Root,data)
  257. self:InitGenerate__23(Root,data)
  258. self:InitGenerate__24(Root,data)
  259. self:InitGenerate__25(Root,data)
  260. self:InitGenerate__26(Root,data)
  261. self:InitGenerate__27(Root,data)
  262. self:InitGenerate__28(Root,data)
  263. self:InitGenerate__29(Root,data)
  264. self:InitGenerate__30(Root,data)
  265. self:InitGenerate__31(Root,data)
  266. self:InitGenerate__32(Root,data)
  267. self:InitGenerate__33(Root,data)
  268. self:InitGenerate__34(Root,data)
  269. self:InitGenerate__35(Root,data)
  270. self:InitGenerate__36(Root,data)
  271. self:InitGenerate__37(Root,data)
  272. self:InitGenerate__38(Root,data)
  273. self:InitGenerate__39(Root,data)
  274. self:InitGenerate__40(Root,data)
  275. self:InitGenerate__41(Root,data)
  276. self:InitGenerate__42(Root,data)
  277. self:InitGenerate__43(Root,data)
  278. self:InitGenerate__44(Root,data)
  279. self:InitGenerate__45(Root,data)
  280. self:InitGenerate__46(Root,data)
  281. self:InitGenerate__47(Root,data)
  282. self:InitGenerate__48(Root,data)
  283. self:InitGenerate__49(Root,data)
  284. self:InitGenerate__50(Root,data)
  285. self:InitGenerate__51(Root,data)
  286. self:InitGenerate__52(Root,data)
  287. self:InitGenerate__53(Root,data)
  288. self:InitGenerate__54(Root,data)
  289. self:InitGenerate__55(Root,data)
  290. self:InitGenerate__56(Root,data)
  291. self:InitGenerate__57(Root,data)
  292. self:InitGenerate__58(Root,data)
  293. self:InitGenerate__59(Root,data)
  294. self:InitGenerate__60(Root,data)
  295. self:InitGenerate__61(Root,data)
  296. self:InitGenerate__62(Root,data)
  297. self:InitGenerate__63(Root,data)
  298. end
  299. ---@private
  300. function UIPetAdvenceView:InitGenerate__1(Root, data)
  301. --[[
  302. Root
  303. --]]
  304. end
  305. ---@private
  306. function UIPetAdvenceView:InitGenerate__2(Root, data)
  307. --[[
  308. UIAnimator
  309. --]]
  310. local tmp = Root:Find("UIAnimator").gameObject
  311. if tolua.getpeer(tmp) == nil then
  312. tolua.setpeer(tmp, {})
  313. end
  314. self.uIAnimator = tmp
  315. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  316. tmp.animator.logWarnings = false
  317. end
  318. ---@private
  319. function UIPetAdvenceView:InitGenerate__3(Root, data)
  320. --[[
  321. UIAnimator/Alpha
  322. --]]
  323. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  324. if tolua.getpeer(tmp) == nil then
  325. tolua.setpeer(tmp, {})
  326. end
  327. self.AnyBtn = tmp
  328. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  329. end
  330. ---@private
  331. function UIPetAdvenceView:InitGenerate__4(Root, data)
  332. --[[
  333. UIAnimator/Window
  334. --]]
  335. local tmp = Root:Find("UIAnimator/Window").gameObject
  336. if tolua.getpeer(tmp) == nil then
  337. tolua.setpeer(tmp, {})
  338. end
  339. self.window = tmp
  340. end
  341. ---@private
  342. function UIPetAdvenceView:InitGenerate__5(Root, data)
  343. --[[
  344. UIAnimator/Window/Bg
  345. --]]
  346. local tmp = Root:Find("UIAnimator/Window/Bg").gameObject
  347. if tolua.getpeer(tmp) == nil then
  348. tolua.setpeer(tmp, {})
  349. end
  350. self.bg = tmp
  351. tmp.verticalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.VerticalLayoutGroup)
  352. end
  353. ---@private
  354. function UIPetAdvenceView:InitGenerate__6(Root, data)
  355. --[[
  356. UIAnimator/Window/Bg/CloseBox
  357. --]]
  358. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox").gameObject
  359. if tolua.getpeer(tmp) == nil then
  360. tolua.setpeer(tmp, {})
  361. end
  362. self.closeBox = tmp
  363. end
  364. ---@private
  365. function UIPetAdvenceView:InitGenerate__7(Root, data)
  366. --[[
  367. UIAnimator/Window/Bg/CloseBox/BtnClose
  368. --]]
  369. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
  370. if tolua.getpeer(tmp) == nil then
  371. tolua.setpeer(tmp, {})
  372. end
  373. self.btnClose = tmp
  374. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  375. end
  376. ---@private
  377. function UIPetAdvenceView:InitGenerate__8(Root, data)
  378. --[[
  379. UIAnimator/Window/Bg/AdvenceNode/Items/Item1
  380. --]]
  381. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1").gameObject
  382. if tolua.getpeer(tmp) == nil then
  383. tolua.setpeer(tmp, {})
  384. end
  385. self.item1 = tmp
  386. end
  387. ---@private
  388. function UIPetAdvenceView:InitGenerate__9(Root, data)
  389. --[[
  390. UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned
  391. --]]
  392. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned").gameObject
  393. if tolua.getpeer(tmp) == nil then
  394. tolua.setpeer(tmp, {})
  395. end
  396. self.item1.owned = tmp
  397. end
  398. ---@private
  399. function UIPetAdvenceView:InitGenerate__10(Root, data)
  400. --[[
  401. UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned/IconPetItem
  402. --]]
  403. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned/IconPetItem").gameObject
  404. if tolua.getpeer(tmp) == nil then
  405. tolua.setpeer(tmp, {})
  406. end
  407. self.item1.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
  408. self.item1.iconPetItem.prefabName = "IconPetItem"
  409. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  410. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  411. end
  412. ---@private
  413. function UIPetAdvenceView:InitGenerate__11(Root, data)
  414. --[[
  415. UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned
  416. --]]
  417. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned").gameObject
  418. if tolua.getpeer(tmp) == nil then
  419. tolua.setpeer(tmp, {})
  420. end
  421. self.item1.unowned = tmp
  422. end
  423. ---@private
  424. function UIPetAdvenceView:InitGenerate__12(Root, data)
  425. --[[
  426. UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/icon
  427. --]]
  428. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/icon").gameObject
  429. if tolua.getpeer(tmp) == nil then
  430. tolua.setpeer(tmp, {})
  431. end
  432. self.item1.unowned.icon = tmp
  433. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  434. end
  435. ---@private
  436. function UIPetAdvenceView:InitGenerate__13(Root, data)
  437. --[[
  438. UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/frame
  439. --]]
  440. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/frame").gameObject
  441. if tolua.getpeer(tmp) == nil then
  442. tolua.setpeer(tmp, {})
  443. end
  444. self.item1.unowned.frame = tmp
  445. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  446. end
  447. ---@private
  448. function UIPetAdvenceView:InitGenerate__14(Root, data)
  449. --[[
  450. UIAnimator/Window/Bg/AdvenceNode/Items/Item2
  451. --]]
  452. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2").gameObject
  453. if tolua.getpeer(tmp) == nil then
  454. tolua.setpeer(tmp, {})
  455. end
  456. self.item2 = tmp
  457. end
  458. ---@private
  459. function UIPetAdvenceView:InitGenerate__15(Root, data)
  460. --[[
  461. UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned
  462. --]]
  463. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned").gameObject
  464. if tolua.getpeer(tmp) == nil then
  465. tolua.setpeer(tmp, {})
  466. end
  467. self.item2.owned = tmp
  468. end
  469. ---@private
  470. function UIPetAdvenceView:InitGenerate__16(Root, data)
  471. --[[
  472. UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned/IconPetItem
  473. --]]
  474. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned/IconPetItem").gameObject
  475. if tolua.getpeer(tmp) == nil then
  476. tolua.setpeer(tmp, {})
  477. end
  478. self.item2.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
  479. self.item2.iconPetItem.prefabName = "IconPetItem"
  480. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  481. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  482. end
  483. ---@private
  484. function UIPetAdvenceView:InitGenerate__17(Root, data)
  485. --[[
  486. UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned
  487. --]]
  488. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned").gameObject
  489. if tolua.getpeer(tmp) == nil then
  490. tolua.setpeer(tmp, {})
  491. end
  492. self.item2.unowned = tmp
  493. end
  494. ---@private
  495. function UIPetAdvenceView:InitGenerate__18(Root, data)
  496. --[[
  497. UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/icon
  498. --]]
  499. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/icon").gameObject
  500. if tolua.getpeer(tmp) == nil then
  501. tolua.setpeer(tmp, {})
  502. end
  503. self.item2.unowned.icon = tmp
  504. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  505. end
  506. ---@private
  507. function UIPetAdvenceView:InitGenerate__19(Root, data)
  508. --[[
  509. UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/frame
  510. --]]
  511. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/frame").gameObject
  512. if tolua.getpeer(tmp) == nil then
  513. tolua.setpeer(tmp, {})
  514. end
  515. self.item2.unowned.frame = tmp
  516. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  517. end
  518. ---@private
  519. function UIPetAdvenceView:InitGenerate__20(Root, data)
  520. --[[
  521. UIAnimator/Window/Bg/AdvenceNode/Items/Item3
  522. --]]
  523. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3").gameObject
  524. if tolua.getpeer(tmp) == nil then
  525. tolua.setpeer(tmp, {})
  526. end
  527. self.item3 = tmp
  528. end
  529. ---@private
  530. function UIPetAdvenceView:InitGenerate__21(Root, data)
  531. --[[
  532. UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned
  533. --]]
  534. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned").gameObject
  535. if tolua.getpeer(tmp) == nil then
  536. tolua.setpeer(tmp, {})
  537. end
  538. self.item3.owned = tmp
  539. end
  540. ---@private
  541. function UIPetAdvenceView:InitGenerate__22(Root, data)
  542. --[[
  543. UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned/IconPetItem
  544. --]]
  545. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned/IconPetItem").gameObject
  546. if tolua.getpeer(tmp) == nil then
  547. tolua.setpeer(tmp, {})
  548. end
  549. self.item3.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
  550. self.item3.iconPetItem.prefabName = "IconPetItem"
  551. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  552. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  553. end
  554. ---@private
  555. function UIPetAdvenceView:InitGenerate__23(Root, data)
  556. --[[
  557. UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned
  558. --]]
  559. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned").gameObject
  560. if tolua.getpeer(tmp) == nil then
  561. tolua.setpeer(tmp, {})
  562. end
  563. self.item3.unowned = tmp
  564. end
  565. ---@private
  566. function UIPetAdvenceView:InitGenerate__24(Root, data)
  567. --[[
  568. UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/icon
  569. --]]
  570. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/icon").gameObject
  571. if tolua.getpeer(tmp) == nil then
  572. tolua.setpeer(tmp, {})
  573. end
  574. self.item3.unowned.icon = tmp
  575. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  576. end
  577. ---@private
  578. function UIPetAdvenceView:InitGenerate__25(Root, data)
  579. --[[
  580. UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/frame
  581. --]]
  582. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/frame").gameObject
  583. if tolua.getpeer(tmp) == nil then
  584. tolua.setpeer(tmp, {})
  585. end
  586. self.item3.unowned.frame = tmp
  587. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  588. end
  589. ---@private
  590. function UIPetAdvenceView:InitGenerate__26(Root, data)
  591. --[[
  592. UIAnimator/Window/Bg/AdvenceNode/Items/Item4
  593. --]]
  594. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4").gameObject
  595. if tolua.getpeer(tmp) == nil then
  596. tolua.setpeer(tmp, {})
  597. end
  598. self.item4 = tmp
  599. end
  600. ---@private
  601. function UIPetAdvenceView:InitGenerate__27(Root, data)
  602. --[[
  603. UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned
  604. --]]
  605. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned").gameObject
  606. if tolua.getpeer(tmp) == nil then
  607. tolua.setpeer(tmp, {})
  608. end
  609. self.item4.owned = tmp
  610. end
  611. ---@private
  612. function UIPetAdvenceView:InitGenerate__28(Root, data)
  613. --[[
  614. UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned/IconPetItem
  615. --]]
  616. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned/IconPetItem").gameObject
  617. if tolua.getpeer(tmp) == nil then
  618. tolua.setpeer(tmp, {})
  619. end
  620. self.item4.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
  621. self.item4.iconPetItem.prefabName = "IconPetItem"
  622. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  623. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  624. end
  625. ---@private
  626. function UIPetAdvenceView:InitGenerate__29(Root, data)
  627. --[[
  628. UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned
  629. --]]
  630. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned").gameObject
  631. if tolua.getpeer(tmp) == nil then
  632. tolua.setpeer(tmp, {})
  633. end
  634. self.item4.unowned = tmp
  635. end
  636. ---@private
  637. function UIPetAdvenceView:InitGenerate__30(Root, data)
  638. --[[
  639. UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/icon
  640. --]]
  641. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/icon").gameObject
  642. if tolua.getpeer(tmp) == nil then
  643. tolua.setpeer(tmp, {})
  644. end
  645. self.item4.unowned.icon = tmp
  646. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  647. end
  648. ---@private
  649. function UIPetAdvenceView:InitGenerate__31(Root, data)
  650. --[[
  651. UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/frame
  652. --]]
  653. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/frame").gameObject
  654. if tolua.getpeer(tmp) == nil then
  655. tolua.setpeer(tmp, {})
  656. end
  657. self.item4.unowned.frame = tmp
  658. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  659. end
  660. ---@private
  661. function UIPetAdvenceView:InitGenerate__32(Root, data)
  662. --[[
  663. UIAnimator/Window/Bg/AdvenceNode/Attrs
  664. --]]
  665. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs").gameObject
  666. if tolua.getpeer(tmp) == nil then
  667. tolua.setpeer(tmp, {})
  668. end
  669. self.attrs = tmp
  670. end
  671. ---@private
  672. function UIPetAdvenceView:InitGenerate__33(Root, data)
  673. --[[
  674. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit
  675. --]]
  676. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit").gameObject
  677. if tolua.getpeer(tmp) == nil then
  678. tolua.setpeer(tmp, {})
  679. end
  680. self.attrs.lVLimit = tmp
  681. end
  682. ---@private
  683. function UIPetAdvenceView:InitGenerate__34(Root, data)
  684. --[[
  685. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number1
  686. --]]
  687. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number1").gameObject
  688. if tolua.getpeer(tmp) == nil then
  689. tolua.setpeer(tmp, {})
  690. end
  691. self.attrs.lVLimit.number1 = tmp
  692. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  693. end
  694. ---@private
  695. function UIPetAdvenceView:InitGenerate__35(Root, data)
  696. --[[
  697. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number2
  698. --]]
  699. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number2").gameObject
  700. if tolua.getpeer(tmp) == nil then
  701. tolua.setpeer(tmp, {})
  702. end
  703. self.attrs.lVLimit.number2 = tmp
  704. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  705. end
  706. ---@private
  707. function UIPetAdvenceView:InitGenerate__36(Root, data)
  708. --[[
  709. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1
  710. --]]
  711. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1").gameObject
  712. if tolua.getpeer(tmp) == nil then
  713. tolua.setpeer(tmp, {})
  714. end
  715. self.attrs.attr1 = tmp
  716. end
  717. ---@private
  718. function UIPetAdvenceView:InitGenerate__37(Root, data)
  719. --[[
  720. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Text
  721. --]]
  722. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Text").gameObject
  723. if tolua.getpeer(tmp) == nil then
  724. tolua.setpeer(tmp, {})
  725. end
  726. self.attrs.attr1.text = tmp
  727. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  728. end
  729. ---@private
  730. function UIPetAdvenceView:InitGenerate__38(Root, data)
  731. --[[
  732. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number1
  733. --]]
  734. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number1").gameObject
  735. if tolua.getpeer(tmp) == nil then
  736. tolua.setpeer(tmp, {})
  737. end
  738. self.attrs.attr1.number1 = tmp
  739. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  740. end
  741. ---@private
  742. function UIPetAdvenceView:InitGenerate__39(Root, data)
  743. --[[
  744. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number2
  745. --]]
  746. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number2").gameObject
  747. if tolua.getpeer(tmp) == nil then
  748. tolua.setpeer(tmp, {})
  749. end
  750. self.attrs.attr1.number2 = tmp
  751. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  752. end
  753. ---@private
  754. function UIPetAdvenceView:InitGenerate__40(Root, data)
  755. --[[
  756. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2
  757. --]]
  758. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2").gameObject
  759. if tolua.getpeer(tmp) == nil then
  760. tolua.setpeer(tmp, {})
  761. end
  762. self.attrs.attr2 = tmp
  763. end
  764. ---@private
  765. function UIPetAdvenceView:InitGenerate__41(Root, data)
  766. --[[
  767. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Text
  768. --]]
  769. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Text").gameObject
  770. if tolua.getpeer(tmp) == nil then
  771. tolua.setpeer(tmp, {})
  772. end
  773. self.attrs.attr2.text = tmp
  774. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  775. end
  776. ---@private
  777. function UIPetAdvenceView:InitGenerate__42(Root, data)
  778. --[[
  779. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number1
  780. --]]
  781. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number1").gameObject
  782. if tolua.getpeer(tmp) == nil then
  783. tolua.setpeer(tmp, {})
  784. end
  785. self.attrs.attr2.number1 = tmp
  786. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  787. end
  788. ---@private
  789. function UIPetAdvenceView:InitGenerate__43(Root, data)
  790. --[[
  791. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number2
  792. --]]
  793. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number2").gameObject
  794. if tolua.getpeer(tmp) == nil then
  795. tolua.setpeer(tmp, {})
  796. end
  797. self.attrs.attr2.number2 = tmp
  798. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  799. end
  800. ---@private
  801. function UIPetAdvenceView:InitGenerate__44(Root, data)
  802. --[[
  803. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3
  804. --]]
  805. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3").gameObject
  806. if tolua.getpeer(tmp) == nil then
  807. tolua.setpeer(tmp, {})
  808. end
  809. self.attrs.attr3 = tmp
  810. end
  811. ---@private
  812. function UIPetAdvenceView:InitGenerate__45(Root, data)
  813. --[[
  814. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Text
  815. --]]
  816. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Text").gameObject
  817. if tolua.getpeer(tmp) == nil then
  818. tolua.setpeer(tmp, {})
  819. end
  820. self.attrs.attr3.text = tmp
  821. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  822. end
  823. ---@private
  824. function UIPetAdvenceView:InitGenerate__46(Root, data)
  825. --[[
  826. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number1
  827. --]]
  828. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number1").gameObject
  829. if tolua.getpeer(tmp) == nil then
  830. tolua.setpeer(tmp, {})
  831. end
  832. self.attrs.attr3.number1 = tmp
  833. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  834. end
  835. ---@private
  836. function UIPetAdvenceView:InitGenerate__47(Root, data)
  837. --[[
  838. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number2
  839. --]]
  840. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number2").gameObject
  841. if tolua.getpeer(tmp) == nil then
  842. tolua.setpeer(tmp, {})
  843. end
  844. self.attrs.attr3.number2 = tmp
  845. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  846. end
  847. ---@private
  848. function UIPetAdvenceView:InitGenerate__48(Root, data)
  849. --[[
  850. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4
  851. --]]
  852. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4").gameObject
  853. if tolua.getpeer(tmp) == nil then
  854. tolua.setpeer(tmp, {})
  855. end
  856. self.attrs.attr4 = tmp
  857. end
  858. ---@private
  859. function UIPetAdvenceView:InitGenerate__49(Root, data)
  860. --[[
  861. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Text
  862. --]]
  863. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Text").gameObject
  864. if tolua.getpeer(tmp) == nil then
  865. tolua.setpeer(tmp, {})
  866. end
  867. self.attrs.attr4.text = tmp
  868. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  869. end
  870. ---@private
  871. function UIPetAdvenceView:InitGenerate__50(Root, data)
  872. --[[
  873. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number1
  874. --]]
  875. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number1").gameObject
  876. if tolua.getpeer(tmp) == nil then
  877. tolua.setpeer(tmp, {})
  878. end
  879. self.attrs.attr4.number1 = tmp
  880. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  881. end
  882. ---@private
  883. function UIPetAdvenceView:InitGenerate__51(Root, data)
  884. --[[
  885. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number2
  886. --]]
  887. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number2").gameObject
  888. if tolua.getpeer(tmp) == nil then
  889. tolua.setpeer(tmp, {})
  890. end
  891. self.attrs.attr4.number2 = tmp
  892. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  893. end
  894. ---@private
  895. function UIPetAdvenceView:InitGenerate__52(Root, data)
  896. --[[
  897. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5
  898. --]]
  899. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5").gameObject
  900. if tolua.getpeer(tmp) == nil then
  901. tolua.setpeer(tmp, {})
  902. end
  903. self.attrs.attr5 = tmp
  904. end
  905. ---@private
  906. function UIPetAdvenceView:InitGenerate__53(Root, data)
  907. --[[
  908. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Text
  909. --]]
  910. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Text").gameObject
  911. if tolua.getpeer(tmp) == nil then
  912. tolua.setpeer(tmp, {})
  913. end
  914. self.attrs.attr5.text = tmp
  915. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  916. end
  917. ---@private
  918. function UIPetAdvenceView:InitGenerate__54(Root, data)
  919. --[[
  920. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number1
  921. --]]
  922. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number1").gameObject
  923. if tolua.getpeer(tmp) == nil then
  924. tolua.setpeer(tmp, {})
  925. end
  926. self.attrs.attr5.number1 = tmp
  927. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  928. end
  929. ---@private
  930. function UIPetAdvenceView:InitGenerate__55(Root, data)
  931. --[[
  932. UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number2
  933. --]]
  934. local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number2").gameObject
  935. if tolua.getpeer(tmp) == nil then
  936. tolua.setpeer(tmp, {})
  937. end
  938. self.attrs.attr5.number2 = tmp
  939. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  940. end
  941. ---@private
  942. function UIPetAdvenceView:InitGenerate__56(Root, data)
  943. --[[
  944. UIAnimator/Window/Bg/List/Mats
  945. --]]
  946. local tmp = Root:Find("UIAnimator/Window/Bg/List/Mats").gameObject
  947. if tolua.getpeer(tmp) == nil then
  948. tolua.setpeer(tmp, {})
  949. end
  950. self.mats = tmp
  951. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  952. end
  953. ---@private
  954. function UIPetAdvenceView:InitGenerate__57(Root, data)
  955. --[[
  956. UIAnimator/Window/Bg/List/Mats/View/IconPetItem
  957. --]]
  958. local tmp = Root:Find("UIAnimator/Window/Bg/List/Mats/View/IconPetItem").gameObject
  959. if tolua.getpeer(tmp) == nil then
  960. tolua.setpeer(tmp, {})
  961. end
  962. self.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
  963. self.iconPetItem.prefabName = "IconPetItem"
  964. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  965. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  966. end
  967. ---@private
  968. function UIPetAdvenceView:InitGenerate__58(Root, data)
  969. --[[
  970. UIAnimator/Window/Bg/List/Mats/Dsc/Dsc
  971. --]]
  972. local tmp = Root:Find("UIAnimator/Window/Bg/List/Mats/Dsc/Dsc").gameObject
  973. if tolua.getpeer(tmp) == nil then
  974. tolua.setpeer(tmp, {})
  975. end
  976. self.dsc = tmp
  977. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  978. end
  979. ---@private
  980. function UIPetAdvenceView:InitGenerate__59(Root, data)
  981. --[[
  982. UIAnimator/Window/Bg/BtnBox
  983. --]]
  984. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox").gameObject
  985. if tolua.getpeer(tmp) == nil then
  986. tolua.setpeer(tmp, {})
  987. end
  988. self.btnBox = tmp
  989. end
  990. ---@private
  991. function UIPetAdvenceView:InitGenerate__60(Root, data)
  992. --[[
  993. UIAnimator/Window/Bg/BtnBox/BtnSure
  994. --]]
  995. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure").gameObject
  996. if tolua.getpeer(tmp) == nil then
  997. tolua.setpeer(tmp, {})
  998. end
  999. self.btnSure = tmp
  1000. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  1001. end
  1002. ---@private
  1003. function UIPetAdvenceView:InitGenerate__61(Root, data)
  1004. --[[
  1005. UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1
  1006. --]]
  1007. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1").gameObject
  1008. if tolua.getpeer(tmp) == nil then
  1009. tolua.setpeer(tmp, {})
  1010. end
  1011. self.cost1 = tmp
  1012. end
  1013. ---@private
  1014. function UIPetAdvenceView:InitGenerate__62(Root, data)
  1015. --[[
  1016. UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Res
  1017. --]]
  1018. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Res").gameObject
  1019. if tolua.getpeer(tmp) == nil then
  1020. tolua.setpeer(tmp, {})
  1021. end
  1022. self.cost1.res = tmp
  1023. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  1024. end
  1025. ---@private
  1026. function UIPetAdvenceView:InitGenerate__63(Root, data)
  1027. --[[
  1028. UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Num
  1029. --]]
  1030. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Num").gameObject
  1031. if tolua.getpeer(tmp) == nil then
  1032. tolua.setpeer(tmp, {})
  1033. end
  1034. self.cost1.num = tmp
  1035. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  1036. end
  1037. ---@private
  1038. function UIPetAdvenceView:GenerateDestroy()
  1039. if tolua.getpeer(self.cost1.num) ~= nil then
  1040. tolua.setpeer(self.cost1.num, nil)
  1041. end
  1042. if tolua.getpeer(self.cost1.res) ~= nil then
  1043. tolua.setpeer(self.cost1.res, nil)
  1044. end
  1045. if tolua.getpeer(self.attrs.attr5.number2) ~= nil then
  1046. tolua.setpeer(self.attrs.attr5.number2, nil)
  1047. end
  1048. if tolua.getpeer(self.attrs.attr5.number1) ~= nil then
  1049. tolua.setpeer(self.attrs.attr5.number1, nil)
  1050. end
  1051. if tolua.getpeer(self.attrs.attr5.text) ~= nil then
  1052. tolua.setpeer(self.attrs.attr5.text, nil)
  1053. end
  1054. if tolua.getpeer(self.attrs.attr5) ~= nil then
  1055. tolua.setpeer(self.attrs.attr5, nil)
  1056. end
  1057. if tolua.getpeer(self.attrs.attr4.number2) ~= nil then
  1058. tolua.setpeer(self.attrs.attr4.number2, nil)
  1059. end
  1060. if tolua.getpeer(self.attrs.attr4.number1) ~= nil then
  1061. tolua.setpeer(self.attrs.attr4.number1, nil)
  1062. end
  1063. if tolua.getpeer(self.attrs.attr4.text) ~= nil then
  1064. tolua.setpeer(self.attrs.attr4.text, nil)
  1065. end
  1066. if tolua.getpeer(self.attrs.attr4) ~= nil then
  1067. tolua.setpeer(self.attrs.attr4, nil)
  1068. end
  1069. if tolua.getpeer(self.attrs.attr3.number2) ~= nil then
  1070. tolua.setpeer(self.attrs.attr3.number2, nil)
  1071. end
  1072. if tolua.getpeer(self.attrs.attr3.number1) ~= nil then
  1073. tolua.setpeer(self.attrs.attr3.number1, nil)
  1074. end
  1075. if tolua.getpeer(self.attrs.attr3.text) ~= nil then
  1076. tolua.setpeer(self.attrs.attr3.text, nil)
  1077. end
  1078. if tolua.getpeer(self.attrs.attr3) ~= nil then
  1079. tolua.setpeer(self.attrs.attr3, nil)
  1080. end
  1081. if tolua.getpeer(self.attrs.attr2.number2) ~= nil then
  1082. tolua.setpeer(self.attrs.attr2.number2, nil)
  1083. end
  1084. if tolua.getpeer(self.attrs.attr2.number1) ~= nil then
  1085. tolua.setpeer(self.attrs.attr2.number1, nil)
  1086. end
  1087. if tolua.getpeer(self.attrs.attr2.text) ~= nil then
  1088. tolua.setpeer(self.attrs.attr2.text, nil)
  1089. end
  1090. if tolua.getpeer(self.attrs.attr2) ~= nil then
  1091. tolua.setpeer(self.attrs.attr2, nil)
  1092. end
  1093. if tolua.getpeer(self.attrs.attr1.number2) ~= nil then
  1094. tolua.setpeer(self.attrs.attr1.number2, nil)
  1095. end
  1096. if tolua.getpeer(self.attrs.attr1.number1) ~= nil then
  1097. tolua.setpeer(self.attrs.attr1.number1, nil)
  1098. end
  1099. if tolua.getpeer(self.attrs.attr1.text) ~= nil then
  1100. tolua.setpeer(self.attrs.attr1.text, nil)
  1101. end
  1102. if tolua.getpeer(self.attrs.attr1) ~= nil then
  1103. tolua.setpeer(self.attrs.attr1, nil)
  1104. end
  1105. if tolua.getpeer(self.attrs.lVLimit.number2) ~= nil then
  1106. tolua.setpeer(self.attrs.lVLimit.number2, nil)
  1107. end
  1108. if tolua.getpeer(self.attrs.lVLimit.number1) ~= nil then
  1109. tolua.setpeer(self.attrs.lVLimit.number1, nil)
  1110. end
  1111. if tolua.getpeer(self.attrs.lVLimit) ~= nil then
  1112. tolua.setpeer(self.attrs.lVLimit, nil)
  1113. end
  1114. if tolua.getpeer(self.item4.unowned.frame) ~= nil then
  1115. tolua.setpeer(self.item4.unowned.frame, nil)
  1116. end
  1117. if tolua.getpeer(self.item4.unowned.icon) ~= nil then
  1118. tolua.setpeer(self.item4.unowned.icon, nil)
  1119. end
  1120. if tolua.getpeer(self.item4.unowned) ~= nil then
  1121. tolua.setpeer(self.item4.unowned, nil)
  1122. end
  1123. if self.item4.iconPetItem.GenerateDestroy ~= nil then
  1124. self.item4.iconPetItem:GenerateDestroy()
  1125. end
  1126. if tolua.getpeer(self.item4.iconPetItem) ~= nil then
  1127. tolua.setpeer(self.item4.iconPetItem, nil)
  1128. end
  1129. if tolua.getpeer(self.item4.owned) ~= nil then
  1130. tolua.setpeer(self.item4.owned, nil)
  1131. end
  1132. if tolua.getpeer(self.item3.unowned.frame) ~= nil then
  1133. tolua.setpeer(self.item3.unowned.frame, nil)
  1134. end
  1135. if tolua.getpeer(self.item3.unowned.icon) ~= nil then
  1136. tolua.setpeer(self.item3.unowned.icon, nil)
  1137. end
  1138. if tolua.getpeer(self.item3.unowned) ~= nil then
  1139. tolua.setpeer(self.item3.unowned, nil)
  1140. end
  1141. if self.item3.iconPetItem.GenerateDestroy ~= nil then
  1142. self.item3.iconPetItem:GenerateDestroy()
  1143. end
  1144. if tolua.getpeer(self.item3.iconPetItem) ~= nil then
  1145. tolua.setpeer(self.item3.iconPetItem, nil)
  1146. end
  1147. if tolua.getpeer(self.item3.owned) ~= nil then
  1148. tolua.setpeer(self.item3.owned, nil)
  1149. end
  1150. if tolua.getpeer(self.item2.unowned.frame) ~= nil then
  1151. tolua.setpeer(self.item2.unowned.frame, nil)
  1152. end
  1153. if tolua.getpeer(self.item2.unowned.icon) ~= nil then
  1154. tolua.setpeer(self.item2.unowned.icon, nil)
  1155. end
  1156. if tolua.getpeer(self.item2.unowned) ~= nil then
  1157. tolua.setpeer(self.item2.unowned, nil)
  1158. end
  1159. if self.item2.iconPetItem.GenerateDestroy ~= nil then
  1160. self.item2.iconPetItem:GenerateDestroy()
  1161. end
  1162. if tolua.getpeer(self.item2.iconPetItem) ~= nil then
  1163. tolua.setpeer(self.item2.iconPetItem, nil)
  1164. end
  1165. if tolua.getpeer(self.item2.owned) ~= nil then
  1166. tolua.setpeer(self.item2.owned, nil)
  1167. end
  1168. if tolua.getpeer(self.item1.unowned.frame) ~= nil then
  1169. tolua.setpeer(self.item1.unowned.frame, nil)
  1170. end
  1171. if tolua.getpeer(self.item1.unowned.icon) ~= nil then
  1172. tolua.setpeer(self.item1.unowned.icon, nil)
  1173. end
  1174. if tolua.getpeer(self.item1.unowned) ~= nil then
  1175. tolua.setpeer(self.item1.unowned, nil)
  1176. end
  1177. if self.item1.iconPetItem.GenerateDestroy ~= nil then
  1178. self.item1.iconPetItem:GenerateDestroy()
  1179. end
  1180. if tolua.getpeer(self.item1.iconPetItem) ~= nil then
  1181. tolua.setpeer(self.item1.iconPetItem, nil)
  1182. end
  1183. if tolua.getpeer(self.item1.owned) ~= nil then
  1184. tolua.setpeer(self.item1.owned, nil)
  1185. end
  1186. if tolua.getpeer(self.uIAnimator) ~= nil then
  1187. tolua.setpeer(self.uIAnimator, nil)
  1188. end
  1189. self.uIAnimator = nil
  1190. if tolua.getpeer(self.AnyBtn) ~= nil then
  1191. tolua.setpeer(self.AnyBtn, nil)
  1192. end
  1193. self.AnyBtn = nil
  1194. if tolua.getpeer(self.window) ~= nil then
  1195. tolua.setpeer(self.window, nil)
  1196. end
  1197. self.window = nil
  1198. if tolua.getpeer(self.bg) ~= nil then
  1199. tolua.setpeer(self.bg, nil)
  1200. end
  1201. self.bg = nil
  1202. if tolua.getpeer(self.closeBox) ~= nil then
  1203. tolua.setpeer(self.closeBox, nil)
  1204. end
  1205. self.closeBox = nil
  1206. if tolua.getpeer(self.btnClose) ~= nil then
  1207. tolua.setpeer(self.btnClose, nil)
  1208. end
  1209. self.btnClose = nil
  1210. if tolua.getpeer(self.item1) ~= nil then
  1211. tolua.setpeer(self.item1, nil)
  1212. end
  1213. self.item1 = nil
  1214. if tolua.getpeer(self.item2) ~= nil then
  1215. tolua.setpeer(self.item2, nil)
  1216. end
  1217. self.item2 = nil
  1218. if tolua.getpeer(self.item3) ~= nil then
  1219. tolua.setpeer(self.item3, nil)
  1220. end
  1221. self.item3 = nil
  1222. if tolua.getpeer(self.item4) ~= nil then
  1223. tolua.setpeer(self.item4, nil)
  1224. end
  1225. self.item4 = nil
  1226. if tolua.getpeer(self.attrs) ~= nil then
  1227. tolua.setpeer(self.attrs, nil)
  1228. end
  1229. self.attrs = nil
  1230. if tolua.getpeer(self.mats) ~= nil then
  1231. tolua.setpeer(self.mats, nil)
  1232. end
  1233. self.mats = nil
  1234. if self.iconPetItem.GenerateDestroy ~= nil then
  1235. self.iconPetItem:GenerateDestroy()
  1236. end
  1237. if tolua.getpeer(self.iconPetItem) ~= nil then
  1238. tolua.setpeer(self.iconPetItem, nil)
  1239. end
  1240. self.iconPetItem = nil
  1241. if tolua.getpeer(self.dsc) ~= nil then
  1242. tolua.setpeer(self.dsc, nil)
  1243. end
  1244. self.dsc = nil
  1245. if tolua.getpeer(self.btnBox) ~= nil then
  1246. tolua.setpeer(self.btnBox, nil)
  1247. end
  1248. self.btnBox = nil
  1249. if tolua.getpeer(self.btnSure) ~= nil then
  1250. tolua.setpeer(self.btnSure, nil)
  1251. end
  1252. self.btnSure = nil
  1253. if tolua.getpeer(self.cost1) ~= nil then
  1254. tolua.setpeer(self.cost1, nil)
  1255. end
  1256. self.cost1 = nil
  1257. self.transform = nil
  1258. self.gameObject = nil
  1259. self.inited = false
  1260. end
  1261. return UIPetAdvenceView