UIRechargeWalletShopView_Generate.lua 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  1. ---@class UIRechargeWalletShop__Generate_btnIncreaseLimit
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIRechargeWalletShop__Generate_moneylimit
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text TMPro.TextMeshProUGUI
  7. ---@class UIRechargeWalletShop__Generate_moneytime
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text TMPro.TextMeshProUGUI
  10. ---@class UIRechargeWalletShop__Generate_timeSlider
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public scrollbar UnityEngine.UI.Scrollbar
  13. ---@class UIRechargeWalletShop__Generate_moneytoday
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public text TMPro.TextMeshProUGUI
  16. ---@class UIRechargeWalletShop__Generate_gold_number
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public text UnityEngine.UI.Text
  19. ---@class UIRechargeWalletShop__Generate_gold_icon
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public image UnityEngine.UI.Image
  22. ---@class UIRechargeWalletShop__Generate_gold
  23. ---@field public gameObject UnityEngine.GameObject
  24. ---@field public icon UIRechargeWalletShop__Generate_gold_icon
  25. ---@field public number UIRechargeWalletShop__Generate_gold_number
  26. ---@class UIRechargeWalletShop__Generate_coin_number
  27. ---@field public gameObject UnityEngine.GameObject
  28. ---@field public text UnityEngine.UI.Text
  29. ---@class UIRechargeWalletShop__Generate_coin_icon
  30. ---@field public gameObject UnityEngine.GameObject
  31. ---@field public image UnityEngine.UI.Image
  32. ---@class UIRechargeWalletShop__Generate_coin
  33. ---@field public gameObject UnityEngine.GameObject
  34. ---@field public icon UIRechargeWalletShop__Generate_coin_icon
  35. ---@field public number UIRechargeWalletShop__Generate_coin_number
  36. ---@class UIRechargeWalletShop__Generate_textBox
  37. ---@field public gameObject UnityEngine.GameObject
  38. ---@field public text UnityEngine.UI.Text
  39. ---@class UIRechargeWalletShop__Generate_btnInfo
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public button UnityEngine.UI.Button
  42. ---@class UIRechargeWalletShop__Generate_vipNameTxt
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public text TMPro.TextMeshProUGUI
  45. ---@class UIRechargeWalletShop__Generate_vipIcon
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public image UnityEngine.UI.Image
  48. ---@class UIRechargeWalletShop__Generate_vipFrame
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public image UnityEngine.UI.Image
  51. ---@class UIRechargeWalletShop__Generate_btnVIP
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public button UnityEngine.UI.Button
  54. ---@class UIRechargeWalletShop__Generate_btnClose
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public button UnityEngine.UI.Button
  57. ---@class UIRechargeWalletShop__Generate_runeShopGoodsItem9
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public rectTransform UnityEngine.RectTransform
  60. ---@field public button UnityEngine.UI.Button
  61. ---@class UIRechargeWalletShop__Generate_runeShopGoodsItem8
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public rectTransform UnityEngine.RectTransform
  64. ---@field public button UnityEngine.UI.Button
  65. ---@class UIRechargeWalletShop__Generate_runeShopGoodsItem7
  66. ---@field public gameObject UnityEngine.GameObject
  67. ---@field public rectTransform UnityEngine.RectTransform
  68. ---@field public button UnityEngine.UI.Button
  69. ---@class UIRechargeWalletShop__Generate_runeShopGoodsItem6
  70. ---@field public gameObject UnityEngine.GameObject
  71. ---@field public rectTransform UnityEngine.RectTransform
  72. ---@field public button UnityEngine.UI.Button
  73. ---@class UIRechargeWalletShop__Generate_runeShopGoodsItem5
  74. ---@field public gameObject UnityEngine.GameObject
  75. ---@field public rectTransform UnityEngine.RectTransform
  76. ---@field public button UnityEngine.UI.Button
  77. ---@class UIRechargeWalletShop__Generate_runeShopGoodsItem4
  78. ---@field public gameObject UnityEngine.GameObject
  79. ---@field public rectTransform UnityEngine.RectTransform
  80. ---@field public button UnityEngine.UI.Button
  81. ---@class UIRechargeWalletShop__Generate_runeShopGoodsItem3
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public rectTransform UnityEngine.RectTransform
  84. ---@field public button UnityEngine.UI.Button
  85. ---@class UIRechargeWalletShop__Generate_runeShopGoodsItem2
  86. ---@field public gameObject UnityEngine.GameObject
  87. ---@field public rectTransform UnityEngine.RectTransform
  88. ---@field public button UnityEngine.UI.Button
  89. ---@class UIRechargeWalletShop__Generate_runeShopGoodsItem1
  90. ---@field public gameObject UnityEngine.GameObject
  91. ---@field public rectTransform UnityEngine.RectTransform
  92. ---@field public button UnityEngine.UI.Button
  93. ---@class UIRechargeWalletShop__Generate_goldBtn_off_text
  94. ---@field public gameObject UnityEngine.GameObject
  95. ---@field public uILocalizeScript UILocalizeScript
  96. ---@class UIRechargeWalletShop__Generate_goldBtn_off
  97. ---@field public gameObject UnityEngine.GameObject
  98. ---@field public text UIRechargeWalletShop__Generate_goldBtn_off_text
  99. ---@class UIRechargeWalletShop__Generate_goldBtn
  100. ---@field public gameObject UnityEngine.GameObject
  101. ---@field public button UnityEngine.UI.Button
  102. ---@field public off UIRechargeWalletShop__Generate_goldBtn_off
  103. ---@field public on UnityEngine.GameObject
  104. ---@class UIRechargeWalletShop__Generate_giftsBox
  105. ---@field public gameObject UnityEngine.GameObject
  106. ---@field public scrollView UnityEngine.GameObject
  107. ---@class UIRechargeWalletShop__Generate_AnyBtn
  108. ---@field public gameObject UnityEngine.GameObject
  109. ---@field public button UnityEngine.UI.Button
  110. ---@class UIRechargeWalletShop__Generate_uIAnimator
  111. ---@field public gameObject UnityEngine.GameObject
  112. ---@field public animator UnityEngine.Animator
  113. ---@class UIRechargeWalletShop__Generate
  114. ---@field private gameObject UnityEngine.GameObject
  115. ---@field private transform UnityEngine.Transform
  116. ---@field private uIAnimator UIRechargeWalletShop__Generate_uIAnimator
  117. ---@field private AnyBtn UIRechargeWalletShop__Generate_AnyBtn
  118. ---@field private giftsBox UIRechargeWalletShop__Generate_giftsBox
  119. ---@field private goldBtn UIRechargeWalletShop__Generate_goldBtn
  120. ---@field private runeShopGoodsItem1 UIRechargeWalletShop__Generate_runeShopGoodsItem1
  121. ---@field private runeShopGoodsItem2 UIRechargeWalletShop__Generate_runeShopGoodsItem2
  122. ---@field private runeShopGoodsItem3 UIRechargeWalletShop__Generate_runeShopGoodsItem3
  123. ---@field private runeShopGoodsItem4 UIRechargeWalletShop__Generate_runeShopGoodsItem4
  124. ---@field private runeShopGoodsItem5 UIRechargeWalletShop__Generate_runeShopGoodsItem5
  125. ---@field private runeShopGoodsItem6 UIRechargeWalletShop__Generate_runeShopGoodsItem6
  126. ---@field private runeShopGoodsItem7 UIRechargeWalletShop__Generate_runeShopGoodsItem7
  127. ---@field private runeShopGoodsItem8 UIRechargeWalletShop__Generate_runeShopGoodsItem8
  128. ---@field private runeShopGoodsItem9 UIRechargeWalletShop__Generate_runeShopGoodsItem9
  129. ---@field private btnClose UIRechargeWalletShop__Generate_btnClose
  130. ---@field private btnVIP UIRechargeWalletShop__Generate_btnVIP
  131. ---@field private vipFrame UIRechargeWalletShop__Generate_vipFrame
  132. ---@field private vipIcon UIRechargeWalletShop__Generate_vipIcon
  133. ---@field private vipNameTxt UIRechargeWalletShop__Generate_vipNameTxt
  134. ---@field private btnInfo UIRechargeWalletShop__Generate_btnInfo
  135. ---@field private textBox UIRechargeWalletShop__Generate_textBox
  136. ---@field private coin UIRechargeWalletShop__Generate_coin
  137. ---@field private gold UIRechargeWalletShop__Generate_gold
  138. ---@field private moneytoday UIRechargeWalletShop__Generate_moneytoday
  139. ---@field private timeSlider UIRechargeWalletShop__Generate_timeSlider
  140. ---@field private moneytime UIRechargeWalletShop__Generate_moneytime
  141. ---@field private moneylimit UIRechargeWalletShop__Generate_moneylimit
  142. ---@field private btnIncreaseLimit UIRechargeWalletShop__Generate_btnIncreaseLimit
  143. local UIRechargeWalletShopView = class("UIRechargeWalletShopView", require("UIViewBase"))
  144. function UIRechargeWalletShopView:ctor()
  145. end
  146. ---@private
  147. function UIRechargeWalletShopView:SetActive(result)
  148. self.gameObject:SetActive(result)
  149. end
  150. ---@private
  151. function UIRechargeWalletShopView:InitGenerate(Root, data)
  152. self.transform = Root
  153. self.inited = true
  154. if self.super.Init then
  155. self.super.Init(self)
  156. end
  157. local tmp
  158. self:InitGenerate__1(Root,data)
  159. self:InitGenerate__2(Root,data)
  160. self:InitGenerate__3(Root,data)
  161. self:InitGenerate__4(Root,data)
  162. self:InitGenerate__5(Root,data)
  163. self:InitGenerate__6(Root,data)
  164. self:InitGenerate__7(Root,data)
  165. self:InitGenerate__8(Root,data)
  166. self:InitGenerate__9(Root,data)
  167. self:InitGenerate__10(Root,data)
  168. self:InitGenerate__11(Root,data)
  169. self:InitGenerate__12(Root,data)
  170. self:InitGenerate__13(Root,data)
  171. self:InitGenerate__14(Root,data)
  172. self:InitGenerate__15(Root,data)
  173. self:InitGenerate__16(Root,data)
  174. self:InitGenerate__17(Root,data)
  175. self:InitGenerate__18(Root,data)
  176. self:InitGenerate__19(Root,data)
  177. self:InitGenerate__20(Root,data)
  178. self:InitGenerate__21(Root,data)
  179. self:InitGenerate__22(Root,data)
  180. self:InitGenerate__23(Root,data)
  181. self:InitGenerate__24(Root,data)
  182. self:InitGenerate__25(Root,data)
  183. self:InitGenerate__26(Root,data)
  184. self:InitGenerate__27(Root,data)
  185. self:InitGenerate__28(Root,data)
  186. self:InitGenerate__29(Root,data)
  187. self:InitGenerate__30(Root,data)
  188. self:InitGenerate__31(Root,data)
  189. self:InitGenerate__32(Root,data)
  190. self:InitGenerate__33(Root,data)
  191. self:InitGenerate__34(Root,data)
  192. self:InitGenerate__35(Root,data)
  193. end
  194. ---@private
  195. function UIRechargeWalletShopView:InitGenerate__1(Root, data)
  196. --[[
  197. UIAnimator
  198. --]]
  199. local tmp = Root:Find("UIAnimator").gameObject
  200. if tolua.getpeer(tmp) == nil then
  201. tolua.setpeer(tmp, {})
  202. end
  203. self.uIAnimator = tmp
  204. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  205. tmp.animator.logWarnings = false
  206. end
  207. ---@private
  208. function UIRechargeWalletShopView:InitGenerate__2(Root, data)
  209. --[[
  210. UIAnimator/Alpha
  211. --]]
  212. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  213. if tolua.getpeer(tmp) == nil then
  214. tolua.setpeer(tmp, {})
  215. end
  216. self.AnyBtn = tmp
  217. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  218. end
  219. ---@private
  220. function UIRechargeWalletShopView:InitGenerate__3(Root, data)
  221. --[[
  222. UIAnimator/Window/GiftsBox
  223. --]]
  224. local tmp = Root:Find("UIAnimator/Window/GiftsBox").gameObject
  225. if tolua.getpeer(tmp) == nil then
  226. tolua.setpeer(tmp, {})
  227. end
  228. self.giftsBox = tmp
  229. end
  230. ---@private
  231. function UIRechargeWalletShopView:InitGenerate__4(Root, data)
  232. --[[
  233. UIAnimator/Window/GiftsBox/ToggleGroup/GoldBtn
  234. --]]
  235. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ToggleGroup/GoldBtn").gameObject
  236. if tolua.getpeer(tmp) == nil then
  237. tolua.setpeer(tmp, {})
  238. end
  239. self.goldBtn = tmp
  240. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  241. end
  242. ---@private
  243. function UIRechargeWalletShopView:InitGenerate__5(Root, data)
  244. --[[
  245. UIAnimator/Window/GiftsBox/ToggleGroup/GoldBtn/Off
  246. --]]
  247. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ToggleGroup/GoldBtn/Off").gameObject
  248. if tolua.getpeer(tmp) == nil then
  249. tolua.setpeer(tmp, {})
  250. end
  251. self.goldBtn.off = tmp
  252. end
  253. ---@private
  254. function UIRechargeWalletShopView:InitGenerate__6(Root, data)
  255. --[[
  256. UIAnimator/Window/GiftsBox/ToggleGroup/GoldBtn/On
  257. --]]
  258. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ToggleGroup/GoldBtn/On").gameObject
  259. if tolua.getpeer(tmp) == nil then
  260. tolua.setpeer(tmp, {})
  261. end
  262. self.goldBtn.on = tmp
  263. end
  264. ---@private
  265. function UIRechargeWalletShopView:InitGenerate__7(Root, data)
  266. --[[
  267. UIAnimator/Window/GiftsBox/ToggleGroup/GoldBtn/Text
  268. --]]
  269. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ToggleGroup/GoldBtn/Text").gameObject
  270. if tolua.getpeer(tmp) == nil then
  271. tolua.setpeer(tmp, {})
  272. end
  273. self.goldBtn.off.text = tmp
  274. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  275. end
  276. ---@private
  277. function UIRechargeWalletShopView:InitGenerate__8(Root, data)
  278. --[[
  279. UIAnimator/Window/GiftsBox/ScrollView
  280. --]]
  281. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView").gameObject
  282. if tolua.getpeer(tmp) == nil then
  283. tolua.setpeer(tmp, {})
  284. end
  285. self.giftsBox.scrollView = tmp
  286. end
  287. ---@private
  288. function UIRechargeWalletShopView:InitGenerate__9(Root, data)
  289. --[[
  290. UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem1
  291. --]]
  292. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem1").gameObject
  293. if tolua.getpeer(tmp) == nil then
  294. tolua.setpeer(tmp, {})
  295. end
  296. self.runeShopGoodsItem1 = CommonUtil.BindGridViewItem2LuaStatic("RuneShopGoodsItem", tmp)
  297. self.runeShopGoodsItem1.prefabName = "RuneShopGoodsItem"
  298. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  299. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  300. end
  301. ---@private
  302. function UIRechargeWalletShopView:InitGenerate__10(Root, data)
  303. --[[
  304. UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem2
  305. --]]
  306. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem2").gameObject
  307. if tolua.getpeer(tmp) == nil then
  308. tolua.setpeer(tmp, {})
  309. end
  310. self.runeShopGoodsItem2 = CommonUtil.BindGridViewItem2LuaStatic("RuneShopGoodsItem", tmp)
  311. self.runeShopGoodsItem2.prefabName = "RuneShopGoodsItem"
  312. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  313. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  314. end
  315. ---@private
  316. function UIRechargeWalletShopView:InitGenerate__11(Root, data)
  317. --[[
  318. UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem3
  319. --]]
  320. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem3").gameObject
  321. if tolua.getpeer(tmp) == nil then
  322. tolua.setpeer(tmp, {})
  323. end
  324. self.runeShopGoodsItem3 = CommonUtil.BindGridViewItem2LuaStatic("RuneShopGoodsItem", tmp)
  325. self.runeShopGoodsItem3.prefabName = "RuneShopGoodsItem"
  326. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  327. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  328. end
  329. ---@private
  330. function UIRechargeWalletShopView:InitGenerate__12(Root, data)
  331. --[[
  332. UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem4
  333. --]]
  334. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem4").gameObject
  335. if tolua.getpeer(tmp) == nil then
  336. tolua.setpeer(tmp, {})
  337. end
  338. self.runeShopGoodsItem4 = CommonUtil.BindGridViewItem2LuaStatic("RuneShopGoodsItem", tmp)
  339. self.runeShopGoodsItem4.prefabName = "RuneShopGoodsItem"
  340. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  341. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  342. end
  343. ---@private
  344. function UIRechargeWalletShopView:InitGenerate__13(Root, data)
  345. --[[
  346. UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem5
  347. --]]
  348. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem5").gameObject
  349. if tolua.getpeer(tmp) == nil then
  350. tolua.setpeer(tmp, {})
  351. end
  352. self.runeShopGoodsItem5 = CommonUtil.BindGridViewItem2LuaStatic("RuneShopGoodsItem", tmp)
  353. self.runeShopGoodsItem5.prefabName = "RuneShopGoodsItem"
  354. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  355. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  356. end
  357. ---@private
  358. function UIRechargeWalletShopView:InitGenerate__14(Root, data)
  359. --[[
  360. UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem6
  361. --]]
  362. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem6").gameObject
  363. if tolua.getpeer(tmp) == nil then
  364. tolua.setpeer(tmp, {})
  365. end
  366. self.runeShopGoodsItem6 = CommonUtil.BindGridViewItem2LuaStatic("RuneShopGoodsItem", tmp)
  367. self.runeShopGoodsItem6.prefabName = "RuneShopGoodsItem"
  368. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  369. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  370. end
  371. ---@private
  372. function UIRechargeWalletShopView:InitGenerate__15(Root, data)
  373. --[[
  374. UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem7
  375. --]]
  376. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem7").gameObject
  377. if tolua.getpeer(tmp) == nil then
  378. tolua.setpeer(tmp, {})
  379. end
  380. self.runeShopGoodsItem7 = CommonUtil.BindGridViewItem2LuaStatic("RuneShopGoodsItem", tmp)
  381. self.runeShopGoodsItem7.prefabName = "RuneShopGoodsItem"
  382. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  383. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  384. end
  385. ---@private
  386. function UIRechargeWalletShopView:InitGenerate__16(Root, data)
  387. --[[
  388. UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem8
  389. --]]
  390. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem8").gameObject
  391. if tolua.getpeer(tmp) == nil then
  392. tolua.setpeer(tmp, {})
  393. end
  394. self.runeShopGoodsItem8 = CommonUtil.BindGridViewItem2LuaStatic("RuneShopGoodsItem", tmp)
  395. self.runeShopGoodsItem8.prefabName = "RuneShopGoodsItem"
  396. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  397. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  398. end
  399. ---@private
  400. function UIRechargeWalletShopView:InitGenerate__17(Root, data)
  401. --[[
  402. UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem9
  403. --]]
  404. local tmp = Root:Find("UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem9").gameObject
  405. if tolua.getpeer(tmp) == nil then
  406. tolua.setpeer(tmp, {})
  407. end
  408. self.runeShopGoodsItem9 = CommonUtil.BindGridViewItem2LuaStatic("RuneShopGoodsItem", tmp)
  409. self.runeShopGoodsItem9.prefabName = "RuneShopGoodsItem"
  410. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  411. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  412. end
  413. ---@private
  414. function UIRechargeWalletShopView:InitGenerate__18(Root, data)
  415. --[[
  416. UIAnimator/Window/Bottom/BtnClose
  417. --]]
  418. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnClose").gameObject
  419. if tolua.getpeer(tmp) == nil then
  420. tolua.setpeer(tmp, {})
  421. end
  422. self.btnClose = tmp
  423. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  424. end
  425. ---@private
  426. function UIRechargeWalletShopView:InitGenerate__19(Root, data)
  427. --[[
  428. UIAnimator/Window/TopView/BtnVIP
  429. --]]
  430. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP").gameObject
  431. if tolua.getpeer(tmp) == nil then
  432. tolua.setpeer(tmp, {})
  433. end
  434. self.btnVIP = tmp
  435. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  436. end
  437. ---@private
  438. function UIRechargeWalletShopView:InitGenerate__20(Root, data)
  439. --[[
  440. UIAnimator/Window/TopView/BtnVIP/BG/VipFrame
  441. --]]
  442. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP/BG/VipFrame").gameObject
  443. if tolua.getpeer(tmp) == nil then
  444. tolua.setpeer(tmp, {})
  445. end
  446. self.vipFrame = tmp
  447. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  448. end
  449. ---@private
  450. function UIRechargeWalletShopView:InitGenerate__21(Root, data)
  451. --[[
  452. UIAnimator/Window/TopView/BtnVIP/BG/VipIcon
  453. --]]
  454. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP/BG/VipIcon").gameObject
  455. if tolua.getpeer(tmp) == nil then
  456. tolua.setpeer(tmp, {})
  457. end
  458. self.vipIcon = tmp
  459. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  460. end
  461. ---@private
  462. function UIRechargeWalletShopView:InitGenerate__22(Root, data)
  463. --[[
  464. UIAnimator/Window/TopView/BtnVIP/BtnName/VipNameTxt
  465. --]]
  466. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP/BtnName/VipNameTxt").gameObject
  467. if tolua.getpeer(tmp) == nil then
  468. tolua.setpeer(tmp, {})
  469. end
  470. self.vipNameTxt = tmp
  471. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  472. end
  473. ---@private
  474. function UIRechargeWalletShopView:InitGenerate__23(Root, data)
  475. --[[
  476. UIAnimator/Window/TopView/BtnInfo
  477. --]]
  478. local tmp = Root:Find("UIAnimator/Window/TopView/BtnInfo").gameObject
  479. if tolua.getpeer(tmp) == nil then
  480. tolua.setpeer(tmp, {})
  481. end
  482. self.btnInfo = tmp
  483. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  484. end
  485. ---@private
  486. function UIRechargeWalletShopView:InitGenerate__24(Root, data)
  487. --[[
  488. UIAnimator/Window/TopView/TalkBox/TextBox
  489. --]]
  490. local tmp = Root:Find("UIAnimator/Window/TopView/TalkBox/TextBox").gameObject
  491. if tolua.getpeer(tmp) == nil then
  492. tolua.setpeer(tmp, {})
  493. end
  494. self.textBox = tmp
  495. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  496. end
  497. ---@private
  498. function UIRechargeWalletShopView:InitGenerate__25(Root, data)
  499. --[[
  500. UIAnimator/Window/TopView/ResourceBox/Coin
  501. --]]
  502. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Coin").gameObject
  503. if tolua.getpeer(tmp) == nil then
  504. tolua.setpeer(tmp, {})
  505. end
  506. self.coin = tmp
  507. end
  508. ---@private
  509. function UIRechargeWalletShopView:InitGenerate__26(Root, data)
  510. --[[
  511. UIAnimator/Window/TopView/ResourceBox/Coin/Icon
  512. --]]
  513. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Coin/Icon").gameObject
  514. if tolua.getpeer(tmp) == nil then
  515. tolua.setpeer(tmp, {})
  516. end
  517. self.coin.icon = tmp
  518. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  519. end
  520. ---@private
  521. function UIRechargeWalletShopView:InitGenerate__27(Root, data)
  522. --[[
  523. UIAnimator/Window/TopView/ResourceBox/Coin/Number
  524. --]]
  525. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Coin/Number").gameObject
  526. if tolua.getpeer(tmp) == nil then
  527. tolua.setpeer(tmp, {})
  528. end
  529. self.coin.number = tmp
  530. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  531. end
  532. ---@private
  533. function UIRechargeWalletShopView:InitGenerate__28(Root, data)
  534. --[[
  535. UIAnimator/Window/TopView/ResourceBox/Gold
  536. --]]
  537. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Gold").gameObject
  538. if tolua.getpeer(tmp) == nil then
  539. tolua.setpeer(tmp, {})
  540. end
  541. self.gold = tmp
  542. end
  543. ---@private
  544. function UIRechargeWalletShopView:InitGenerate__29(Root, data)
  545. --[[
  546. UIAnimator/Window/TopView/ResourceBox/Gold/Icon
  547. --]]
  548. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Gold/Icon").gameObject
  549. if tolua.getpeer(tmp) == nil then
  550. tolua.setpeer(tmp, {})
  551. end
  552. self.gold.icon = tmp
  553. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  554. end
  555. ---@private
  556. function UIRechargeWalletShopView:InitGenerate__30(Root, data)
  557. --[[
  558. UIAnimator/Window/TopView/ResourceBox/Gold/Number
  559. --]]
  560. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Gold/Number").gameObject
  561. if tolua.getpeer(tmp) == nil then
  562. tolua.setpeer(tmp, {})
  563. end
  564. self.gold.number = tmp
  565. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  566. end
  567. ---@private
  568. function UIRechargeWalletShopView:InitGenerate__31(Root, data)
  569. --[[
  570. UIAnimator/Window/TopView/Wallet/Today/moneytoday
  571. --]]
  572. local tmp = Root:Find("UIAnimator/Window/TopView/Wallet/Today/moneytoday").gameObject
  573. if tolua.getpeer(tmp) == nil then
  574. tolua.setpeer(tmp, {})
  575. end
  576. self.moneytoday = tmp
  577. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  578. end
  579. ---@private
  580. function UIRechargeWalletShopView:InitGenerate__32(Root, data)
  581. --[[
  582. UIAnimator/Window/TopView/Wallet/Time/Scrollbar
  583. --]]
  584. local tmp = Root:Find("UIAnimator/Window/TopView/Wallet/Time/Scrollbar").gameObject
  585. if tolua.getpeer(tmp) == nil then
  586. tolua.setpeer(tmp, {})
  587. end
  588. self.timeSlider = tmp
  589. tmp.scrollbar = tmp:GetComponent(Enum.TypeInfo.Scrollbar)
  590. end
  591. ---@private
  592. function UIRechargeWalletShopView:InitGenerate__33(Root, data)
  593. --[[
  594. UIAnimator/Window/TopView/Wallet/Time/moneytime
  595. --]]
  596. local tmp = Root:Find("UIAnimator/Window/TopView/Wallet/Time/moneytime").gameObject
  597. if tolua.getpeer(tmp) == nil then
  598. tolua.setpeer(tmp, {})
  599. end
  600. self.moneytime = tmp
  601. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  602. end
  603. ---@private
  604. function UIRechargeWalletShopView:InitGenerate__34(Root, data)
  605. --[[
  606. UIAnimator/Window/TopView/Wallet/Limit/moneylimit
  607. --]]
  608. local tmp = Root:Find("UIAnimator/Window/TopView/Wallet/Limit/moneylimit").gameObject
  609. if tolua.getpeer(tmp) == nil then
  610. tolua.setpeer(tmp, {})
  611. end
  612. self.moneylimit = tmp
  613. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  614. end
  615. ---@private
  616. function UIRechargeWalletShopView:InitGenerate__35(Root, data)
  617. --[[
  618. UIAnimator/Window/TopView/Wallet/BtnIncreaseLimit
  619. --]]
  620. local tmp = Root:Find("UIAnimator/Window/TopView/Wallet/BtnIncreaseLimit").gameObject
  621. if tolua.getpeer(tmp) == nil then
  622. tolua.setpeer(tmp, {})
  623. end
  624. self.btnIncreaseLimit = tmp
  625. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  626. end
  627. ---@private
  628. function UIRechargeWalletShopView:GenerateDestroy()
  629. if tolua.getpeer(self.gold.number) ~= nil then
  630. tolua.setpeer(self.gold.number, nil)
  631. end
  632. if tolua.getpeer(self.gold.icon) ~= nil then
  633. tolua.setpeer(self.gold.icon, nil)
  634. end
  635. if tolua.getpeer(self.coin.number) ~= nil then
  636. tolua.setpeer(self.coin.number, nil)
  637. end
  638. if tolua.getpeer(self.coin.icon) ~= nil then
  639. tolua.setpeer(self.coin.icon, nil)
  640. end
  641. if tolua.getpeer(self.giftsBox.scrollView) ~= nil then
  642. tolua.setpeer(self.giftsBox.scrollView, nil)
  643. end
  644. if tolua.getpeer(self.goldBtn.off.text) ~= nil then
  645. tolua.setpeer(self.goldBtn.off.text, nil)
  646. end
  647. if tolua.getpeer(self.goldBtn.on) ~= nil then
  648. tolua.setpeer(self.goldBtn.on, nil)
  649. end
  650. if tolua.getpeer(self.goldBtn.off) ~= nil then
  651. tolua.setpeer(self.goldBtn.off, nil)
  652. end
  653. if tolua.getpeer(self.uIAnimator) ~= nil then
  654. tolua.setpeer(self.uIAnimator, nil)
  655. end
  656. self.uIAnimator = nil
  657. if tolua.getpeer(self.AnyBtn) ~= nil then
  658. tolua.setpeer(self.AnyBtn, nil)
  659. end
  660. self.AnyBtn = nil
  661. if tolua.getpeer(self.giftsBox) ~= nil then
  662. tolua.setpeer(self.giftsBox, nil)
  663. end
  664. self.giftsBox = nil
  665. if tolua.getpeer(self.goldBtn) ~= nil then
  666. tolua.setpeer(self.goldBtn, nil)
  667. end
  668. self.goldBtn = nil
  669. if self.runeShopGoodsItem1.GenerateDestroy ~= nil then
  670. self.runeShopGoodsItem1:GenerateDestroy()
  671. end
  672. if tolua.getpeer(self.runeShopGoodsItem1) ~= nil then
  673. tolua.setpeer(self.runeShopGoodsItem1, nil)
  674. end
  675. self.runeShopGoodsItem1 = nil
  676. if self.runeShopGoodsItem2.GenerateDestroy ~= nil then
  677. self.runeShopGoodsItem2:GenerateDestroy()
  678. end
  679. if tolua.getpeer(self.runeShopGoodsItem2) ~= nil then
  680. tolua.setpeer(self.runeShopGoodsItem2, nil)
  681. end
  682. self.runeShopGoodsItem2 = nil
  683. if self.runeShopGoodsItem3.GenerateDestroy ~= nil then
  684. self.runeShopGoodsItem3:GenerateDestroy()
  685. end
  686. if tolua.getpeer(self.runeShopGoodsItem3) ~= nil then
  687. tolua.setpeer(self.runeShopGoodsItem3, nil)
  688. end
  689. self.runeShopGoodsItem3 = nil
  690. if self.runeShopGoodsItem4.GenerateDestroy ~= nil then
  691. self.runeShopGoodsItem4:GenerateDestroy()
  692. end
  693. if tolua.getpeer(self.runeShopGoodsItem4) ~= nil then
  694. tolua.setpeer(self.runeShopGoodsItem4, nil)
  695. end
  696. self.runeShopGoodsItem4 = nil
  697. if self.runeShopGoodsItem5.GenerateDestroy ~= nil then
  698. self.runeShopGoodsItem5:GenerateDestroy()
  699. end
  700. if tolua.getpeer(self.runeShopGoodsItem5) ~= nil then
  701. tolua.setpeer(self.runeShopGoodsItem5, nil)
  702. end
  703. self.runeShopGoodsItem5 = nil
  704. if self.runeShopGoodsItem6.GenerateDestroy ~= nil then
  705. self.runeShopGoodsItem6:GenerateDestroy()
  706. end
  707. if tolua.getpeer(self.runeShopGoodsItem6) ~= nil then
  708. tolua.setpeer(self.runeShopGoodsItem6, nil)
  709. end
  710. self.runeShopGoodsItem6 = nil
  711. if self.runeShopGoodsItem7.GenerateDestroy ~= nil then
  712. self.runeShopGoodsItem7:GenerateDestroy()
  713. end
  714. if tolua.getpeer(self.runeShopGoodsItem7) ~= nil then
  715. tolua.setpeer(self.runeShopGoodsItem7, nil)
  716. end
  717. self.runeShopGoodsItem7 = nil
  718. if self.runeShopGoodsItem8.GenerateDestroy ~= nil then
  719. self.runeShopGoodsItem8:GenerateDestroy()
  720. end
  721. if tolua.getpeer(self.runeShopGoodsItem8) ~= nil then
  722. tolua.setpeer(self.runeShopGoodsItem8, nil)
  723. end
  724. self.runeShopGoodsItem8 = nil
  725. if self.runeShopGoodsItem9.GenerateDestroy ~= nil then
  726. self.runeShopGoodsItem9:GenerateDestroy()
  727. end
  728. if tolua.getpeer(self.runeShopGoodsItem9) ~= nil then
  729. tolua.setpeer(self.runeShopGoodsItem9, nil)
  730. end
  731. self.runeShopGoodsItem9 = nil
  732. if tolua.getpeer(self.btnClose) ~= nil then
  733. tolua.setpeer(self.btnClose, nil)
  734. end
  735. self.btnClose = nil
  736. if tolua.getpeer(self.btnVIP) ~= nil then
  737. tolua.setpeer(self.btnVIP, nil)
  738. end
  739. self.btnVIP = nil
  740. if tolua.getpeer(self.vipFrame) ~= nil then
  741. tolua.setpeer(self.vipFrame, nil)
  742. end
  743. self.vipFrame = nil
  744. if tolua.getpeer(self.vipIcon) ~= nil then
  745. tolua.setpeer(self.vipIcon, nil)
  746. end
  747. self.vipIcon = nil
  748. if tolua.getpeer(self.vipNameTxt) ~= nil then
  749. tolua.setpeer(self.vipNameTxt, nil)
  750. end
  751. self.vipNameTxt = nil
  752. if tolua.getpeer(self.btnInfo) ~= nil then
  753. tolua.setpeer(self.btnInfo, nil)
  754. end
  755. self.btnInfo = nil
  756. if tolua.getpeer(self.textBox) ~= nil then
  757. tolua.setpeer(self.textBox, nil)
  758. end
  759. self.textBox = nil
  760. if tolua.getpeer(self.coin) ~= nil then
  761. tolua.setpeer(self.coin, nil)
  762. end
  763. self.coin = nil
  764. if tolua.getpeer(self.gold) ~= nil then
  765. tolua.setpeer(self.gold, nil)
  766. end
  767. self.gold = nil
  768. if tolua.getpeer(self.moneytoday) ~= nil then
  769. tolua.setpeer(self.moneytoday, nil)
  770. end
  771. self.moneytoday = nil
  772. if tolua.getpeer(self.timeSlider) ~= nil then
  773. tolua.setpeer(self.timeSlider, nil)
  774. end
  775. self.timeSlider = nil
  776. if tolua.getpeer(self.moneytime) ~= nil then
  777. tolua.setpeer(self.moneytime, nil)
  778. end
  779. self.moneytime = nil
  780. if tolua.getpeer(self.moneylimit) ~= nil then
  781. tolua.setpeer(self.moneylimit, nil)
  782. end
  783. self.moneylimit = nil
  784. if tolua.getpeer(self.btnIncreaseLimit) ~= nil then
  785. tolua.setpeer(self.btnIncreaseLimit, nil)
  786. end
  787. self.btnIncreaseLimit = nil
  788. self.transform = nil
  789. self.gameObject = nil
  790. self.inited = false
  791. end
  792. return UIRechargeWalletShopView