UISummonResultView_Generate.lua 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. ---@class UISummonResult__Generate_currency_btnBuy
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UISummonResult__Generate_currency_number
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text UnityEngine.UI.Text
  7. ---@class UISummonResult__Generate_currency_icon
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public image UnityEngine.UI.Image
  10. ---@class UISummonResult__Generate_currency
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public icon UISummonResult__Generate_currency_icon
  13. ---@field public number UISummonResult__Generate_currency_number
  14. ---@field public btnBuy UISummonResult__Generate_currency_btnBuy
  15. ---@class UISummonResult__Generate_btnFive
  16. ---@field public gameObject UnityEngine.GameObject
  17. ---@field public button UnityEngine.UI.Button
  18. ---@class UISummonResult__Generate_currencyFive_number
  19. ---@field public gameObject UnityEngine.GameObject
  20. ---@field public text UnityEngine.UI.Text
  21. ---@class UISummonResult__Generate_currencyFive_icon
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public image UnityEngine.UI.Image
  24. ---@class UISummonResult__Generate_currencyFive
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public icon UISummonResult__Generate_currencyFive_icon
  27. ---@field public number UISummonResult__Generate_currencyFive_number
  28. ---@class UISummonResult__Generate_btnOne
  29. ---@field public gameObject UnityEngine.GameObject
  30. ---@field public button UnityEngine.UI.Button
  31. ---@class UISummonResult__Generate_currencyOne_number
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public text UnityEngine.UI.Text
  34. ---@class UISummonResult__Generate_currencyOne_icon
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public image UnityEngine.UI.Image
  37. ---@class UISummonResult__Generate_currencyOne
  38. ---@field public gameObject UnityEngine.GameObject
  39. ---@field public icon UISummonResult__Generate_currencyOne_icon
  40. ---@field public number UISummonResult__Generate_currencyOne_number
  41. ---@class UISummonResult__Generate_btnConfirm
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public button UnityEngine.UI.Button
  44. ---@class UISummonResult__Generate_extraRewardItem_percentTxt
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public text TMPro.TextMeshProUGUI
  47. ---@class UISummonResult__Generate_extraRewardItem_rewardSlider
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public slider UnityEngine.UI.Slider
  50. ---@class UISummonResult__Generate_extraRewardItem
  51. ---@field public gameObject UnityEngine.GameObject
  52. ---@field public rewardSlider UISummonResult__Generate_extraRewardItem_rewardSlider
  53. ---@field public percentTxt UISummonResult__Generate_extraRewardItem_percentTxt
  54. ---@class UISummonResult__Generate_particle
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public uIParticle UIExtensions.UIParticle
  57. ---@class UISummonResult__Generate_extraAnim
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public iconLightParent UnityEngine.GameObject
  60. ---@field public iconParent UnityEngine.GameObject
  61. ---@field public iconIsNewParent UnityEngine.GameObject
  62. ---@class UISummonResult__Generate_bG
  63. ---@field public gameObject UnityEngine.GameObject
  64. ---@field public animator UnityEngine.Animator
  65. ---@class UISummonResult__Generate_AnyBtn
  66. ---@field public gameObject UnityEngine.GameObject
  67. ---@field public button UnityEngine.UI.Button
  68. ---@class UISummonResult__Generate_uIAnimator
  69. ---@field public gameObject UnityEngine.GameObject
  70. ---@field public animator UnityEngine.Animator
  71. ---@class UISummonResult__Generate
  72. ---@field private gameObject UnityEngine.GameObject
  73. ---@field private transform UnityEngine.Transform
  74. ---@field private uIAnimator UISummonResult__Generate_uIAnimator
  75. ---@field private AnyBtn UISummonResult__Generate_AnyBtn
  76. ---@field private bG UISummonResult__Generate_bG
  77. ---@field private iconLightParent UnityEngine.GameObject
  78. ---@field private iconParent UnityEngine.GameObject
  79. ---@field private iconIsNewParent UnityEngine.GameObject
  80. ---@field private extraBox UnityEngine.GameObject
  81. ---@field private extraAnim UISummonResult__Generate_extraAnim
  82. ---@field private particle UISummonResult__Generate_particle
  83. ---@field private extraRewardItem UISummonResult__Generate_extraRewardItem
  84. ---@field private confirm UnityEngine.GameObject
  85. ---@field private btnConfirm UISummonResult__Generate_btnConfirm
  86. ---@field private one UnityEngine.GameObject
  87. ---@field private currencyOne UISummonResult__Generate_currencyOne
  88. ---@field private btnOne UISummonResult__Generate_btnOne
  89. ---@field private five UnityEngine.GameObject
  90. ---@field private currencyFive UISummonResult__Generate_currencyFive
  91. ---@field private btnFive UISummonResult__Generate_btnFive
  92. ---@field private currency UISummonResult__Generate_currency
  93. local UISummonResultView = class("UISummonResultView", require("UIViewBase"))
  94. function UISummonResultView:ctor()
  95. end
  96. ---@private
  97. function UISummonResultView:SetActive(result)
  98. self.gameObject:SetActive(result)
  99. end
  100. ---@private
  101. function UISummonResultView:InitGenerate(Root, data)
  102. self.transform = Root
  103. self.inited = true
  104. if self.super.Init then
  105. self.super.Init(self)
  106. end
  107. local tmp
  108. self:InitGenerate__1(Root,data)
  109. self:InitGenerate__2(Root,data)
  110. self:InitGenerate__3(Root,data)
  111. self:InitGenerate__4(Root,data)
  112. self:InitGenerate__5(Root,data)
  113. self:InitGenerate__6(Root,data)
  114. self:InitGenerate__7(Root,data)
  115. self:InitGenerate__8(Root,data)
  116. self:InitGenerate__9(Root,data)
  117. self:InitGenerate__10(Root,data)
  118. self:InitGenerate__11(Root,data)
  119. self:InitGenerate__12(Root,data)
  120. self:InitGenerate__13(Root,data)
  121. self:InitGenerate__14(Root,data)
  122. self:InitGenerate__15(Root,data)
  123. self:InitGenerate__16(Root,data)
  124. self:InitGenerate__17(Root,data)
  125. self:InitGenerate__18(Root,data)
  126. self:InitGenerate__19(Root,data)
  127. self:InitGenerate__20(Root,data)
  128. self:InitGenerate__21(Root,data)
  129. self:InitGenerate__22(Root,data)
  130. self:InitGenerate__23(Root,data)
  131. self:InitGenerate__24(Root,data)
  132. self:InitGenerate__25(Root,data)
  133. self:InitGenerate__26(Root,data)
  134. self:InitGenerate__27(Root,data)
  135. self:InitGenerate__28(Root,data)
  136. self:InitGenerate__29(Root,data)
  137. self:InitGenerate__30(Root,data)
  138. self:InitGenerate__31(Root,data)
  139. end
  140. ---@private
  141. function UISummonResultView:InitGenerate__1(Root, data)
  142. --[[
  143. UIAnimator
  144. --]]
  145. local tmp = Root:Find("UIAnimator").gameObject
  146. if tolua.getpeer(tmp) == nil then
  147. tolua.setpeer(tmp, {})
  148. end
  149. self.uIAnimator = tmp
  150. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  151. tmp.animator.logWarnings = false
  152. end
  153. ---@private
  154. function UISummonResultView:InitGenerate__2(Root, data)
  155. --[[
  156. UIAnimator/Alpha
  157. --]]
  158. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  159. if tolua.getpeer(tmp) == nil then
  160. tolua.setpeer(tmp, {})
  161. end
  162. self.AnyBtn = tmp
  163. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  164. end
  165. ---@private
  166. function UISummonResultView:InitGenerate__3(Root, data)
  167. --[[
  168. UIAnimator/Window/BG
  169. --]]
  170. local tmp = Root:Find("UIAnimator/Window/BG").gameObject
  171. if tolua.getpeer(tmp) == nil then
  172. tolua.setpeer(tmp, {})
  173. end
  174. self.bG = tmp
  175. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  176. tmp.animator.logWarnings = false
  177. end
  178. ---@private
  179. function UISummonResultView:InitGenerate__4(Root, data)
  180. --[[
  181. UIAnimator/Window/BG/ContentBox/IconLightParent
  182. --]]
  183. local tmp = Root:Find("UIAnimator/Window/BG/ContentBox/IconLightParent").gameObject
  184. if tolua.getpeer(tmp) == nil then
  185. tolua.setpeer(tmp, {})
  186. end
  187. self.iconLightParent = tmp
  188. end
  189. ---@private
  190. function UISummonResultView:InitGenerate__5(Root, data)
  191. --[[
  192. UIAnimator/Window/BG/ContentBox/IconParent
  193. --]]
  194. local tmp = Root:Find("UIAnimator/Window/BG/ContentBox/IconParent").gameObject
  195. if tolua.getpeer(tmp) == nil then
  196. tolua.setpeer(tmp, {})
  197. end
  198. self.iconParent = tmp
  199. end
  200. ---@private
  201. function UISummonResultView:InitGenerate__6(Root, data)
  202. --[[
  203. UIAnimator/Window/BG/ContentBox/IconIsNewParent
  204. --]]
  205. local tmp = Root:Find("UIAnimator/Window/BG/ContentBox/IconIsNewParent").gameObject
  206. if tolua.getpeer(tmp) == nil then
  207. tolua.setpeer(tmp, {})
  208. end
  209. self.iconIsNewParent = tmp
  210. end
  211. ---@private
  212. function UISummonResultView:InitGenerate__7(Root, data)
  213. --[[
  214. UIAnimator/Window/BG/ExtraBox
  215. --]]
  216. local tmp = Root:Find("UIAnimator/Window/BG/ExtraBox").gameObject
  217. if tolua.getpeer(tmp) == nil then
  218. tolua.setpeer(tmp, {})
  219. end
  220. self.extraBox = tmp
  221. end
  222. ---@private
  223. function UISummonResultView:InitGenerate__8(Root, data)
  224. --[[
  225. UIAnimator/Window/BG/ExtraBox/ExtraAnim
  226. --]]
  227. local tmp = Root:Find("UIAnimator/Window/BG/ExtraBox/ExtraAnim").gameObject
  228. if tolua.getpeer(tmp) == nil then
  229. tolua.setpeer(tmp, {})
  230. end
  231. self.extraAnim = tmp
  232. end
  233. ---@private
  234. function UISummonResultView:InitGenerate__9(Root, data)
  235. --[[
  236. UIAnimator/Window/BG/ExtraBox/ExtraAnim/IconLightParent
  237. --]]
  238. local tmp = Root:Find("UIAnimator/Window/BG/ExtraBox/ExtraAnim/IconLightParent").gameObject
  239. if tolua.getpeer(tmp) == nil then
  240. tolua.setpeer(tmp, {})
  241. end
  242. self.extraAnim.iconLightParent = tmp
  243. end
  244. ---@private
  245. function UISummonResultView:InitGenerate__10(Root, data)
  246. --[[
  247. UIAnimator/Window/BG/ExtraBox/ExtraAnim/IconParent
  248. --]]
  249. local tmp = Root:Find("UIAnimator/Window/BG/ExtraBox/ExtraAnim/IconParent").gameObject
  250. if tolua.getpeer(tmp) == nil then
  251. tolua.setpeer(tmp, {})
  252. end
  253. self.extraAnim.iconParent = tmp
  254. end
  255. ---@private
  256. function UISummonResultView:InitGenerate__11(Root, data)
  257. --[[
  258. UIAnimator/Window/BG/ExtraBox/ExtraAnim/IconIsNewParent
  259. --]]
  260. local tmp = Root:Find("UIAnimator/Window/BG/ExtraBox/ExtraAnim/IconIsNewParent").gameObject
  261. if tolua.getpeer(tmp) == nil then
  262. tolua.setpeer(tmp, {})
  263. end
  264. self.extraAnim.iconIsNewParent = tmp
  265. end
  266. ---@private
  267. function UISummonResultView:InitGenerate__12(Root, data)
  268. --[[
  269. UIAnimator/Window/BG/ExtraBox/ExtraAnim/particle
  270. --]]
  271. local tmp = Root:Find("UIAnimator/Window/BG/ExtraBox/ExtraAnim/particle").gameObject
  272. if tolua.getpeer(tmp) == nil then
  273. tolua.setpeer(tmp, {})
  274. end
  275. self.particle = tmp
  276. tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
  277. end
  278. ---@private
  279. function UISummonResultView:InitGenerate__13(Root, data)
  280. --[[
  281. UIAnimator/Window/BG/ExtraBox/ExtraRewardItem
  282. --]]
  283. local tmp = Root:Find("UIAnimator/Window/BG/ExtraBox/ExtraRewardItem").gameObject
  284. if tolua.getpeer(tmp) == nil then
  285. tolua.setpeer(tmp, {})
  286. end
  287. self.extraRewardItem = tmp
  288. end
  289. ---@private
  290. function UISummonResultView:InitGenerate__14(Root, data)
  291. --[[
  292. UIAnimator/Window/BG/ExtraBox/ExtraRewardItem/RewardSlider
  293. --]]
  294. local tmp = Root:Find("UIAnimator/Window/BG/ExtraBox/ExtraRewardItem/RewardSlider").gameObject
  295. if tolua.getpeer(tmp) == nil then
  296. tolua.setpeer(tmp, {})
  297. end
  298. self.extraRewardItem.rewardSlider = tmp
  299. tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
  300. end
  301. ---@private
  302. function UISummonResultView:InitGenerate__15(Root, data)
  303. --[[
  304. UIAnimator/Window/BG/ExtraBox/ExtraRewardItem/PercentTxt
  305. --]]
  306. local tmp = Root:Find("UIAnimator/Window/BG/ExtraBox/ExtraRewardItem/PercentTxt").gameObject
  307. if tolua.getpeer(tmp) == nil then
  308. tolua.setpeer(tmp, {})
  309. end
  310. self.extraRewardItem.percentTxt = tmp
  311. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  312. end
  313. ---@private
  314. function UISummonResultView:InitGenerate__16(Root, data)
  315. --[[
  316. UIAnimator/Window/BtnBox/Confirm
  317. --]]
  318. local tmp = Root:Find("UIAnimator/Window/BtnBox/Confirm").gameObject
  319. if tolua.getpeer(tmp) == nil then
  320. tolua.setpeer(tmp, {})
  321. end
  322. self.confirm = tmp
  323. end
  324. ---@private
  325. function UISummonResultView:InitGenerate__17(Root, data)
  326. --[[
  327. UIAnimator/Window/BtnBox/Confirm/BtnConfirm
  328. --]]
  329. local tmp = Root:Find("UIAnimator/Window/BtnBox/Confirm/BtnConfirm").gameObject
  330. if tolua.getpeer(tmp) == nil then
  331. tolua.setpeer(tmp, {})
  332. end
  333. self.btnConfirm = tmp
  334. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  335. end
  336. ---@private
  337. function UISummonResultView:InitGenerate__18(Root, data)
  338. --[[
  339. UIAnimator/Window/BtnBox/One
  340. --]]
  341. local tmp = Root:Find("UIAnimator/Window/BtnBox/One").gameObject
  342. if tolua.getpeer(tmp) == nil then
  343. tolua.setpeer(tmp, {})
  344. end
  345. self.one = tmp
  346. end
  347. ---@private
  348. function UISummonResultView:InitGenerate__19(Root, data)
  349. --[[
  350. UIAnimator/Window/BtnBox/One/CurrencyOne
  351. --]]
  352. local tmp = Root:Find("UIAnimator/Window/BtnBox/One/CurrencyOne").gameObject
  353. if tolua.getpeer(tmp) == nil then
  354. tolua.setpeer(tmp, {})
  355. end
  356. self.currencyOne = tmp
  357. end
  358. ---@private
  359. function UISummonResultView:InitGenerate__20(Root, data)
  360. --[[
  361. UIAnimator/Window/BtnBox/One/CurrencyOne/Icon
  362. --]]
  363. local tmp = Root:Find("UIAnimator/Window/BtnBox/One/CurrencyOne/Icon").gameObject
  364. if tolua.getpeer(tmp) == nil then
  365. tolua.setpeer(tmp, {})
  366. end
  367. self.currencyOne.icon = tmp
  368. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  369. end
  370. ---@private
  371. function UISummonResultView:InitGenerate__21(Root, data)
  372. --[[
  373. UIAnimator/Window/BtnBox/One/CurrencyOne/Number
  374. --]]
  375. local tmp = Root:Find("UIAnimator/Window/BtnBox/One/CurrencyOne/Number").gameObject
  376. if tolua.getpeer(tmp) == nil then
  377. tolua.setpeer(tmp, {})
  378. end
  379. self.currencyOne.number = tmp
  380. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  381. end
  382. ---@private
  383. function UISummonResultView:InitGenerate__22(Root, data)
  384. --[[
  385. UIAnimator/Window/BtnBox/One/BtnOne
  386. --]]
  387. local tmp = Root:Find("UIAnimator/Window/BtnBox/One/BtnOne").gameObject
  388. if tolua.getpeer(tmp) == nil then
  389. tolua.setpeer(tmp, {})
  390. end
  391. self.btnOne = tmp
  392. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  393. end
  394. ---@private
  395. function UISummonResultView:InitGenerate__23(Root, data)
  396. --[[
  397. UIAnimator/Window/BtnBox/Five
  398. --]]
  399. local tmp = Root:Find("UIAnimator/Window/BtnBox/Five").gameObject
  400. if tolua.getpeer(tmp) == nil then
  401. tolua.setpeer(tmp, {})
  402. end
  403. self.five = tmp
  404. end
  405. ---@private
  406. function UISummonResultView:InitGenerate__24(Root, data)
  407. --[[
  408. UIAnimator/Window/BtnBox/Five/CurrencyFive
  409. --]]
  410. local tmp = Root:Find("UIAnimator/Window/BtnBox/Five/CurrencyFive").gameObject
  411. if tolua.getpeer(tmp) == nil then
  412. tolua.setpeer(tmp, {})
  413. end
  414. self.currencyFive = tmp
  415. end
  416. ---@private
  417. function UISummonResultView:InitGenerate__25(Root, data)
  418. --[[
  419. UIAnimator/Window/BtnBox/Five/CurrencyFive/Icon
  420. --]]
  421. local tmp = Root:Find("UIAnimator/Window/BtnBox/Five/CurrencyFive/Icon").gameObject
  422. if tolua.getpeer(tmp) == nil then
  423. tolua.setpeer(tmp, {})
  424. end
  425. self.currencyFive.icon = tmp
  426. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  427. end
  428. ---@private
  429. function UISummonResultView:InitGenerate__26(Root, data)
  430. --[[
  431. UIAnimator/Window/BtnBox/Five/CurrencyFive/Number
  432. --]]
  433. local tmp = Root:Find("UIAnimator/Window/BtnBox/Five/CurrencyFive/Number").gameObject
  434. if tolua.getpeer(tmp) == nil then
  435. tolua.setpeer(tmp, {})
  436. end
  437. self.currencyFive.number = tmp
  438. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  439. end
  440. ---@private
  441. function UISummonResultView:InitGenerate__27(Root, data)
  442. --[[
  443. UIAnimator/Window/BtnBox/Five/BtnFive
  444. --]]
  445. local tmp = Root:Find("UIAnimator/Window/BtnBox/Five/BtnFive").gameObject
  446. if tolua.getpeer(tmp) == nil then
  447. tolua.setpeer(tmp, {})
  448. end
  449. self.btnFive = tmp
  450. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  451. end
  452. ---@private
  453. function UISummonResultView:InitGenerate__28(Root, data)
  454. --[[
  455. UIAnimator/Window/TopView/ResourceBox/Currency
  456. --]]
  457. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Currency").gameObject
  458. if tolua.getpeer(tmp) == nil then
  459. tolua.setpeer(tmp, {})
  460. end
  461. self.currency = tmp
  462. end
  463. ---@private
  464. function UISummonResultView:InitGenerate__29(Root, data)
  465. --[[
  466. UIAnimator/Window/TopView/ResourceBox/Currency/Icon
  467. --]]
  468. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Currency/Icon").gameObject
  469. if tolua.getpeer(tmp) == nil then
  470. tolua.setpeer(tmp, {})
  471. end
  472. self.currency.icon = tmp
  473. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  474. end
  475. ---@private
  476. function UISummonResultView:InitGenerate__30(Root, data)
  477. --[[
  478. UIAnimator/Window/TopView/ResourceBox/Currency/Number
  479. --]]
  480. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Currency/Number").gameObject
  481. if tolua.getpeer(tmp) == nil then
  482. tolua.setpeer(tmp, {})
  483. end
  484. self.currency.number = tmp
  485. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  486. end
  487. ---@private
  488. function UISummonResultView:InitGenerate__31(Root, data)
  489. --[[
  490. UIAnimator/Window/TopView/ResourceBox/Currency/BtnBuy
  491. --]]
  492. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Currency/BtnBuy").gameObject
  493. if tolua.getpeer(tmp) == nil then
  494. tolua.setpeer(tmp, {})
  495. end
  496. self.currency.btnBuy = tmp
  497. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  498. end
  499. ---@private
  500. function UISummonResultView:GenerateDestroy()
  501. if tolua.getpeer(self.currency.btnBuy) ~= nil then
  502. tolua.setpeer(self.currency.btnBuy, nil)
  503. end
  504. if tolua.getpeer(self.currency.number) ~= nil then
  505. tolua.setpeer(self.currency.number, nil)
  506. end
  507. if tolua.getpeer(self.currency.icon) ~= nil then
  508. tolua.setpeer(self.currency.icon, nil)
  509. end
  510. if tolua.getpeer(self.currencyFive.number) ~= nil then
  511. tolua.setpeer(self.currencyFive.number, nil)
  512. end
  513. if tolua.getpeer(self.currencyFive.icon) ~= nil then
  514. tolua.setpeer(self.currencyFive.icon, nil)
  515. end
  516. if tolua.getpeer(self.currencyOne.number) ~= nil then
  517. tolua.setpeer(self.currencyOne.number, nil)
  518. end
  519. if tolua.getpeer(self.currencyOne.icon) ~= nil then
  520. tolua.setpeer(self.currencyOne.icon, nil)
  521. end
  522. if tolua.getpeer(self.extraRewardItem.percentTxt) ~= nil then
  523. tolua.setpeer(self.extraRewardItem.percentTxt, nil)
  524. end
  525. if tolua.getpeer(self.extraRewardItem.rewardSlider) ~= nil then
  526. tolua.setpeer(self.extraRewardItem.rewardSlider, nil)
  527. end
  528. if tolua.getpeer(self.extraAnim.iconIsNewParent) ~= nil then
  529. tolua.setpeer(self.extraAnim.iconIsNewParent, nil)
  530. end
  531. if tolua.getpeer(self.extraAnim.iconParent) ~= nil then
  532. tolua.setpeer(self.extraAnim.iconParent, nil)
  533. end
  534. if tolua.getpeer(self.extraAnim.iconLightParent) ~= nil then
  535. tolua.setpeer(self.extraAnim.iconLightParent, nil)
  536. end
  537. if tolua.getpeer(self.uIAnimator) ~= nil then
  538. tolua.setpeer(self.uIAnimator, nil)
  539. end
  540. self.uIAnimator = nil
  541. if tolua.getpeer(self.AnyBtn) ~= nil then
  542. tolua.setpeer(self.AnyBtn, nil)
  543. end
  544. self.AnyBtn = nil
  545. if tolua.getpeer(self.bG) ~= nil then
  546. tolua.setpeer(self.bG, nil)
  547. end
  548. self.bG = nil
  549. if tolua.getpeer(self.iconLightParent) ~= nil then
  550. tolua.setpeer(self.iconLightParent, nil)
  551. end
  552. self.iconLightParent = nil
  553. if tolua.getpeer(self.iconParent) ~= nil then
  554. tolua.setpeer(self.iconParent, nil)
  555. end
  556. self.iconParent = nil
  557. if tolua.getpeer(self.iconIsNewParent) ~= nil then
  558. tolua.setpeer(self.iconIsNewParent, nil)
  559. end
  560. self.iconIsNewParent = nil
  561. if tolua.getpeer(self.extraBox) ~= nil then
  562. tolua.setpeer(self.extraBox, nil)
  563. end
  564. self.extraBox = nil
  565. if tolua.getpeer(self.extraAnim) ~= nil then
  566. tolua.setpeer(self.extraAnim, nil)
  567. end
  568. self.extraAnim = nil
  569. if tolua.getpeer(self.particle) ~= nil then
  570. tolua.setpeer(self.particle, nil)
  571. end
  572. self.particle = nil
  573. if tolua.getpeer(self.extraRewardItem) ~= nil then
  574. tolua.setpeer(self.extraRewardItem, nil)
  575. end
  576. self.extraRewardItem = nil
  577. if tolua.getpeer(self.confirm) ~= nil then
  578. tolua.setpeer(self.confirm, nil)
  579. end
  580. self.confirm = nil
  581. if tolua.getpeer(self.btnConfirm) ~= nil then
  582. tolua.setpeer(self.btnConfirm, nil)
  583. end
  584. self.btnConfirm = nil
  585. if tolua.getpeer(self.one) ~= nil then
  586. tolua.setpeer(self.one, nil)
  587. end
  588. self.one = nil
  589. if tolua.getpeer(self.currencyOne) ~= nil then
  590. tolua.setpeer(self.currencyOne, nil)
  591. end
  592. self.currencyOne = nil
  593. if tolua.getpeer(self.btnOne) ~= nil then
  594. tolua.setpeer(self.btnOne, nil)
  595. end
  596. self.btnOne = nil
  597. if tolua.getpeer(self.five) ~= nil then
  598. tolua.setpeer(self.five, nil)
  599. end
  600. self.five = nil
  601. if tolua.getpeer(self.currencyFive) ~= nil then
  602. tolua.setpeer(self.currencyFive, nil)
  603. end
  604. self.currencyFive = nil
  605. if tolua.getpeer(self.btnFive) ~= nil then
  606. tolua.setpeer(self.btnFive, nil)
  607. end
  608. self.btnFive = nil
  609. if tolua.getpeer(self.currency) ~= nil then
  610. tolua.setpeer(self.currency, nil)
  611. end
  612. self.currency = nil
  613. self.transform = nil
  614. self.gameObject = nil
  615. self.inited = false
  616. end
  617. return UISummonResultView