UISeasonIdolView_Generate.lua 23 KB

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