UISeasonView_Generate.lua 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092
  1. ---@class UISeason__Generate_btnGotoIdol
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UISeason__Generate_btnAstrolabe
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UISeason__Generate_btnTurnWheel
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public button UnityEngine.UI.Button
  10. ---@class UISeason__Generate_btnSecond
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public button UnityEngine.UI.Button
  13. ---@class UISeason__Generate_btnBack
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public button UnityEngine.UI.Button
  16. ---@class UISeason__Generate_seasonPreview_scrollView_content
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup
  19. ---@class UISeason__Generate_seasonPreview_scrollView
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public loopGridView SuperScrollView.LoopGridView
  22. ---@field public content UISeason__Generate_seasonPreview_scrollView_content
  23. ---@class UISeason__Generate_seasonPreview_time
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public text UnityEngine.UI.Text
  26. ---@class UISeason__Generate_seasonPreview_describe
  27. ---@field public gameObject UnityEngine.GameObject
  28. ---@field public text UnityEngine.UI.Text
  29. ---@class UISeason__Generate_seasonPreview_titleSeason
  30. ---@field public gameObject UnityEngine.GameObject
  31. ---@field public text TMPro.TextMeshProUGUI
  32. ---@class UISeason__Generate_seasonPreview_btnPlayRule
  33. ---@field public gameObject UnityEngine.GameObject
  34. ---@field public button UnityEngine.UI.Button
  35. ---@class UISeason__Generate_seasonPreview
  36. ---@field public gameObject UnityEngine.GameObject
  37. ---@field public btnPlayRule UISeason__Generate_seasonPreview_btnPlayRule
  38. ---@field public titleSeason UISeason__Generate_seasonPreview_titleSeason
  39. ---@field public describe UISeason__Generate_seasonPreview_describe
  40. ---@field public time UISeason__Generate_seasonPreview_time
  41. ---@field public scrollView UISeason__Generate_seasonPreview_scrollView
  42. ---@class UISeason__Generate_content
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup
  45. ---@class UISeason__Generate_seasonInfo_scrollView
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public loopVerticalScrollRect UnityEngine.UI.LoopVerticalScrollRect
  48. ---@class UISeason__Generate_toggle3
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public toggle UnityEngine.UI.Toggle
  51. ---@field public on UnityEngine.GameObject
  52. ---@class UISeason__Generate_toggle2
  53. ---@field public gameObject UnityEngine.GameObject
  54. ---@field public toggle UnityEngine.UI.Toggle
  55. ---@field public on UnityEngine.GameObject
  56. ---@class UISeason__Generate_toggle1
  57. ---@field public gameObject UnityEngine.GameObject
  58. ---@field public toggle UnityEngine.UI.Toggle
  59. ---@field public on UnityEngine.GameObject
  60. ---@class UISeason__Generate_seasonInfo_boliBox_timeBox_time
  61. ---@field public gameObject UnityEngine.GameObject
  62. ---@field public text UnityEngine.UI.Text
  63. ---@class UISeason__Generate_seasonInfo_boliBox_timeBox_text
  64. ---@field public gameObject UnityEngine.GameObject
  65. ---@field public uILocalizeScript UILocalizeScript
  66. ---@class UISeason__Generate_seasonInfo_boliBox_timeBox
  67. ---@field public gameObject UnityEngine.GameObject
  68. ---@field public text UISeason__Generate_seasonInfo_boliBox_timeBox_text
  69. ---@field public time UISeason__Generate_seasonInfo_boliBox_timeBox_time
  70. ---@class UISeason__Generate_seasonInfo_boliBox_overBox
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public text UnityEngine.UI.Text
  73. ---@class UISeason__Generate_seasonInfo_boliBox
  74. ---@field public gameObject UnityEngine.GameObject
  75. ---@field public talkBox UnityEngine.GameObject
  76. ---@field public overBox UISeason__Generate_seasonInfo_boliBox_overBox
  77. ---@field public timeBox UISeason__Generate_seasonInfo_boliBox_timeBox
  78. ---@class UISeason__Generate_toggleGroup
  79. ---@field public gameObject UnityEngine.GameObject
  80. ---@field public toggleGroup UnityEngine.UI.ToggleGroup
  81. ---@class UISeason__Generate_daysBar
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public image UnityEngine.UI.Image
  84. ---@class UISeason__Generate_seasonInfo_btnPlayRule
  85. ---@field public gameObject UnityEngine.GameObject
  86. ---@field public button UnityEngine.UI.Button
  87. ---@class UISeason__Generate_seasonInfo_titleSeason
  88. ---@field public gameObject UnityEngine.GameObject
  89. ---@field public text TMPro.TextMeshProUGUI
  90. ---@class UISeason__Generate_seasonInfo_describe
  91. ---@field public gameObject UnityEngine.GameObject
  92. ---@field public text UnityEngine.UI.Text
  93. ---@class UISeason__Generate_seasonInfo
  94. ---@field public gameObject UnityEngine.GameObject
  95. ---@field public describe UISeason__Generate_seasonInfo_describe
  96. ---@field public titleSeason UISeason__Generate_seasonInfo_titleSeason
  97. ---@field public btnPlayRule UISeason__Generate_seasonInfo_btnPlayRule
  98. ---@field public boliBox UISeason__Generate_seasonInfo_boliBox
  99. ---@field public scrollView UISeason__Generate_seasonInfo_scrollView
  100. ---@class UISeason__Generate_seasonResult_dsc
  101. ---@field public gameObject UnityEngine.GameObject
  102. ---@field public text UnityEngine.UI.Text
  103. ---@class UISeason__Generate_seasonResult_time
  104. ---@field public gameObject UnityEngine.GameObject
  105. ---@field public text UnityEngine.UI.Text
  106. ---@class UISeason__Generate_seasonResult_btnPlayRule
  107. ---@field public gameObject UnityEngine.GameObject
  108. ---@field public button UnityEngine.UI.Button
  109. ---@class UISeason__Generate_seasonResult_titleSeason
  110. ---@field public gameObject UnityEngine.GameObject
  111. ---@field public text TMPro.TextMeshProUGUI
  112. ---@class UISeason__Generate_seasonResult
  113. ---@field public gameObject UnityEngine.GameObject
  114. ---@field public titleSeason UISeason__Generate_seasonResult_titleSeason
  115. ---@field public btnPlayRule UISeason__Generate_seasonResult_btnPlayRule
  116. ---@field public time UISeason__Generate_seasonResult_time
  117. ---@field public dsc UISeason__Generate_seasonResult_dsc
  118. ---@class UISeason__Generate_AnyBtn
  119. ---@field public gameObject UnityEngine.GameObject
  120. ---@field public button UnityEngine.UI.Button
  121. ---@class UISeason__Generate_uIAnimator
  122. ---@field public gameObject UnityEngine.GameObject
  123. ---@field public animator UnityEngine.Animator
  124. ---@class UISeason__Generate
  125. ---@field private gameObject UnityEngine.GameObject
  126. ---@field private transform UnityEngine.Transform
  127. ---@field private uIAnimator UISeason__Generate_uIAnimator
  128. ---@field private AnyBtn UISeason__Generate_AnyBtn
  129. ---@field private seasonResult UISeason__Generate_seasonResult
  130. ---@field private info UnityEngine.GameObject
  131. ---@field private talkBox UnityEngine.GameObject
  132. ---@field private timeBox UnityEngine.GameObject
  133. ---@field private box UnityEngine.GameObject
  134. ---@field private seasonInfo UISeason__Generate_seasonInfo
  135. ---@field private flag UnityEngine.GameObject
  136. ---@field private reward UnityEngine.GameObject
  137. ---@field private daysBar UISeason__Generate_daysBar
  138. ---@field private toggleGroup UISeason__Generate_toggleGroup
  139. ---@field private toggle1 UISeason__Generate_toggle1
  140. ---@field private toggle2 UISeason__Generate_toggle2
  141. ---@field private toggle3 UISeason__Generate_toggle3
  142. ---@field private content UISeason__Generate_content
  143. ---@field private seasonPreview UISeason__Generate_seasonPreview
  144. ---@field private seasonImg UnityEngine.GameObject
  145. ---@field private preview UnityEngine.GameObject
  146. ---@field private cornerMark UnityEngine.GameObject
  147. ---@field private uISeasonRewardItem UnityEngine.GameObject
  148. ---@field private btnBack UISeason__Generate_btnBack
  149. ---@field private btnSecond UISeason__Generate_btnSecond
  150. ---@field private btnTurnWheel UISeason__Generate_btnTurnWheel
  151. ---@field private btnAstrolabe UISeason__Generate_btnAstrolabe
  152. ---@field private btnGotoIdol UISeason__Generate_btnGotoIdol
  153. local UISeasonView = class("UISeasonView", require("UIViewBase"))
  154. function UISeasonView:ctor()
  155. end
  156. ---@private
  157. function UISeasonView:SetActive(result)
  158. self.gameObject:SetActive(result)
  159. end
  160. ---@private
  161. function UISeasonView:InitGenerate(Root, data)
  162. self.transform = Root
  163. self.inited = true
  164. if self.super.Init then
  165. self.super.Init(self)
  166. end
  167. local tmp
  168. self:InitGenerate__1(Root,data)
  169. self:InitGenerate__2(Root,data)
  170. self:InitGenerate__3(Root,data)
  171. self:InitGenerate__4(Root,data)
  172. self:InitGenerate__5(Root,data)
  173. self:InitGenerate__6(Root,data)
  174. self:InitGenerate__7(Root,data)
  175. self:InitGenerate__8(Root,data)
  176. self:InitGenerate__9(Root,data)
  177. self:InitGenerate__10(Root,data)
  178. self:InitGenerate__11(Root,data)
  179. self:InitGenerate__12(Root,data)
  180. self:InitGenerate__13(Root,data)
  181. self:InitGenerate__14(Root,data)
  182. self:InitGenerate__15(Root,data)
  183. self:InitGenerate__16(Root,data)
  184. self:InitGenerate__17(Root,data)
  185. self:InitGenerate__18(Root,data)
  186. self:InitGenerate__19(Root,data)
  187. self:InitGenerate__20(Root,data)
  188. self:InitGenerate__21(Root,data)
  189. self:InitGenerate__22(Root,data)
  190. self:InitGenerate__23(Root,data)
  191. self:InitGenerate__24(Root,data)
  192. self:InitGenerate__25(Root,data)
  193. self:InitGenerate__26(Root,data)
  194. self:InitGenerate__27(Root,data)
  195. self:InitGenerate__28(Root,data)
  196. self:InitGenerate__29(Root,data)
  197. self:InitGenerate__30(Root,data)
  198. self:InitGenerate__31(Root,data)
  199. self:InitGenerate__32(Root,data)
  200. self:InitGenerate__33(Root,data)
  201. self:InitGenerate__34(Root,data)
  202. self:InitGenerate__35(Root,data)
  203. self:InitGenerate__36(Root,data)
  204. self:InitGenerate__37(Root,data)
  205. self:InitGenerate__38(Root,data)
  206. self:InitGenerate__39(Root,data)
  207. self:InitGenerate__40(Root,data)
  208. self:InitGenerate__41(Root,data)
  209. self:InitGenerate__42(Root,data)
  210. self:InitGenerate__43(Root,data)
  211. self:InitGenerate__44(Root,data)
  212. self:InitGenerate__45(Root,data)
  213. self:InitGenerate__46(Root,data)
  214. self:InitGenerate__47(Root,data)
  215. self:InitGenerate__48(Root,data)
  216. self:InitGenerate__49(Root,data)
  217. end
  218. ---@private
  219. function UISeasonView:InitGenerate__1(Root, data)
  220. --[[
  221. UIAnimator
  222. --]]
  223. local tmp = Root:Find("UIAnimator").gameObject
  224. if tolua.getpeer(tmp) == nil then
  225. tolua.setpeer(tmp, {})
  226. end
  227. self.uIAnimator = tmp
  228. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  229. tmp.animator.logWarnings = false
  230. end
  231. ---@private
  232. function UISeasonView:InitGenerate__2(Root, data)
  233. --[[
  234. UIAnimator/Alpha
  235. --]]
  236. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  237. if tolua.getpeer(tmp) == nil then
  238. tolua.setpeer(tmp, {})
  239. end
  240. self.AnyBtn = tmp
  241. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  242. end
  243. ---@private
  244. function UISeasonView:InitGenerate__3(Root, data)
  245. --[[
  246. UIAnimator/Window/CenterView/SeasonResult
  247. --]]
  248. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonResult").gameObject
  249. if tolua.getpeer(tmp) == nil then
  250. tolua.setpeer(tmp, {})
  251. end
  252. self.seasonResult = tmp
  253. end
  254. ---@private
  255. function UISeasonView:InitGenerate__4(Root, data)
  256. --[[
  257. UIAnimator/Window/CenterView/SeasonResult/TopView/SeasonInfo/TitleSeason
  258. --]]
  259. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonResult/TopView/SeasonInfo/TitleSeason").gameObject
  260. if tolua.getpeer(tmp) == nil then
  261. tolua.setpeer(tmp, {})
  262. end
  263. self.seasonResult.titleSeason = tmp
  264. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  265. end
  266. ---@private
  267. function UISeasonView:InitGenerate__5(Root, data)
  268. --[[
  269. UIAnimator/Window/CenterView/SeasonResult/TopView/SeasonInfo/BtnPlayRule
  270. --]]
  271. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonResult/TopView/SeasonInfo/BtnPlayRule").gameObject
  272. if tolua.getpeer(tmp) == nil then
  273. tolua.setpeer(tmp, {})
  274. end
  275. self.seasonResult.btnPlayRule = tmp
  276. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  277. end
  278. ---@private
  279. function UISeasonView:InitGenerate__6(Root, data)
  280. --[[
  281. UIAnimator/Window/CenterView/SeasonResult/Info
  282. --]]
  283. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonResult/Info").gameObject
  284. if tolua.getpeer(tmp) == nil then
  285. tolua.setpeer(tmp, {})
  286. end
  287. self.info = tmp
  288. end
  289. ---@private
  290. function UISeasonView:InitGenerate__7(Root, data)
  291. --[[
  292. UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox
  293. --]]
  294. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox").gameObject
  295. if tolua.getpeer(tmp) == nil then
  296. tolua.setpeer(tmp, {})
  297. end
  298. self.talkBox = tmp
  299. end
  300. ---@private
  301. function UISeasonView:InitGenerate__8(Root, data)
  302. --[[
  303. UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox/TimeBox
  304. --]]
  305. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox/TimeBox").gameObject
  306. if tolua.getpeer(tmp) == nil then
  307. tolua.setpeer(tmp, {})
  308. end
  309. self.timeBox = tmp
  310. end
  311. ---@private
  312. function UISeasonView:InitGenerate__9(Root, data)
  313. --[[
  314. UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox/TimeBox/time
  315. --]]
  316. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox/TimeBox/time").gameObject
  317. if tolua.getpeer(tmp) == nil then
  318. tolua.setpeer(tmp, {})
  319. end
  320. self.seasonResult.time = tmp
  321. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  322. end
  323. ---@private
  324. function UISeasonView:InitGenerate__10(Root, data)
  325. --[[
  326. UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox/Box
  327. --]]
  328. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox/Box").gameObject
  329. if tolua.getpeer(tmp) == nil then
  330. tolua.setpeer(tmp, {})
  331. end
  332. self.box = tmp
  333. end
  334. ---@private
  335. function UISeasonView:InitGenerate__11(Root, data)
  336. --[[
  337. UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox/Box/Dsc
  338. --]]
  339. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonResult/Info/TalkBox/Box/Dsc").gameObject
  340. if tolua.getpeer(tmp) == nil then
  341. tolua.setpeer(tmp, {})
  342. end
  343. self.seasonResult.dsc = tmp
  344. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  345. end
  346. ---@private
  347. function UISeasonView:InitGenerate__12(Root, data)
  348. --[[
  349. UIAnimator/Window/CenterView/SeasonInfo
  350. --]]
  351. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo").gameObject
  352. if tolua.getpeer(tmp) == nil then
  353. tolua.setpeer(tmp, {})
  354. end
  355. self.seasonInfo = tmp
  356. end
  357. ---@private
  358. function UISeasonView:InitGenerate__13(Root, data)
  359. --[[
  360. UIAnimator/Window/CenterView/SeasonInfo/TopView/Flag
  361. --]]
  362. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/TopView/Flag").gameObject
  363. if tolua.getpeer(tmp) == nil then
  364. tolua.setpeer(tmp, {})
  365. end
  366. self.flag = tmp
  367. end
  368. ---@private
  369. function UISeasonView:InitGenerate__14(Root, data)
  370. --[[
  371. UIAnimator/Window/CenterView/SeasonInfo/TopView/Flag/Dsc/Describe
  372. --]]
  373. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/TopView/Flag/Dsc/Describe").gameObject
  374. if tolua.getpeer(tmp) == nil then
  375. tolua.setpeer(tmp, {})
  376. end
  377. self.seasonInfo.describe = tmp
  378. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  379. end
  380. ---@private
  381. function UISeasonView:InitGenerate__15(Root, data)
  382. --[[
  383. UIAnimator/Window/CenterView/SeasonInfo/TopView/Flag/TitleSeason
  384. --]]
  385. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/TopView/Flag/TitleSeason").gameObject
  386. if tolua.getpeer(tmp) == nil then
  387. tolua.setpeer(tmp, {})
  388. end
  389. self.seasonInfo.titleSeason = tmp
  390. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  391. end
  392. ---@private
  393. function UISeasonView:InitGenerate__16(Root, data)
  394. --[[
  395. UIAnimator/Window/CenterView/SeasonInfo/TopView/Flag/BtnPlayRule
  396. --]]
  397. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/TopView/Flag/BtnPlayRule").gameObject
  398. if tolua.getpeer(tmp) == nil then
  399. tolua.setpeer(tmp, {})
  400. end
  401. self.seasonInfo.btnPlayRule = tmp
  402. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  403. end
  404. ---@private
  405. function UISeasonView:InitGenerate__17(Root, data)
  406. --[[
  407. UIAnimator/Window/CenterView/SeasonInfo/Reward
  408. --]]
  409. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward").gameObject
  410. if tolua.getpeer(tmp) == nil then
  411. tolua.setpeer(tmp, {})
  412. end
  413. self.reward = tmp
  414. end
  415. ---@private
  416. function UISeasonView:InitGenerate__18(Root, data)
  417. --[[
  418. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/DaysBar
  419. --]]
  420. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/DaysBar").gameObject
  421. if tolua.getpeer(tmp) == nil then
  422. tolua.setpeer(tmp, {})
  423. end
  424. self.daysBar = tmp
  425. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  426. end
  427. ---@private
  428. function UISeasonView:InitGenerate__19(Root, data)
  429. --[[
  430. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup
  431. --]]
  432. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup").gameObject
  433. if tolua.getpeer(tmp) == nil then
  434. tolua.setpeer(tmp, {})
  435. end
  436. self.toggleGroup = tmp
  437. tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
  438. end
  439. ---@private
  440. function UISeasonView:InitGenerate__20(Root, data)
  441. --[[
  442. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox
  443. --]]
  444. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox").gameObject
  445. if tolua.getpeer(tmp) == nil then
  446. tolua.setpeer(tmp, {})
  447. end
  448. self.seasonInfo.boliBox = tmp
  449. end
  450. ---@private
  451. function UISeasonView:InitGenerate__21(Root, data)
  452. --[[
  453. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox
  454. --]]
  455. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox").gameObject
  456. if tolua.getpeer(tmp) == nil then
  457. tolua.setpeer(tmp, {})
  458. end
  459. self.seasonInfo.boliBox.talkBox = tmp
  460. end
  461. ---@private
  462. function UISeasonView:InitGenerate__22(Root, data)
  463. --[[
  464. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox/OverBox
  465. --]]
  466. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox/OverBox").gameObject
  467. if tolua.getpeer(tmp) == nil then
  468. tolua.setpeer(tmp, {})
  469. end
  470. self.seasonInfo.boliBox.overBox = tmp
  471. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  472. end
  473. ---@private
  474. function UISeasonView:InitGenerate__23(Root, data)
  475. --[[
  476. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox/TimeBox
  477. --]]
  478. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox/TimeBox").gameObject
  479. if tolua.getpeer(tmp) == nil then
  480. tolua.setpeer(tmp, {})
  481. end
  482. self.seasonInfo.boliBox.timeBox = tmp
  483. end
  484. ---@private
  485. function UISeasonView:InitGenerate__24(Root, data)
  486. --[[
  487. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox/TimeBox/Text
  488. --]]
  489. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox/TimeBox/Text").gameObject
  490. if tolua.getpeer(tmp) == nil then
  491. tolua.setpeer(tmp, {})
  492. end
  493. self.seasonInfo.boliBox.timeBox.text = tmp
  494. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  495. end
  496. ---@private
  497. function UISeasonView:InitGenerate__25(Root, data)
  498. --[[
  499. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox/TimeBox/time
  500. --]]
  501. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/BoliBox/TalkBox/TimeBox/time").gameObject
  502. if tolua.getpeer(tmp) == nil then
  503. tolua.setpeer(tmp, {})
  504. end
  505. self.seasonInfo.boliBox.timeBox.time = tmp
  506. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  507. end
  508. ---@private
  509. function UISeasonView:InitGenerate__26(Root, data)
  510. --[[
  511. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle1
  512. --]]
  513. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle1").gameObject
  514. if tolua.getpeer(tmp) == nil then
  515. tolua.setpeer(tmp, {})
  516. end
  517. self.toggle1 = tmp
  518. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  519. end
  520. ---@private
  521. function UISeasonView:InitGenerate__27(Root, data)
  522. --[[
  523. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle1/On
  524. --]]
  525. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle1/On").gameObject
  526. if tolua.getpeer(tmp) == nil then
  527. tolua.setpeer(tmp, {})
  528. end
  529. self.toggle1.on = tmp
  530. end
  531. ---@private
  532. function UISeasonView:InitGenerate__28(Root, data)
  533. --[[
  534. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle2
  535. --]]
  536. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle2").gameObject
  537. if tolua.getpeer(tmp) == nil then
  538. tolua.setpeer(tmp, {})
  539. end
  540. self.toggle2 = tmp
  541. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  542. end
  543. ---@private
  544. function UISeasonView:InitGenerate__29(Root, data)
  545. --[[
  546. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle2/On
  547. --]]
  548. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle2/On").gameObject
  549. if tolua.getpeer(tmp) == nil then
  550. tolua.setpeer(tmp, {})
  551. end
  552. self.toggle2.on = tmp
  553. end
  554. ---@private
  555. function UISeasonView:InitGenerate__30(Root, data)
  556. --[[
  557. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle3
  558. --]]
  559. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle3").gameObject
  560. if tolua.getpeer(tmp) == nil then
  561. tolua.setpeer(tmp, {})
  562. end
  563. self.toggle3 = tmp
  564. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  565. end
  566. ---@private
  567. function UISeasonView:InitGenerate__31(Root, data)
  568. --[[
  569. UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle3/On
  570. --]]
  571. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Types/SeasonBar/ToggleGroup/Toggle3/On").gameObject
  572. if tolua.getpeer(tmp) == nil then
  573. tolua.setpeer(tmp, {})
  574. end
  575. self.toggle3.on = tmp
  576. end
  577. ---@private
  578. function UISeasonView:InitGenerate__32(Root, data)
  579. --[[
  580. UIAnimator/Window/CenterView/SeasonInfo/Reward/Scroll View
  581. --]]
  582. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Scroll View").gameObject
  583. if tolua.getpeer(tmp) == nil then
  584. tolua.setpeer(tmp, {})
  585. end
  586. self.seasonInfo.scrollView = tmp
  587. tmp.loopVerticalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopVerticalScrollRect)
  588. end
  589. ---@private
  590. function UISeasonView:InitGenerate__33(Root, data)
  591. --[[
  592. UIAnimator/Window/CenterView/SeasonInfo/Reward/Scroll View/Viewport/Content
  593. --]]
  594. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonInfo/Reward/Scroll View/Viewport/Content").gameObject
  595. if tolua.getpeer(tmp) == nil then
  596. tolua.setpeer(tmp, {})
  597. end
  598. self.content = tmp
  599. tmp.verticalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.VerticalLayoutGroup)
  600. end
  601. ---@private
  602. function UISeasonView:InitGenerate__34(Root, data)
  603. --[[
  604. UIAnimator/Window/CenterView/SeasonPreview
  605. --]]
  606. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview").gameObject
  607. if tolua.getpeer(tmp) == nil then
  608. tolua.setpeer(tmp, {})
  609. end
  610. self.seasonPreview = tmp
  611. end
  612. ---@private
  613. function UISeasonView:InitGenerate__35(Root, data)
  614. --[[
  615. UIAnimator/Window/CenterView/SeasonPreview/TopView/bg/SeasonImg
  616. --]]
  617. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/TopView/bg/SeasonImg").gameObject
  618. if tolua.getpeer(tmp) == nil then
  619. tolua.setpeer(tmp, {})
  620. end
  621. self.seasonImg = tmp
  622. end
  623. ---@private
  624. function UISeasonView:InitGenerate__36(Root, data)
  625. --[[
  626. UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview
  627. --]]
  628. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview").gameObject
  629. if tolua.getpeer(tmp) == nil then
  630. tolua.setpeer(tmp, {})
  631. end
  632. self.preview = tmp
  633. end
  634. ---@private
  635. function UISeasonView:InitGenerate__37(Root, data)
  636. --[[
  637. UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/BtnPlayRule
  638. --]]
  639. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/BtnPlayRule").gameObject
  640. if tolua.getpeer(tmp) == nil then
  641. tolua.setpeer(tmp, {})
  642. end
  643. self.seasonPreview.btnPlayRule = tmp
  644. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  645. end
  646. ---@private
  647. function UISeasonView:InitGenerate__38(Root, data)
  648. --[[
  649. UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/TitleSeason
  650. --]]
  651. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/TitleSeason").gameObject
  652. if tolua.getpeer(tmp) == nil then
  653. tolua.setpeer(tmp, {})
  654. end
  655. self.seasonPreview.titleSeason = tmp
  656. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  657. end
  658. ---@private
  659. function UISeasonView:InitGenerate__39(Root, data)
  660. --[[
  661. UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/Describe
  662. --]]
  663. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/Describe").gameObject
  664. if tolua.getpeer(tmp) == nil then
  665. tolua.setpeer(tmp, {})
  666. end
  667. self.seasonPreview.describe = tmp
  668. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  669. end
  670. ---@private
  671. function UISeasonView:InitGenerate__40(Root, data)
  672. --[[
  673. UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/TimeBox/time
  674. --]]
  675. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/TimeBox/time").gameObject
  676. if tolua.getpeer(tmp) == nil then
  677. tolua.setpeer(tmp, {})
  678. end
  679. self.seasonPreview.time = tmp
  680. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  681. end
  682. ---@private
  683. function UISeasonView:InitGenerate__41(Root, data)
  684. --[[
  685. UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/CornerMark
  686. --]]
  687. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/TopView/Preview/CornerMark").gameObject
  688. if tolua.getpeer(tmp) == nil then
  689. tolua.setpeer(tmp, {})
  690. end
  691. self.cornerMark = tmp
  692. end
  693. ---@private
  694. function UISeasonView:InitGenerate__42(Root, data)
  695. --[[
  696. UIAnimator/Window/CenterView/SeasonPreview/Reward/ScrollView
  697. --]]
  698. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/Reward/ScrollView").gameObject
  699. if tolua.getpeer(tmp) == nil then
  700. tolua.setpeer(tmp, {})
  701. end
  702. self.seasonPreview.scrollView = tmp
  703. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  704. end
  705. ---@private
  706. function UISeasonView:InitGenerate__43(Root, data)
  707. --[[
  708. UIAnimator/Window/CenterView/SeasonPreview/Reward/ScrollView/Viewport/Content
  709. --]]
  710. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/Reward/ScrollView/Viewport/Content").gameObject
  711. if tolua.getpeer(tmp) == nil then
  712. tolua.setpeer(tmp, {})
  713. end
  714. self.seasonPreview.scrollView.content = tmp
  715. tmp.verticalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.VerticalLayoutGroup)
  716. end
  717. ---@private
  718. function UISeasonView:InitGenerate__44(Root, data)
  719. --[[
  720. UIAnimator/Window/CenterView/SeasonPreview/Reward/ScrollView/Viewport/Content/UISeasonRewardItem
  721. --]]
  722. local tmp = Root:Find("UIAnimator/Window/CenterView/SeasonPreview/Reward/ScrollView/Viewport/Content/UISeasonRewardItem").gameObject
  723. if tolua.getpeer(tmp) == nil then
  724. tolua.setpeer(tmp, {})
  725. end
  726. self.uISeasonRewardItem = CommonUtil.BindGridViewItem2LuaStatic("UISeasonRewardItem", tmp)
  727. self.uISeasonRewardItem.prefabName = "UISeasonRewardItem"
  728. end
  729. ---@private
  730. function UISeasonView:InitGenerate__45(Root, data)
  731. --[[
  732. UIAnimator/Window/BottomView/BtnBack
  733. --]]
  734. local tmp = Root:Find("UIAnimator/Window/BottomView/BtnBack").gameObject
  735. if tolua.getpeer(tmp) == nil then
  736. tolua.setpeer(tmp, {})
  737. end
  738. self.btnBack = tmp
  739. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  740. end
  741. ---@private
  742. function UISeasonView:InitGenerate__46(Root, data)
  743. --[[
  744. UIAnimator/Window/BottomView/BtnSecond
  745. --]]
  746. local tmp = Root:Find("UIAnimator/Window/BottomView/BtnSecond").gameObject
  747. if tolua.getpeer(tmp) == nil then
  748. tolua.setpeer(tmp, {})
  749. end
  750. self.btnSecond = tmp
  751. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  752. end
  753. ---@private
  754. function UISeasonView:InitGenerate__47(Root, data)
  755. --[[
  756. UIAnimator/Window/BottomView/BtnTurnWheel
  757. --]]
  758. local tmp = Root:Find("UIAnimator/Window/BottomView/BtnTurnWheel").gameObject
  759. if tolua.getpeer(tmp) == nil then
  760. tolua.setpeer(tmp, {})
  761. end
  762. self.btnTurnWheel = tmp
  763. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  764. end
  765. ---@private
  766. function UISeasonView:InitGenerate__48(Root, data)
  767. --[[
  768. UIAnimator/Window/BottomView/BtnAstrolabe
  769. --]]
  770. local tmp = Root:Find("UIAnimator/Window/BottomView/BtnAstrolabe").gameObject
  771. if tolua.getpeer(tmp) == nil then
  772. tolua.setpeer(tmp, {})
  773. end
  774. self.btnAstrolabe = tmp
  775. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  776. end
  777. ---@private
  778. function UISeasonView:InitGenerate__49(Root, data)
  779. --[[
  780. UIAnimator/Window/BottomView/BtnGotoIdol
  781. --]]
  782. local tmp = Root:Find("UIAnimator/Window/BottomView/BtnGotoIdol").gameObject
  783. if tolua.getpeer(tmp) == nil then
  784. tolua.setpeer(tmp, {})
  785. end
  786. self.btnGotoIdol = tmp
  787. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  788. end
  789. ---@private
  790. function UISeasonView:GenerateDestroy()
  791. if tolua.getpeer(self.seasonPreview.scrollView.content) ~= nil then
  792. tolua.setpeer(self.seasonPreview.scrollView.content, nil)
  793. end
  794. if tolua.getpeer(self.seasonPreview.scrollView) ~= nil then
  795. tolua.setpeer(self.seasonPreview.scrollView, nil)
  796. end
  797. if tolua.getpeer(self.seasonPreview.time) ~= nil then
  798. tolua.setpeer(self.seasonPreview.time, nil)
  799. end
  800. if tolua.getpeer(self.seasonPreview.describe) ~= nil then
  801. tolua.setpeer(self.seasonPreview.describe, nil)
  802. end
  803. if tolua.getpeer(self.seasonPreview.titleSeason) ~= nil then
  804. tolua.setpeer(self.seasonPreview.titleSeason, nil)
  805. end
  806. if tolua.getpeer(self.seasonPreview.btnPlayRule) ~= nil then
  807. tolua.setpeer(self.seasonPreview.btnPlayRule, nil)
  808. end
  809. if tolua.getpeer(self.seasonInfo.scrollView) ~= nil then
  810. tolua.setpeer(self.seasonInfo.scrollView, nil)
  811. end
  812. if tolua.getpeer(self.toggle3.on) ~= nil then
  813. tolua.setpeer(self.toggle3.on, nil)
  814. end
  815. if tolua.getpeer(self.toggle2.on) ~= nil then
  816. tolua.setpeer(self.toggle2.on, nil)
  817. end
  818. if tolua.getpeer(self.toggle1.on) ~= nil then
  819. tolua.setpeer(self.toggle1.on, nil)
  820. end
  821. if tolua.getpeer(self.seasonInfo.boliBox.timeBox.time) ~= nil then
  822. tolua.setpeer(self.seasonInfo.boliBox.timeBox.time, nil)
  823. end
  824. if tolua.getpeer(self.seasonInfo.boliBox.timeBox.text) ~= nil then
  825. tolua.setpeer(self.seasonInfo.boliBox.timeBox.text, nil)
  826. end
  827. if tolua.getpeer(self.seasonInfo.boliBox.timeBox) ~= nil then
  828. tolua.setpeer(self.seasonInfo.boliBox.timeBox, nil)
  829. end
  830. if tolua.getpeer(self.seasonInfo.boliBox.overBox) ~= nil then
  831. tolua.setpeer(self.seasonInfo.boliBox.overBox, nil)
  832. end
  833. if tolua.getpeer(self.seasonInfo.boliBox.talkBox) ~= nil then
  834. tolua.setpeer(self.seasonInfo.boliBox.talkBox, nil)
  835. end
  836. if tolua.getpeer(self.seasonInfo.boliBox) ~= nil then
  837. tolua.setpeer(self.seasonInfo.boliBox, nil)
  838. end
  839. if tolua.getpeer(self.seasonInfo.btnPlayRule) ~= nil then
  840. tolua.setpeer(self.seasonInfo.btnPlayRule, nil)
  841. end
  842. if tolua.getpeer(self.seasonInfo.titleSeason) ~= nil then
  843. tolua.setpeer(self.seasonInfo.titleSeason, nil)
  844. end
  845. if tolua.getpeer(self.seasonInfo.describe) ~= nil then
  846. tolua.setpeer(self.seasonInfo.describe, nil)
  847. end
  848. if tolua.getpeer(self.seasonResult.dsc) ~= nil then
  849. tolua.setpeer(self.seasonResult.dsc, nil)
  850. end
  851. if tolua.getpeer(self.seasonResult.time) ~= nil then
  852. tolua.setpeer(self.seasonResult.time, nil)
  853. end
  854. if tolua.getpeer(self.seasonResult.btnPlayRule) ~= nil then
  855. tolua.setpeer(self.seasonResult.btnPlayRule, nil)
  856. end
  857. if tolua.getpeer(self.seasonResult.titleSeason) ~= nil then
  858. tolua.setpeer(self.seasonResult.titleSeason, nil)
  859. end
  860. if tolua.getpeer(self.uIAnimator) ~= nil then
  861. tolua.setpeer(self.uIAnimator, nil)
  862. end
  863. self.uIAnimator = nil
  864. if tolua.getpeer(self.AnyBtn) ~= nil then
  865. tolua.setpeer(self.AnyBtn, nil)
  866. end
  867. self.AnyBtn = nil
  868. if tolua.getpeer(self.seasonResult) ~= nil then
  869. tolua.setpeer(self.seasonResult, nil)
  870. end
  871. self.seasonResult = nil
  872. if tolua.getpeer(self.info) ~= nil then
  873. tolua.setpeer(self.info, nil)
  874. end
  875. self.info = nil
  876. if tolua.getpeer(self.talkBox) ~= nil then
  877. tolua.setpeer(self.talkBox, nil)
  878. end
  879. self.talkBox = nil
  880. if tolua.getpeer(self.timeBox) ~= nil then
  881. tolua.setpeer(self.timeBox, nil)
  882. end
  883. self.timeBox = nil
  884. if tolua.getpeer(self.box) ~= nil then
  885. tolua.setpeer(self.box, nil)
  886. end
  887. self.box = nil
  888. if tolua.getpeer(self.seasonInfo) ~= nil then
  889. tolua.setpeer(self.seasonInfo, nil)
  890. end
  891. self.seasonInfo = nil
  892. if tolua.getpeer(self.flag) ~= nil then
  893. tolua.setpeer(self.flag, nil)
  894. end
  895. self.flag = nil
  896. if tolua.getpeer(self.reward) ~= nil then
  897. tolua.setpeer(self.reward, nil)
  898. end
  899. self.reward = nil
  900. if tolua.getpeer(self.daysBar) ~= nil then
  901. tolua.setpeer(self.daysBar, nil)
  902. end
  903. self.daysBar = nil
  904. if tolua.getpeer(self.toggleGroup) ~= nil then
  905. tolua.setpeer(self.toggleGroup, nil)
  906. end
  907. self.toggleGroup = nil
  908. if tolua.getpeer(self.toggle1) ~= nil then
  909. tolua.setpeer(self.toggle1, nil)
  910. end
  911. self.toggle1 = nil
  912. if tolua.getpeer(self.toggle2) ~= nil then
  913. tolua.setpeer(self.toggle2, nil)
  914. end
  915. self.toggle2 = nil
  916. if tolua.getpeer(self.toggle3) ~= nil then
  917. tolua.setpeer(self.toggle3, nil)
  918. end
  919. self.toggle3 = nil
  920. if tolua.getpeer(self.content) ~= nil then
  921. tolua.setpeer(self.content, nil)
  922. end
  923. self.content = nil
  924. if tolua.getpeer(self.seasonPreview) ~= nil then
  925. tolua.setpeer(self.seasonPreview, nil)
  926. end
  927. self.seasonPreview = nil
  928. if tolua.getpeer(self.seasonImg) ~= nil then
  929. tolua.setpeer(self.seasonImg, nil)
  930. end
  931. self.seasonImg = nil
  932. if tolua.getpeer(self.preview) ~= nil then
  933. tolua.setpeer(self.preview, nil)
  934. end
  935. self.preview = nil
  936. if tolua.getpeer(self.cornerMark) ~= nil then
  937. tolua.setpeer(self.cornerMark, nil)
  938. end
  939. self.cornerMark = nil
  940. if self.uISeasonRewardItem.GenerateDestroy ~= nil then
  941. self.uISeasonRewardItem:GenerateDestroy()
  942. end
  943. if tolua.getpeer(self.uISeasonRewardItem) ~= nil then
  944. tolua.setpeer(self.uISeasonRewardItem, nil)
  945. end
  946. self.uISeasonRewardItem = nil
  947. if tolua.getpeer(self.btnBack) ~= nil then
  948. tolua.setpeer(self.btnBack, nil)
  949. end
  950. self.btnBack = nil
  951. if tolua.getpeer(self.btnSecond) ~= nil then
  952. tolua.setpeer(self.btnSecond, nil)
  953. end
  954. self.btnSecond = nil
  955. if tolua.getpeer(self.btnTurnWheel) ~= nil then
  956. tolua.setpeer(self.btnTurnWheel, nil)
  957. end
  958. self.btnTurnWheel = nil
  959. if tolua.getpeer(self.btnAstrolabe) ~= nil then
  960. tolua.setpeer(self.btnAstrolabe, nil)
  961. end
  962. self.btnAstrolabe = nil
  963. if tolua.getpeer(self.btnGotoIdol) ~= nil then
  964. tolua.setpeer(self.btnGotoIdol, nil)
  965. end
  966. self.btnGotoIdol = nil
  967. self.transform = nil
  968. self.gameObject = nil
  969. self.inited = false
  970. end
  971. return UISeasonView