UIArtifactStarUpView_Generate.lua 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949
  1. ---@class UIArtifactStarUp__Generate_fx_ui_refine_success
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public uIParticle UIExtensions.UIParticle
  4. ---@class UIArtifactStarUp__Generate_number
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text UnityEngine.UI.Text
  7. ---@class UIArtifactStarUp__Generate_btnRefine
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public button UnityEngine.UI.Button
  10. ---@class UIArtifactStarUp__Generate_costDsc
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public uILocalizeScript UILocalizeScript
  13. ---@class UIArtifactStarUp__Generate_iconItem
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public rectTransform UnityEngine.RectTransform
  16. ---@field public layoutElement UnityEngine.UI.LayoutElement
  17. ---@class UIArtifactStarUp__Generate_scrollView
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public loopGridView SuperScrollView.LoopGridView
  20. ---@class UIArtifactStarUp__Generate_upDsc
  21. ---@field public gameObject UnityEngine.GameObject
  22. ---@field public text UnityEngine.UI.Text
  23. ---@class UIArtifactStarUp__Generate_starGrp2_star5
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public star UnityEngine.GameObject
  26. ---@class UIArtifactStarUp__Generate_starGrp2_star4
  27. ---@field public gameObject UnityEngine.GameObject
  28. ---@field public star UnityEngine.GameObject
  29. ---@class UIArtifactStarUp__Generate_starGrp2_star3
  30. ---@field public gameObject UnityEngine.GameObject
  31. ---@field public star UnityEngine.GameObject
  32. ---@class UIArtifactStarUp__Generate_starGrp2_star2
  33. ---@field public gameObject UnityEngine.GameObject
  34. ---@field public star UnityEngine.GameObject
  35. ---@class UIArtifactStarUp__Generate_starGrp2_star1
  36. ---@field public gameObject UnityEngine.GameObject
  37. ---@field public star UnityEngine.GameObject
  38. ---@class UIArtifactStarUp__Generate_starGrp2
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public star1 UIArtifactStarUp__Generate_starGrp2_star1
  41. ---@field public star2 UIArtifactStarUp__Generate_starGrp2_star2
  42. ---@field public star3 UIArtifactStarUp__Generate_starGrp2_star3
  43. ---@field public star4 UIArtifactStarUp__Generate_starGrp2_star4
  44. ---@field public star5 UIArtifactStarUp__Generate_starGrp2_star5
  45. ---@class UIArtifactStarUp__Generate_starGrp1_star5
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public star UnityEngine.GameObject
  48. ---@class UIArtifactStarUp__Generate_starGrp1_star4
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public star UnityEngine.GameObject
  51. ---@class UIArtifactStarUp__Generate_starGrp1_star3
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public star UnityEngine.GameObject
  54. ---@class UIArtifactStarUp__Generate_starGrp1_star2
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public star UnityEngine.GameObject
  57. ---@class UIArtifactStarUp__Generate_starGrp1_star1
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public star UnityEngine.GameObject
  60. ---@class UIArtifactStarUp__Generate_starGrp1
  61. ---@field public gameObject UnityEngine.GameObject
  62. ---@field public star1 UIArtifactStarUp__Generate_starGrp1_star1
  63. ---@field public star2 UIArtifactStarUp__Generate_starGrp1_star2
  64. ---@field public star3 UIArtifactStarUp__Generate_starGrp1_star3
  65. ---@field public star4 UIArtifactStarUp__Generate_starGrp1_star4
  66. ---@field public star5 UIArtifactStarUp__Generate_starGrp1_star5
  67. ---@class UIArtifactStarUp__Generate_heroName
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public text UnityEngine.UI.Text
  70. ---@class UIArtifactStarUp__Generate_jobIcon
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public image UnityEngine.UI.Image
  73. ---@class UIArtifactStarUp__Generate_type1_text2
  74. ---@field public gameObject UnityEngine.GameObject
  75. ---@field public text UnityEngine.UI.Text
  76. ---@class UIArtifactStarUp__Generate_type1
  77. ---@field public gameObject UnityEngine.GameObject
  78. ---@field public text2 UIArtifactStarUp__Generate_type1_text2
  79. ---@class UIArtifactStarUp__Generate_textName
  80. ---@field public gameObject UnityEngine.GameObject
  81. ---@field public text UnityEngine.UI.Text
  82. ---@class UIArtifactStarUp__Generate_skillEquipSlot
  83. ---@field public gameObject UnityEngine.GameObject
  84. ---@field public button UnityEngine.UI.Button
  85. ---@class UIArtifactStarUp__Generate_btnClose
  86. ---@field public gameObject UnityEngine.GameObject
  87. ---@field public button UnityEngine.UI.Button
  88. ---@class UIArtifactStarUp__Generate_AnyBtn
  89. ---@field public gameObject UnityEngine.GameObject
  90. ---@field public button UnityEngine.UI.Button
  91. ---@class UIArtifactStarUp__Generate_uIAnimator
  92. ---@field public gameObject UnityEngine.GameObject
  93. ---@field public animator UnityEngine.Animator
  94. ---@class UIArtifactStarUp__Generate
  95. ---@field private gameObject UnityEngine.GameObject
  96. ---@field private transform UnityEngine.Transform
  97. ---@field private uIAnimator UIArtifactStarUp__Generate_uIAnimator
  98. ---@field private AnyBtn UIArtifactStarUp__Generate_AnyBtn
  99. ---@field private window UnityEngine.GameObject
  100. ---@field private closeBox UnityEngine.GameObject
  101. ---@field private btnClose UIArtifactStarUp__Generate_btnClose
  102. ---@field private contentItem UnityEngine.GameObject
  103. ---@field private skillEquipSlot UIArtifactStarUp__Generate_skillEquipSlot
  104. ---@field private textName UIArtifactStarUp__Generate_textName
  105. ---@field private type1 UIArtifactStarUp__Generate_type1
  106. ---@field private jobIcon UIArtifactStarUp__Generate_jobIcon
  107. ---@field private heroName UIArtifactStarUp__Generate_heroName
  108. ---@field private starGrp1 UIArtifactStarUp__Generate_starGrp1
  109. ---@field private starGrp2 UIArtifactStarUp__Generate_starGrp2
  110. ---@field private upDsc UIArtifactStarUp__Generate_upDsc
  111. ---@field private scrollView UIArtifactStarUp__Generate_scrollView
  112. ---@field private iconItem UIArtifactStarUp__Generate_iconItem
  113. ---@field private costDsc UIArtifactStarUp__Generate_costDsc
  114. ---@field private bottomBox UnityEngine.GameObject
  115. ---@field private btnBox UnityEngine.GameObject
  116. ---@field private btnRefine UIArtifactStarUp__Generate_btnRefine
  117. ---@field private number UIArtifactStarUp__Generate_number
  118. ---@field private redPointItem UnityEngine.GameObject
  119. ---@field private fx_ui_refine_success UIArtifactStarUp__Generate_fx_ui_refine_success
  120. local UIArtifactStarUpView = class("UIArtifactStarUpView", require("UIViewBase"))
  121. function UIArtifactStarUpView:ctor()
  122. end
  123. ---@private
  124. function UIArtifactStarUpView:SetActive(result)
  125. self.gameObject:SetActive(result)
  126. end
  127. ---@private
  128. function UIArtifactStarUpView:InitGenerate(Root, data)
  129. self.transform = Root
  130. self.inited = true
  131. if self.super.Init then
  132. self.super.Init(self)
  133. end
  134. local tmp
  135. self:InitGenerate__1(Root,data)
  136. self:InitGenerate__2(Root,data)
  137. self:InitGenerate__3(Root,data)
  138. self:InitGenerate__4(Root,data)
  139. self:InitGenerate__5(Root,data)
  140. self:InitGenerate__6(Root,data)
  141. self:InitGenerate__7(Root,data)
  142. self:InitGenerate__8(Root,data)
  143. self:InitGenerate__9(Root,data)
  144. self:InitGenerate__10(Root,data)
  145. self:InitGenerate__11(Root,data)
  146. self:InitGenerate__12(Root,data)
  147. self:InitGenerate__13(Root,data)
  148. self:InitGenerate__14(Root,data)
  149. self:InitGenerate__15(Root,data)
  150. self:InitGenerate__16(Root,data)
  151. self:InitGenerate__17(Root,data)
  152. self:InitGenerate__18(Root,data)
  153. self:InitGenerate__19(Root,data)
  154. self:InitGenerate__20(Root,data)
  155. self:InitGenerate__21(Root,data)
  156. self:InitGenerate__22(Root,data)
  157. self:InitGenerate__23(Root,data)
  158. self:InitGenerate__24(Root,data)
  159. self:InitGenerate__25(Root,data)
  160. self:InitGenerate__26(Root,data)
  161. self:InitGenerate__27(Root,data)
  162. self:InitGenerate__28(Root,data)
  163. self:InitGenerate__29(Root,data)
  164. self:InitGenerate__30(Root,data)
  165. self:InitGenerate__31(Root,data)
  166. self:InitGenerate__32(Root,data)
  167. self:InitGenerate__33(Root,data)
  168. self:InitGenerate__34(Root,data)
  169. self:InitGenerate__35(Root,data)
  170. self:InitGenerate__36(Root,data)
  171. self:InitGenerate__37(Root,data)
  172. self:InitGenerate__38(Root,data)
  173. self:InitGenerate__39(Root,data)
  174. self:InitGenerate__40(Root,data)
  175. self:InitGenerate__41(Root,data)
  176. self:InitGenerate__42(Root,data)
  177. self:InitGenerate__43(Root,data)
  178. self:InitGenerate__44(Root,data)
  179. end
  180. ---@private
  181. function UIArtifactStarUpView:InitGenerate__1(Root, data)
  182. --[[
  183. UIAnimator
  184. --]]
  185. local tmp = Root:Find("UIAnimator").gameObject
  186. if tolua.getpeer(tmp) == nil then
  187. tolua.setpeer(tmp, {})
  188. end
  189. self.uIAnimator = tmp
  190. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  191. tmp.animator.logWarnings = false
  192. end
  193. ---@private
  194. function UIArtifactStarUpView:InitGenerate__2(Root, data)
  195. --[[
  196. UIAnimator/Alpha
  197. --]]
  198. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  199. if tolua.getpeer(tmp) == nil then
  200. tolua.setpeer(tmp, {})
  201. end
  202. self.AnyBtn = tmp
  203. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  204. end
  205. ---@private
  206. function UIArtifactStarUpView:InitGenerate__3(Root, data)
  207. --[[
  208. UIAnimator/Window
  209. --]]
  210. local tmp = Root:Find("UIAnimator/Window").gameObject
  211. if tolua.getpeer(tmp) == nil then
  212. tolua.setpeer(tmp, {})
  213. end
  214. self.window = tmp
  215. end
  216. ---@private
  217. function UIArtifactStarUpView:InitGenerate__4(Root, data)
  218. --[[
  219. UIAnimator/Window/Bg/CloseBox
  220. --]]
  221. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox").gameObject
  222. if tolua.getpeer(tmp) == nil then
  223. tolua.setpeer(tmp, {})
  224. end
  225. self.closeBox = tmp
  226. end
  227. ---@private
  228. function UIArtifactStarUpView:InitGenerate__5(Root, data)
  229. --[[
  230. UIAnimator/Window/Bg/CloseBox/BtnClose
  231. --]]
  232. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
  233. if tolua.getpeer(tmp) == nil then
  234. tolua.setpeer(tmp, {})
  235. end
  236. self.btnClose = tmp
  237. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  238. end
  239. ---@private
  240. function UIArtifactStarUpView:InitGenerate__6(Root, data)
  241. --[[
  242. UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem
  243. --]]
  244. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem").gameObject
  245. if tolua.getpeer(tmp) == nil then
  246. tolua.setpeer(tmp, {})
  247. end
  248. self.contentItem = tmp
  249. end
  250. ---@private
  251. function UIArtifactStarUpView:InitGenerate__7(Root, data)
  252. --[[
  253. UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem/EquipSlotItemNew
  254. --]]
  255. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem/EquipSlotItemNew").gameObject
  256. if tolua.getpeer(tmp) == nil then
  257. tolua.setpeer(tmp, {})
  258. end
  259. self.skillEquipSlot = CommonUtil.BindGridViewItem2LuaStatic("EquipSlotItemNew", tmp)
  260. self.skillEquipSlot.prefabName = "EquipSlotItemNew"
  261. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  262. end
  263. ---@private
  264. function UIArtifactStarUpView:InitGenerate__8(Root, data)
  265. --[[
  266. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/TextName
  267. --]]
  268. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/TextName").gameObject
  269. if tolua.getpeer(tmp) == nil then
  270. tolua.setpeer(tmp, {})
  271. end
  272. self.textName = tmp
  273. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  274. end
  275. ---@private
  276. function UIArtifactStarUpView:InitGenerate__9(Root, data)
  277. --[[
  278. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1
  279. --]]
  280. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1").gameObject
  281. if tolua.getpeer(tmp) == nil then
  282. tolua.setpeer(tmp, {})
  283. end
  284. self.type1 = tmp
  285. end
  286. ---@private
  287. function UIArtifactStarUpView:InitGenerate__10(Root, data)
  288. --[[
  289. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text2
  290. --]]
  291. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text2").gameObject
  292. if tolua.getpeer(tmp) == nil then
  293. tolua.setpeer(tmp, {})
  294. end
  295. self.type1.text2 = tmp
  296. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  297. end
  298. ---@private
  299. function UIArtifactStarUpView:InitGenerate__11(Root, data)
  300. --[[
  301. UIAnimator/Window/Bg/TopItem/LabelBox/JobIcon
  302. --]]
  303. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/LabelBox/JobIcon").gameObject
  304. if tolua.getpeer(tmp) == nil then
  305. tolua.setpeer(tmp, {})
  306. end
  307. self.jobIcon = tmp
  308. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  309. end
  310. ---@private
  311. function UIArtifactStarUpView:InitGenerate__12(Root, data)
  312. --[[
  313. UIAnimator/Window/Bg/TopItem/LabelBox/heroName
  314. --]]
  315. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/LabelBox/heroName").gameObject
  316. if tolua.getpeer(tmp) == nil then
  317. tolua.setpeer(tmp, {})
  318. end
  319. self.heroName = tmp
  320. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  321. end
  322. ---@private
  323. function UIArtifactStarUpView:InitGenerate__13(Root, data)
  324. --[[
  325. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1
  326. --]]
  327. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1").gameObject
  328. if tolua.getpeer(tmp) == nil then
  329. tolua.setpeer(tmp, {})
  330. end
  331. self.starGrp1 = tmp
  332. end
  333. ---@private
  334. function UIArtifactStarUpView:InitGenerate__14(Root, data)
  335. --[[
  336. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star1
  337. --]]
  338. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star1").gameObject
  339. if tolua.getpeer(tmp) == nil then
  340. tolua.setpeer(tmp, {})
  341. end
  342. self.starGrp1.star1 = tmp
  343. end
  344. ---@private
  345. function UIArtifactStarUpView:InitGenerate__15(Root, data)
  346. --[[
  347. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star1/star
  348. --]]
  349. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star1/star").gameObject
  350. if tolua.getpeer(tmp) == nil then
  351. tolua.setpeer(tmp, {})
  352. end
  353. self.starGrp1.star1.star = tmp
  354. end
  355. ---@private
  356. function UIArtifactStarUpView:InitGenerate__16(Root, data)
  357. --[[
  358. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star2
  359. --]]
  360. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star2").gameObject
  361. if tolua.getpeer(tmp) == nil then
  362. tolua.setpeer(tmp, {})
  363. end
  364. self.starGrp1.star2 = tmp
  365. end
  366. ---@private
  367. function UIArtifactStarUpView:InitGenerate__17(Root, data)
  368. --[[
  369. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star2/star
  370. --]]
  371. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star2/star").gameObject
  372. if tolua.getpeer(tmp) == nil then
  373. tolua.setpeer(tmp, {})
  374. end
  375. self.starGrp1.star2.star = tmp
  376. end
  377. ---@private
  378. function UIArtifactStarUpView:InitGenerate__18(Root, data)
  379. --[[
  380. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star3
  381. --]]
  382. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star3").gameObject
  383. if tolua.getpeer(tmp) == nil then
  384. tolua.setpeer(tmp, {})
  385. end
  386. self.starGrp1.star3 = tmp
  387. end
  388. ---@private
  389. function UIArtifactStarUpView:InitGenerate__19(Root, data)
  390. --[[
  391. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star3/star
  392. --]]
  393. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star3/star").gameObject
  394. if tolua.getpeer(tmp) == nil then
  395. tolua.setpeer(tmp, {})
  396. end
  397. self.starGrp1.star3.star = tmp
  398. end
  399. ---@private
  400. function UIArtifactStarUpView:InitGenerate__20(Root, data)
  401. --[[
  402. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star4
  403. --]]
  404. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star4").gameObject
  405. if tolua.getpeer(tmp) == nil then
  406. tolua.setpeer(tmp, {})
  407. end
  408. self.starGrp1.star4 = tmp
  409. end
  410. ---@private
  411. function UIArtifactStarUpView:InitGenerate__21(Root, data)
  412. --[[
  413. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star4/star
  414. --]]
  415. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star4/star").gameObject
  416. if tolua.getpeer(tmp) == nil then
  417. tolua.setpeer(tmp, {})
  418. end
  419. self.starGrp1.star4.star = tmp
  420. end
  421. ---@private
  422. function UIArtifactStarUpView:InitGenerate__22(Root, data)
  423. --[[
  424. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star5
  425. --]]
  426. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star5").gameObject
  427. if tolua.getpeer(tmp) == nil then
  428. tolua.setpeer(tmp, {})
  429. end
  430. self.starGrp1.star5 = tmp
  431. end
  432. ---@private
  433. function UIArtifactStarUpView:InitGenerate__23(Root, data)
  434. --[[
  435. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star5/star
  436. --]]
  437. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp1/Star5/star").gameObject
  438. if tolua.getpeer(tmp) == nil then
  439. tolua.setpeer(tmp, {})
  440. end
  441. self.starGrp1.star5.star = tmp
  442. end
  443. ---@private
  444. function UIArtifactStarUpView:InitGenerate__24(Root, data)
  445. --[[
  446. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2
  447. --]]
  448. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2").gameObject
  449. if tolua.getpeer(tmp) == nil then
  450. tolua.setpeer(tmp, {})
  451. end
  452. self.starGrp2 = tmp
  453. end
  454. ---@private
  455. function UIArtifactStarUpView:InitGenerate__25(Root, data)
  456. --[[
  457. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star1
  458. --]]
  459. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star1").gameObject
  460. if tolua.getpeer(tmp) == nil then
  461. tolua.setpeer(tmp, {})
  462. end
  463. self.starGrp2.star1 = tmp
  464. end
  465. ---@private
  466. function UIArtifactStarUpView:InitGenerate__26(Root, data)
  467. --[[
  468. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star1/star
  469. --]]
  470. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star1/star").gameObject
  471. if tolua.getpeer(tmp) == nil then
  472. tolua.setpeer(tmp, {})
  473. end
  474. self.starGrp2.star1.star = tmp
  475. end
  476. ---@private
  477. function UIArtifactStarUpView:InitGenerate__27(Root, data)
  478. --[[
  479. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star2
  480. --]]
  481. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star2").gameObject
  482. if tolua.getpeer(tmp) == nil then
  483. tolua.setpeer(tmp, {})
  484. end
  485. self.starGrp2.star2 = tmp
  486. end
  487. ---@private
  488. function UIArtifactStarUpView:InitGenerate__28(Root, data)
  489. --[[
  490. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star2/star
  491. --]]
  492. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star2/star").gameObject
  493. if tolua.getpeer(tmp) == nil then
  494. tolua.setpeer(tmp, {})
  495. end
  496. self.starGrp2.star2.star = tmp
  497. end
  498. ---@private
  499. function UIArtifactStarUpView:InitGenerate__29(Root, data)
  500. --[[
  501. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star3
  502. --]]
  503. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star3").gameObject
  504. if tolua.getpeer(tmp) == nil then
  505. tolua.setpeer(tmp, {})
  506. end
  507. self.starGrp2.star3 = tmp
  508. end
  509. ---@private
  510. function UIArtifactStarUpView:InitGenerate__30(Root, data)
  511. --[[
  512. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star3/star
  513. --]]
  514. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star3/star").gameObject
  515. if tolua.getpeer(tmp) == nil then
  516. tolua.setpeer(tmp, {})
  517. end
  518. self.starGrp2.star3.star = tmp
  519. end
  520. ---@private
  521. function UIArtifactStarUpView:InitGenerate__31(Root, data)
  522. --[[
  523. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star4
  524. --]]
  525. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star4").gameObject
  526. if tolua.getpeer(tmp) == nil then
  527. tolua.setpeer(tmp, {})
  528. end
  529. self.starGrp2.star4 = tmp
  530. end
  531. ---@private
  532. function UIArtifactStarUpView:InitGenerate__32(Root, data)
  533. --[[
  534. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star4/star
  535. --]]
  536. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star4/star").gameObject
  537. if tolua.getpeer(tmp) == nil then
  538. tolua.setpeer(tmp, {})
  539. end
  540. self.starGrp2.star4.star = tmp
  541. end
  542. ---@private
  543. function UIArtifactStarUpView:InitGenerate__33(Root, data)
  544. --[[
  545. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star5
  546. --]]
  547. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star5").gameObject
  548. if tolua.getpeer(tmp) == nil then
  549. tolua.setpeer(tmp, {})
  550. end
  551. self.starGrp2.star5 = tmp
  552. end
  553. ---@private
  554. function UIArtifactStarUpView:InitGenerate__34(Root, data)
  555. --[[
  556. UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star5/star
  557. --]]
  558. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarGrp2/Star5/star").gameObject
  559. if tolua.getpeer(tmp) == nil then
  560. tolua.setpeer(tmp, {})
  561. end
  562. self.starGrp2.star5.star = tmp
  563. end
  564. ---@private
  565. function UIArtifactStarUpView:InitGenerate__35(Root, data)
  566. --[[
  567. UIAnimator/Window/Bg/StarPreview/Bg/StarUpPreview/Text
  568. --]]
  569. local tmp = Root:Find("UIAnimator/Window/Bg/StarPreview/Bg/StarUpPreview/Text").gameObject
  570. if tolua.getpeer(tmp) == nil then
  571. tolua.setpeer(tmp, {})
  572. end
  573. self.upDsc = tmp
  574. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  575. end
  576. ---@private
  577. function UIArtifactStarUpView:InitGenerate__36(Root, data)
  578. --[[
  579. UIAnimator/Window/Bg/ScrollView
  580. --]]
  581. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView").gameObject
  582. if tolua.getpeer(tmp) == nil then
  583. tolua.setpeer(tmp, {})
  584. end
  585. self.scrollView = tmp
  586. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  587. end
  588. ---@private
  589. function UIArtifactStarUpView:InitGenerate__37(Root, data)
  590. --[[
  591. UIAnimator/Window/Bg/ScrollView/Viewport/Content/IconItem
  592. --]]
  593. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/Content/IconItem").gameObject
  594. if tolua.getpeer(tmp) == nil then
  595. tolua.setpeer(tmp, {})
  596. end
  597. self.iconItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  598. self.iconItem.prefabName = "IconItem"
  599. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  600. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  601. end
  602. ---@private
  603. function UIArtifactStarUpView:InitGenerate__38(Root, data)
  604. --[[
  605. UIAnimator/Window/Bg/ScrollView/Image/Text
  606. --]]
  607. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Image/Text").gameObject
  608. if tolua.getpeer(tmp) == nil then
  609. tolua.setpeer(tmp, {})
  610. end
  611. self.costDsc = tmp
  612. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  613. end
  614. ---@private
  615. function UIArtifactStarUpView:InitGenerate__39(Root, data)
  616. --[[
  617. UIAnimator/Window/Bg/BottomBox
  618. --]]
  619. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox").gameObject
  620. if tolua.getpeer(tmp) == nil then
  621. tolua.setpeer(tmp, {})
  622. end
  623. self.bottomBox = tmp
  624. end
  625. ---@private
  626. function UIArtifactStarUpView:InitGenerate__40(Root, data)
  627. --[[
  628. UIAnimator/Window/Bg/BottomBox/BtnBox
  629. --]]
  630. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/BtnBox").gameObject
  631. if tolua.getpeer(tmp) == nil then
  632. tolua.setpeer(tmp, {})
  633. end
  634. self.btnBox = tmp
  635. end
  636. ---@private
  637. function UIArtifactStarUpView:InitGenerate__41(Root, data)
  638. --[[
  639. UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine
  640. --]]
  641. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine").gameObject
  642. if tolua.getpeer(tmp) == nil then
  643. tolua.setpeer(tmp, {})
  644. end
  645. self.btnRefine = tmp
  646. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  647. end
  648. ---@private
  649. function UIArtifactStarUpView:InitGenerate__42(Root, data)
  650. --[[
  651. UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine/Content/Number
  652. --]]
  653. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine/Content/Number").gameObject
  654. if tolua.getpeer(tmp) == nil then
  655. tolua.setpeer(tmp, {})
  656. end
  657. self.number = tmp
  658. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  659. end
  660. ---@private
  661. function UIArtifactStarUpView:InitGenerate__43(Root, data)
  662. --[[
  663. UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine/RedPointItem
  664. --]]
  665. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine/RedPointItem").gameObject
  666. if tolua.getpeer(tmp) == nil then
  667. tolua.setpeer(tmp, {})
  668. end
  669. self.redPointItem = CommonUtil.BindGridViewItem2LuaStatic("RedPointItem", tmp)
  670. self.redPointItem.prefabName = "RedPointItem"
  671. end
  672. ---@private
  673. function UIArtifactStarUpView:InitGenerate__44(Root, data)
  674. --[[
  675. UIAnimator/FX_UI_REFINE_Success
  676. --]]
  677. local tmp = Root:Find("UIAnimator/FX_UI_REFINE_Success").gameObject
  678. if tolua.getpeer(tmp) == nil then
  679. tolua.setpeer(tmp, {})
  680. end
  681. self.fx_ui_refine_success = tmp
  682. tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
  683. end
  684. ---@private
  685. function UIArtifactStarUpView:GenerateDestroy()
  686. if tolua.getpeer(self.starGrp2.star5.star) ~= nil then
  687. tolua.setpeer(self.starGrp2.star5.star, nil)
  688. end
  689. if tolua.getpeer(self.starGrp2.star5) ~= nil then
  690. tolua.setpeer(self.starGrp2.star5, nil)
  691. end
  692. if tolua.getpeer(self.starGrp2.star4.star) ~= nil then
  693. tolua.setpeer(self.starGrp2.star4.star, nil)
  694. end
  695. if tolua.getpeer(self.starGrp2.star4) ~= nil then
  696. tolua.setpeer(self.starGrp2.star4, nil)
  697. end
  698. if tolua.getpeer(self.starGrp2.star3.star) ~= nil then
  699. tolua.setpeer(self.starGrp2.star3.star, nil)
  700. end
  701. if tolua.getpeer(self.starGrp2.star3) ~= nil then
  702. tolua.setpeer(self.starGrp2.star3, nil)
  703. end
  704. if tolua.getpeer(self.starGrp2.star2.star) ~= nil then
  705. tolua.setpeer(self.starGrp2.star2.star, nil)
  706. end
  707. if tolua.getpeer(self.starGrp2.star2) ~= nil then
  708. tolua.setpeer(self.starGrp2.star2, nil)
  709. end
  710. if tolua.getpeer(self.starGrp2.star1.star) ~= nil then
  711. tolua.setpeer(self.starGrp2.star1.star, nil)
  712. end
  713. if tolua.getpeer(self.starGrp2.star1) ~= nil then
  714. tolua.setpeer(self.starGrp2.star1, nil)
  715. end
  716. if tolua.getpeer(self.starGrp1.star5.star) ~= nil then
  717. tolua.setpeer(self.starGrp1.star5.star, nil)
  718. end
  719. if tolua.getpeer(self.starGrp1.star5) ~= nil then
  720. tolua.setpeer(self.starGrp1.star5, nil)
  721. end
  722. if tolua.getpeer(self.starGrp1.star4.star) ~= nil then
  723. tolua.setpeer(self.starGrp1.star4.star, nil)
  724. end
  725. if tolua.getpeer(self.starGrp1.star4) ~= nil then
  726. tolua.setpeer(self.starGrp1.star4, nil)
  727. end
  728. if tolua.getpeer(self.starGrp1.star3.star) ~= nil then
  729. tolua.setpeer(self.starGrp1.star3.star, nil)
  730. end
  731. if tolua.getpeer(self.starGrp1.star3) ~= nil then
  732. tolua.setpeer(self.starGrp1.star3, nil)
  733. end
  734. if tolua.getpeer(self.starGrp1.star2.star) ~= nil then
  735. tolua.setpeer(self.starGrp1.star2.star, nil)
  736. end
  737. if tolua.getpeer(self.starGrp1.star2) ~= nil then
  738. tolua.setpeer(self.starGrp1.star2, nil)
  739. end
  740. if tolua.getpeer(self.starGrp1.star1.star) ~= nil then
  741. tolua.setpeer(self.starGrp1.star1.star, nil)
  742. end
  743. if tolua.getpeer(self.starGrp1.star1) ~= nil then
  744. tolua.setpeer(self.starGrp1.star1, nil)
  745. end
  746. if tolua.getpeer(self.type1.text2) ~= nil then
  747. tolua.setpeer(self.type1.text2, nil)
  748. end
  749. if tolua.getpeer(self.uIAnimator) ~= nil then
  750. tolua.setpeer(self.uIAnimator, nil)
  751. end
  752. self.uIAnimator = nil
  753. if tolua.getpeer(self.AnyBtn) ~= nil then
  754. tolua.setpeer(self.AnyBtn, nil)
  755. end
  756. self.AnyBtn = nil
  757. if tolua.getpeer(self.window) ~= nil then
  758. tolua.setpeer(self.window, nil)
  759. end
  760. self.window = nil
  761. if tolua.getpeer(self.closeBox) ~= nil then
  762. tolua.setpeer(self.closeBox, nil)
  763. end
  764. self.closeBox = nil
  765. if tolua.getpeer(self.btnClose) ~= nil then
  766. tolua.setpeer(self.btnClose, nil)
  767. end
  768. self.btnClose = nil
  769. if tolua.getpeer(self.contentItem) ~= nil then
  770. tolua.setpeer(self.contentItem, nil)
  771. end
  772. self.contentItem = nil
  773. if self.skillEquipSlot.GenerateDestroy ~= nil then
  774. self.skillEquipSlot:GenerateDestroy()
  775. end
  776. if tolua.getpeer(self.skillEquipSlot) ~= nil then
  777. tolua.setpeer(self.skillEquipSlot, nil)
  778. end
  779. self.skillEquipSlot = nil
  780. if tolua.getpeer(self.textName) ~= nil then
  781. tolua.setpeer(self.textName, nil)
  782. end
  783. self.textName = nil
  784. if tolua.getpeer(self.type1) ~= nil then
  785. tolua.setpeer(self.type1, nil)
  786. end
  787. self.type1 = nil
  788. if tolua.getpeer(self.jobIcon) ~= nil then
  789. tolua.setpeer(self.jobIcon, nil)
  790. end
  791. self.jobIcon = nil
  792. if tolua.getpeer(self.heroName) ~= nil then
  793. tolua.setpeer(self.heroName, nil)
  794. end
  795. self.heroName = nil
  796. if tolua.getpeer(self.starGrp1) ~= nil then
  797. tolua.setpeer(self.starGrp1, nil)
  798. end
  799. self.starGrp1 = nil
  800. if tolua.getpeer(self.starGrp2) ~= nil then
  801. tolua.setpeer(self.starGrp2, nil)
  802. end
  803. self.starGrp2 = nil
  804. if tolua.getpeer(self.upDsc) ~= nil then
  805. tolua.setpeer(self.upDsc, nil)
  806. end
  807. self.upDsc = nil
  808. if tolua.getpeer(self.scrollView) ~= nil then
  809. tolua.setpeer(self.scrollView, nil)
  810. end
  811. self.scrollView = nil
  812. if self.iconItem.GenerateDestroy ~= nil then
  813. self.iconItem:GenerateDestroy()
  814. end
  815. if tolua.getpeer(self.iconItem) ~= nil then
  816. tolua.setpeer(self.iconItem, nil)
  817. end
  818. self.iconItem = nil
  819. if tolua.getpeer(self.costDsc) ~= nil then
  820. tolua.setpeer(self.costDsc, nil)
  821. end
  822. self.costDsc = nil
  823. if tolua.getpeer(self.bottomBox) ~= nil then
  824. tolua.setpeer(self.bottomBox, nil)
  825. end
  826. self.bottomBox = nil
  827. if tolua.getpeer(self.btnBox) ~= nil then
  828. tolua.setpeer(self.btnBox, nil)
  829. end
  830. self.btnBox = nil
  831. if tolua.getpeer(self.btnRefine) ~= nil then
  832. tolua.setpeer(self.btnRefine, nil)
  833. end
  834. self.btnRefine = nil
  835. if tolua.getpeer(self.number) ~= nil then
  836. tolua.setpeer(self.number, nil)
  837. end
  838. self.number = nil
  839. if self.redPointItem.GenerateDestroy ~= nil then
  840. self.redPointItem:GenerateDestroy()
  841. end
  842. if tolua.getpeer(self.redPointItem) ~= nil then
  843. tolua.setpeer(self.redPointItem, nil)
  844. end
  845. self.redPointItem = nil
  846. if tolua.getpeer(self.fx_ui_refine_success) ~= nil then
  847. tolua.setpeer(self.fx_ui_refine_success, nil)
  848. end
  849. self.fx_ui_refine_success = nil
  850. self.transform = nil
  851. self.gameObject = nil
  852. self.inited = false
  853. end
  854. return UIArtifactStarUpView