UICardDecomposeTipsView_Generate.lua 20 KB

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