UIChipDecomposeTipsView_Generate.lua 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835
  1. ---@class UIChipDecomposeTips__Generate_btnCancle
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIChipDecomposeTips__Generate_btnDecompose
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UIChipDecomposeTips__Generate_award3_text
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UIChipDecomposeTips__Generate_awardItem3
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public rectTransform UnityEngine.RectTransform
  13. ---@field public layoutElement UnityEngine.UI.LayoutElement
  14. ---@class UIChipDecomposeTips__Generate_award3
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public text UIChipDecomposeTips__Generate_award3_text
  17. ---@class UIChipDecomposeTips__Generate_award2_text
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public text UnityEngine.UI.Text
  20. ---@class UIChipDecomposeTips__Generate_awardItem2
  21. ---@field public gameObject UnityEngine.GameObject
  22. ---@field public rectTransform UnityEngine.RectTransform
  23. ---@field public layoutElement UnityEngine.UI.LayoutElement
  24. ---@class UIChipDecomposeTips__Generate_award2
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public text UIChipDecomposeTips__Generate_award2_text
  27. ---@class UIChipDecomposeTips__Generate_award1_text
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public text UnityEngine.UI.Text
  30. ---@class UIChipDecomposeTips__Generate_awardItem1
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public rectTransform UnityEngine.RectTransform
  33. ---@field public layoutElement UnityEngine.UI.LayoutElement
  34. ---@class UIChipDecomposeTips__Generate_award1
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public text UIChipDecomposeTips__Generate_award1_text
  37. ---@class UIChipDecomposeTips__Generate_quality5_content
  38. ---@field public gameObject UnityEngine.GameObject
  39. ---@field public text UnityEngine.UI.Text
  40. ---@class UIChipDecomposeTips__Generate_quality5_checkBox
  41. ---@field public gameObject UnityEngine.GameObject
  42. ---@field public toggle UnityEngine.UI.Toggle
  43. ---@field public check UnityEngine.GameObject
  44. ---@class UIChipDecomposeTips__Generate_quality5
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public checkBox UIChipDecomposeTips__Generate_quality5_checkBox
  47. ---@field public content UIChipDecomposeTips__Generate_quality5_content
  48. ---@class UIChipDecomposeTips__Generate_quality4_content
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public text UnityEngine.UI.Text
  51. ---@class UIChipDecomposeTips__Generate_quality4_checkBox
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public toggle UnityEngine.UI.Toggle
  54. ---@field public check UnityEngine.GameObject
  55. ---@class UIChipDecomposeTips__Generate_quality4
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public checkBox UIChipDecomposeTips__Generate_quality4_checkBox
  58. ---@field public content UIChipDecomposeTips__Generate_quality4_content
  59. ---@class UIChipDecomposeTips__Generate_quality3_content
  60. ---@field public gameObject UnityEngine.GameObject
  61. ---@field public text UnityEngine.UI.Text
  62. ---@class UIChipDecomposeTips__Generate_quality3_checkBox
  63. ---@field public gameObject UnityEngine.GameObject
  64. ---@field public toggle UnityEngine.UI.Toggle
  65. ---@field public check UnityEngine.GameObject
  66. ---@class UIChipDecomposeTips__Generate_quality3
  67. ---@field public gameObject UnityEngine.GameObject
  68. ---@field public checkBox UIChipDecomposeTips__Generate_quality3_checkBox
  69. ---@field public content UIChipDecomposeTips__Generate_quality3_content
  70. ---@class UIChipDecomposeTips__Generate_quality2_content
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public text UnityEngine.UI.Text
  73. ---@class UIChipDecomposeTips__Generate_quality2_checkBox
  74. ---@field public gameObject UnityEngine.GameObject
  75. ---@field public toggle UnityEngine.UI.Toggle
  76. ---@field public check UnityEngine.GameObject
  77. ---@class UIChipDecomposeTips__Generate_quality2
  78. ---@field public gameObject UnityEngine.GameObject
  79. ---@field public checkBox UIChipDecomposeTips__Generate_quality2_checkBox
  80. ---@field public content UIChipDecomposeTips__Generate_quality2_content
  81. ---@class UIChipDecomposeTips__Generate_quality1_content
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public text UnityEngine.UI.Text
  84. ---@class UIChipDecomposeTips__Generate_quality1_checkBox
  85. ---@field public gameObject UnityEngine.GameObject
  86. ---@field public toggle UnityEngine.UI.Toggle
  87. ---@field public check UnityEngine.GameObject
  88. ---@class UIChipDecomposeTips__Generate_quality1
  89. ---@field public gameObject UnityEngine.GameObject
  90. ---@field public checkBox UIChipDecomposeTips__Generate_quality1_checkBox
  91. ---@field public content UIChipDecomposeTips__Generate_quality1_content
  92. ---@class UIChipDecomposeTips__Generate_btnClose
  93. ---@field public gameObject UnityEngine.GameObject
  94. ---@field public button UnityEngine.UI.Button
  95. ---@class UIChipDecomposeTips__Generate_window
  96. ---@field public gameObject UnityEngine.GameObject
  97. ---@field public animator UnityEngine.Animator
  98. ---@class UIChipDecomposeTips__Generate_alpha
  99. ---@field public gameObject UnityEngine.GameObject
  100. ---@field public button UnityEngine.UI.Button
  101. ---@class UIChipDecomposeTips__Generate
  102. ---@field private gameObject UnityEngine.GameObject
  103. ---@field private transform UnityEngine.Transform
  104. ---@field private alpha UIChipDecomposeTips__Generate_alpha
  105. ---@field private window UIChipDecomposeTips__Generate_window
  106. ---@field private btnClose UIChipDecomposeTips__Generate_btnClose
  107. ---@field private decompose UnityEngine.GameObject
  108. ---@field private quality1 UIChipDecomposeTips__Generate_quality1
  109. ---@field private quality2 UIChipDecomposeTips__Generate_quality2
  110. ---@field private quality3 UIChipDecomposeTips__Generate_quality3
  111. ---@field private quality4 UIChipDecomposeTips__Generate_quality4
  112. ---@field private quality5 UIChipDecomposeTips__Generate_quality5
  113. ---@field private award1 UIChipDecomposeTips__Generate_award1
  114. ---@field private awardItem1 UIChipDecomposeTips__Generate_awardItem1
  115. ---@field private award2 UIChipDecomposeTips__Generate_award2
  116. ---@field private awardItem2 UIChipDecomposeTips__Generate_awardItem2
  117. ---@field private award3 UIChipDecomposeTips__Generate_award3
  118. ---@field private awardItem3 UIChipDecomposeTips__Generate_awardItem3
  119. ---@field private btnBox UnityEngine.GameObject
  120. ---@field private btnDecompose UIChipDecomposeTips__Generate_btnDecompose
  121. ---@field private btnCancle UIChipDecomposeTips__Generate_btnCancle
  122. local UIChipDecomposeTipsView = class("UIChipDecomposeTipsView", require("UIViewBase"))
  123. function UIChipDecomposeTipsView:ctor()
  124. end
  125. ---@private
  126. function UIChipDecomposeTipsView:SetActive(result)
  127. self.gameObject:SetActive(result)
  128. end
  129. ---@private
  130. function UIChipDecomposeTipsView:InitGenerate(Root, data)
  131. self.transform = Root
  132. self.inited = true
  133. if self.super.Init then
  134. self.super.Init(self)
  135. end
  136. local tmp
  137. self:InitGenerate__1(Root,data)
  138. self:InitGenerate__2(Root,data)
  139. self:InitGenerate__3(Root,data)
  140. self:InitGenerate__4(Root,data)
  141. self:InitGenerate__5(Root,data)
  142. self:InitGenerate__6(Root,data)
  143. self:InitGenerate__7(Root,data)
  144. self:InitGenerate__8(Root,data)
  145. self:InitGenerate__9(Root,data)
  146. self:InitGenerate__10(Root,data)
  147. self:InitGenerate__11(Root,data)
  148. self:InitGenerate__12(Root,data)
  149. self:InitGenerate__13(Root,data)
  150. self:InitGenerate__14(Root,data)
  151. self:InitGenerate__15(Root,data)
  152. self:InitGenerate__16(Root,data)
  153. self:InitGenerate__17(Root,data)
  154. self:InitGenerate__18(Root,data)
  155. self:InitGenerate__19(Root,data)
  156. self:InitGenerate__20(Root,data)
  157. self:InitGenerate__21(Root,data)
  158. self:InitGenerate__22(Root,data)
  159. self:InitGenerate__23(Root,data)
  160. self:InitGenerate__24(Root,data)
  161. self:InitGenerate__25(Root,data)
  162. self:InitGenerate__26(Root,data)
  163. self:InitGenerate__27(Root,data)
  164. self:InitGenerate__28(Root,data)
  165. self:InitGenerate__29(Root,data)
  166. self:InitGenerate__30(Root,data)
  167. self:InitGenerate__31(Root,data)
  168. self:InitGenerate__32(Root,data)
  169. self:InitGenerate__33(Root,data)
  170. self:InitGenerate__34(Root,data)
  171. self:InitGenerate__35(Root,data)
  172. self:InitGenerate__36(Root,data)
  173. end
  174. ---@private
  175. function UIChipDecomposeTipsView:InitGenerate__1(Root, data)
  176. --[[
  177. Alpha
  178. --]]
  179. local tmp = Root:Find("Alpha").gameObject
  180. if tolua.getpeer(tmp) == nil then
  181. tolua.setpeer(tmp, {})
  182. end
  183. self.alpha = tmp
  184. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  185. end
  186. ---@private
  187. function UIChipDecomposeTipsView:InitGenerate__2(Root, data)
  188. --[[
  189. Window
  190. --]]
  191. local tmp = Root:Find("Window").gameObject
  192. if tolua.getpeer(tmp) == nil then
  193. tolua.setpeer(tmp, {})
  194. end
  195. self.window = tmp
  196. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  197. tmp.animator.logWarnings = false
  198. end
  199. ---@private
  200. function UIChipDecomposeTipsView:InitGenerate__3(Root, data)
  201. --[[
  202. Window/Bg/BtnClose
  203. --]]
  204. local tmp = Root:Find("Window/Bg/BtnClose").gameObject
  205. if tolua.getpeer(tmp) == nil then
  206. tolua.setpeer(tmp, {})
  207. end
  208. self.btnClose = tmp
  209. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  210. end
  211. ---@private
  212. function UIChipDecomposeTipsView:InitGenerate__4(Root, data)
  213. --[[
  214. Window/Bg/Decompose
  215. --]]
  216. local tmp = Root:Find("Window/Bg/Decompose").gameObject
  217. if tolua.getpeer(tmp) == nil then
  218. tolua.setpeer(tmp, {})
  219. end
  220. self.decompose = tmp
  221. end
  222. ---@private
  223. function UIChipDecomposeTipsView:InitGenerate__5(Root, data)
  224. --[[
  225. Window/Bg/Decompose/CardDecompose/Quality1
  226. --]]
  227. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality1").gameObject
  228. if tolua.getpeer(tmp) == nil then
  229. tolua.setpeer(tmp, {})
  230. end
  231. self.quality1 = tmp
  232. end
  233. ---@private
  234. function UIChipDecomposeTipsView:InitGenerate__6(Root, data)
  235. --[[
  236. Window/Bg/Decompose/CardDecompose/Quality1/CheckBox
  237. --]]
  238. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality1/CheckBox").gameObject
  239. if tolua.getpeer(tmp) == nil then
  240. tolua.setpeer(tmp, {})
  241. end
  242. self.quality1.checkBox = tmp
  243. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  244. end
  245. ---@private
  246. function UIChipDecomposeTipsView:InitGenerate__7(Root, data)
  247. --[[
  248. Window/Bg/Decompose/CardDecompose/Quality1/CheckBox/Check
  249. --]]
  250. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality1/CheckBox/Check").gameObject
  251. if tolua.getpeer(tmp) == nil then
  252. tolua.setpeer(tmp, {})
  253. end
  254. self.quality1.checkBox.check = tmp
  255. end
  256. ---@private
  257. function UIChipDecomposeTipsView:InitGenerate__8(Root, data)
  258. --[[
  259. Window/Bg/Decompose/CardDecompose/Quality1/Content
  260. --]]
  261. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality1/Content").gameObject
  262. if tolua.getpeer(tmp) == nil then
  263. tolua.setpeer(tmp, {})
  264. end
  265. self.quality1.content = tmp
  266. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  267. end
  268. ---@private
  269. function UIChipDecomposeTipsView:InitGenerate__9(Root, data)
  270. --[[
  271. Window/Bg/Decompose/CardDecompose/Quality2
  272. --]]
  273. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality2").gameObject
  274. if tolua.getpeer(tmp) == nil then
  275. tolua.setpeer(tmp, {})
  276. end
  277. self.quality2 = tmp
  278. end
  279. ---@private
  280. function UIChipDecomposeTipsView:InitGenerate__10(Root, data)
  281. --[[
  282. Window/Bg/Decompose/CardDecompose/Quality2/CheckBox
  283. --]]
  284. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality2/CheckBox").gameObject
  285. if tolua.getpeer(tmp) == nil then
  286. tolua.setpeer(tmp, {})
  287. end
  288. self.quality2.checkBox = tmp
  289. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  290. end
  291. ---@private
  292. function UIChipDecomposeTipsView:InitGenerate__11(Root, data)
  293. --[[
  294. Window/Bg/Decompose/CardDecompose/Quality2/CheckBox/Check
  295. --]]
  296. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality2/CheckBox/Check").gameObject
  297. if tolua.getpeer(tmp) == nil then
  298. tolua.setpeer(tmp, {})
  299. end
  300. self.quality2.checkBox.check = tmp
  301. end
  302. ---@private
  303. function UIChipDecomposeTipsView:InitGenerate__12(Root, data)
  304. --[[
  305. Window/Bg/Decompose/CardDecompose/Quality2/Content
  306. --]]
  307. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality2/Content").gameObject
  308. if tolua.getpeer(tmp) == nil then
  309. tolua.setpeer(tmp, {})
  310. end
  311. self.quality2.content = tmp
  312. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  313. end
  314. ---@private
  315. function UIChipDecomposeTipsView:InitGenerate__13(Root, data)
  316. --[[
  317. Window/Bg/Decompose/CardDecompose/Quality3
  318. --]]
  319. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality3").gameObject
  320. if tolua.getpeer(tmp) == nil then
  321. tolua.setpeer(tmp, {})
  322. end
  323. self.quality3 = tmp
  324. end
  325. ---@private
  326. function UIChipDecomposeTipsView:InitGenerate__14(Root, data)
  327. --[[
  328. Window/Bg/Decompose/CardDecompose/Quality3/CheckBox
  329. --]]
  330. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality3/CheckBox").gameObject
  331. if tolua.getpeer(tmp) == nil then
  332. tolua.setpeer(tmp, {})
  333. end
  334. self.quality3.checkBox = tmp
  335. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  336. end
  337. ---@private
  338. function UIChipDecomposeTipsView:InitGenerate__15(Root, data)
  339. --[[
  340. Window/Bg/Decompose/CardDecompose/Quality3/CheckBox/Check
  341. --]]
  342. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality3/CheckBox/Check").gameObject
  343. if tolua.getpeer(tmp) == nil then
  344. tolua.setpeer(tmp, {})
  345. end
  346. self.quality3.checkBox.check = tmp
  347. end
  348. ---@private
  349. function UIChipDecomposeTipsView:InitGenerate__16(Root, data)
  350. --[[
  351. Window/Bg/Decompose/CardDecompose/Quality3/Content
  352. --]]
  353. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality3/Content").gameObject
  354. if tolua.getpeer(tmp) == nil then
  355. tolua.setpeer(tmp, {})
  356. end
  357. self.quality3.content = tmp
  358. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  359. end
  360. ---@private
  361. function UIChipDecomposeTipsView:InitGenerate__17(Root, data)
  362. --[[
  363. Window/Bg/Decompose/CardDecompose/Quality4
  364. --]]
  365. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality4").gameObject
  366. if tolua.getpeer(tmp) == nil then
  367. tolua.setpeer(tmp, {})
  368. end
  369. self.quality4 = tmp
  370. end
  371. ---@private
  372. function UIChipDecomposeTipsView:InitGenerate__18(Root, data)
  373. --[[
  374. Window/Bg/Decompose/CardDecompose/Quality4/CheckBox
  375. --]]
  376. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality4/CheckBox").gameObject
  377. if tolua.getpeer(tmp) == nil then
  378. tolua.setpeer(tmp, {})
  379. end
  380. self.quality4.checkBox = tmp
  381. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  382. end
  383. ---@private
  384. function UIChipDecomposeTipsView:InitGenerate__19(Root, data)
  385. --[[
  386. Window/Bg/Decompose/CardDecompose/Quality4/CheckBox/Check
  387. --]]
  388. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality4/CheckBox/Check").gameObject
  389. if tolua.getpeer(tmp) == nil then
  390. tolua.setpeer(tmp, {})
  391. end
  392. self.quality4.checkBox.check = tmp
  393. end
  394. ---@private
  395. function UIChipDecomposeTipsView:InitGenerate__20(Root, data)
  396. --[[
  397. Window/Bg/Decompose/CardDecompose/Quality4/Content
  398. --]]
  399. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality4/Content").gameObject
  400. if tolua.getpeer(tmp) == nil then
  401. tolua.setpeer(tmp, {})
  402. end
  403. self.quality4.content = tmp
  404. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  405. end
  406. ---@private
  407. function UIChipDecomposeTipsView:InitGenerate__21(Root, data)
  408. --[[
  409. Window/Bg/Decompose/CardDecompose/Quality5
  410. --]]
  411. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality5").gameObject
  412. if tolua.getpeer(tmp) == nil then
  413. tolua.setpeer(tmp, {})
  414. end
  415. self.quality5 = tmp
  416. end
  417. ---@private
  418. function UIChipDecomposeTipsView:InitGenerate__22(Root, data)
  419. --[[
  420. Window/Bg/Decompose/CardDecompose/Quality5/CheckBox
  421. --]]
  422. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality5/CheckBox").gameObject
  423. if tolua.getpeer(tmp) == nil then
  424. tolua.setpeer(tmp, {})
  425. end
  426. self.quality5.checkBox = tmp
  427. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  428. end
  429. ---@private
  430. function UIChipDecomposeTipsView:InitGenerate__23(Root, data)
  431. --[[
  432. Window/Bg/Decompose/CardDecompose/Quality5/CheckBox/Check
  433. --]]
  434. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality5/CheckBox/Check").gameObject
  435. if tolua.getpeer(tmp) == nil then
  436. tolua.setpeer(tmp, {})
  437. end
  438. self.quality5.checkBox.check = tmp
  439. end
  440. ---@private
  441. function UIChipDecomposeTipsView:InitGenerate__24(Root, data)
  442. --[[
  443. Window/Bg/Decompose/CardDecompose/Quality5/Content
  444. --]]
  445. local tmp = Root:Find("Window/Bg/Decompose/CardDecompose/Quality5/Content").gameObject
  446. if tolua.getpeer(tmp) == nil then
  447. tolua.setpeer(tmp, {})
  448. end
  449. self.quality5.content = tmp
  450. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  451. end
  452. ---@private
  453. function UIChipDecomposeTipsView:InitGenerate__25(Root, data)
  454. --[[
  455. Window/Bg/Return/ReturnBox/Award1
  456. --]]
  457. local tmp = Root:Find("Window/Bg/Return/ReturnBox/Award1").gameObject
  458. if tolua.getpeer(tmp) == nil then
  459. tolua.setpeer(tmp, {})
  460. end
  461. self.award1 = tmp
  462. end
  463. ---@private
  464. function UIChipDecomposeTipsView:InitGenerate__26(Root, data)
  465. --[[
  466. Window/Bg/Return/ReturnBox/Award1/Item/IconItem
  467. --]]
  468. local tmp = Root:Find("Window/Bg/Return/ReturnBox/Award1/Item/IconItem").gameObject
  469. if tolua.getpeer(tmp) == nil then
  470. tolua.setpeer(tmp, {})
  471. end
  472. self.awardItem1 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  473. self.awardItem1.prefabName = "IconItem"
  474. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  475. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  476. end
  477. ---@private
  478. function UIChipDecomposeTipsView:InitGenerate__27(Root, data)
  479. --[[
  480. Window/Bg/Return/ReturnBox/Award1/Number/Text
  481. --]]
  482. local tmp = Root:Find("Window/Bg/Return/ReturnBox/Award1/Number/Text").gameObject
  483. if tolua.getpeer(tmp) == nil then
  484. tolua.setpeer(tmp, {})
  485. end
  486. self.award1.text = tmp
  487. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  488. end
  489. ---@private
  490. function UIChipDecomposeTipsView:InitGenerate__28(Root, data)
  491. --[[
  492. Window/Bg/Return/ReturnBox/Award2
  493. --]]
  494. local tmp = Root:Find("Window/Bg/Return/ReturnBox/Award2").gameObject
  495. if tolua.getpeer(tmp) == nil then
  496. tolua.setpeer(tmp, {})
  497. end
  498. self.award2 = tmp
  499. end
  500. ---@private
  501. function UIChipDecomposeTipsView:InitGenerate__29(Root, data)
  502. --[[
  503. Window/Bg/Return/ReturnBox/Award2/Item/IconItem
  504. --]]
  505. local tmp = Root:Find("Window/Bg/Return/ReturnBox/Award2/Item/IconItem").gameObject
  506. if tolua.getpeer(tmp) == nil then
  507. tolua.setpeer(tmp, {})
  508. end
  509. self.awardItem2 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  510. self.awardItem2.prefabName = "IconItem"
  511. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  512. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  513. end
  514. ---@private
  515. function UIChipDecomposeTipsView:InitGenerate__30(Root, data)
  516. --[[
  517. Window/Bg/Return/ReturnBox/Award2/Number/Text
  518. --]]
  519. local tmp = Root:Find("Window/Bg/Return/ReturnBox/Award2/Number/Text").gameObject
  520. if tolua.getpeer(tmp) == nil then
  521. tolua.setpeer(tmp, {})
  522. end
  523. self.award2.text = tmp
  524. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  525. end
  526. ---@private
  527. function UIChipDecomposeTipsView:InitGenerate__31(Root, data)
  528. --[[
  529. Window/Bg/Return/ReturnBox/Award3
  530. --]]
  531. local tmp = Root:Find("Window/Bg/Return/ReturnBox/Award3").gameObject
  532. if tolua.getpeer(tmp) == nil then
  533. tolua.setpeer(tmp, {})
  534. end
  535. self.award3 = tmp
  536. end
  537. ---@private
  538. function UIChipDecomposeTipsView:InitGenerate__32(Root, data)
  539. --[[
  540. Window/Bg/Return/ReturnBox/Award3/Item/IconItem
  541. --]]
  542. local tmp = Root:Find("Window/Bg/Return/ReturnBox/Award3/Item/IconItem").gameObject
  543. if tolua.getpeer(tmp) == nil then
  544. tolua.setpeer(tmp, {})
  545. end
  546. self.awardItem3 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  547. self.awardItem3.prefabName = "IconItem"
  548. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  549. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  550. end
  551. ---@private
  552. function UIChipDecomposeTipsView:InitGenerate__33(Root, data)
  553. --[[
  554. Window/Bg/Return/ReturnBox/Award3/Number/Text
  555. --]]
  556. local tmp = Root:Find("Window/Bg/Return/ReturnBox/Award3/Number/Text").gameObject
  557. if tolua.getpeer(tmp) == nil then
  558. tolua.setpeer(tmp, {})
  559. end
  560. self.award3.text = tmp
  561. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  562. end
  563. ---@private
  564. function UIChipDecomposeTipsView:InitGenerate__34(Root, data)
  565. --[[
  566. Window/Bg/BtnBox
  567. --]]
  568. local tmp = Root:Find("Window/Bg/BtnBox").gameObject
  569. if tolua.getpeer(tmp) == nil then
  570. tolua.setpeer(tmp, {})
  571. end
  572. self.btnBox = tmp
  573. end
  574. ---@private
  575. function UIChipDecomposeTipsView:InitGenerate__35(Root, data)
  576. --[[
  577. Window/Bg/BtnBox/BtnDecompose
  578. --]]
  579. local tmp = Root:Find("Window/Bg/BtnBox/BtnDecompose").gameObject
  580. if tolua.getpeer(tmp) == nil then
  581. tolua.setpeer(tmp, {})
  582. end
  583. self.btnDecompose = tmp
  584. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  585. end
  586. ---@private
  587. function UIChipDecomposeTipsView:InitGenerate__36(Root, data)
  588. --[[
  589. Window/Bg/BtnBox/BtnCancle
  590. --]]
  591. local tmp = Root:Find("Window/Bg/BtnBox/BtnCancle").gameObject
  592. if tolua.getpeer(tmp) == nil then
  593. tolua.setpeer(tmp, {})
  594. end
  595. self.btnCancle = tmp
  596. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  597. end
  598. ---@private
  599. function UIChipDecomposeTipsView:GenerateDestroy()
  600. if tolua.getpeer(self.award3.text) ~= nil then
  601. tolua.setpeer(self.award3.text, nil)
  602. end
  603. if tolua.getpeer(self.award2.text) ~= nil then
  604. tolua.setpeer(self.award2.text, nil)
  605. end
  606. if tolua.getpeer(self.award1.text) ~= nil then
  607. tolua.setpeer(self.award1.text, nil)
  608. end
  609. if tolua.getpeer(self.quality5.content) ~= nil then
  610. tolua.setpeer(self.quality5.content, nil)
  611. end
  612. if tolua.getpeer(self.quality5.checkBox.check) ~= nil then
  613. tolua.setpeer(self.quality5.checkBox.check, nil)
  614. end
  615. if tolua.getpeer(self.quality5.checkBox) ~= nil then
  616. tolua.setpeer(self.quality5.checkBox, nil)
  617. end
  618. if tolua.getpeer(self.quality4.content) ~= nil then
  619. tolua.setpeer(self.quality4.content, nil)
  620. end
  621. if tolua.getpeer(self.quality4.checkBox.check) ~= nil then
  622. tolua.setpeer(self.quality4.checkBox.check, nil)
  623. end
  624. if tolua.getpeer(self.quality4.checkBox) ~= nil then
  625. tolua.setpeer(self.quality4.checkBox, nil)
  626. end
  627. if tolua.getpeer(self.quality3.content) ~= nil then
  628. tolua.setpeer(self.quality3.content, nil)
  629. end
  630. if tolua.getpeer(self.quality3.checkBox.check) ~= nil then
  631. tolua.setpeer(self.quality3.checkBox.check, nil)
  632. end
  633. if tolua.getpeer(self.quality3.checkBox) ~= nil then
  634. tolua.setpeer(self.quality3.checkBox, nil)
  635. end
  636. if tolua.getpeer(self.quality2.content) ~= nil then
  637. tolua.setpeer(self.quality2.content, nil)
  638. end
  639. if tolua.getpeer(self.quality2.checkBox.check) ~= nil then
  640. tolua.setpeer(self.quality2.checkBox.check, nil)
  641. end
  642. if tolua.getpeer(self.quality2.checkBox) ~= nil then
  643. tolua.setpeer(self.quality2.checkBox, nil)
  644. end
  645. if tolua.getpeer(self.quality1.content) ~= nil then
  646. tolua.setpeer(self.quality1.content, nil)
  647. end
  648. if tolua.getpeer(self.quality1.checkBox.check) ~= nil then
  649. tolua.setpeer(self.quality1.checkBox.check, nil)
  650. end
  651. if tolua.getpeer(self.quality1.checkBox) ~= nil then
  652. tolua.setpeer(self.quality1.checkBox, nil)
  653. end
  654. if tolua.getpeer(self.alpha) ~= nil then
  655. tolua.setpeer(self.alpha, nil)
  656. end
  657. self.alpha = nil
  658. if tolua.getpeer(self.window) ~= nil then
  659. tolua.setpeer(self.window, nil)
  660. end
  661. self.window = nil
  662. if tolua.getpeer(self.btnClose) ~= nil then
  663. tolua.setpeer(self.btnClose, nil)
  664. end
  665. self.btnClose = nil
  666. if tolua.getpeer(self.decompose) ~= nil then
  667. tolua.setpeer(self.decompose, nil)
  668. end
  669. self.decompose = nil
  670. if tolua.getpeer(self.quality1) ~= nil then
  671. tolua.setpeer(self.quality1, nil)
  672. end
  673. self.quality1 = nil
  674. if tolua.getpeer(self.quality2) ~= nil then
  675. tolua.setpeer(self.quality2, nil)
  676. end
  677. self.quality2 = nil
  678. if tolua.getpeer(self.quality3) ~= nil then
  679. tolua.setpeer(self.quality3, nil)
  680. end
  681. self.quality3 = nil
  682. if tolua.getpeer(self.quality4) ~= nil then
  683. tolua.setpeer(self.quality4, nil)
  684. end
  685. self.quality4 = nil
  686. if tolua.getpeer(self.quality5) ~= nil then
  687. tolua.setpeer(self.quality5, nil)
  688. end
  689. self.quality5 = nil
  690. if tolua.getpeer(self.award1) ~= nil then
  691. tolua.setpeer(self.award1, nil)
  692. end
  693. self.award1 = nil
  694. if self.awardItem1.GenerateDestroy ~= nil then
  695. self.awardItem1:GenerateDestroy()
  696. end
  697. if tolua.getpeer(self.awardItem1) ~= nil then
  698. tolua.setpeer(self.awardItem1, nil)
  699. end
  700. self.awardItem1 = nil
  701. if tolua.getpeer(self.award2) ~= nil then
  702. tolua.setpeer(self.award2, nil)
  703. end
  704. self.award2 = nil
  705. if self.awardItem2.GenerateDestroy ~= nil then
  706. self.awardItem2:GenerateDestroy()
  707. end
  708. if tolua.getpeer(self.awardItem2) ~= nil then
  709. tolua.setpeer(self.awardItem2, nil)
  710. end
  711. self.awardItem2 = nil
  712. if tolua.getpeer(self.award3) ~= nil then
  713. tolua.setpeer(self.award3, nil)
  714. end
  715. self.award3 = nil
  716. if self.awardItem3.GenerateDestroy ~= nil then
  717. self.awardItem3:GenerateDestroy()
  718. end
  719. if tolua.getpeer(self.awardItem3) ~= nil then
  720. tolua.setpeer(self.awardItem3, nil)
  721. end
  722. self.awardItem3 = nil
  723. if tolua.getpeer(self.btnBox) ~= nil then
  724. tolua.setpeer(self.btnBox, nil)
  725. end
  726. self.btnBox = nil
  727. if tolua.getpeer(self.btnDecompose) ~= nil then
  728. tolua.setpeer(self.btnDecompose, nil)
  729. end
  730. self.btnDecompose = nil
  731. if tolua.getpeer(self.btnCancle) ~= nil then
  732. tolua.setpeer(self.btnCancle, nil)
  733. end
  734. self.btnCancle = nil
  735. self.transform = nil
  736. self.gameObject = nil
  737. self.inited = false
  738. end
  739. return UIChipDecomposeTipsView