UIBagView_Generate.lua 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284
  1. ---@class UIBag__Generate_btnArtifactReforge
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIBag__Generate_btnArtifactDecompose
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UIBag__Generate_btnProduce
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public button UnityEngine.UI.Button
  10. ---@class UIBag__Generate_btnDecompose
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public button UnityEngine.UI.Button
  13. ---@class UIBag__Generate_btnBack
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public button UnityEngine.UI.Button
  16. ---@class UIBag__Generate_btnFilter
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public button UnityEngine.UI.Button
  19. ---@field public check UnityEngine.GameObject
  20. ---@class UIBag__Generate_toggleArtifact
  21. ---@field public gameObject UnityEngine.GameObject
  22. ---@field public toggle UnityEngine.UI.Toggle
  23. ---@class UIBag__Generate_toggleCards
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public toggle UnityEngine.UI.Toggle
  26. ---@class UIBag__Generate_toggleEquip
  27. ---@field public gameObject UnityEngine.GameObject
  28. ---@field public toggle UnityEngine.UI.Toggle
  29. ---@class UIBag__Generate_toggleItems
  30. ---@field public gameObject UnityEngine.GameObject
  31. ---@field public toggle UnityEngine.UI.Toggle
  32. ---@class UIBag__Generate_toggleGroup
  33. ---@field public gameObject UnityEngine.GameObject
  34. ---@field public toggleGroup UnityEngine.UI.ToggleGroup
  35. ---@class UIBag__Generate_wishSlot4_button
  36. ---@field public gameObject UnityEngine.GameObject
  37. ---@field public button UnityEngine.UI.Button
  38. ---@class UIBag__Generate_wishSlot4_wishShow
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public animator UnityEngine.Animator
  41. ---@class UIBag__Generate_wishSlot4_times_text
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public text UnityEngine.UI.Text
  44. ---@class UIBag__Generate_wishSlot4_times
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public text UIBag__Generate_wishSlot4_times_text
  47. ---@class UIBag__Generate_wishSlot4_iconSmallItem
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public rectTransform UnityEngine.RectTransform
  50. ---@field public layoutElement UnityEngine.UI.LayoutElement
  51. ---@class UIBag__Generate_wishSlot4
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public lucky UnityEngine.GameObject
  54. ---@field public iconSmallItem UIBag__Generate_wishSlot4_iconSmallItem
  55. ---@field public lock UnityEngine.GameObject
  56. ---@field public luckyLabel UnityEngine.GameObject
  57. ---@field public times UIBag__Generate_wishSlot4_times
  58. ---@field public wishShow UIBag__Generate_wishSlot4_wishShow
  59. ---@field public button UIBag__Generate_wishSlot4_button
  60. ---@class UIBag__Generate_wishSlot3_button
  61. ---@field public gameObject UnityEngine.GameObject
  62. ---@field public button UnityEngine.UI.Button
  63. ---@class UIBag__Generate_wishSlot3_wishShow
  64. ---@field public gameObject UnityEngine.GameObject
  65. ---@field public animator UnityEngine.Animator
  66. ---@class UIBag__Generate_wishSlot3_times_text
  67. ---@field public gameObject UnityEngine.GameObject
  68. ---@field public text UnityEngine.UI.Text
  69. ---@class UIBag__Generate_wishSlot3_times
  70. ---@field public gameObject UnityEngine.GameObject
  71. ---@field public text UIBag__Generate_wishSlot3_times_text
  72. ---@class UIBag__Generate_wishSlot3_iconSmallItem
  73. ---@field public gameObject UnityEngine.GameObject
  74. ---@field public rectTransform UnityEngine.RectTransform
  75. ---@field public layoutElement UnityEngine.UI.LayoutElement
  76. ---@class UIBag__Generate_wishSlot3
  77. ---@field public gameObject UnityEngine.GameObject
  78. ---@field public lucky UnityEngine.GameObject
  79. ---@field public iconSmallItem UIBag__Generate_wishSlot3_iconSmallItem
  80. ---@field public lock UnityEngine.GameObject
  81. ---@field public luckyLabel UnityEngine.GameObject
  82. ---@field public times UIBag__Generate_wishSlot3_times
  83. ---@field public wishShow UIBag__Generate_wishSlot3_wishShow
  84. ---@field public button UIBag__Generate_wishSlot3_button
  85. ---@class UIBag__Generate_wishSlot2_button
  86. ---@field public gameObject UnityEngine.GameObject
  87. ---@field public button UnityEngine.UI.Button
  88. ---@class UIBag__Generate_wishSlot2_wishShow
  89. ---@field public gameObject UnityEngine.GameObject
  90. ---@field public animator UnityEngine.Animator
  91. ---@class UIBag__Generate_wishSlot2_times_text
  92. ---@field public gameObject UnityEngine.GameObject
  93. ---@field public text UnityEngine.UI.Text
  94. ---@class UIBag__Generate_wishSlot2_times
  95. ---@field public gameObject UnityEngine.GameObject
  96. ---@field public text UIBag__Generate_wishSlot2_times_text
  97. ---@class UIBag__Generate_wishSlot2_iconSmallItem
  98. ---@field public gameObject UnityEngine.GameObject
  99. ---@field public rectTransform UnityEngine.RectTransform
  100. ---@field public layoutElement UnityEngine.UI.LayoutElement
  101. ---@class UIBag__Generate_wishSlot2
  102. ---@field public gameObject UnityEngine.GameObject
  103. ---@field public lucky UnityEngine.GameObject
  104. ---@field public iconSmallItem UIBag__Generate_wishSlot2_iconSmallItem
  105. ---@field public lock UnityEngine.GameObject
  106. ---@field public luckyLabel UnityEngine.GameObject
  107. ---@field public times UIBag__Generate_wishSlot2_times
  108. ---@field public wishShow UIBag__Generate_wishSlot2_wishShow
  109. ---@field public button UIBag__Generate_wishSlot2_button
  110. ---@class UIBag__Generate_wishSlot1_button
  111. ---@field public gameObject UnityEngine.GameObject
  112. ---@field public button UnityEngine.UI.Button
  113. ---@class UIBag__Generate_wishSlot1_wishShow
  114. ---@field public gameObject UnityEngine.GameObject
  115. ---@field public animator UnityEngine.Animator
  116. ---@class UIBag__Generate_wishSlot1_times_text
  117. ---@field public gameObject UnityEngine.GameObject
  118. ---@field public text UnityEngine.UI.Text
  119. ---@class UIBag__Generate_wishSlot1_times
  120. ---@field public gameObject UnityEngine.GameObject
  121. ---@field public text UIBag__Generate_wishSlot1_times_text
  122. ---@class UIBag__Generate_wishSlot1_iconSmallItem
  123. ---@field public gameObject UnityEngine.GameObject
  124. ---@field public rectTransform UnityEngine.RectTransform
  125. ---@field public layoutElement UnityEngine.UI.LayoutElement
  126. ---@class UIBag__Generate_wishSlot1
  127. ---@field public gameObject UnityEngine.GameObject
  128. ---@field public lucky UnityEngine.GameObject
  129. ---@field public iconSmallItem UIBag__Generate_wishSlot1_iconSmallItem
  130. ---@field public lock UnityEngine.GameObject
  131. ---@field public luckyLabel UnityEngine.GameObject
  132. ---@field public times UIBag__Generate_wishSlot1_times
  133. ---@field public wishShow UIBag__Generate_wishSlot1_wishShow
  134. ---@field public button UIBag__Generate_wishSlot1_button
  135. ---@class UIBag__Generate_iconItem
  136. ---@field public gameObject UnityEngine.GameObject
  137. ---@field public rectTransform UnityEngine.RectTransform
  138. ---@field public layoutElement UnityEngine.UI.LayoutElement
  139. ---@class UIBag__Generate_scrollView
  140. ---@field public gameObject UnityEngine.GameObject
  141. ---@field public loopGridView SuperScrollView.LoopGridView
  142. ---@class UIBag__Generate_AnyBtn
  143. ---@field public gameObject UnityEngine.GameObject
  144. ---@field public button UnityEngine.UI.Button
  145. ---@class UIBag__Generate_uIAnimator
  146. ---@field public gameObject UnityEngine.GameObject
  147. ---@field public animator UnityEngine.Animator
  148. ---@class UIBag__Generate
  149. ---@field private gameObject UnityEngine.GameObject
  150. ---@field private transform UnityEngine.Transform
  151. ---@field private uIAnimator UIBag__Generate_uIAnimator
  152. ---@field private AnyBtn UIBag__Generate_AnyBtn
  153. ---@field private scrollView UIBag__Generate_scrollView
  154. ---@field private noticeItemParent UnityEngine.GameObject
  155. ---@field private iconItem UIBag__Generate_iconItem
  156. ---@field private bagNoticeItem UnityEngine.GameObject
  157. ---@field private wishBox UnityEngine.GameObject
  158. ---@field private wishSlot1 UIBag__Generate_wishSlot1
  159. ---@field private wishSlot2 UIBag__Generate_wishSlot2
  160. ---@field private wishSlot3 UIBag__Generate_wishSlot3
  161. ---@field private wishSlot4 UIBag__Generate_wishSlot4
  162. ---@field private toggleGroup UIBag__Generate_toggleGroup
  163. ---@field private toggleItems UIBag__Generate_toggleItems
  164. ---@field private toggleEquip UIBag__Generate_toggleEquip
  165. ---@field private toggleCards UIBag__Generate_toggleCards
  166. ---@field private toggleArtifact UIBag__Generate_toggleArtifact
  167. ---@field private btnFilter UIBag__Generate_btnFilter
  168. ---@field private btnBack UIBag__Generate_btnBack
  169. ---@field private btnDecompose UIBag__Generate_btnDecompose
  170. ---@field private btnDecompose_lock UnityEngine.GameObject
  171. ---@field private btnProduce UIBag__Generate_btnProduce
  172. ---@field private btnProduce_lock UnityEngine.GameObject
  173. ---@field private btnArtifactDecompose UIBag__Generate_btnArtifactDecompose
  174. ---@field private btnArtifactReforge UIBag__Generate_btnArtifactReforge
  175. local UIBagView = class("UIBagView", require("UIViewBase"))
  176. function UIBagView:ctor()
  177. end
  178. ---@private
  179. function UIBagView:SetActive(result)
  180. self.gameObject:SetActive(result)
  181. end
  182. ---@private
  183. function UIBagView:InitGenerate(Root, data)
  184. self.transform = Root
  185. self.inited = true
  186. if self.super.Init then
  187. self.super.Init(self)
  188. end
  189. local tmp
  190. self:InitGenerate__1(Root,data)
  191. self:InitGenerate__2(Root,data)
  192. self:InitGenerate__3(Root,data)
  193. self:InitGenerate__4(Root,data)
  194. self:InitGenerate__5(Root,data)
  195. self:InitGenerate__6(Root,data)
  196. self:InitGenerate__7(Root,data)
  197. self:InitGenerate__8(Root,data)
  198. self:InitGenerate__9(Root,data)
  199. self:InitGenerate__10(Root,data)
  200. self:InitGenerate__11(Root,data)
  201. self:InitGenerate__12(Root,data)
  202. self:InitGenerate__13(Root,data)
  203. self:InitGenerate__14(Root,data)
  204. self:InitGenerate__15(Root,data)
  205. self:InitGenerate__16(Root,data)
  206. self:InitGenerate__17(Root,data)
  207. self:InitGenerate__18(Root,data)
  208. self:InitGenerate__19(Root,data)
  209. self:InitGenerate__20(Root,data)
  210. self:InitGenerate__21(Root,data)
  211. self:InitGenerate__22(Root,data)
  212. self:InitGenerate__23(Root,data)
  213. self:InitGenerate__24(Root,data)
  214. self:InitGenerate__25(Root,data)
  215. self:InitGenerate__26(Root,data)
  216. self:InitGenerate__27(Root,data)
  217. self:InitGenerate__28(Root,data)
  218. self:InitGenerate__29(Root,data)
  219. self:InitGenerate__30(Root,data)
  220. self:InitGenerate__31(Root,data)
  221. self:InitGenerate__32(Root,data)
  222. self:InitGenerate__33(Root,data)
  223. self:InitGenerate__34(Root,data)
  224. self:InitGenerate__35(Root,data)
  225. self:InitGenerate__36(Root,data)
  226. self:InitGenerate__37(Root,data)
  227. self:InitGenerate__38(Root,data)
  228. self:InitGenerate__39(Root,data)
  229. self:InitGenerate__40(Root,data)
  230. self:InitGenerate__41(Root,data)
  231. self:InitGenerate__42(Root,data)
  232. self:InitGenerate__43(Root,data)
  233. self:InitGenerate__44(Root,data)
  234. self:InitGenerate__45(Root,data)
  235. self:InitGenerate__46(Root,data)
  236. self:InitGenerate__47(Root,data)
  237. self:InitGenerate__48(Root,data)
  238. self:InitGenerate__49(Root,data)
  239. self:InitGenerate__50(Root,data)
  240. self:InitGenerate__51(Root,data)
  241. self:InitGenerate__52(Root,data)
  242. self:InitGenerate__53(Root,data)
  243. self:InitGenerate__54(Root,data)
  244. self:InitGenerate__55(Root,data)
  245. self:InitGenerate__56(Root,data)
  246. self:InitGenerate__57(Root,data)
  247. self:InitGenerate__58(Root,data)
  248. end
  249. ---@private
  250. function UIBagView:InitGenerate__1(Root, data)
  251. --[[
  252. Root
  253. --]]
  254. end
  255. ---@private
  256. function UIBagView:InitGenerate__2(Root, data)
  257. --[[
  258. UIAnimator
  259. --]]
  260. local tmp = Root:Find("UIAnimator").gameObject
  261. if tolua.getpeer(tmp) == nil then
  262. tolua.setpeer(tmp, {})
  263. end
  264. self.uIAnimator = tmp
  265. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  266. tmp.animator.logWarnings = false
  267. end
  268. ---@private
  269. function UIBagView:InitGenerate__3(Root, data)
  270. --[[
  271. UIAnimator/Alpha
  272. --]]
  273. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  274. if tolua.getpeer(tmp) == nil then
  275. tolua.setpeer(tmp, {})
  276. end
  277. self.AnyBtn = tmp
  278. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  279. end
  280. ---@private
  281. function UIBagView:InitGenerate__4(Root, data)
  282. --[[
  283. UIAnimator/Window/Layout/ScrollView
  284. --]]
  285. local tmp = Root:Find("UIAnimator/Window/Layout/ScrollView").gameObject
  286. if tolua.getpeer(tmp) == nil then
  287. tolua.setpeer(tmp, {})
  288. end
  289. self.scrollView = tmp
  290. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  291. end
  292. ---@private
  293. function UIBagView:InitGenerate__5(Root, data)
  294. --[[
  295. UIAnimator/Window/Layout/ScrollView/Viewport/Content/NoticeItemParent
  296. --]]
  297. local tmp = Root:Find("UIAnimator/Window/Layout/ScrollView/Viewport/Content/NoticeItemParent").gameObject
  298. if tolua.getpeer(tmp) == nil then
  299. tolua.setpeer(tmp, {})
  300. end
  301. self.noticeItemParent = tmp
  302. end
  303. ---@private
  304. function UIBagView:InitGenerate__6(Root, data)
  305. --[[
  306. UIAnimator/Window/Layout/ScrollView/Viewport/Content/IconItem
  307. --]]
  308. local tmp = Root:Find("UIAnimator/Window/Layout/ScrollView/Viewport/Content/IconItem").gameObject
  309. if tolua.getpeer(tmp) == nil then
  310. tolua.setpeer(tmp, {})
  311. end
  312. self.iconItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  313. self.iconItem.prefabName = "IconItem"
  314. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  315. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  316. end
  317. ---@private
  318. function UIBagView:InitGenerate__7(Root, data)
  319. --[[
  320. UIAnimator/Window/Layout/ScrollView/Viewport/Content/BagNoticeItem
  321. --]]
  322. local tmp = Root:Find("UIAnimator/Window/Layout/ScrollView/Viewport/Content/BagNoticeItem").gameObject
  323. if tolua.getpeer(tmp) == nil then
  324. tolua.setpeer(tmp, {})
  325. end
  326. self.bagNoticeItem = tmp
  327. end
  328. ---@private
  329. function UIBagView:InitGenerate__8(Root, data)
  330. --[[
  331. UIAnimator/Window/Layout/WishBox
  332. --]]
  333. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox").gameObject
  334. if tolua.getpeer(tmp) == nil then
  335. tolua.setpeer(tmp, {})
  336. end
  337. self.wishBox = tmp
  338. end
  339. ---@private
  340. function UIBagView:InitGenerate__9(Root, data)
  341. --[[
  342. UIAnimator/Window/Layout/WishBox/Wish/WishSlot1
  343. --]]
  344. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1").gameObject
  345. if tolua.getpeer(tmp) == nil then
  346. tolua.setpeer(tmp, {})
  347. end
  348. self.wishSlot1 = tmp
  349. end
  350. ---@private
  351. function UIBagView:InitGenerate__10(Root, data)
  352. --[[
  353. UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Lucky
  354. --]]
  355. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Lucky").gameObject
  356. if tolua.getpeer(tmp) == nil then
  357. tolua.setpeer(tmp, {})
  358. end
  359. self.wishSlot1.lucky = tmp
  360. end
  361. ---@private
  362. function UIBagView:InitGenerate__11(Root, data)
  363. --[[
  364. UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/IconSmallItem
  365. --]]
  366. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/IconSmallItem").gameObject
  367. if tolua.getpeer(tmp) == nil then
  368. tolua.setpeer(tmp, {})
  369. end
  370. self.wishSlot1.iconSmallItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  371. self.wishSlot1.iconSmallItem.prefabName = "IconItem"
  372. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  373. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  374. end
  375. ---@private
  376. function UIBagView:InitGenerate__12(Root, data)
  377. --[[
  378. UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Lock
  379. --]]
  380. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Lock").gameObject
  381. if tolua.getpeer(tmp) == nil then
  382. tolua.setpeer(tmp, {})
  383. end
  384. self.wishSlot1.lock = tmp
  385. end
  386. ---@private
  387. function UIBagView:InitGenerate__13(Root, data)
  388. --[[
  389. UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/LuckyLabel
  390. --]]
  391. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/LuckyLabel").gameObject
  392. if tolua.getpeer(tmp) == nil then
  393. tolua.setpeer(tmp, {})
  394. end
  395. self.wishSlot1.luckyLabel = tmp
  396. end
  397. ---@private
  398. function UIBagView:InitGenerate__14(Root, data)
  399. --[[
  400. UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Times
  401. --]]
  402. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Times").gameObject
  403. if tolua.getpeer(tmp) == nil then
  404. tolua.setpeer(tmp, {})
  405. end
  406. self.wishSlot1.times = tmp
  407. end
  408. ---@private
  409. function UIBagView:InitGenerate__15(Root, data)
  410. --[[
  411. UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Times/Time/Text
  412. --]]
  413. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Times/Time/Text").gameObject
  414. if tolua.getpeer(tmp) == nil then
  415. tolua.setpeer(tmp, {})
  416. end
  417. self.wishSlot1.times.text = tmp
  418. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  419. end
  420. ---@private
  421. function UIBagView:InitGenerate__16(Root, data)
  422. --[[
  423. UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/WishShow
  424. --]]
  425. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/WishShow").gameObject
  426. if tolua.getpeer(tmp) == nil then
  427. tolua.setpeer(tmp, {})
  428. end
  429. self.wishSlot1.wishShow = tmp
  430. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  431. tmp.animator.logWarnings = false
  432. end
  433. ---@private
  434. function UIBagView:InitGenerate__17(Root, data)
  435. --[[
  436. UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Button
  437. --]]
  438. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Button").gameObject
  439. if tolua.getpeer(tmp) == nil then
  440. tolua.setpeer(tmp, {})
  441. end
  442. self.wishSlot1.button = tmp
  443. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  444. end
  445. ---@private
  446. function UIBagView:InitGenerate__18(Root, data)
  447. --[[
  448. UIAnimator/Window/Layout/WishBox/Wish/WishSlot2
  449. --]]
  450. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2").gameObject
  451. if tolua.getpeer(tmp) == nil then
  452. tolua.setpeer(tmp, {})
  453. end
  454. self.wishSlot2 = tmp
  455. end
  456. ---@private
  457. function UIBagView:InitGenerate__19(Root, data)
  458. --[[
  459. UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Lucky
  460. --]]
  461. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Lucky").gameObject
  462. if tolua.getpeer(tmp) == nil then
  463. tolua.setpeer(tmp, {})
  464. end
  465. self.wishSlot2.lucky = tmp
  466. end
  467. ---@private
  468. function UIBagView:InitGenerate__20(Root, data)
  469. --[[
  470. UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/IconSmallItem
  471. --]]
  472. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/IconSmallItem").gameObject
  473. if tolua.getpeer(tmp) == nil then
  474. tolua.setpeer(tmp, {})
  475. end
  476. self.wishSlot2.iconSmallItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  477. self.wishSlot2.iconSmallItem.prefabName = "IconItem"
  478. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  479. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  480. end
  481. ---@private
  482. function UIBagView:InitGenerate__21(Root, data)
  483. --[[
  484. UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Lock
  485. --]]
  486. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Lock").gameObject
  487. if tolua.getpeer(tmp) == nil then
  488. tolua.setpeer(tmp, {})
  489. end
  490. self.wishSlot2.lock = tmp
  491. end
  492. ---@private
  493. function UIBagView:InitGenerate__22(Root, data)
  494. --[[
  495. UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/LuckyLabel
  496. --]]
  497. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/LuckyLabel").gameObject
  498. if tolua.getpeer(tmp) == nil then
  499. tolua.setpeer(tmp, {})
  500. end
  501. self.wishSlot2.luckyLabel = tmp
  502. end
  503. ---@private
  504. function UIBagView:InitGenerate__23(Root, data)
  505. --[[
  506. UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Times
  507. --]]
  508. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Times").gameObject
  509. if tolua.getpeer(tmp) == nil then
  510. tolua.setpeer(tmp, {})
  511. end
  512. self.wishSlot2.times = tmp
  513. end
  514. ---@private
  515. function UIBagView:InitGenerate__24(Root, data)
  516. --[[
  517. UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Times/Time/Text
  518. --]]
  519. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Times/Time/Text").gameObject
  520. if tolua.getpeer(tmp) == nil then
  521. tolua.setpeer(tmp, {})
  522. end
  523. self.wishSlot2.times.text = tmp
  524. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  525. end
  526. ---@private
  527. function UIBagView:InitGenerate__25(Root, data)
  528. --[[
  529. UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/WishShow
  530. --]]
  531. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/WishShow").gameObject
  532. if tolua.getpeer(tmp) == nil then
  533. tolua.setpeer(tmp, {})
  534. end
  535. self.wishSlot2.wishShow = tmp
  536. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  537. tmp.animator.logWarnings = false
  538. end
  539. ---@private
  540. function UIBagView:InitGenerate__26(Root, data)
  541. --[[
  542. UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Button
  543. --]]
  544. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Button").gameObject
  545. if tolua.getpeer(tmp) == nil then
  546. tolua.setpeer(tmp, {})
  547. end
  548. self.wishSlot2.button = tmp
  549. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  550. end
  551. ---@private
  552. function UIBagView:InitGenerate__27(Root, data)
  553. --[[
  554. UIAnimator/Window/Layout/WishBox/Wish/WishSlot3
  555. --]]
  556. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3").gameObject
  557. if tolua.getpeer(tmp) == nil then
  558. tolua.setpeer(tmp, {})
  559. end
  560. self.wishSlot3 = tmp
  561. end
  562. ---@private
  563. function UIBagView:InitGenerate__28(Root, data)
  564. --[[
  565. UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Lucky
  566. --]]
  567. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Lucky").gameObject
  568. if tolua.getpeer(tmp) == nil then
  569. tolua.setpeer(tmp, {})
  570. end
  571. self.wishSlot3.lucky = tmp
  572. end
  573. ---@private
  574. function UIBagView:InitGenerate__29(Root, data)
  575. --[[
  576. UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/IconSmallItem
  577. --]]
  578. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/IconSmallItem").gameObject
  579. if tolua.getpeer(tmp) == nil then
  580. tolua.setpeer(tmp, {})
  581. end
  582. self.wishSlot3.iconSmallItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  583. self.wishSlot3.iconSmallItem.prefabName = "IconItem"
  584. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  585. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  586. end
  587. ---@private
  588. function UIBagView:InitGenerate__30(Root, data)
  589. --[[
  590. UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Lock
  591. --]]
  592. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Lock").gameObject
  593. if tolua.getpeer(tmp) == nil then
  594. tolua.setpeer(tmp, {})
  595. end
  596. self.wishSlot3.lock = tmp
  597. end
  598. ---@private
  599. function UIBagView:InitGenerate__31(Root, data)
  600. --[[
  601. UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/LuckyLabel
  602. --]]
  603. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/LuckyLabel").gameObject
  604. if tolua.getpeer(tmp) == nil then
  605. tolua.setpeer(tmp, {})
  606. end
  607. self.wishSlot3.luckyLabel = tmp
  608. end
  609. ---@private
  610. function UIBagView:InitGenerate__32(Root, data)
  611. --[[
  612. UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Times
  613. --]]
  614. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Times").gameObject
  615. if tolua.getpeer(tmp) == nil then
  616. tolua.setpeer(tmp, {})
  617. end
  618. self.wishSlot3.times = tmp
  619. end
  620. ---@private
  621. function UIBagView:InitGenerate__33(Root, data)
  622. --[[
  623. UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Times/Time/Text
  624. --]]
  625. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Times/Time/Text").gameObject
  626. if tolua.getpeer(tmp) == nil then
  627. tolua.setpeer(tmp, {})
  628. end
  629. self.wishSlot3.times.text = tmp
  630. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  631. end
  632. ---@private
  633. function UIBagView:InitGenerate__34(Root, data)
  634. --[[
  635. UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/WishShow
  636. --]]
  637. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/WishShow").gameObject
  638. if tolua.getpeer(tmp) == nil then
  639. tolua.setpeer(tmp, {})
  640. end
  641. self.wishSlot3.wishShow = tmp
  642. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  643. tmp.animator.logWarnings = false
  644. end
  645. ---@private
  646. function UIBagView:InitGenerate__35(Root, data)
  647. --[[
  648. UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Button
  649. --]]
  650. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Button").gameObject
  651. if tolua.getpeer(tmp) == nil then
  652. tolua.setpeer(tmp, {})
  653. end
  654. self.wishSlot3.button = tmp
  655. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  656. end
  657. ---@private
  658. function UIBagView:InitGenerate__36(Root, data)
  659. --[[
  660. UIAnimator/Window/Layout/WishBox/Wish/WishSlot4
  661. --]]
  662. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4").gameObject
  663. if tolua.getpeer(tmp) == nil then
  664. tolua.setpeer(tmp, {})
  665. end
  666. self.wishSlot4 = tmp
  667. end
  668. ---@private
  669. function UIBagView:InitGenerate__37(Root, data)
  670. --[[
  671. UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Lucky
  672. --]]
  673. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Lucky").gameObject
  674. if tolua.getpeer(tmp) == nil then
  675. tolua.setpeer(tmp, {})
  676. end
  677. self.wishSlot4.lucky = tmp
  678. end
  679. ---@private
  680. function UIBagView:InitGenerate__38(Root, data)
  681. --[[
  682. UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/IconSmallItem
  683. --]]
  684. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/IconSmallItem").gameObject
  685. if tolua.getpeer(tmp) == nil then
  686. tolua.setpeer(tmp, {})
  687. end
  688. self.wishSlot4.iconSmallItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  689. self.wishSlot4.iconSmallItem.prefabName = "IconItem"
  690. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  691. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  692. end
  693. ---@private
  694. function UIBagView:InitGenerate__39(Root, data)
  695. --[[
  696. UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Lock
  697. --]]
  698. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Lock").gameObject
  699. if tolua.getpeer(tmp) == nil then
  700. tolua.setpeer(tmp, {})
  701. end
  702. self.wishSlot4.lock = tmp
  703. end
  704. ---@private
  705. function UIBagView:InitGenerate__40(Root, data)
  706. --[[
  707. UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/LuckyLabel
  708. --]]
  709. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/LuckyLabel").gameObject
  710. if tolua.getpeer(tmp) == nil then
  711. tolua.setpeer(tmp, {})
  712. end
  713. self.wishSlot4.luckyLabel = tmp
  714. end
  715. ---@private
  716. function UIBagView:InitGenerate__41(Root, data)
  717. --[[
  718. UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Times
  719. --]]
  720. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Times").gameObject
  721. if tolua.getpeer(tmp) == nil then
  722. tolua.setpeer(tmp, {})
  723. end
  724. self.wishSlot4.times = tmp
  725. end
  726. ---@private
  727. function UIBagView:InitGenerate__42(Root, data)
  728. --[[
  729. UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Times/Time/Text
  730. --]]
  731. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Times/Time/Text").gameObject
  732. if tolua.getpeer(tmp) == nil then
  733. tolua.setpeer(tmp, {})
  734. end
  735. self.wishSlot4.times.text = tmp
  736. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  737. end
  738. ---@private
  739. function UIBagView:InitGenerate__43(Root, data)
  740. --[[
  741. UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/WishShow
  742. --]]
  743. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/WishShow").gameObject
  744. if tolua.getpeer(tmp) == nil then
  745. tolua.setpeer(tmp, {})
  746. end
  747. self.wishSlot4.wishShow = tmp
  748. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  749. tmp.animator.logWarnings = false
  750. end
  751. ---@private
  752. function UIBagView:InitGenerate__44(Root, data)
  753. --[[
  754. UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Button
  755. --]]
  756. local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Button").gameObject
  757. if tolua.getpeer(tmp) == nil then
  758. tolua.setpeer(tmp, {})
  759. end
  760. self.wishSlot4.button = tmp
  761. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  762. end
  763. ---@private
  764. function UIBagView:InitGenerate__45(Root, data)
  765. --[[
  766. UIAnimator/Window/ToggleGroup
  767. --]]
  768. local tmp = Root:Find("UIAnimator/Window/ToggleGroup").gameObject
  769. if tolua.getpeer(tmp) == nil then
  770. tolua.setpeer(tmp, {})
  771. end
  772. self.toggleGroup = tmp
  773. tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
  774. end
  775. ---@private
  776. function UIBagView:InitGenerate__46(Root, data)
  777. --[[
  778. UIAnimator/Window/ToggleGroup/ToggleItems
  779. --]]
  780. local tmp = Root:Find("UIAnimator/Window/ToggleGroup/ToggleItems").gameObject
  781. if tolua.getpeer(tmp) == nil then
  782. tolua.setpeer(tmp, {})
  783. end
  784. self.toggleItems = tmp
  785. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  786. end
  787. ---@private
  788. function UIBagView:InitGenerate__47(Root, data)
  789. --[[
  790. UIAnimator/Window/ToggleGroup/ToggleEquip
  791. --]]
  792. local tmp = Root:Find("UIAnimator/Window/ToggleGroup/ToggleEquip").gameObject
  793. if tolua.getpeer(tmp) == nil then
  794. tolua.setpeer(tmp, {})
  795. end
  796. self.toggleEquip = tmp
  797. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  798. end
  799. ---@private
  800. function UIBagView:InitGenerate__48(Root, data)
  801. --[[
  802. UIAnimator/Window/ToggleGroup/ToggleCards
  803. --]]
  804. local tmp = Root:Find("UIAnimator/Window/ToggleGroup/ToggleCards").gameObject
  805. if tolua.getpeer(tmp) == nil then
  806. tolua.setpeer(tmp, {})
  807. end
  808. self.toggleCards = tmp
  809. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  810. end
  811. ---@private
  812. function UIBagView:InitGenerate__49(Root, data)
  813. --[[
  814. UIAnimator/Window/ToggleGroup/ToggleArtifact
  815. --]]
  816. local tmp = Root:Find("UIAnimator/Window/ToggleGroup/ToggleArtifact").gameObject
  817. if tolua.getpeer(tmp) == nil then
  818. tolua.setpeer(tmp, {})
  819. end
  820. self.toggleArtifact = tmp
  821. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  822. end
  823. ---@private
  824. function UIBagView:InitGenerate__50(Root, data)
  825. --[[
  826. UIAnimator/Window/BtnFilter
  827. --]]
  828. local tmp = Root:Find("UIAnimator/Window/BtnFilter").gameObject
  829. if tolua.getpeer(tmp) == nil then
  830. tolua.setpeer(tmp, {})
  831. end
  832. self.btnFilter = tmp
  833. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  834. end
  835. ---@private
  836. function UIBagView:InitGenerate__51(Root, data)
  837. --[[
  838. UIAnimator/Window/BtnFilter/Check
  839. --]]
  840. local tmp = Root:Find("UIAnimator/Window/BtnFilter/Check").gameObject
  841. if tolua.getpeer(tmp) == nil then
  842. tolua.setpeer(tmp, {})
  843. end
  844. self.btnFilter.check = tmp
  845. end
  846. ---@private
  847. function UIBagView:InitGenerate__52(Root, data)
  848. --[[
  849. UIAnimator/Window/BtnBox/BtnBack
  850. --]]
  851. local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnBack").gameObject
  852. if tolua.getpeer(tmp) == nil then
  853. tolua.setpeer(tmp, {})
  854. end
  855. self.btnBack = tmp
  856. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  857. end
  858. ---@private
  859. function UIBagView:InitGenerate__53(Root, data)
  860. --[[
  861. UIAnimator/Window/BtnBox/BtnDecompose
  862. --]]
  863. local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnDecompose").gameObject
  864. if tolua.getpeer(tmp) == nil then
  865. tolua.setpeer(tmp, {})
  866. end
  867. self.btnDecompose = tmp
  868. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  869. end
  870. ---@private
  871. function UIBagView:InitGenerate__54(Root, data)
  872. --[[
  873. UIAnimator/Window/BtnBox/BtnDecompose_lock
  874. --]]
  875. local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnDecompose_lock").gameObject
  876. if tolua.getpeer(tmp) == nil then
  877. tolua.setpeer(tmp, {})
  878. end
  879. self.btnDecompose_lock = tmp
  880. end
  881. ---@private
  882. function UIBagView:InitGenerate__55(Root, data)
  883. --[[
  884. UIAnimator/Window/BtnBox/BtnProduce
  885. --]]
  886. local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnProduce").gameObject
  887. if tolua.getpeer(tmp) == nil then
  888. tolua.setpeer(tmp, {})
  889. end
  890. self.btnProduce = tmp
  891. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  892. end
  893. ---@private
  894. function UIBagView:InitGenerate__56(Root, data)
  895. --[[
  896. UIAnimator/Window/BtnBox/BtnProduce_lock
  897. --]]
  898. local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnProduce_lock").gameObject
  899. if tolua.getpeer(tmp) == nil then
  900. tolua.setpeer(tmp, {})
  901. end
  902. self.btnProduce_lock = tmp
  903. end
  904. ---@private
  905. function UIBagView:InitGenerate__57(Root, data)
  906. --[[
  907. UIAnimator/Window/BtnBox/BtnArtifactDecompose
  908. --]]
  909. local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnArtifactDecompose").gameObject
  910. if tolua.getpeer(tmp) == nil then
  911. tolua.setpeer(tmp, {})
  912. end
  913. self.btnArtifactDecompose = tmp
  914. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  915. end
  916. ---@private
  917. function UIBagView:InitGenerate__58(Root, data)
  918. --[[
  919. UIAnimator/Window/BtnBox/BtnArtifactReforge
  920. --]]
  921. local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnArtifactReforge").gameObject
  922. if tolua.getpeer(tmp) == nil then
  923. tolua.setpeer(tmp, {})
  924. end
  925. self.btnArtifactReforge = tmp
  926. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  927. end
  928. ---@private
  929. function UIBagView:GenerateDestroy()
  930. if tolua.getpeer(self.btnFilter.check) ~= nil then
  931. tolua.setpeer(self.btnFilter.check, nil)
  932. end
  933. if tolua.getpeer(self.wishSlot4.button) ~= nil then
  934. tolua.setpeer(self.wishSlot4.button, nil)
  935. end
  936. if tolua.getpeer(self.wishSlot4.wishShow) ~= nil then
  937. tolua.setpeer(self.wishSlot4.wishShow, nil)
  938. end
  939. if tolua.getpeer(self.wishSlot4.times.text) ~= nil then
  940. tolua.setpeer(self.wishSlot4.times.text, nil)
  941. end
  942. if tolua.getpeer(self.wishSlot4.times) ~= nil then
  943. tolua.setpeer(self.wishSlot4.times, nil)
  944. end
  945. if tolua.getpeer(self.wishSlot4.luckyLabel) ~= nil then
  946. tolua.setpeer(self.wishSlot4.luckyLabel, nil)
  947. end
  948. if tolua.getpeer(self.wishSlot4.lock) ~= nil then
  949. tolua.setpeer(self.wishSlot4.lock, nil)
  950. end
  951. if self.wishSlot4.iconSmallItem.GenerateDestroy ~= nil then
  952. self.wishSlot4.iconSmallItem:GenerateDestroy()
  953. end
  954. if tolua.getpeer(self.wishSlot4.iconSmallItem) ~= nil then
  955. tolua.setpeer(self.wishSlot4.iconSmallItem, nil)
  956. end
  957. if tolua.getpeer(self.wishSlot4.lucky) ~= nil then
  958. tolua.setpeer(self.wishSlot4.lucky, nil)
  959. end
  960. if tolua.getpeer(self.wishSlot3.button) ~= nil then
  961. tolua.setpeer(self.wishSlot3.button, nil)
  962. end
  963. if tolua.getpeer(self.wishSlot3.wishShow) ~= nil then
  964. tolua.setpeer(self.wishSlot3.wishShow, nil)
  965. end
  966. if tolua.getpeer(self.wishSlot3.times.text) ~= nil then
  967. tolua.setpeer(self.wishSlot3.times.text, nil)
  968. end
  969. if tolua.getpeer(self.wishSlot3.times) ~= nil then
  970. tolua.setpeer(self.wishSlot3.times, nil)
  971. end
  972. if tolua.getpeer(self.wishSlot3.luckyLabel) ~= nil then
  973. tolua.setpeer(self.wishSlot3.luckyLabel, nil)
  974. end
  975. if tolua.getpeer(self.wishSlot3.lock) ~= nil then
  976. tolua.setpeer(self.wishSlot3.lock, nil)
  977. end
  978. if self.wishSlot3.iconSmallItem.GenerateDestroy ~= nil then
  979. self.wishSlot3.iconSmallItem:GenerateDestroy()
  980. end
  981. if tolua.getpeer(self.wishSlot3.iconSmallItem) ~= nil then
  982. tolua.setpeer(self.wishSlot3.iconSmallItem, nil)
  983. end
  984. if tolua.getpeer(self.wishSlot3.lucky) ~= nil then
  985. tolua.setpeer(self.wishSlot3.lucky, nil)
  986. end
  987. if tolua.getpeer(self.wishSlot2.button) ~= nil then
  988. tolua.setpeer(self.wishSlot2.button, nil)
  989. end
  990. if tolua.getpeer(self.wishSlot2.wishShow) ~= nil then
  991. tolua.setpeer(self.wishSlot2.wishShow, nil)
  992. end
  993. if tolua.getpeer(self.wishSlot2.times.text) ~= nil then
  994. tolua.setpeer(self.wishSlot2.times.text, nil)
  995. end
  996. if tolua.getpeer(self.wishSlot2.times) ~= nil then
  997. tolua.setpeer(self.wishSlot2.times, nil)
  998. end
  999. if tolua.getpeer(self.wishSlot2.luckyLabel) ~= nil then
  1000. tolua.setpeer(self.wishSlot2.luckyLabel, nil)
  1001. end
  1002. if tolua.getpeer(self.wishSlot2.lock) ~= nil then
  1003. tolua.setpeer(self.wishSlot2.lock, nil)
  1004. end
  1005. if self.wishSlot2.iconSmallItem.GenerateDestroy ~= nil then
  1006. self.wishSlot2.iconSmallItem:GenerateDestroy()
  1007. end
  1008. if tolua.getpeer(self.wishSlot2.iconSmallItem) ~= nil then
  1009. tolua.setpeer(self.wishSlot2.iconSmallItem, nil)
  1010. end
  1011. if tolua.getpeer(self.wishSlot2.lucky) ~= nil then
  1012. tolua.setpeer(self.wishSlot2.lucky, nil)
  1013. end
  1014. if tolua.getpeer(self.wishSlot1.button) ~= nil then
  1015. tolua.setpeer(self.wishSlot1.button, nil)
  1016. end
  1017. if tolua.getpeer(self.wishSlot1.wishShow) ~= nil then
  1018. tolua.setpeer(self.wishSlot1.wishShow, nil)
  1019. end
  1020. if tolua.getpeer(self.wishSlot1.times.text) ~= nil then
  1021. tolua.setpeer(self.wishSlot1.times.text, nil)
  1022. end
  1023. if tolua.getpeer(self.wishSlot1.times) ~= nil then
  1024. tolua.setpeer(self.wishSlot1.times, nil)
  1025. end
  1026. if tolua.getpeer(self.wishSlot1.luckyLabel) ~= nil then
  1027. tolua.setpeer(self.wishSlot1.luckyLabel, nil)
  1028. end
  1029. if tolua.getpeer(self.wishSlot1.lock) ~= nil then
  1030. tolua.setpeer(self.wishSlot1.lock, nil)
  1031. end
  1032. if self.wishSlot1.iconSmallItem.GenerateDestroy ~= nil then
  1033. self.wishSlot1.iconSmallItem:GenerateDestroy()
  1034. end
  1035. if tolua.getpeer(self.wishSlot1.iconSmallItem) ~= nil then
  1036. tolua.setpeer(self.wishSlot1.iconSmallItem, nil)
  1037. end
  1038. if tolua.getpeer(self.wishSlot1.lucky) ~= nil then
  1039. tolua.setpeer(self.wishSlot1.lucky, nil)
  1040. end
  1041. if tolua.getpeer(self.uIAnimator) ~= nil then
  1042. tolua.setpeer(self.uIAnimator, nil)
  1043. end
  1044. self.uIAnimator = nil
  1045. if tolua.getpeer(self.AnyBtn) ~= nil then
  1046. tolua.setpeer(self.AnyBtn, nil)
  1047. end
  1048. self.AnyBtn = nil
  1049. if tolua.getpeer(self.scrollView) ~= nil then
  1050. tolua.setpeer(self.scrollView, nil)
  1051. end
  1052. self.scrollView = nil
  1053. if tolua.getpeer(self.noticeItemParent) ~= nil then
  1054. tolua.setpeer(self.noticeItemParent, nil)
  1055. end
  1056. self.noticeItemParent = nil
  1057. if self.iconItem.GenerateDestroy ~= nil then
  1058. self.iconItem:GenerateDestroy()
  1059. end
  1060. if tolua.getpeer(self.iconItem) ~= nil then
  1061. tolua.setpeer(self.iconItem, nil)
  1062. end
  1063. self.iconItem = nil
  1064. if tolua.getpeer(self.bagNoticeItem) ~= nil then
  1065. tolua.setpeer(self.bagNoticeItem, nil)
  1066. end
  1067. self.bagNoticeItem = nil
  1068. if tolua.getpeer(self.wishBox) ~= nil then
  1069. tolua.setpeer(self.wishBox, nil)
  1070. end
  1071. self.wishBox = nil
  1072. if tolua.getpeer(self.wishSlot1) ~= nil then
  1073. tolua.setpeer(self.wishSlot1, nil)
  1074. end
  1075. self.wishSlot1 = nil
  1076. if tolua.getpeer(self.wishSlot2) ~= nil then
  1077. tolua.setpeer(self.wishSlot2, nil)
  1078. end
  1079. self.wishSlot2 = nil
  1080. if tolua.getpeer(self.wishSlot3) ~= nil then
  1081. tolua.setpeer(self.wishSlot3, nil)
  1082. end
  1083. self.wishSlot3 = nil
  1084. if tolua.getpeer(self.wishSlot4) ~= nil then
  1085. tolua.setpeer(self.wishSlot4, nil)
  1086. end
  1087. self.wishSlot4 = nil
  1088. if tolua.getpeer(self.toggleGroup) ~= nil then
  1089. tolua.setpeer(self.toggleGroup, nil)
  1090. end
  1091. self.toggleGroup = nil
  1092. if tolua.getpeer(self.toggleItems) ~= nil then
  1093. tolua.setpeer(self.toggleItems, nil)
  1094. end
  1095. self.toggleItems = nil
  1096. if tolua.getpeer(self.toggleEquip) ~= nil then
  1097. tolua.setpeer(self.toggleEquip, nil)
  1098. end
  1099. self.toggleEquip = nil
  1100. if tolua.getpeer(self.toggleCards) ~= nil then
  1101. tolua.setpeer(self.toggleCards, nil)
  1102. end
  1103. self.toggleCards = nil
  1104. if tolua.getpeer(self.toggleArtifact) ~= nil then
  1105. tolua.setpeer(self.toggleArtifact, nil)
  1106. end
  1107. self.toggleArtifact = nil
  1108. if tolua.getpeer(self.btnFilter) ~= nil then
  1109. tolua.setpeer(self.btnFilter, nil)
  1110. end
  1111. self.btnFilter = nil
  1112. if tolua.getpeer(self.btnBack) ~= nil then
  1113. tolua.setpeer(self.btnBack, nil)
  1114. end
  1115. self.btnBack = nil
  1116. if tolua.getpeer(self.btnDecompose) ~= nil then
  1117. tolua.setpeer(self.btnDecompose, nil)
  1118. end
  1119. self.btnDecompose = nil
  1120. if tolua.getpeer(self.btnDecompose_lock) ~= nil then
  1121. tolua.setpeer(self.btnDecompose_lock, nil)
  1122. end
  1123. self.btnDecompose_lock = nil
  1124. if tolua.getpeer(self.btnProduce) ~= nil then
  1125. tolua.setpeer(self.btnProduce, nil)
  1126. end
  1127. self.btnProduce = nil
  1128. if tolua.getpeer(self.btnProduce_lock) ~= nil then
  1129. tolua.setpeer(self.btnProduce_lock, nil)
  1130. end
  1131. self.btnProduce_lock = nil
  1132. if tolua.getpeer(self.btnArtifactDecompose) ~= nil then
  1133. tolua.setpeer(self.btnArtifactDecompose, nil)
  1134. end
  1135. self.btnArtifactDecompose = nil
  1136. if tolua.getpeer(self.btnArtifactReforge) ~= nil then
  1137. tolua.setpeer(self.btnArtifactReforge, nil)
  1138. end
  1139. self.btnArtifactReforge = nil
  1140. self.transform = nil
  1141. self.gameObject = nil
  1142. self.inited = false
  1143. end
  1144. return UIBagView