UIRuneShopExploreView_Generate.lua 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. ---@class UIRuneShopExplore__Generate_gold_number
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIRuneShopExplore__Generate_gold_icon
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public image UnityEngine.UI.Image
  7. ---@class UIRuneShopExplore__Generate_gold
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public icon UIRuneShopExplore__Generate_gold_icon
  10. ---@field public number UIRuneShopExplore__Generate_gold_number
  11. ---@class UIRuneShopExplore__Generate_coin_number
  12. ---@field public gameObject UnityEngine.GameObject
  13. ---@field public text UnityEngine.UI.Text
  14. ---@class UIRuneShopExplore__Generate_coin_icon
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public image UnityEngine.UI.Image
  17. ---@class UIRuneShopExplore__Generate_coin
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public icon UIRuneShopExplore__Generate_coin_icon
  20. ---@field public number UIRuneShopExplore__Generate_coin_number
  21. ---@class UIRuneShopExplore__Generate_ro_number
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public text UnityEngine.UI.Text
  24. ---@class UIRuneShopExplore__Generate_ro_icon
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public image UnityEngine.UI.Image
  27. ---@class UIRuneShopExplore__Generate_ro
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public icon UIRuneShopExplore__Generate_ro_icon
  30. ---@field public number UIRuneShopExplore__Generate_ro_number
  31. ---@class UIRuneShopExplore__Generate_textBox
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public text UnityEngine.UI.Text
  34. ---@class UIRuneShopExplore__Generate_rewardsToggle
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public toggle UnityEngine.UI.Toggle
  37. ---@field public off UnityEngine.GameObject
  38. ---@field public on UnityEngine.GameObject
  39. ---@class UIRuneShopExplore__Generate_content
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public toggleGroup UnityEngine.UI.ToggleGroup
  42. ---@class UIRuneShopExplore__Generate_vipNameTxt
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public text TMPro.TextMeshProUGUI
  45. ---@class UIRuneShopExplore__Generate_vipIcon
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public image UnityEngine.UI.Image
  48. ---@class UIRuneShopExplore__Generate_vipFrame
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public image UnityEngine.UI.Image
  51. ---@class UIRuneShopExplore__Generate_btnVIP
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public button UnityEngine.UI.Button
  54. ---@class UIRuneShopExplore__Generate_expUpBlue_num
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public text UnityEngine.UI.Text
  57. ---@class UIRuneShopExplore__Generate_expUpBlue
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public num UIRuneShopExplore__Generate_expUpBlue_num
  60. ---@class UIRuneShopExplore__Generate_btnTaskExp
  61. ---@field public gameObject UnityEngine.GameObject
  62. ---@field public button UnityEngine.UI.Button
  63. ---@field public icon UnityEngine.GameObject
  64. ---@class UIRuneShopExplore__Generate_expSlider
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public slider UnityEngine.UI.Slider
  67. ---@class UIRuneShopExplore__Generate_numexp
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public text UnityEngine.UI.Text
  70. ---@class UIRuneShopExplore__Generate_rewardsmax
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public text UnityEngine.UI.Text
  73. ---@class UIRuneShopExplore__Generate_rewardslv
  74. ---@field public gameObject UnityEngine.GameObject
  75. ---@field public text TMPro.TextMeshProUGUI
  76. ---@class UIRuneShopExplore__Generate_btnClose
  77. ---@field public gameObject UnityEngine.GameObject
  78. ---@field public button UnityEngine.UI.Button
  79. ---@class UIRuneShopExplore__Generate_rewardsBoxItem
  80. ---@field public gameObject UnityEngine.GameObject
  81. ---@field public rectTransform UnityEngine.RectTransform
  82. ---@class UIRuneShopExplore__Generate_AnyBtn
  83. ---@field public gameObject UnityEngine.GameObject
  84. ---@field public button UnityEngine.UI.Button
  85. ---@class UIRuneShopExplore__Generate_uIAnimator
  86. ---@field public gameObject UnityEngine.GameObject
  87. ---@field public animator UnityEngine.Animator
  88. ---@class UIRuneShopExplore__Generate
  89. ---@field private gameObject UnityEngine.GameObject
  90. ---@field private transform UnityEngine.Transform
  91. ---@field private uIAnimator UIRuneShopExplore__Generate_uIAnimator
  92. ---@field private AnyBtn UIRuneShopExplore__Generate_AnyBtn
  93. ---@field private rewardsBox UnityEngine.GameObject
  94. ---@field private rewardsBoxItem UIRuneShopExplore__Generate_rewardsBoxItem
  95. ---@field private btnClose UIRuneShopExplore__Generate_btnClose
  96. ---@field private rewardslv UIRuneShopExplore__Generate_rewardslv
  97. ---@field private rewardsmax UIRuneShopExplore__Generate_rewardsmax
  98. ---@field private numexp UIRuneShopExplore__Generate_numexp
  99. ---@field private expSlider UIRuneShopExplore__Generate_expSlider
  100. ---@field private btnTaskExp UIRuneShopExplore__Generate_btnTaskExp
  101. ---@field private expUpBlue UIRuneShopExplore__Generate_expUpBlue
  102. ---@field private btnVIP UIRuneShopExplore__Generate_btnVIP
  103. ---@field private vipFrame UIRuneShopExplore__Generate_vipFrame
  104. ---@field private vipIcon UIRuneShopExplore__Generate_vipIcon
  105. ---@field private vipNameTxt UIRuneShopExplore__Generate_vipNameTxt
  106. ---@field private content UIRuneShopExplore__Generate_content
  107. ---@field private rewardsToggle UIRuneShopExplore__Generate_rewardsToggle
  108. ---@field private textBox UIRuneShopExplore__Generate_textBox
  109. ---@field private ro UIRuneShopExplore__Generate_ro
  110. ---@field private coin UIRuneShopExplore__Generate_coin
  111. ---@field private gold UIRuneShopExplore__Generate_gold
  112. local UIRuneShopExploreView = class("UIRuneShopExploreView", require("UIViewBase"))
  113. function UIRuneShopExploreView:ctor()
  114. end
  115. ---@private
  116. function UIRuneShopExploreView:SetActive(result)
  117. self.gameObject:SetActive(result)
  118. end
  119. ---@private
  120. function UIRuneShopExploreView:InitGenerate(Root, data)
  121. self.transform = Root
  122. self.inited = true
  123. if self.super.Init then
  124. self.super.Init(self)
  125. end
  126. local tmp
  127. self:InitGenerate__1(Root,data)
  128. self:InitGenerate__2(Root,data)
  129. self:InitGenerate__3(Root,data)
  130. self:InitGenerate__4(Root,data)
  131. self:InitGenerate__5(Root,data)
  132. self:InitGenerate__6(Root,data)
  133. self:InitGenerate__7(Root,data)
  134. self:InitGenerate__8(Root,data)
  135. self:InitGenerate__9(Root,data)
  136. self:InitGenerate__10(Root,data)
  137. self:InitGenerate__11(Root,data)
  138. self:InitGenerate__12(Root,data)
  139. self:InitGenerate__13(Root,data)
  140. self:InitGenerate__14(Root,data)
  141. self:InitGenerate__15(Root,data)
  142. self:InitGenerate__16(Root,data)
  143. self:InitGenerate__17(Root,data)
  144. self:InitGenerate__18(Root,data)
  145. self:InitGenerate__19(Root,data)
  146. self:InitGenerate__20(Root,data)
  147. self:InitGenerate__21(Root,data)
  148. self:InitGenerate__22(Root,data)
  149. self:InitGenerate__23(Root,data)
  150. self:InitGenerate__24(Root,data)
  151. self:InitGenerate__25(Root,data)
  152. self:InitGenerate__26(Root,data)
  153. self:InitGenerate__27(Root,data)
  154. self:InitGenerate__28(Root,data)
  155. self:InitGenerate__29(Root,data)
  156. self:InitGenerate__30(Root,data)
  157. self:InitGenerate__31(Root,data)
  158. end
  159. ---@private
  160. function UIRuneShopExploreView:InitGenerate__1(Root, data)
  161. --[[
  162. UIAnimator
  163. --]]
  164. local tmp = Root:Find("UIAnimator").gameObject
  165. if tolua.getpeer(tmp) == nil then
  166. tolua.setpeer(tmp, {})
  167. end
  168. self.uIAnimator = tmp
  169. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  170. tmp.animator.logWarnings = false
  171. end
  172. ---@private
  173. function UIRuneShopExploreView:InitGenerate__2(Root, data)
  174. --[[
  175. UIAnimator/Alpha
  176. --]]
  177. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  178. if tolua.getpeer(tmp) == nil then
  179. tolua.setpeer(tmp, {})
  180. end
  181. self.AnyBtn = tmp
  182. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  183. end
  184. ---@private
  185. function UIRuneShopExploreView:InitGenerate__3(Root, data)
  186. --[[
  187. UIAnimator/Window/RewardsBox
  188. --]]
  189. local tmp = Root:Find("UIAnimator/Window/RewardsBox").gameObject
  190. if tolua.getpeer(tmp) == nil then
  191. tolua.setpeer(tmp, {})
  192. end
  193. self.rewardsBox = tmp
  194. end
  195. ---@private
  196. function UIRuneShopExploreView:InitGenerate__4(Root, data)
  197. --[[
  198. UIAnimator/Window/RewardsBox/RewardsBoxItem
  199. --]]
  200. local tmp = Root:Find("UIAnimator/Window/RewardsBox/RewardsBoxItem").gameObject
  201. if tolua.getpeer(tmp) == nil then
  202. tolua.setpeer(tmp, {})
  203. end
  204. self.rewardsBoxItem = CommonUtil.BindGridViewItem2LuaStatic("RewardsBoxItem", tmp)
  205. self.rewardsBoxItem.prefabName = "RewardsBoxItem"
  206. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  207. end
  208. ---@private
  209. function UIRuneShopExploreView:InitGenerate__5(Root, data)
  210. --[[
  211. UIAnimator/Window/Bottom/BtnClose
  212. --]]
  213. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnClose").gameObject
  214. if tolua.getpeer(tmp) == nil then
  215. tolua.setpeer(tmp, {})
  216. end
  217. self.btnClose = tmp
  218. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  219. end
  220. ---@private
  221. function UIRuneShopExploreView:InitGenerate__6(Root, data)
  222. --[[
  223. UIAnimator/Window/Bottom/RewardsExpBox/ExpBox/rewardslv
  224. --]]
  225. local tmp = Root:Find("UIAnimator/Window/Bottom/RewardsExpBox/ExpBox/rewardslv").gameObject
  226. if tolua.getpeer(tmp) == nil then
  227. tolua.setpeer(tmp, {})
  228. end
  229. self.rewardslv = tmp
  230. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  231. end
  232. ---@private
  233. function UIRuneShopExploreView:InitGenerate__7(Root, data)
  234. --[[
  235. UIAnimator/Window/Bottom/RewardsExpBox/ExpBox/rewardsmax
  236. --]]
  237. local tmp = Root:Find("UIAnimator/Window/Bottom/RewardsExpBox/ExpBox/rewardsmax").gameObject
  238. if tolua.getpeer(tmp) == nil then
  239. tolua.setpeer(tmp, {})
  240. end
  241. self.rewardsmax = tmp
  242. self.rewardsmax:SetActive(false)
  243. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  244. end
  245. ---@private
  246. function UIRuneShopExploreView:InitGenerate__8(Root, data)
  247. --[[
  248. UIAnimator/Window/Bottom/RewardsExpBox/ExpBox/numexp
  249. --]]
  250. local tmp = Root:Find("UIAnimator/Window/Bottom/RewardsExpBox/ExpBox/numexp").gameObject
  251. if tolua.getpeer(tmp) == nil then
  252. tolua.setpeer(tmp, {})
  253. end
  254. self.numexp = tmp
  255. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  256. end
  257. ---@private
  258. function UIRuneShopExploreView:InitGenerate__9(Root, data)
  259. --[[
  260. UIAnimator/Window/Bottom/RewardsExpBox/ExpBox/ExpSlider
  261. --]]
  262. local tmp = Root:Find("UIAnimator/Window/Bottom/RewardsExpBox/ExpBox/ExpSlider").gameObject
  263. if tolua.getpeer(tmp) == nil then
  264. tolua.setpeer(tmp, {})
  265. end
  266. self.expSlider = tmp
  267. tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
  268. end
  269. ---@private
  270. function UIRuneShopExploreView:InitGenerate__10(Root, data)
  271. --[[
  272. UIAnimator/Window/Bottom/RewardsExpBox/BtnTaskExp
  273. --]]
  274. local tmp = Root:Find("UIAnimator/Window/Bottom/RewardsExpBox/BtnTaskExp").gameObject
  275. if tolua.getpeer(tmp) == nil then
  276. tolua.setpeer(tmp, {})
  277. end
  278. self.btnTaskExp = tmp
  279. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  280. end
  281. ---@private
  282. function UIRuneShopExploreView:InitGenerate__11(Root, data)
  283. --[[
  284. UIAnimator/Window/Bottom/RewardsExpBox/BtnTaskExp/Icon
  285. --]]
  286. local tmp = Root:Find("UIAnimator/Window/Bottom/RewardsExpBox/BtnTaskExp/Icon").gameObject
  287. if tolua.getpeer(tmp) == nil then
  288. tolua.setpeer(tmp, {})
  289. end
  290. self.btnTaskExp.icon = tmp
  291. end
  292. ---@private
  293. function UIRuneShopExploreView:InitGenerate__12(Root, data)
  294. --[[
  295. UIAnimator/Window/Bottom/RewardsExpBox/ExpUpBlue
  296. --]]
  297. local tmp = Root:Find("UIAnimator/Window/Bottom/RewardsExpBox/ExpUpBlue").gameObject
  298. if tolua.getpeer(tmp) == nil then
  299. tolua.setpeer(tmp, {})
  300. end
  301. self.expUpBlue = tmp
  302. end
  303. ---@private
  304. function UIRuneShopExploreView:InitGenerate__13(Root, data)
  305. --[[
  306. UIAnimator/Window/Bottom/RewardsExpBox/ExpUpBlue/RedPoint/LvUp/num
  307. --]]
  308. local tmp = Root:Find("UIAnimator/Window/Bottom/RewardsExpBox/ExpUpBlue/RedPoint/LvUp/num").gameObject
  309. if tolua.getpeer(tmp) == nil then
  310. tolua.setpeer(tmp, {})
  311. end
  312. self.expUpBlue.num = tmp
  313. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  314. end
  315. ---@private
  316. function UIRuneShopExploreView:InitGenerate__14(Root, data)
  317. --[[
  318. UIAnimator/Window/TopView/BtnVIP
  319. --]]
  320. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP").gameObject
  321. if tolua.getpeer(tmp) == nil then
  322. tolua.setpeer(tmp, {})
  323. end
  324. self.btnVIP = tmp
  325. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  326. end
  327. ---@private
  328. function UIRuneShopExploreView:InitGenerate__15(Root, data)
  329. --[[
  330. UIAnimator/Window/TopView/BtnVIP/BG/VipFrame
  331. --]]
  332. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP/BG/VipFrame").gameObject
  333. if tolua.getpeer(tmp) == nil then
  334. tolua.setpeer(tmp, {})
  335. end
  336. self.vipFrame = tmp
  337. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  338. end
  339. ---@private
  340. function UIRuneShopExploreView:InitGenerate__16(Root, data)
  341. --[[
  342. UIAnimator/Window/TopView/BtnVIP/BG/VipIcon
  343. --]]
  344. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP/BG/VipIcon").gameObject
  345. if tolua.getpeer(tmp) == nil then
  346. tolua.setpeer(tmp, {})
  347. end
  348. self.vipIcon = tmp
  349. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  350. end
  351. ---@private
  352. function UIRuneShopExploreView:InitGenerate__17(Root, data)
  353. --[[
  354. UIAnimator/Window/TopView/BtnVIP/BtnName/VipNameTxt
  355. --]]
  356. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP/BtnName/VipNameTxt").gameObject
  357. if tolua.getpeer(tmp) == nil then
  358. tolua.setpeer(tmp, {})
  359. end
  360. self.vipNameTxt = tmp
  361. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  362. end
  363. ---@private
  364. function UIRuneShopExploreView:InitGenerate__18(Root, data)
  365. --[[
  366. UIAnimator/Window/TopView/BtnScrollView/Viewport/Content
  367. --]]
  368. local tmp = Root:Find("UIAnimator/Window/TopView/BtnScrollView/Viewport/Content").gameObject
  369. if tolua.getpeer(tmp) == nil then
  370. tolua.setpeer(tmp, {})
  371. end
  372. self.content = tmp
  373. tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
  374. end
  375. ---@private
  376. function UIRuneShopExploreView:InitGenerate__19(Root, data)
  377. --[[
  378. UIAnimator/Window/TopView/BtnScrollView/Viewport/Content/RewardsToggle
  379. --]]
  380. local tmp = Root:Find("UIAnimator/Window/TopView/BtnScrollView/Viewport/Content/RewardsToggle").gameObject
  381. if tolua.getpeer(tmp) == nil then
  382. tolua.setpeer(tmp, {})
  383. end
  384. self.rewardsToggle = tmp
  385. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  386. end
  387. ---@private
  388. function UIRuneShopExploreView:InitGenerate__20(Root, data)
  389. --[[
  390. UIAnimator/Window/TopView/BtnScrollView/Viewport/Content/RewardsToggle/Off
  391. --]]
  392. local tmp = Root:Find("UIAnimator/Window/TopView/BtnScrollView/Viewport/Content/RewardsToggle/Off").gameObject
  393. if tolua.getpeer(tmp) == nil then
  394. tolua.setpeer(tmp, {})
  395. end
  396. self.rewardsToggle.off = tmp
  397. end
  398. ---@private
  399. function UIRuneShopExploreView:InitGenerate__21(Root, data)
  400. --[[
  401. UIAnimator/Window/TopView/BtnScrollView/Viewport/Content/RewardsToggle/On
  402. --]]
  403. local tmp = Root:Find("UIAnimator/Window/TopView/BtnScrollView/Viewport/Content/RewardsToggle/On").gameObject
  404. if tolua.getpeer(tmp) == nil then
  405. tolua.setpeer(tmp, {})
  406. end
  407. self.rewardsToggle.on = tmp
  408. end
  409. ---@private
  410. function UIRuneShopExploreView:InitGenerate__22(Root, data)
  411. --[[
  412. UIAnimator/Window/TopView/TalkBox/TextBox
  413. --]]
  414. local tmp = Root:Find("UIAnimator/Window/TopView/TalkBox/TextBox").gameObject
  415. if tolua.getpeer(tmp) == nil then
  416. tolua.setpeer(tmp, {})
  417. end
  418. self.textBox = tmp
  419. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  420. end
  421. ---@private
  422. function UIRuneShopExploreView:InitGenerate__23(Root, data)
  423. --[[
  424. UIAnimator/Window/TopView/ResourceBox/Ro
  425. --]]
  426. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Ro").gameObject
  427. if tolua.getpeer(tmp) == nil then
  428. tolua.setpeer(tmp, {})
  429. end
  430. self.ro = tmp
  431. end
  432. ---@private
  433. function UIRuneShopExploreView:InitGenerate__24(Root, data)
  434. --[[
  435. UIAnimator/Window/TopView/ResourceBox/Ro/Icon
  436. --]]
  437. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Ro/Icon").gameObject
  438. if tolua.getpeer(tmp) == nil then
  439. tolua.setpeer(tmp, {})
  440. end
  441. self.ro.icon = tmp
  442. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  443. end
  444. ---@private
  445. function UIRuneShopExploreView:InitGenerate__25(Root, data)
  446. --[[
  447. UIAnimator/Window/TopView/ResourceBox/Ro/Number
  448. --]]
  449. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Ro/Number").gameObject
  450. if tolua.getpeer(tmp) == nil then
  451. tolua.setpeer(tmp, {})
  452. end
  453. self.ro.number = tmp
  454. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  455. end
  456. ---@private
  457. function UIRuneShopExploreView:InitGenerate__26(Root, data)
  458. --[[
  459. UIAnimator/Window/TopView/ResourceBox/Coin
  460. --]]
  461. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Coin").gameObject
  462. if tolua.getpeer(tmp) == nil then
  463. tolua.setpeer(tmp, {})
  464. end
  465. self.coin = tmp
  466. end
  467. ---@private
  468. function UIRuneShopExploreView:InitGenerate__27(Root, data)
  469. --[[
  470. UIAnimator/Window/TopView/ResourceBox/Coin/Icon
  471. --]]
  472. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Coin/Icon").gameObject
  473. if tolua.getpeer(tmp) == nil then
  474. tolua.setpeer(tmp, {})
  475. end
  476. self.coin.icon = tmp
  477. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  478. end
  479. ---@private
  480. function UIRuneShopExploreView:InitGenerate__28(Root, data)
  481. --[[
  482. UIAnimator/Window/TopView/ResourceBox/Coin/Number
  483. --]]
  484. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Coin/Number").gameObject
  485. if tolua.getpeer(tmp) == nil then
  486. tolua.setpeer(tmp, {})
  487. end
  488. self.coin.number = tmp
  489. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  490. end
  491. ---@private
  492. function UIRuneShopExploreView:InitGenerate__29(Root, data)
  493. --[[
  494. UIAnimator/Window/TopView/ResourceBox/Gold
  495. --]]
  496. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Gold").gameObject
  497. if tolua.getpeer(tmp) == nil then
  498. tolua.setpeer(tmp, {})
  499. end
  500. self.gold = tmp
  501. end
  502. ---@private
  503. function UIRuneShopExploreView:InitGenerate__30(Root, data)
  504. --[[
  505. UIAnimator/Window/TopView/ResourceBox/Gold/Icon
  506. --]]
  507. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Gold/Icon").gameObject
  508. if tolua.getpeer(tmp) == nil then
  509. tolua.setpeer(tmp, {})
  510. end
  511. self.gold.icon = tmp
  512. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  513. end
  514. ---@private
  515. function UIRuneShopExploreView:InitGenerate__31(Root, data)
  516. --[[
  517. UIAnimator/Window/TopView/ResourceBox/Gold/Number
  518. --]]
  519. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Gold/Number").gameObject
  520. if tolua.getpeer(tmp) == nil then
  521. tolua.setpeer(tmp, {})
  522. end
  523. self.gold.number = tmp
  524. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  525. end
  526. ---@private
  527. function UIRuneShopExploreView:GenerateDestroy()
  528. if tolua.getpeer(self.gold.number) ~= nil then
  529. tolua.setpeer(self.gold.number, nil)
  530. end
  531. if tolua.getpeer(self.gold.icon) ~= nil then
  532. tolua.setpeer(self.gold.icon, nil)
  533. end
  534. if tolua.getpeer(self.coin.number) ~= nil then
  535. tolua.setpeer(self.coin.number, nil)
  536. end
  537. if tolua.getpeer(self.coin.icon) ~= nil then
  538. tolua.setpeer(self.coin.icon, nil)
  539. end
  540. if tolua.getpeer(self.ro.number) ~= nil then
  541. tolua.setpeer(self.ro.number, nil)
  542. end
  543. if tolua.getpeer(self.ro.icon) ~= nil then
  544. tolua.setpeer(self.ro.icon, nil)
  545. end
  546. if tolua.getpeer(self.rewardsToggle.on) ~= nil then
  547. tolua.setpeer(self.rewardsToggle.on, nil)
  548. end
  549. if tolua.getpeer(self.rewardsToggle.off) ~= nil then
  550. tolua.setpeer(self.rewardsToggle.off, nil)
  551. end
  552. if tolua.getpeer(self.expUpBlue.num) ~= nil then
  553. tolua.setpeer(self.expUpBlue.num, nil)
  554. end
  555. if tolua.getpeer(self.btnTaskExp.icon) ~= nil then
  556. tolua.setpeer(self.btnTaskExp.icon, nil)
  557. end
  558. if tolua.getpeer(self.uIAnimator) ~= nil then
  559. tolua.setpeer(self.uIAnimator, nil)
  560. end
  561. self.uIAnimator = nil
  562. if tolua.getpeer(self.AnyBtn) ~= nil then
  563. tolua.setpeer(self.AnyBtn, nil)
  564. end
  565. self.AnyBtn = nil
  566. if tolua.getpeer(self.rewardsBox) ~= nil then
  567. tolua.setpeer(self.rewardsBox, nil)
  568. end
  569. self.rewardsBox = nil
  570. if self.rewardsBoxItem.GenerateDestroy ~= nil then
  571. self.rewardsBoxItem:GenerateDestroy()
  572. end
  573. if tolua.getpeer(self.rewardsBoxItem) ~= nil then
  574. tolua.setpeer(self.rewardsBoxItem, nil)
  575. end
  576. self.rewardsBoxItem = nil
  577. if tolua.getpeer(self.btnClose) ~= nil then
  578. tolua.setpeer(self.btnClose, nil)
  579. end
  580. self.btnClose = nil
  581. if tolua.getpeer(self.rewardslv) ~= nil then
  582. tolua.setpeer(self.rewardslv, nil)
  583. end
  584. self.rewardslv = nil
  585. if tolua.getpeer(self.rewardsmax) ~= nil then
  586. tolua.setpeer(self.rewardsmax, nil)
  587. end
  588. self.rewardsmax = nil
  589. if tolua.getpeer(self.numexp) ~= nil then
  590. tolua.setpeer(self.numexp, nil)
  591. end
  592. self.numexp = nil
  593. if tolua.getpeer(self.expSlider) ~= nil then
  594. tolua.setpeer(self.expSlider, nil)
  595. end
  596. self.expSlider = nil
  597. if tolua.getpeer(self.btnTaskExp) ~= nil then
  598. tolua.setpeer(self.btnTaskExp, nil)
  599. end
  600. self.btnTaskExp = nil
  601. if tolua.getpeer(self.expUpBlue) ~= nil then
  602. tolua.setpeer(self.expUpBlue, nil)
  603. end
  604. self.expUpBlue = nil
  605. if tolua.getpeer(self.btnVIP) ~= nil then
  606. tolua.setpeer(self.btnVIP, nil)
  607. end
  608. self.btnVIP = nil
  609. if tolua.getpeer(self.vipFrame) ~= nil then
  610. tolua.setpeer(self.vipFrame, nil)
  611. end
  612. self.vipFrame = nil
  613. if tolua.getpeer(self.vipIcon) ~= nil then
  614. tolua.setpeer(self.vipIcon, nil)
  615. end
  616. self.vipIcon = nil
  617. if tolua.getpeer(self.vipNameTxt) ~= nil then
  618. tolua.setpeer(self.vipNameTxt, nil)
  619. end
  620. self.vipNameTxt = nil
  621. if tolua.getpeer(self.content) ~= nil then
  622. tolua.setpeer(self.content, nil)
  623. end
  624. self.content = nil
  625. if tolua.getpeer(self.rewardsToggle) ~= nil then
  626. tolua.setpeer(self.rewardsToggle, nil)
  627. end
  628. self.rewardsToggle = nil
  629. if tolua.getpeer(self.textBox) ~= nil then
  630. tolua.setpeer(self.textBox, nil)
  631. end
  632. self.textBox = nil
  633. if tolua.getpeer(self.ro) ~= nil then
  634. tolua.setpeer(self.ro, nil)
  635. end
  636. self.ro = nil
  637. if tolua.getpeer(self.coin) ~= nil then
  638. tolua.setpeer(self.coin, nil)
  639. end
  640. self.coin = nil
  641. if tolua.getpeer(self.gold) ~= nil then
  642. tolua.setpeer(self.gold, nil)
  643. end
  644. self.gold = nil
  645. self.transform = nil
  646. self.gameObject = nil
  647. self.inited = false
  648. end
  649. return UIRuneShopExploreView