UIBoliShopView_Generate.lua 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409
  1. ---@class UIBoliShop__Generate_btnLvUp
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIBoliShop__Generate_numexp
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text TMPro.TextMeshProUGUI
  7. ---@class UIBoliShop__Generate_expSlider
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public slider UnityEngine.UI.Slider
  10. ---@class UIBoliShop__Generate_numlv
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public text TMPro.TextMeshProUGUI
  13. ---@class UIBoliShop__Generate_gold_number
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public text UnityEngine.UI.Text
  16. ---@class UIBoliShop__Generate_gold_icon
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public image UnityEngine.UI.Image
  19. ---@class UIBoliShop__Generate_gold
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public icon UIBoliShop__Generate_gold_icon
  22. ---@field public number UIBoliShop__Generate_gold_number
  23. ---@class UIBoliShop__Generate_coin_number
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public text UnityEngine.UI.Text
  26. ---@class UIBoliShop__Generate_coin_icon
  27. ---@field public gameObject UnityEngine.GameObject
  28. ---@field public image UnityEngine.UI.Image
  29. ---@class UIBoliShop__Generate_coin
  30. ---@field public gameObject UnityEngine.GameObject
  31. ---@field public icon UIBoliShop__Generate_coin_icon
  32. ---@field public number UIBoliShop__Generate_coin_number
  33. ---@class UIBoliShop__Generate_ro_number
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public text UnityEngine.UI.Text
  36. ---@class UIBoliShop__Generate_ro_icon
  37. ---@field public gameObject UnityEngine.GameObject
  38. ---@field public image UnityEngine.UI.Image
  39. ---@class UIBoliShop__Generate_ro
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public icon UIBoliShop__Generate_ro_icon
  42. ---@field public number UIBoliShop__Generate_ro_number
  43. ---@class UIBoliShop__Generate_textBox
  44. ---@field public gameObject UnityEngine.GameObject
  45. ---@field public text UnityEngine.UI.Text
  46. ---@class UIBoliShop__Generate_shopToggle
  47. ---@field public gameObject UnityEngine.GameObject
  48. ---@field public toggle UnityEngine.UI.Toggle
  49. ---@field public check UnityEngine.GameObject
  50. ---@class UIBoliShop__Generate_privilegeToggle
  51. ---@field public gameObject UnityEngine.GameObject
  52. ---@field public toggle UnityEngine.UI.Toggle
  53. ---@field public check UnityEngine.GameObject
  54. ---@field public redPoint UnityEngine.GameObject
  55. ---@class UIBoliShop__Generate_toggle
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public toggleGroup UnityEngine.UI.ToggleGroup
  58. ---@class UIBoliShop__Generate_vipNameTxt
  59. ---@field public gameObject UnityEngine.GameObject
  60. ---@field public text TMPro.TextMeshProUGUI
  61. ---@class UIBoliShop__Generate_vipIcon
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public image UnityEngine.UI.Image
  64. ---@class UIBoliShop__Generate_vipFrame
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public image UnityEngine.UI.Image
  67. ---@class UIBoliShop__Generate_btnVIP
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public button UnityEngine.UI.Button
  70. ---@class UIBoliShop__Generate_btnClose
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public button UnityEngine.UI.Button
  73. ---@class UIBoliShop__Generate_shopGoodsItem
  74. ---@field public gameObject UnityEngine.GameObject
  75. ---@field public button UnityEngine.UI.Button
  76. ---@class UIBoliShop__Generate_goodsScrollView
  77. ---@field public gameObject UnityEngine.GameObject
  78. ---@field public scrollRect UnityEngine.UI.ScrollRect
  79. ---@field public loopGridView SuperScrollView.LoopGridView
  80. ---@class UIBoliShop__Generate_btnLv
  81. ---@field public gameObject UnityEngine.GameObject
  82. ---@field public button UnityEngine.UI.Button
  83. ---@class UIBoliShop__Generate_scrollViewLv
  84. ---@field public gameObject UnityEngine.GameObject
  85. ---@field public scrollRect UnityEngine.UI.ScrollRect
  86. ---@field public loopGridView SuperScrollView.LoopGridView
  87. ---@class UIBoliShop__Generate_giftItem3_btnReceive
  88. ---@field public gameObject UnityEngine.GameObject
  89. ---@field public button UnityEngine.UI.Button
  90. ---@field public lock UnityEngine.GameObject
  91. ---@class UIBoliShop__Generate_giftItem3_iconItem
  92. ---@field public gameObject UnityEngine.GameObject
  93. ---@field public rectTransform UnityEngine.RectTransform
  94. ---@field public layoutElement UnityEngine.UI.LayoutElement
  95. ---@class UIBoliShop__Generate_giftItem3_giftname
  96. ---@field public gameObject UnityEngine.GameObject
  97. ---@field public text UnityEngine.UI.Text
  98. ---@field public uILocalizeScript UILocalizeScript
  99. ---@class UIBoliShop__Generate_giftItem3
  100. ---@field public gameObject UnityEngine.GameObject
  101. ---@field public giftname UIBoliShop__Generate_giftItem3_giftname
  102. ---@field public iconItem UIBoliShop__Generate_giftItem3_iconItem
  103. ---@field public btnReceive UIBoliShop__Generate_giftItem3_btnReceive
  104. ---@field public labelReceived UnityEngine.GameObject
  105. ---@field public icon UnityEngine.GameObject
  106. ---@class UIBoliShop__Generate_giftItem2_btnReceive
  107. ---@field public gameObject UnityEngine.GameObject
  108. ---@field public button UnityEngine.UI.Button
  109. ---@field public lock UnityEngine.GameObject
  110. ---@class UIBoliShop__Generate_giftItem2_iconItem
  111. ---@field public gameObject UnityEngine.GameObject
  112. ---@field public rectTransform UnityEngine.RectTransform
  113. ---@field public layoutElement UnityEngine.UI.LayoutElement
  114. ---@class UIBoliShop__Generate_giftItem2_giftname
  115. ---@field public gameObject UnityEngine.GameObject
  116. ---@field public text UnityEngine.UI.Text
  117. ---@field public uILocalizeScript UILocalizeScript
  118. ---@class UIBoliShop__Generate_giftItem2
  119. ---@field public gameObject UnityEngine.GameObject
  120. ---@field public giftname UIBoliShop__Generate_giftItem2_giftname
  121. ---@field public iconItem UIBoliShop__Generate_giftItem2_iconItem
  122. ---@field public btnReceive UIBoliShop__Generate_giftItem2_btnReceive
  123. ---@field public labelReceived UnityEngine.GameObject
  124. ---@field public icon UnityEngine.GameObject
  125. ---@class UIBoliShop__Generate_giftItem1_btnReceive
  126. ---@field public gameObject UnityEngine.GameObject
  127. ---@field public button UnityEngine.UI.Button
  128. ---@field public lock UnityEngine.GameObject
  129. ---@class UIBoliShop__Generate_giftItem1_iconItem
  130. ---@field public gameObject UnityEngine.GameObject
  131. ---@field public rectTransform UnityEngine.RectTransform
  132. ---@field public layoutElement UnityEngine.UI.LayoutElement
  133. ---@class UIBoliShop__Generate_giftItem1_giftname
  134. ---@field public gameObject UnityEngine.GameObject
  135. ---@field public text UnityEngine.UI.Text
  136. ---@field public uILocalizeScript UILocalizeScript
  137. ---@class UIBoliShop__Generate_giftItem1
  138. ---@field public gameObject UnityEngine.GameObject
  139. ---@field public giftname UIBoliShop__Generate_giftItem1_giftname
  140. ---@field public iconItem UIBoliShop__Generate_giftItem1_iconItem
  141. ---@field public btnReceive UIBoliShop__Generate_giftItem1_btnReceive
  142. ---@field public labelReceived UnityEngine.GameObject
  143. ---@field public icon UnityEngine.GameObject
  144. ---@class UIBoliShop__Generate_prompt
  145. ---@field public gameObject UnityEngine.GameObject
  146. ---@field public text UnityEngine.UI.Text
  147. ---@field public uILocalizeScript UILocalizeScript
  148. ---@class UIBoliShop__Generate_privilegeDscItem
  149. ---@field public gameObject UnityEngine.GameObject
  150. ---@field public rectTransform UnityEngine.RectTransform
  151. ---@class UIBoliShop__Generate_informationScrollView
  152. ---@field public gameObject UnityEngine.GameObject
  153. ---@field public scrollRect UnityEngine.UI.ScrollRect
  154. ---@field public loopListView SuperScrollView.LoopListView
  155. ---@class UIBoliShop__Generate_titletext
  156. ---@field public gameObject UnityEngine.GameObject
  157. ---@field public text UnityEngine.UI.Text
  158. ---@field public uILocalizeScript UILocalizeScript
  159. ---@class UIBoliShop__Generate_AnyBtn
  160. ---@field public gameObject UnityEngine.GameObject
  161. ---@field public button UnityEngine.UI.Button
  162. ---@class UIBoliShop__Generate_uIAnimator
  163. ---@field public gameObject UnityEngine.GameObject
  164. ---@field public animator UnityEngine.Animator
  165. ---@class UIBoliShop__Generate
  166. ---@field private gameObject UnityEngine.GameObject
  167. ---@field private transform UnityEngine.Transform
  168. ---@field private uIAnimator UIBoliShop__Generate_uIAnimator
  169. ---@field private AnyBtn UIBoliShop__Generate_AnyBtn
  170. ---@field private privilegeBox UnityEngine.GameObject
  171. ---@field private titletext UIBoliShop__Generate_titletext
  172. ---@field private informationScrollView UIBoliShop__Generate_informationScrollView
  173. ---@field private privilegeDscItem UIBoliShop__Generate_privilegeDscItem
  174. ---@field private prompt UIBoliShop__Generate_prompt
  175. ---@field private giftItem1 UIBoliShop__Generate_giftItem1
  176. ---@field private giftItem2 UIBoliShop__Generate_giftItem2
  177. ---@field private giftItem3 UIBoliShop__Generate_giftItem3
  178. ---@field private labelActiveted UnityEngine.GameObject
  179. ---@field private scrollViewLv UIBoliShop__Generate_scrollViewLv
  180. ---@field private btnLv UIBoliShop__Generate_btnLv
  181. ---@field private goodsBox UnityEngine.GameObject
  182. ---@field private goodsScrollView UIBoliShop__Generate_goodsScrollView
  183. ---@field private shopGoodsItem UIBoliShop__Generate_shopGoodsItem
  184. ---@field private btnClose UIBoliShop__Generate_btnClose
  185. ---@field private btnVIP UIBoliShop__Generate_btnVIP
  186. ---@field private vipFrame UIBoliShop__Generate_vipFrame
  187. ---@field private vipIcon UIBoliShop__Generate_vipIcon
  188. ---@field private vipNameTxt UIBoliShop__Generate_vipNameTxt
  189. ---@field private toggle UIBoliShop__Generate_toggle
  190. ---@field private privilegeToggle UIBoliShop__Generate_privilegeToggle
  191. ---@field private shopToggle UIBoliShop__Generate_shopToggle
  192. ---@field private textBox UIBoliShop__Generate_textBox
  193. ---@field private ro UIBoliShop__Generate_ro
  194. ---@field private coin UIBoliShop__Generate_coin
  195. ---@field private gold UIBoliShop__Generate_gold
  196. ---@field private shopExpBox UnityEngine.GameObject
  197. ---@field private numlv UIBoliShop__Generate_numlv
  198. ---@field private expSlider UIBoliShop__Generate_expSlider
  199. ---@field private numexp UIBoliShop__Generate_numexp
  200. ---@field private btnLvUp UIBoliShop__Generate_btnLvUp
  201. ---@field private max UnityEngine.GameObject
  202. local UIBoliShopView = class("UIBoliShopView", require("UIViewBase"))
  203. function UIBoliShopView:ctor()
  204. end
  205. ---@private
  206. function UIBoliShopView:SetActive(result)
  207. self.gameObject:SetActive(result)
  208. end
  209. ---@private
  210. function UIBoliShopView:InitGenerate(Root, data)
  211. self.transform = Root
  212. self.inited = true
  213. if self.super.Init then
  214. self.super.Init(self)
  215. end
  216. local tmp
  217. self:InitGenerate__1(Root,data)
  218. self:InitGenerate__2(Root,data)
  219. self:InitGenerate__3(Root,data)
  220. self:InitGenerate__4(Root,data)
  221. self:InitGenerate__5(Root,data)
  222. self:InitGenerate__6(Root,data)
  223. self:InitGenerate__7(Root,data)
  224. self:InitGenerate__8(Root,data)
  225. self:InitGenerate__9(Root,data)
  226. self:InitGenerate__10(Root,data)
  227. self:InitGenerate__11(Root,data)
  228. self:InitGenerate__12(Root,data)
  229. self:InitGenerate__13(Root,data)
  230. self:InitGenerate__14(Root,data)
  231. self:InitGenerate__15(Root,data)
  232. self:InitGenerate__16(Root,data)
  233. self:InitGenerate__17(Root,data)
  234. self:InitGenerate__18(Root,data)
  235. self:InitGenerate__19(Root,data)
  236. self:InitGenerate__20(Root,data)
  237. self:InitGenerate__21(Root,data)
  238. self:InitGenerate__22(Root,data)
  239. self:InitGenerate__23(Root,data)
  240. self:InitGenerate__24(Root,data)
  241. self:InitGenerate__25(Root,data)
  242. self:InitGenerate__26(Root,data)
  243. self:InitGenerate__27(Root,data)
  244. self:InitGenerate__28(Root,data)
  245. self:InitGenerate__29(Root,data)
  246. self:InitGenerate__30(Root,data)
  247. self:InitGenerate__31(Root,data)
  248. self:InitGenerate__32(Root,data)
  249. self:InitGenerate__33(Root,data)
  250. self:InitGenerate__34(Root,data)
  251. self:InitGenerate__35(Root,data)
  252. self:InitGenerate__36(Root,data)
  253. self:InitGenerate__37(Root,data)
  254. self:InitGenerate__38(Root,data)
  255. self:InitGenerate__39(Root,data)
  256. self:InitGenerate__40(Root,data)
  257. self:InitGenerate__41(Root,data)
  258. self:InitGenerate__42(Root,data)
  259. self:InitGenerate__43(Root,data)
  260. self:InitGenerate__44(Root,data)
  261. self:InitGenerate__45(Root,data)
  262. self:InitGenerate__46(Root,data)
  263. self:InitGenerate__47(Root,data)
  264. self:InitGenerate__48(Root,data)
  265. self:InitGenerate__49(Root,data)
  266. self:InitGenerate__50(Root,data)
  267. self:InitGenerate__51(Root,data)
  268. self:InitGenerate__52(Root,data)
  269. self:InitGenerate__53(Root,data)
  270. self:InitGenerate__54(Root,data)
  271. self:InitGenerate__55(Root,data)
  272. self:InitGenerate__56(Root,data)
  273. self:InitGenerate__57(Root,data)
  274. self:InitGenerate__58(Root,data)
  275. self:InitGenerate__59(Root,data)
  276. self:InitGenerate__60(Root,data)
  277. self:InitGenerate__61(Root,data)
  278. end
  279. ---@private
  280. function UIBoliShopView:InitGenerate__1(Root, data)
  281. --[[
  282. UIAnimator
  283. --]]
  284. local tmp = Root:Find("UIAnimator").gameObject
  285. if tolua.getpeer(tmp) == nil then
  286. tolua.setpeer(tmp, {})
  287. end
  288. self.uIAnimator = tmp
  289. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  290. tmp.animator.logWarnings = false
  291. end
  292. ---@private
  293. function UIBoliShopView:InitGenerate__2(Root, data)
  294. --[[
  295. UIAnimator/Alpha
  296. --]]
  297. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  298. if tolua.getpeer(tmp) == nil then
  299. tolua.setpeer(tmp, {})
  300. end
  301. self.AnyBtn = tmp
  302. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  303. end
  304. ---@private
  305. function UIBoliShopView:InitGenerate__3(Root, data)
  306. --[[
  307. UIAnimator/Window/PrivilegeBox
  308. --]]
  309. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox").gameObject
  310. if tolua.getpeer(tmp) == nil then
  311. tolua.setpeer(tmp, {})
  312. end
  313. self.privilegeBox = tmp
  314. end
  315. ---@private
  316. function UIBoliShopView:InitGenerate__4(Root, data)
  317. --[[
  318. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Title/titletext
  319. --]]
  320. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Title/titletext").gameObject
  321. if tolua.getpeer(tmp) == nil then
  322. tolua.setpeer(tmp, {})
  323. end
  324. self.titletext = tmp
  325. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  326. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  327. end
  328. ---@private
  329. function UIBoliShopView:InitGenerate__5(Root, data)
  330. --[[
  331. UIAnimator/Window/PrivilegeBox/PrivilegeReward/InformationScrollView
  332. --]]
  333. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/InformationScrollView").gameObject
  334. if tolua.getpeer(tmp) == nil then
  335. tolua.setpeer(tmp, {})
  336. end
  337. self.informationScrollView = tmp
  338. tmp.scrollRect = tmp:GetComponent(Enum.TypeInfo.ScrollRect)
  339. tmp.loopListView = tmp:GetComponent(Enum.TypeInfo.LoopListView)
  340. end
  341. ---@private
  342. function UIBoliShopView:InitGenerate__6(Root, data)
  343. --[[
  344. UIAnimator/Window/PrivilegeBox/PrivilegeReward/InformationScrollView/Viewport/Content/PrivilegeDscItem
  345. --]]
  346. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/InformationScrollView/Viewport/Content/PrivilegeDscItem").gameObject
  347. if tolua.getpeer(tmp) == nil then
  348. tolua.setpeer(tmp, {})
  349. end
  350. self.privilegeDscItem = CommonUtil.BindGridViewItem2LuaStatic("PrivilegeDscItem", tmp)
  351. self.privilegeDscItem.prefabName = "PrivilegeDscItem"
  352. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  353. end
  354. ---@private
  355. function UIBoliShopView:InitGenerate__7(Root, data)
  356. --[[
  357. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/TextBox/Prompt
  358. --]]
  359. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/TextBox/Prompt").gameObject
  360. if tolua.getpeer(tmp) == nil then
  361. tolua.setpeer(tmp, {})
  362. end
  363. self.prompt = tmp
  364. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  365. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  366. end
  367. ---@private
  368. function UIBoliShopView:InitGenerate__8(Root, data)
  369. --[[
  370. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1
  371. --]]
  372. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1").gameObject
  373. if tolua.getpeer(tmp) == nil then
  374. tolua.setpeer(tmp, {})
  375. end
  376. self.giftItem1 = tmp
  377. end
  378. ---@private
  379. function UIBoliShopView:InitGenerate__9(Root, data)
  380. --[[
  381. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/Title/giftname
  382. --]]
  383. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/Title/giftname").gameObject
  384. if tolua.getpeer(tmp) == nil then
  385. tolua.setpeer(tmp, {})
  386. end
  387. self.giftItem1.giftname = tmp
  388. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  389. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  390. end
  391. ---@private
  392. function UIBoliShopView:InitGenerate__10(Root, data)
  393. --[[
  394. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/IconItem
  395. --]]
  396. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/IconItem").gameObject
  397. if tolua.getpeer(tmp) == nil then
  398. tolua.setpeer(tmp, {})
  399. end
  400. self.giftItem1.iconItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  401. self.giftItem1.iconItem.prefabName = "IconItem"
  402. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  403. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  404. end
  405. ---@private
  406. function UIBoliShopView:InitGenerate__11(Root, data)
  407. --[[
  408. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/BtnReceive
  409. --]]
  410. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/BtnReceive").gameObject
  411. if tolua.getpeer(tmp) == nil then
  412. tolua.setpeer(tmp, {})
  413. end
  414. self.giftItem1.btnReceive = tmp
  415. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  416. end
  417. ---@private
  418. function UIBoliShopView:InitGenerate__12(Root, data)
  419. --[[
  420. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/BtnReceive/lock
  421. --]]
  422. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/BtnReceive/lock").gameObject
  423. if tolua.getpeer(tmp) == nil then
  424. tolua.setpeer(tmp, {})
  425. end
  426. self.giftItem1.btnReceive.lock = tmp
  427. end
  428. ---@private
  429. function UIBoliShopView:InitGenerate__13(Root, data)
  430. --[[
  431. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/LabelReceived
  432. --]]
  433. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/LabelReceived").gameObject
  434. if tolua.getpeer(tmp) == nil then
  435. tolua.setpeer(tmp, {})
  436. end
  437. self.giftItem1.labelReceived = tmp
  438. end
  439. ---@private
  440. function UIBoliShopView:InitGenerate__14(Root, data)
  441. --[[
  442. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/icon
  443. --]]
  444. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem1/icon").gameObject
  445. if tolua.getpeer(tmp) == nil then
  446. tolua.setpeer(tmp, {})
  447. end
  448. self.giftItem1.icon = tmp
  449. end
  450. ---@private
  451. function UIBoliShopView:InitGenerate__15(Root, data)
  452. --[[
  453. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2
  454. --]]
  455. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2").gameObject
  456. if tolua.getpeer(tmp) == nil then
  457. tolua.setpeer(tmp, {})
  458. end
  459. self.giftItem2 = tmp
  460. end
  461. ---@private
  462. function UIBoliShopView:InitGenerate__16(Root, data)
  463. --[[
  464. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/Title/giftname
  465. --]]
  466. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/Title/giftname").gameObject
  467. if tolua.getpeer(tmp) == nil then
  468. tolua.setpeer(tmp, {})
  469. end
  470. self.giftItem2.giftname = tmp
  471. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  472. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  473. end
  474. ---@private
  475. function UIBoliShopView:InitGenerate__17(Root, data)
  476. --[[
  477. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/IconItem
  478. --]]
  479. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/IconItem").gameObject
  480. if tolua.getpeer(tmp) == nil then
  481. tolua.setpeer(tmp, {})
  482. end
  483. self.giftItem2.iconItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  484. self.giftItem2.iconItem.prefabName = "IconItem"
  485. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  486. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  487. end
  488. ---@private
  489. function UIBoliShopView:InitGenerate__18(Root, data)
  490. --[[
  491. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/BtnReceive
  492. --]]
  493. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/BtnReceive").gameObject
  494. if tolua.getpeer(tmp) == nil then
  495. tolua.setpeer(tmp, {})
  496. end
  497. self.giftItem2.btnReceive = tmp
  498. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  499. end
  500. ---@private
  501. function UIBoliShopView:InitGenerate__19(Root, data)
  502. --[[
  503. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/BtnReceive/lock
  504. --]]
  505. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/BtnReceive/lock").gameObject
  506. if tolua.getpeer(tmp) == nil then
  507. tolua.setpeer(tmp, {})
  508. end
  509. self.giftItem2.btnReceive.lock = tmp
  510. end
  511. ---@private
  512. function UIBoliShopView:InitGenerate__20(Root, data)
  513. --[[
  514. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/LabelReceived
  515. --]]
  516. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/LabelReceived").gameObject
  517. if tolua.getpeer(tmp) == nil then
  518. tolua.setpeer(tmp, {})
  519. end
  520. self.giftItem2.labelReceived = tmp
  521. end
  522. ---@private
  523. function UIBoliShopView:InitGenerate__21(Root, data)
  524. --[[
  525. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/icon
  526. --]]
  527. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem2/icon").gameObject
  528. if tolua.getpeer(tmp) == nil then
  529. tolua.setpeer(tmp, {})
  530. end
  531. self.giftItem2.icon = tmp
  532. end
  533. ---@private
  534. function UIBoliShopView:InitGenerate__22(Root, data)
  535. --[[
  536. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3
  537. --]]
  538. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3").gameObject
  539. if tolua.getpeer(tmp) == nil then
  540. tolua.setpeer(tmp, {})
  541. end
  542. self.giftItem3 = tmp
  543. end
  544. ---@private
  545. function UIBoliShopView:InitGenerate__23(Root, data)
  546. --[[
  547. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/Title/giftname
  548. --]]
  549. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/Title/giftname").gameObject
  550. if tolua.getpeer(tmp) == nil then
  551. tolua.setpeer(tmp, {})
  552. end
  553. self.giftItem3.giftname = tmp
  554. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  555. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  556. end
  557. ---@private
  558. function UIBoliShopView:InitGenerate__24(Root, data)
  559. --[[
  560. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/IconItem
  561. --]]
  562. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/IconItem").gameObject
  563. if tolua.getpeer(tmp) == nil then
  564. tolua.setpeer(tmp, {})
  565. end
  566. self.giftItem3.iconItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  567. self.giftItem3.iconItem.prefabName = "IconItem"
  568. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  569. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  570. end
  571. ---@private
  572. function UIBoliShopView:InitGenerate__25(Root, data)
  573. --[[
  574. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/BtnReceive
  575. --]]
  576. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/BtnReceive").gameObject
  577. if tolua.getpeer(tmp) == nil then
  578. tolua.setpeer(tmp, {})
  579. end
  580. self.giftItem3.btnReceive = tmp
  581. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  582. end
  583. ---@private
  584. function UIBoliShopView:InitGenerate__26(Root, data)
  585. --[[
  586. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/BtnReceive/lock
  587. --]]
  588. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/BtnReceive/lock").gameObject
  589. if tolua.getpeer(tmp) == nil then
  590. tolua.setpeer(tmp, {})
  591. end
  592. self.giftItem3.btnReceive.lock = tmp
  593. end
  594. ---@private
  595. function UIBoliShopView:InitGenerate__27(Root, data)
  596. --[[
  597. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/LabelReceived
  598. --]]
  599. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/LabelReceived").gameObject
  600. if tolua.getpeer(tmp) == nil then
  601. tolua.setpeer(tmp, {})
  602. end
  603. self.giftItem3.labelReceived = tmp
  604. end
  605. ---@private
  606. function UIBoliShopView:InitGenerate__28(Root, data)
  607. --[[
  608. UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/icon
  609. --]]
  610. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/Rewards/GiftGroup/GiftItem3/icon").gameObject
  611. if tolua.getpeer(tmp) == nil then
  612. tolua.setpeer(tmp, {})
  613. end
  614. self.giftItem3.icon = tmp
  615. end
  616. ---@private
  617. function UIBoliShopView:InitGenerate__29(Root, data)
  618. --[[
  619. UIAnimator/Window/PrivilegeBox/PrivilegeReward/LabelActiveted
  620. --]]
  621. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/PrivilegeReward/LabelActiveted").gameObject
  622. if tolua.getpeer(tmp) == nil then
  623. tolua.setpeer(tmp, {})
  624. end
  625. self.labelActiveted = tmp
  626. end
  627. ---@private
  628. function UIBoliShopView:InitGenerate__30(Root, data)
  629. --[[
  630. UIAnimator/Window/PrivilegeBox/ScrollViewLv
  631. --]]
  632. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/ScrollViewLv").gameObject
  633. if tolua.getpeer(tmp) == nil then
  634. tolua.setpeer(tmp, {})
  635. end
  636. self.scrollViewLv = tmp
  637. tmp.scrollRect = tmp:GetComponent(Enum.TypeInfo.ScrollRect)
  638. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  639. end
  640. ---@private
  641. function UIBoliShopView:InitGenerate__31(Root, data)
  642. --[[
  643. UIAnimator/Window/PrivilegeBox/ScrollViewLv/Viewport/Content/BtnLv
  644. --]]
  645. local tmp = Root:Find("UIAnimator/Window/PrivilegeBox/ScrollViewLv/Viewport/Content/BtnLv").gameObject
  646. if tolua.getpeer(tmp) == nil then
  647. tolua.setpeer(tmp, {})
  648. end
  649. self.btnLv = CommonUtil.BindGridViewItem2LuaStatic("BtnLv", tmp)
  650. self.btnLv.prefabName = "BtnLv"
  651. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  652. end
  653. ---@private
  654. function UIBoliShopView:InitGenerate__32(Root, data)
  655. --[[
  656. UIAnimator/Window/GoodsBox
  657. --]]
  658. local tmp = Root:Find("UIAnimator/Window/GoodsBox").gameObject
  659. if tolua.getpeer(tmp) == nil then
  660. tolua.setpeer(tmp, {})
  661. end
  662. self.goodsBox = tmp
  663. end
  664. ---@private
  665. function UIBoliShopView:InitGenerate__33(Root, data)
  666. --[[
  667. UIAnimator/Window/GoodsBox/GoodsScrollView
  668. --]]
  669. local tmp = Root:Find("UIAnimator/Window/GoodsBox/GoodsScrollView").gameObject
  670. if tolua.getpeer(tmp) == nil then
  671. tolua.setpeer(tmp, {})
  672. end
  673. self.goodsScrollView = tmp
  674. tmp.scrollRect = tmp:GetComponent(Enum.TypeInfo.ScrollRect)
  675. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  676. end
  677. ---@private
  678. function UIBoliShopView:InitGenerate__34(Root, data)
  679. --[[
  680. UIAnimator/Window/GoodsBox/GoodsScrollView/Viewport/Content/ShopGoodsItem
  681. --]]
  682. local tmp = Root:Find("UIAnimator/Window/GoodsBox/GoodsScrollView/Viewport/Content/ShopGoodsItem").gameObject
  683. if tolua.getpeer(tmp) == nil then
  684. tolua.setpeer(tmp, {})
  685. end
  686. self.shopGoodsItem = CommonUtil.BindGridViewItem2LuaStatic("ShopGoodsItem", tmp)
  687. self.shopGoodsItem.prefabName = "ShopGoodsItem"
  688. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  689. end
  690. ---@private
  691. function UIBoliShopView:InitGenerate__35(Root, data)
  692. --[[
  693. UIAnimator/Window/Bottom/BtnClose
  694. --]]
  695. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnClose").gameObject
  696. if tolua.getpeer(tmp) == nil then
  697. tolua.setpeer(tmp, {})
  698. end
  699. self.btnClose = tmp
  700. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  701. end
  702. ---@private
  703. function UIBoliShopView:InitGenerate__36(Root, data)
  704. --[[
  705. UIAnimator/Window/TopView/BtnVIP
  706. --]]
  707. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP").gameObject
  708. if tolua.getpeer(tmp) == nil then
  709. tolua.setpeer(tmp, {})
  710. end
  711. self.btnVIP = tmp
  712. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  713. end
  714. ---@private
  715. function UIBoliShopView:InitGenerate__37(Root, data)
  716. --[[
  717. UIAnimator/Window/TopView/BtnVIP/BG/VipFrame
  718. --]]
  719. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP/BG/VipFrame").gameObject
  720. if tolua.getpeer(tmp) == nil then
  721. tolua.setpeer(tmp, {})
  722. end
  723. self.vipFrame = tmp
  724. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  725. end
  726. ---@private
  727. function UIBoliShopView:InitGenerate__38(Root, data)
  728. --[[
  729. UIAnimator/Window/TopView/BtnVIP/BG/VipIcon
  730. --]]
  731. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP/BG/VipIcon").gameObject
  732. if tolua.getpeer(tmp) == nil then
  733. tolua.setpeer(tmp, {})
  734. end
  735. self.vipIcon = tmp
  736. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  737. end
  738. ---@private
  739. function UIBoliShopView:InitGenerate__39(Root, data)
  740. --[[
  741. UIAnimator/Window/TopView/BtnVIP/BtnName/VipNameTxt
  742. --]]
  743. local tmp = Root:Find("UIAnimator/Window/TopView/BtnVIP/BtnName/VipNameTxt").gameObject
  744. if tolua.getpeer(tmp) == nil then
  745. tolua.setpeer(tmp, {})
  746. end
  747. self.vipNameTxt = tmp
  748. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  749. end
  750. ---@private
  751. function UIBoliShopView:InitGenerate__40(Root, data)
  752. --[[
  753. UIAnimator/Window/TopView/Toggle
  754. --]]
  755. local tmp = Root:Find("UIAnimator/Window/TopView/Toggle").gameObject
  756. if tolua.getpeer(tmp) == nil then
  757. tolua.setpeer(tmp, {})
  758. end
  759. self.toggle = tmp
  760. tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
  761. end
  762. ---@private
  763. function UIBoliShopView:InitGenerate__41(Root, data)
  764. --[[
  765. UIAnimator/Window/TopView/Toggle/PrivilegeToggle
  766. --]]
  767. local tmp = Root:Find("UIAnimator/Window/TopView/Toggle/PrivilegeToggle").gameObject
  768. if tolua.getpeer(tmp) == nil then
  769. tolua.setpeer(tmp, {})
  770. end
  771. self.privilegeToggle = tmp
  772. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  773. end
  774. ---@private
  775. function UIBoliShopView:InitGenerate__42(Root, data)
  776. --[[
  777. UIAnimator/Window/TopView/Toggle/PrivilegeToggle/Check
  778. --]]
  779. local tmp = Root:Find("UIAnimator/Window/TopView/Toggle/PrivilegeToggle/Check").gameObject
  780. if tolua.getpeer(tmp) == nil then
  781. tolua.setpeer(tmp, {})
  782. end
  783. self.privilegeToggle.check = tmp
  784. end
  785. ---@private
  786. function UIBoliShopView:InitGenerate__43(Root, data)
  787. --[[
  788. UIAnimator/Window/TopView/Toggle/PrivilegeToggle/UIRedPointRP
  789. --]]
  790. local tmp = Root:Find("UIAnimator/Window/TopView/Toggle/PrivilegeToggle/UIRedPointRP").gameObject
  791. if tolua.getpeer(tmp) == nil then
  792. tolua.setpeer(tmp, {})
  793. end
  794. self.privilegeToggle.redPoint = tmp
  795. end
  796. ---@private
  797. function UIBoliShopView:InitGenerate__44(Root, data)
  798. --[[
  799. UIAnimator/Window/TopView/Toggle/ShopToggle
  800. --]]
  801. local tmp = Root:Find("UIAnimator/Window/TopView/Toggle/ShopToggle").gameObject
  802. if tolua.getpeer(tmp) == nil then
  803. tolua.setpeer(tmp, {})
  804. end
  805. self.shopToggle = tmp
  806. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  807. end
  808. ---@private
  809. function UIBoliShopView:InitGenerate__45(Root, data)
  810. --[[
  811. UIAnimator/Window/TopView/Toggle/ShopToggle/Check
  812. --]]
  813. local tmp = Root:Find("UIAnimator/Window/TopView/Toggle/ShopToggle/Check").gameObject
  814. if tolua.getpeer(tmp) == nil then
  815. tolua.setpeer(tmp, {})
  816. end
  817. self.shopToggle.check = tmp
  818. end
  819. ---@private
  820. function UIBoliShopView:InitGenerate__46(Root, data)
  821. --[[
  822. UIAnimator/Window/TopView/TalkBox/TextBox
  823. --]]
  824. local tmp = Root:Find("UIAnimator/Window/TopView/TalkBox/TextBox").gameObject
  825. if tolua.getpeer(tmp) == nil then
  826. tolua.setpeer(tmp, {})
  827. end
  828. self.textBox = tmp
  829. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  830. end
  831. ---@private
  832. function UIBoliShopView:InitGenerate__47(Root, data)
  833. --[[
  834. UIAnimator/Window/TopView/ResourceBox/Ro
  835. --]]
  836. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Ro").gameObject
  837. if tolua.getpeer(tmp) == nil then
  838. tolua.setpeer(tmp, {})
  839. end
  840. self.ro = tmp
  841. end
  842. ---@private
  843. function UIBoliShopView:InitGenerate__48(Root, data)
  844. --[[
  845. UIAnimator/Window/TopView/ResourceBox/Ro/Icon
  846. --]]
  847. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Ro/Icon").gameObject
  848. if tolua.getpeer(tmp) == nil then
  849. tolua.setpeer(tmp, {})
  850. end
  851. self.ro.icon = tmp
  852. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  853. end
  854. ---@private
  855. function UIBoliShopView:InitGenerate__49(Root, data)
  856. --[[
  857. UIAnimator/Window/TopView/ResourceBox/Ro/Number
  858. --]]
  859. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Ro/Number").gameObject
  860. if tolua.getpeer(tmp) == nil then
  861. tolua.setpeer(tmp, {})
  862. end
  863. self.ro.number = tmp
  864. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  865. end
  866. ---@private
  867. function UIBoliShopView:InitGenerate__50(Root, data)
  868. --[[
  869. UIAnimator/Window/TopView/ResourceBox/Coin
  870. --]]
  871. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Coin").gameObject
  872. if tolua.getpeer(tmp) == nil then
  873. tolua.setpeer(tmp, {})
  874. end
  875. self.coin = tmp
  876. end
  877. ---@private
  878. function UIBoliShopView:InitGenerate__51(Root, data)
  879. --[[
  880. UIAnimator/Window/TopView/ResourceBox/Coin/Icon
  881. --]]
  882. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Coin/Icon").gameObject
  883. if tolua.getpeer(tmp) == nil then
  884. tolua.setpeer(tmp, {})
  885. end
  886. self.coin.icon = tmp
  887. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  888. end
  889. ---@private
  890. function UIBoliShopView:InitGenerate__52(Root, data)
  891. --[[
  892. UIAnimator/Window/TopView/ResourceBox/Coin/Number
  893. --]]
  894. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Coin/Number").gameObject
  895. if tolua.getpeer(tmp) == nil then
  896. tolua.setpeer(tmp, {})
  897. end
  898. self.coin.number = tmp
  899. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  900. end
  901. ---@private
  902. function UIBoliShopView:InitGenerate__53(Root, data)
  903. --[[
  904. UIAnimator/Window/TopView/ResourceBox/Gold
  905. --]]
  906. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Gold").gameObject
  907. if tolua.getpeer(tmp) == nil then
  908. tolua.setpeer(tmp, {})
  909. end
  910. self.gold = tmp
  911. end
  912. ---@private
  913. function UIBoliShopView:InitGenerate__54(Root, data)
  914. --[[
  915. UIAnimator/Window/TopView/ResourceBox/Gold/Icon
  916. --]]
  917. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Gold/Icon").gameObject
  918. if tolua.getpeer(tmp) == nil then
  919. tolua.setpeer(tmp, {})
  920. end
  921. self.gold.icon = tmp
  922. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  923. end
  924. ---@private
  925. function UIBoliShopView:InitGenerate__55(Root, data)
  926. --[[
  927. UIAnimator/Window/TopView/ResourceBox/Gold/Number
  928. --]]
  929. local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/Gold/Number").gameObject
  930. if tolua.getpeer(tmp) == nil then
  931. tolua.setpeer(tmp, {})
  932. end
  933. self.gold.number = tmp
  934. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  935. end
  936. ---@private
  937. function UIBoliShopView:InitGenerate__56(Root, data)
  938. --[[
  939. UIAnimator/Window/TopView/ShopExpBox
  940. --]]
  941. local tmp = Root:Find("UIAnimator/Window/TopView/ShopExpBox").gameObject
  942. if tolua.getpeer(tmp) == nil then
  943. tolua.setpeer(tmp, {})
  944. end
  945. self.shopExpBox = tmp
  946. self.shopExpBox:SetActive(false)
  947. end
  948. ---@private
  949. function UIBoliShopView:InitGenerate__57(Root, data)
  950. --[[
  951. UIAnimator/Window/TopView/ShopExpBox/numlv
  952. --]]
  953. local tmp = Root:Find("UIAnimator/Window/TopView/ShopExpBox/numlv").gameObject
  954. if tolua.getpeer(tmp) == nil then
  955. tolua.setpeer(tmp, {})
  956. end
  957. self.numlv = tmp
  958. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  959. end
  960. ---@private
  961. function UIBoliShopView:InitGenerate__58(Root, data)
  962. --[[
  963. UIAnimator/Window/TopView/ShopExpBox/ExpSlider
  964. --]]
  965. local tmp = Root:Find("UIAnimator/Window/TopView/ShopExpBox/ExpSlider").gameObject
  966. if tolua.getpeer(tmp) == nil then
  967. tolua.setpeer(tmp, {})
  968. end
  969. self.expSlider = tmp
  970. tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
  971. end
  972. ---@private
  973. function UIBoliShopView:InitGenerate__59(Root, data)
  974. --[[
  975. UIAnimator/Window/TopView/ShopExpBox/ExpSlider/numexp
  976. --]]
  977. local tmp = Root:Find("UIAnimator/Window/TopView/ShopExpBox/ExpSlider/numexp").gameObject
  978. if tolua.getpeer(tmp) == nil then
  979. tolua.setpeer(tmp, {})
  980. end
  981. self.numexp = tmp
  982. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  983. end
  984. ---@private
  985. function UIBoliShopView:InitGenerate__60(Root, data)
  986. --[[
  987. UIAnimator/Window/TopView/ShopExpBox/BtnLvUp
  988. --]]
  989. local tmp = Root:Find("UIAnimator/Window/TopView/ShopExpBox/BtnLvUp").gameObject
  990. if tolua.getpeer(tmp) == nil then
  991. tolua.setpeer(tmp, {})
  992. end
  993. self.btnLvUp = tmp
  994. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  995. end
  996. ---@private
  997. function UIBoliShopView:InitGenerate__61(Root, data)
  998. --[[
  999. UIAnimator/Window/TopView/ShopExpBox/Max
  1000. --]]
  1001. local tmp = Root:Find("UIAnimator/Window/TopView/ShopExpBox/Max").gameObject
  1002. if tolua.getpeer(tmp) == nil then
  1003. tolua.setpeer(tmp, {})
  1004. end
  1005. self.max = tmp
  1006. end
  1007. ---@private
  1008. function UIBoliShopView:GenerateDestroy()
  1009. if tolua.getpeer(self.gold.number) ~= nil then
  1010. tolua.setpeer(self.gold.number, nil)
  1011. end
  1012. if tolua.getpeer(self.gold.icon) ~= nil then
  1013. tolua.setpeer(self.gold.icon, nil)
  1014. end
  1015. if tolua.getpeer(self.coin.number) ~= nil then
  1016. tolua.setpeer(self.coin.number, nil)
  1017. end
  1018. if tolua.getpeer(self.coin.icon) ~= nil then
  1019. tolua.setpeer(self.coin.icon, nil)
  1020. end
  1021. if tolua.getpeer(self.ro.number) ~= nil then
  1022. tolua.setpeer(self.ro.number, nil)
  1023. end
  1024. if tolua.getpeer(self.ro.icon) ~= nil then
  1025. tolua.setpeer(self.ro.icon, nil)
  1026. end
  1027. if tolua.getpeer(self.shopToggle.check) ~= nil then
  1028. tolua.setpeer(self.shopToggle.check, nil)
  1029. end
  1030. if tolua.getpeer(self.privilegeToggle.redPoint) ~= nil then
  1031. tolua.setpeer(self.privilegeToggle.redPoint, nil)
  1032. end
  1033. if tolua.getpeer(self.privilegeToggle.check) ~= nil then
  1034. tolua.setpeer(self.privilegeToggle.check, nil)
  1035. end
  1036. if tolua.getpeer(self.giftItem3.icon) ~= nil then
  1037. tolua.setpeer(self.giftItem3.icon, nil)
  1038. end
  1039. if tolua.getpeer(self.giftItem3.labelReceived) ~= nil then
  1040. tolua.setpeer(self.giftItem3.labelReceived, nil)
  1041. end
  1042. if tolua.getpeer(self.giftItem3.btnReceive.lock) ~= nil then
  1043. tolua.setpeer(self.giftItem3.btnReceive.lock, nil)
  1044. end
  1045. if tolua.getpeer(self.giftItem3.btnReceive) ~= nil then
  1046. tolua.setpeer(self.giftItem3.btnReceive, nil)
  1047. end
  1048. if self.giftItem3.iconItem.GenerateDestroy ~= nil then
  1049. self.giftItem3.iconItem:GenerateDestroy()
  1050. end
  1051. if tolua.getpeer(self.giftItem3.iconItem) ~= nil then
  1052. tolua.setpeer(self.giftItem3.iconItem, nil)
  1053. end
  1054. if tolua.getpeer(self.giftItem3.giftname) ~= nil then
  1055. tolua.setpeer(self.giftItem3.giftname, nil)
  1056. end
  1057. if tolua.getpeer(self.giftItem2.icon) ~= nil then
  1058. tolua.setpeer(self.giftItem2.icon, nil)
  1059. end
  1060. if tolua.getpeer(self.giftItem2.labelReceived) ~= nil then
  1061. tolua.setpeer(self.giftItem2.labelReceived, nil)
  1062. end
  1063. if tolua.getpeer(self.giftItem2.btnReceive.lock) ~= nil then
  1064. tolua.setpeer(self.giftItem2.btnReceive.lock, nil)
  1065. end
  1066. if tolua.getpeer(self.giftItem2.btnReceive) ~= nil then
  1067. tolua.setpeer(self.giftItem2.btnReceive, nil)
  1068. end
  1069. if self.giftItem2.iconItem.GenerateDestroy ~= nil then
  1070. self.giftItem2.iconItem:GenerateDestroy()
  1071. end
  1072. if tolua.getpeer(self.giftItem2.iconItem) ~= nil then
  1073. tolua.setpeer(self.giftItem2.iconItem, nil)
  1074. end
  1075. if tolua.getpeer(self.giftItem2.giftname) ~= nil then
  1076. tolua.setpeer(self.giftItem2.giftname, nil)
  1077. end
  1078. if tolua.getpeer(self.giftItem1.icon) ~= nil then
  1079. tolua.setpeer(self.giftItem1.icon, nil)
  1080. end
  1081. if tolua.getpeer(self.giftItem1.labelReceived) ~= nil then
  1082. tolua.setpeer(self.giftItem1.labelReceived, nil)
  1083. end
  1084. if tolua.getpeer(self.giftItem1.btnReceive.lock) ~= nil then
  1085. tolua.setpeer(self.giftItem1.btnReceive.lock, nil)
  1086. end
  1087. if tolua.getpeer(self.giftItem1.btnReceive) ~= nil then
  1088. tolua.setpeer(self.giftItem1.btnReceive, nil)
  1089. end
  1090. if self.giftItem1.iconItem.GenerateDestroy ~= nil then
  1091. self.giftItem1.iconItem:GenerateDestroy()
  1092. end
  1093. if tolua.getpeer(self.giftItem1.iconItem) ~= nil then
  1094. tolua.setpeer(self.giftItem1.iconItem, nil)
  1095. end
  1096. if tolua.getpeer(self.giftItem1.giftname) ~= nil then
  1097. tolua.setpeer(self.giftItem1.giftname, nil)
  1098. end
  1099. if tolua.getpeer(self.uIAnimator) ~= nil then
  1100. tolua.setpeer(self.uIAnimator, nil)
  1101. end
  1102. self.uIAnimator = nil
  1103. if tolua.getpeer(self.AnyBtn) ~= nil then
  1104. tolua.setpeer(self.AnyBtn, nil)
  1105. end
  1106. self.AnyBtn = nil
  1107. if tolua.getpeer(self.privilegeBox) ~= nil then
  1108. tolua.setpeer(self.privilegeBox, nil)
  1109. end
  1110. self.privilegeBox = nil
  1111. if tolua.getpeer(self.titletext) ~= nil then
  1112. tolua.setpeer(self.titletext, nil)
  1113. end
  1114. self.titletext = nil
  1115. if tolua.getpeer(self.informationScrollView) ~= nil then
  1116. tolua.setpeer(self.informationScrollView, nil)
  1117. end
  1118. self.informationScrollView = nil
  1119. if self.privilegeDscItem.GenerateDestroy ~= nil then
  1120. self.privilegeDscItem:GenerateDestroy()
  1121. end
  1122. if tolua.getpeer(self.privilegeDscItem) ~= nil then
  1123. tolua.setpeer(self.privilegeDscItem, nil)
  1124. end
  1125. self.privilegeDscItem = nil
  1126. if tolua.getpeer(self.prompt) ~= nil then
  1127. tolua.setpeer(self.prompt, nil)
  1128. end
  1129. self.prompt = nil
  1130. if tolua.getpeer(self.giftItem1) ~= nil then
  1131. tolua.setpeer(self.giftItem1, nil)
  1132. end
  1133. self.giftItem1 = nil
  1134. if tolua.getpeer(self.giftItem2) ~= nil then
  1135. tolua.setpeer(self.giftItem2, nil)
  1136. end
  1137. self.giftItem2 = nil
  1138. if tolua.getpeer(self.giftItem3) ~= nil then
  1139. tolua.setpeer(self.giftItem3, nil)
  1140. end
  1141. self.giftItem3 = nil
  1142. if tolua.getpeer(self.labelActiveted) ~= nil then
  1143. tolua.setpeer(self.labelActiveted, nil)
  1144. end
  1145. self.labelActiveted = nil
  1146. if tolua.getpeer(self.scrollViewLv) ~= nil then
  1147. tolua.setpeer(self.scrollViewLv, nil)
  1148. end
  1149. self.scrollViewLv = nil
  1150. if self.btnLv.GenerateDestroy ~= nil then
  1151. self.btnLv:GenerateDestroy()
  1152. end
  1153. if tolua.getpeer(self.btnLv) ~= nil then
  1154. tolua.setpeer(self.btnLv, nil)
  1155. end
  1156. self.btnLv = nil
  1157. if tolua.getpeer(self.goodsBox) ~= nil then
  1158. tolua.setpeer(self.goodsBox, nil)
  1159. end
  1160. self.goodsBox = nil
  1161. if tolua.getpeer(self.goodsScrollView) ~= nil then
  1162. tolua.setpeer(self.goodsScrollView, nil)
  1163. end
  1164. self.goodsScrollView = nil
  1165. if self.shopGoodsItem.GenerateDestroy ~= nil then
  1166. self.shopGoodsItem:GenerateDestroy()
  1167. end
  1168. if tolua.getpeer(self.shopGoodsItem) ~= nil then
  1169. tolua.setpeer(self.shopGoodsItem, nil)
  1170. end
  1171. self.shopGoodsItem = nil
  1172. if tolua.getpeer(self.btnClose) ~= nil then
  1173. tolua.setpeer(self.btnClose, nil)
  1174. end
  1175. self.btnClose = nil
  1176. if tolua.getpeer(self.btnVIP) ~= nil then
  1177. tolua.setpeer(self.btnVIP, nil)
  1178. end
  1179. self.btnVIP = nil
  1180. if tolua.getpeer(self.vipFrame) ~= nil then
  1181. tolua.setpeer(self.vipFrame, nil)
  1182. end
  1183. self.vipFrame = nil
  1184. if tolua.getpeer(self.vipIcon) ~= nil then
  1185. tolua.setpeer(self.vipIcon, nil)
  1186. end
  1187. self.vipIcon = nil
  1188. if tolua.getpeer(self.vipNameTxt) ~= nil then
  1189. tolua.setpeer(self.vipNameTxt, nil)
  1190. end
  1191. self.vipNameTxt = nil
  1192. if tolua.getpeer(self.toggle) ~= nil then
  1193. tolua.setpeer(self.toggle, nil)
  1194. end
  1195. self.toggle = nil
  1196. if tolua.getpeer(self.privilegeToggle) ~= nil then
  1197. tolua.setpeer(self.privilegeToggle, nil)
  1198. end
  1199. self.privilegeToggle = nil
  1200. if tolua.getpeer(self.shopToggle) ~= nil then
  1201. tolua.setpeer(self.shopToggle, nil)
  1202. end
  1203. self.shopToggle = nil
  1204. if tolua.getpeer(self.textBox) ~= nil then
  1205. tolua.setpeer(self.textBox, nil)
  1206. end
  1207. self.textBox = nil
  1208. if tolua.getpeer(self.ro) ~= nil then
  1209. tolua.setpeer(self.ro, nil)
  1210. end
  1211. self.ro = nil
  1212. if tolua.getpeer(self.coin) ~= nil then
  1213. tolua.setpeer(self.coin, nil)
  1214. end
  1215. self.coin = nil
  1216. if tolua.getpeer(self.gold) ~= nil then
  1217. tolua.setpeer(self.gold, nil)
  1218. end
  1219. self.gold = nil
  1220. if tolua.getpeer(self.shopExpBox) ~= nil then
  1221. tolua.setpeer(self.shopExpBox, nil)
  1222. end
  1223. self.shopExpBox = nil
  1224. if tolua.getpeer(self.numlv) ~= nil then
  1225. tolua.setpeer(self.numlv, nil)
  1226. end
  1227. self.numlv = nil
  1228. if tolua.getpeer(self.expSlider) ~= nil then
  1229. tolua.setpeer(self.expSlider, nil)
  1230. end
  1231. self.expSlider = nil
  1232. if tolua.getpeer(self.numexp) ~= nil then
  1233. tolua.setpeer(self.numexp, nil)
  1234. end
  1235. self.numexp = nil
  1236. if tolua.getpeer(self.btnLvUp) ~= nil then
  1237. tolua.setpeer(self.btnLvUp, nil)
  1238. end
  1239. self.btnLvUp = nil
  1240. if tolua.getpeer(self.max) ~= nil then
  1241. tolua.setpeer(self.max, nil)
  1242. end
  1243. self.max = nil
  1244. self.transform = nil
  1245. self.gameObject = nil
  1246. self.inited = false
  1247. end
  1248. return UIBoliShopView