| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284 |
- ---@class UIBag__Generate_btnArtifactReforge
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_btnArtifactDecompose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_btnProduce
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_btnDecompose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_btnBack
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_btnFilter
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public check UnityEngine.GameObject
- ---@class UIBag__Generate_toggleArtifact
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class UIBag__Generate_toggleCards
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class UIBag__Generate_toggleEquip
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class UIBag__Generate_toggleItems
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class UIBag__Generate_toggleGroup
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggleGroup UnityEngine.UI.ToggleGroup
- ---@class UIBag__Generate_wishSlot4_button
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_wishSlot4_wishShow
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIBag__Generate_wishSlot4_times_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIBag__Generate_wishSlot4_times
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIBag__Generate_wishSlot4_times_text
- ---@class UIBag__Generate_wishSlot4_iconSmallItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIBag__Generate_wishSlot4
- ---@field public gameObject UnityEngine.GameObject
- ---@field public lucky UnityEngine.GameObject
- ---@field public iconSmallItem UIBag__Generate_wishSlot4_iconSmallItem
- ---@field public lock UnityEngine.GameObject
- ---@field public luckyLabel UnityEngine.GameObject
- ---@field public times UIBag__Generate_wishSlot4_times
- ---@field public wishShow UIBag__Generate_wishSlot4_wishShow
- ---@field public button UIBag__Generate_wishSlot4_button
- ---@class UIBag__Generate_wishSlot3_button
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_wishSlot3_wishShow
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIBag__Generate_wishSlot3_times_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIBag__Generate_wishSlot3_times
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIBag__Generate_wishSlot3_times_text
- ---@class UIBag__Generate_wishSlot3_iconSmallItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIBag__Generate_wishSlot3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public lucky UnityEngine.GameObject
- ---@field public iconSmallItem UIBag__Generate_wishSlot3_iconSmallItem
- ---@field public lock UnityEngine.GameObject
- ---@field public luckyLabel UnityEngine.GameObject
- ---@field public times UIBag__Generate_wishSlot3_times
- ---@field public wishShow UIBag__Generate_wishSlot3_wishShow
- ---@field public button UIBag__Generate_wishSlot3_button
- ---@class UIBag__Generate_wishSlot2_button
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_wishSlot2_wishShow
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIBag__Generate_wishSlot2_times_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIBag__Generate_wishSlot2_times
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIBag__Generate_wishSlot2_times_text
- ---@class UIBag__Generate_wishSlot2_iconSmallItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIBag__Generate_wishSlot2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public lucky UnityEngine.GameObject
- ---@field public iconSmallItem UIBag__Generate_wishSlot2_iconSmallItem
- ---@field public lock UnityEngine.GameObject
- ---@field public luckyLabel UnityEngine.GameObject
- ---@field public times UIBag__Generate_wishSlot2_times
- ---@field public wishShow UIBag__Generate_wishSlot2_wishShow
- ---@field public button UIBag__Generate_wishSlot2_button
- ---@class UIBag__Generate_wishSlot1_button
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_wishSlot1_wishShow
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIBag__Generate_wishSlot1_times_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIBag__Generate_wishSlot1_times
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIBag__Generate_wishSlot1_times_text
- ---@class UIBag__Generate_wishSlot1_iconSmallItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIBag__Generate_wishSlot1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public lucky UnityEngine.GameObject
- ---@field public iconSmallItem UIBag__Generate_wishSlot1_iconSmallItem
- ---@field public lock UnityEngine.GameObject
- ---@field public luckyLabel UnityEngine.GameObject
- ---@field public times UIBag__Generate_wishSlot1_times
- ---@field public wishShow UIBag__Generate_wishSlot1_wishShow
- ---@field public button UIBag__Generate_wishSlot1_button
- ---@class UIBag__Generate_iconItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIBag__Generate_scrollView
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopGridView SuperScrollView.LoopGridView
- ---@class UIBag__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBag__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIBag__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UIBag__Generate_uIAnimator
- ---@field private AnyBtn UIBag__Generate_AnyBtn
- ---@field private scrollView UIBag__Generate_scrollView
- ---@field private noticeItemParent UnityEngine.GameObject
- ---@field private iconItem UIBag__Generate_iconItem
- ---@field private bagNoticeItem UnityEngine.GameObject
- ---@field private wishBox UnityEngine.GameObject
- ---@field private wishSlot1 UIBag__Generate_wishSlot1
- ---@field private wishSlot2 UIBag__Generate_wishSlot2
- ---@field private wishSlot3 UIBag__Generate_wishSlot3
- ---@field private wishSlot4 UIBag__Generate_wishSlot4
- ---@field private toggleGroup UIBag__Generate_toggleGroup
- ---@field private toggleItems UIBag__Generate_toggleItems
- ---@field private toggleEquip UIBag__Generate_toggleEquip
- ---@field private toggleCards UIBag__Generate_toggleCards
- ---@field private toggleArtifact UIBag__Generate_toggleArtifact
- ---@field private btnFilter UIBag__Generate_btnFilter
- ---@field private btnBack UIBag__Generate_btnBack
- ---@field private btnDecompose UIBag__Generate_btnDecompose
- ---@field private btnDecompose_lock UnityEngine.GameObject
- ---@field private btnProduce UIBag__Generate_btnProduce
- ---@field private btnProduce_lock UnityEngine.GameObject
- ---@field private btnArtifactDecompose UIBag__Generate_btnArtifactDecompose
- ---@field private btnArtifactReforge UIBag__Generate_btnArtifactReforge
- local UIBagView = class("UIBagView", require("UIViewBase"))
- function UIBagView:ctor()
- end
- ---@private
- function UIBagView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIBagView:InitGenerate(Root, data)
- self.transform = Root
- self.inited = true
- if self.super.Init then
- self.super.Init(self)
- end
- local tmp
- self:InitGenerate__1(Root,data)
- self:InitGenerate__2(Root,data)
- self:InitGenerate__3(Root,data)
- self:InitGenerate__4(Root,data)
- self:InitGenerate__5(Root,data)
- self:InitGenerate__6(Root,data)
- self:InitGenerate__7(Root,data)
- self:InitGenerate__8(Root,data)
- self:InitGenerate__9(Root,data)
- self:InitGenerate__10(Root,data)
- self:InitGenerate__11(Root,data)
- self:InitGenerate__12(Root,data)
- self:InitGenerate__13(Root,data)
- self:InitGenerate__14(Root,data)
- self:InitGenerate__15(Root,data)
- self:InitGenerate__16(Root,data)
- self:InitGenerate__17(Root,data)
- self:InitGenerate__18(Root,data)
- self:InitGenerate__19(Root,data)
- self:InitGenerate__20(Root,data)
- self:InitGenerate__21(Root,data)
- self:InitGenerate__22(Root,data)
- self:InitGenerate__23(Root,data)
- self:InitGenerate__24(Root,data)
- self:InitGenerate__25(Root,data)
- self:InitGenerate__26(Root,data)
- self:InitGenerate__27(Root,data)
- self:InitGenerate__28(Root,data)
- self:InitGenerate__29(Root,data)
- self:InitGenerate__30(Root,data)
- self:InitGenerate__31(Root,data)
- self:InitGenerate__32(Root,data)
- self:InitGenerate__33(Root,data)
- self:InitGenerate__34(Root,data)
- self:InitGenerate__35(Root,data)
- self:InitGenerate__36(Root,data)
- self:InitGenerate__37(Root,data)
- self:InitGenerate__38(Root,data)
- self:InitGenerate__39(Root,data)
- self:InitGenerate__40(Root,data)
- self:InitGenerate__41(Root,data)
- self:InitGenerate__42(Root,data)
- self:InitGenerate__43(Root,data)
- self:InitGenerate__44(Root,data)
- self:InitGenerate__45(Root,data)
- self:InitGenerate__46(Root,data)
- self:InitGenerate__47(Root,data)
- self:InitGenerate__48(Root,data)
- self:InitGenerate__49(Root,data)
- self:InitGenerate__50(Root,data)
- self:InitGenerate__51(Root,data)
- self:InitGenerate__52(Root,data)
- self:InitGenerate__53(Root,data)
- self:InitGenerate__54(Root,data)
- self:InitGenerate__55(Root,data)
- self:InitGenerate__56(Root,data)
- self:InitGenerate__57(Root,data)
- self:InitGenerate__58(Root,data)
- end
- ---@private
- function UIBagView:InitGenerate__1(Root, data)
- --[[
- Root
- --]]
- end
- ---@private
- function UIBagView:InitGenerate__2(Root, data)
- --[[
- UIAnimator
- --]]
- local tmp = Root:Find("UIAnimator").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.uIAnimator = tmp
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- end
- ---@private
- function UIBagView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Alpha
- --]]
- local tmp = Root:Find("UIAnimator/Alpha").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.AnyBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/Layout/ScrollView
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/ScrollView").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scrollView = tmp
- tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
- end
- ---@private
- function UIBagView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/Layout/ScrollView/Viewport/Content/NoticeItemParent
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/ScrollView/Viewport/Content/NoticeItemParent").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.noticeItemParent = tmp
- end
- ---@private
- function UIBagView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/Layout/ScrollView/Viewport/Content/IconItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/ScrollView/Viewport/Content/IconItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.iconItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
- self.iconItem.prefabName = "IconItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIBagView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/Layout/ScrollView/Viewport/Content/BagNoticeItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/ScrollView/Viewport/Content/BagNoticeItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.bagNoticeItem = tmp
- end
- ---@private
- function UIBagView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishBox = tmp
- end
- ---@private
- function UIBagView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot1 = tmp
- end
- ---@private
- function UIBagView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Lucky
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Lucky").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot1.lucky = tmp
- end
- ---@private
- function UIBagView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/IconSmallItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/IconSmallItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot1.iconSmallItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
- self.wishSlot1.iconSmallItem.prefabName = "IconItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIBagView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot1.lock = tmp
- end
- ---@private
- function UIBagView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/LuckyLabel
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/LuckyLabel").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot1.luckyLabel = tmp
- end
- ---@private
- function UIBagView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Times
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Times").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot1.times = tmp
- end
- ---@private
- function UIBagView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Times/Time/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Times/Time/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot1.times.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIBagView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/WishShow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/WishShow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot1.wishShow = tmp
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- end
- ---@private
- function UIBagView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Button
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot1/Button").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot1.button = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot2 = tmp
- end
- ---@private
- function UIBagView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Lucky
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Lucky").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot2.lucky = tmp
- end
- ---@private
- function UIBagView:InitGenerate__20(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/IconSmallItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/IconSmallItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot2.iconSmallItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
- self.wishSlot2.iconSmallItem.prefabName = "IconItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIBagView:InitGenerate__21(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot2.lock = tmp
- end
- ---@private
- function UIBagView:InitGenerate__22(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/LuckyLabel
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/LuckyLabel").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot2.luckyLabel = tmp
- end
- ---@private
- function UIBagView:InitGenerate__23(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Times
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Times").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot2.times = tmp
- end
- ---@private
- function UIBagView:InitGenerate__24(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Times/Time/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Times/Time/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot2.times.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIBagView:InitGenerate__25(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/WishShow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/WishShow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot2.wishShow = tmp
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- end
- ---@private
- function UIBagView:InitGenerate__26(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Button
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot2/Button").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot2.button = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__27(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot3
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot3 = tmp
- end
- ---@private
- function UIBagView:InitGenerate__28(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Lucky
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Lucky").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot3.lucky = tmp
- end
- ---@private
- function UIBagView:InitGenerate__29(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/IconSmallItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/IconSmallItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot3.iconSmallItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
- self.wishSlot3.iconSmallItem.prefabName = "IconItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIBagView:InitGenerate__30(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot3.lock = tmp
- end
- ---@private
- function UIBagView:InitGenerate__31(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/LuckyLabel
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/LuckyLabel").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot3.luckyLabel = tmp
- end
- ---@private
- function UIBagView:InitGenerate__32(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Times
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Times").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot3.times = tmp
- end
- ---@private
- function UIBagView:InitGenerate__33(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Times/Time/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Times/Time/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot3.times.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIBagView:InitGenerate__34(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/WishShow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/WishShow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot3.wishShow = tmp
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- end
- ---@private
- function UIBagView:InitGenerate__35(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Button
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot3/Button").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot3.button = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__36(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot4
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot4 = tmp
- end
- ---@private
- function UIBagView:InitGenerate__37(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Lucky
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Lucky").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot4.lucky = tmp
- end
- ---@private
- function UIBagView:InitGenerate__38(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/IconSmallItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/IconSmallItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot4.iconSmallItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
- self.wishSlot4.iconSmallItem.prefabName = "IconItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIBagView:InitGenerate__39(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot4.lock = tmp
- end
- ---@private
- function UIBagView:InitGenerate__40(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/LuckyLabel
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/LuckyLabel").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot4.luckyLabel = tmp
- end
- ---@private
- function UIBagView:InitGenerate__41(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Times
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Times").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot4.times = tmp
- end
- ---@private
- function UIBagView:InitGenerate__42(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Times/Time/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Times/Time/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot4.times.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIBagView:InitGenerate__43(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/WishShow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/WishShow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot4.wishShow = tmp
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- end
- ---@private
- function UIBagView:InitGenerate__44(Root, data)
- --[[
- UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Button
- --]]
- local tmp = Root:Find("UIAnimator/Window/Layout/WishBox/Wish/WishSlot4/Button").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.wishSlot4.button = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__45(Root, data)
- --[[
- UIAnimator/Window/ToggleGroup
- --]]
- local tmp = Root:Find("UIAnimator/Window/ToggleGroup").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.toggleGroup = tmp
- tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
- end
- ---@private
- function UIBagView:InitGenerate__46(Root, data)
- --[[
- UIAnimator/Window/ToggleGroup/ToggleItems
- --]]
- local tmp = Root:Find("UIAnimator/Window/ToggleGroup/ToggleItems").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.toggleItems = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UIBagView:InitGenerate__47(Root, data)
- --[[
- UIAnimator/Window/ToggleGroup/ToggleEquip
- --]]
- local tmp = Root:Find("UIAnimator/Window/ToggleGroup/ToggleEquip").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.toggleEquip = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UIBagView:InitGenerate__48(Root, data)
- --[[
- UIAnimator/Window/ToggleGroup/ToggleCards
- --]]
- local tmp = Root:Find("UIAnimator/Window/ToggleGroup/ToggleCards").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.toggleCards = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UIBagView:InitGenerate__49(Root, data)
- --[[
- UIAnimator/Window/ToggleGroup/ToggleArtifact
- --]]
- local tmp = Root:Find("UIAnimator/Window/ToggleGroup/ToggleArtifact").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.toggleArtifact = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UIBagView:InitGenerate__50(Root, data)
- --[[
- UIAnimator/Window/BtnFilter
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnFilter").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnFilter = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__51(Root, data)
- --[[
- UIAnimator/Window/BtnFilter/Check
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnFilter/Check").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnFilter.check = tmp
- end
- ---@private
- function UIBagView:InitGenerate__52(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnBack
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnBack").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnBack = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__53(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnDecompose
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnDecompose").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnDecompose = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__54(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnDecompose_lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnDecompose_lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnDecompose_lock = tmp
- end
- ---@private
- function UIBagView:InitGenerate__55(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnProduce
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnProduce").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnProduce = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__56(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnProduce_lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnProduce_lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnProduce_lock = tmp
- end
- ---@private
- function UIBagView:InitGenerate__57(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnArtifactDecompose
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnArtifactDecompose").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnArtifactDecompose = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:InitGenerate__58(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnArtifactReforge
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnArtifactReforge").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnArtifactReforge = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBagView:GenerateDestroy()
- if tolua.getpeer(self.btnFilter.check) ~= nil then
- tolua.setpeer(self.btnFilter.check, nil)
- end
- if tolua.getpeer(self.wishSlot4.button) ~= nil then
- tolua.setpeer(self.wishSlot4.button, nil)
- end
- if tolua.getpeer(self.wishSlot4.wishShow) ~= nil then
- tolua.setpeer(self.wishSlot4.wishShow, nil)
- end
- if tolua.getpeer(self.wishSlot4.times.text) ~= nil then
- tolua.setpeer(self.wishSlot4.times.text, nil)
- end
- if tolua.getpeer(self.wishSlot4.times) ~= nil then
- tolua.setpeer(self.wishSlot4.times, nil)
- end
- if tolua.getpeer(self.wishSlot4.luckyLabel) ~= nil then
- tolua.setpeer(self.wishSlot4.luckyLabel, nil)
- end
- if tolua.getpeer(self.wishSlot4.lock) ~= nil then
- tolua.setpeer(self.wishSlot4.lock, nil)
- end
- if self.wishSlot4.iconSmallItem.GenerateDestroy ~= nil then
- self.wishSlot4.iconSmallItem:GenerateDestroy()
- end
- if tolua.getpeer(self.wishSlot4.iconSmallItem) ~= nil then
- tolua.setpeer(self.wishSlot4.iconSmallItem, nil)
- end
- if tolua.getpeer(self.wishSlot4.lucky) ~= nil then
- tolua.setpeer(self.wishSlot4.lucky, nil)
- end
- if tolua.getpeer(self.wishSlot3.button) ~= nil then
- tolua.setpeer(self.wishSlot3.button, nil)
- end
- if tolua.getpeer(self.wishSlot3.wishShow) ~= nil then
- tolua.setpeer(self.wishSlot3.wishShow, nil)
- end
- if tolua.getpeer(self.wishSlot3.times.text) ~= nil then
- tolua.setpeer(self.wishSlot3.times.text, nil)
- end
- if tolua.getpeer(self.wishSlot3.times) ~= nil then
- tolua.setpeer(self.wishSlot3.times, nil)
- end
- if tolua.getpeer(self.wishSlot3.luckyLabel) ~= nil then
- tolua.setpeer(self.wishSlot3.luckyLabel, nil)
- end
- if tolua.getpeer(self.wishSlot3.lock) ~= nil then
- tolua.setpeer(self.wishSlot3.lock, nil)
- end
- if self.wishSlot3.iconSmallItem.GenerateDestroy ~= nil then
- self.wishSlot3.iconSmallItem:GenerateDestroy()
- end
- if tolua.getpeer(self.wishSlot3.iconSmallItem) ~= nil then
- tolua.setpeer(self.wishSlot3.iconSmallItem, nil)
- end
- if tolua.getpeer(self.wishSlot3.lucky) ~= nil then
- tolua.setpeer(self.wishSlot3.lucky, nil)
- end
- if tolua.getpeer(self.wishSlot2.button) ~= nil then
- tolua.setpeer(self.wishSlot2.button, nil)
- end
- if tolua.getpeer(self.wishSlot2.wishShow) ~= nil then
- tolua.setpeer(self.wishSlot2.wishShow, nil)
- end
- if tolua.getpeer(self.wishSlot2.times.text) ~= nil then
- tolua.setpeer(self.wishSlot2.times.text, nil)
- end
- if tolua.getpeer(self.wishSlot2.times) ~= nil then
- tolua.setpeer(self.wishSlot2.times, nil)
- end
- if tolua.getpeer(self.wishSlot2.luckyLabel) ~= nil then
- tolua.setpeer(self.wishSlot2.luckyLabel, nil)
- end
- if tolua.getpeer(self.wishSlot2.lock) ~= nil then
- tolua.setpeer(self.wishSlot2.lock, nil)
- end
- if self.wishSlot2.iconSmallItem.GenerateDestroy ~= nil then
- self.wishSlot2.iconSmallItem:GenerateDestroy()
- end
- if tolua.getpeer(self.wishSlot2.iconSmallItem) ~= nil then
- tolua.setpeer(self.wishSlot2.iconSmallItem, nil)
- end
- if tolua.getpeer(self.wishSlot2.lucky) ~= nil then
- tolua.setpeer(self.wishSlot2.lucky, nil)
- end
- if tolua.getpeer(self.wishSlot1.button) ~= nil then
- tolua.setpeer(self.wishSlot1.button, nil)
- end
- if tolua.getpeer(self.wishSlot1.wishShow) ~= nil then
- tolua.setpeer(self.wishSlot1.wishShow, nil)
- end
- if tolua.getpeer(self.wishSlot1.times.text) ~= nil then
- tolua.setpeer(self.wishSlot1.times.text, nil)
- end
- if tolua.getpeer(self.wishSlot1.times) ~= nil then
- tolua.setpeer(self.wishSlot1.times, nil)
- end
- if tolua.getpeer(self.wishSlot1.luckyLabel) ~= nil then
- tolua.setpeer(self.wishSlot1.luckyLabel, nil)
- end
- if tolua.getpeer(self.wishSlot1.lock) ~= nil then
- tolua.setpeer(self.wishSlot1.lock, nil)
- end
- if self.wishSlot1.iconSmallItem.GenerateDestroy ~= nil then
- self.wishSlot1.iconSmallItem:GenerateDestroy()
- end
- if tolua.getpeer(self.wishSlot1.iconSmallItem) ~= nil then
- tolua.setpeer(self.wishSlot1.iconSmallItem, nil)
- end
- if tolua.getpeer(self.wishSlot1.lucky) ~= nil then
- tolua.setpeer(self.wishSlot1.lucky, nil)
- end
- if tolua.getpeer(self.uIAnimator) ~= nil then
- tolua.setpeer(self.uIAnimator, nil)
- end
- self.uIAnimator = nil
- if tolua.getpeer(self.AnyBtn) ~= nil then
- tolua.setpeer(self.AnyBtn, nil)
- end
- self.AnyBtn = nil
- if tolua.getpeer(self.scrollView) ~= nil then
- tolua.setpeer(self.scrollView, nil)
- end
- self.scrollView = nil
- if tolua.getpeer(self.noticeItemParent) ~= nil then
- tolua.setpeer(self.noticeItemParent, nil)
- end
- self.noticeItemParent = nil
- if self.iconItem.GenerateDestroy ~= nil then
- self.iconItem:GenerateDestroy()
- end
- if tolua.getpeer(self.iconItem) ~= nil then
- tolua.setpeer(self.iconItem, nil)
- end
- self.iconItem = nil
- if tolua.getpeer(self.bagNoticeItem) ~= nil then
- tolua.setpeer(self.bagNoticeItem, nil)
- end
- self.bagNoticeItem = nil
- if tolua.getpeer(self.wishBox) ~= nil then
- tolua.setpeer(self.wishBox, nil)
- end
- self.wishBox = nil
- if tolua.getpeer(self.wishSlot1) ~= nil then
- tolua.setpeer(self.wishSlot1, nil)
- end
- self.wishSlot1 = nil
- if tolua.getpeer(self.wishSlot2) ~= nil then
- tolua.setpeer(self.wishSlot2, nil)
- end
- self.wishSlot2 = nil
- if tolua.getpeer(self.wishSlot3) ~= nil then
- tolua.setpeer(self.wishSlot3, nil)
- end
- self.wishSlot3 = nil
- if tolua.getpeer(self.wishSlot4) ~= nil then
- tolua.setpeer(self.wishSlot4, nil)
- end
- self.wishSlot4 = nil
- if tolua.getpeer(self.toggleGroup) ~= nil then
- tolua.setpeer(self.toggleGroup, nil)
- end
- self.toggleGroup = nil
- if tolua.getpeer(self.toggleItems) ~= nil then
- tolua.setpeer(self.toggleItems, nil)
- end
- self.toggleItems = nil
- if tolua.getpeer(self.toggleEquip) ~= nil then
- tolua.setpeer(self.toggleEquip, nil)
- end
- self.toggleEquip = nil
- if tolua.getpeer(self.toggleCards) ~= nil then
- tolua.setpeer(self.toggleCards, nil)
- end
- self.toggleCards = nil
- if tolua.getpeer(self.toggleArtifact) ~= nil then
- tolua.setpeer(self.toggleArtifact, nil)
- end
- self.toggleArtifact = nil
- if tolua.getpeer(self.btnFilter) ~= nil then
- tolua.setpeer(self.btnFilter, nil)
- end
- self.btnFilter = nil
- if tolua.getpeer(self.btnBack) ~= nil then
- tolua.setpeer(self.btnBack, nil)
- end
- self.btnBack = nil
- if tolua.getpeer(self.btnDecompose) ~= nil then
- tolua.setpeer(self.btnDecompose, nil)
- end
- self.btnDecompose = nil
- if tolua.getpeer(self.btnDecompose_lock) ~= nil then
- tolua.setpeer(self.btnDecompose_lock, nil)
- end
- self.btnDecompose_lock = nil
- if tolua.getpeer(self.btnProduce) ~= nil then
- tolua.setpeer(self.btnProduce, nil)
- end
- self.btnProduce = nil
- if tolua.getpeer(self.btnProduce_lock) ~= nil then
- tolua.setpeer(self.btnProduce_lock, nil)
- end
- self.btnProduce_lock = nil
- if tolua.getpeer(self.btnArtifactDecompose) ~= nil then
- tolua.setpeer(self.btnArtifactDecompose, nil)
- end
- self.btnArtifactDecompose = nil
- if tolua.getpeer(self.btnArtifactReforge) ~= nil then
- tolua.setpeer(self.btnArtifactReforge, nil)
- end
- self.btnArtifactReforge = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIBagView
|