| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351 |
- ---@class UIIdolSupportTips__Generate_btnSupport_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIIdolSupportTips__Generate_btnSupport
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public number UIIdolSupportTips__Generate_btnSupport_number
- ---@class UIIdolSupportTips__Generate_box_numBox_btnPlus
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIIdolSupportTips__Generate_box_numBox_btnMinus
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIIdolSupportTips__Generate_box_numBox_slider
- ---@field public gameObject UnityEngine.GameObject
- ---@field public slider UnityEngine.UI.Slider
- ---@class UIIdolSupportTips__Generate_box_numBox_num
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIIdolSupportTips__Generate_box_numBox
- ---@field public gameObject UnityEngine.GameObject
- ---@field public num UIIdolSupportTips__Generate_box_numBox_num
- ---@field public slider UIIdolSupportTips__Generate_box_numBox_slider
- ---@field public btnMinus UIIdolSupportTips__Generate_box_numBox_btnMinus
- ---@field public btnPlus UIIdolSupportTips__Generate_box_numBox_btnPlus
- ---@class UIIdolSupportTips__Generate_box
- ---@field public gameObject UnityEngine.GameObject
- ---@field public dscInfo UnityEngine.GameObject
- ---@field public numBox UIIdolSupportTips__Generate_box_numBox
- ---@class UIIdolSupportTips__Generate_btnClose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIIdolSupportTips__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIIdolSupportTips__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIIdolSupportTips__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UIIdolSupportTips__Generate_uIAnimator
- ---@field private AnyBtn UIIdolSupportTips__Generate_AnyBtn
- ---@field private btnClose UIIdolSupportTips__Generate_btnClose
- ---@field private idolRank UnityEngine.GameObject
- ---@field private box UIIdolSupportTips__Generate_box
- ---@field private boxSliderHande UnityEngine.GameObject
- ---@field private btnSupport UIIdolSupportTips__Generate_btnSupport
- local UIIdolSupportTipsView = class("UIIdolSupportTipsView", require("UIViewBase"))
- function UIIdolSupportTipsView:ctor()
- end
- ---@private
- function UIIdolSupportTipsView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIIdolSupportTipsView: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)
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__1(Root, data)
- --[[
- Root
- --]]
- end
- ---@private
- function UIIdolSupportTipsView: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 UIIdolSupportTipsView: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 UIIdolSupportTipsView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/BtnClose/BtnClose
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnClose/BtnClose").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnClose = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/IdolRank
- --]]
- local tmp = Root:Find("UIAnimator/Window/IdolRank").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.idolRank = CommonUtil.BindGridViewItem2LuaStatic("UIIdolRankItem", tmp)
- self.idolRank.prefabName = "UIIdolRankItem"
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/Bottom/Box
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Box").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.box = tmp
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/Bottom/Box/DscInfo
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Box/DscInfo").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.box.dscInfo = tmp
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/Bottom/Box/NumBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Box/NumBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.box.numBox = tmp
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/Bottom/Box/NumBox/num
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Box/NumBox/num").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.box.numBox.num = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/Bottom/Box/NumBox/Slider
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Box/NumBox/Slider").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.box.numBox.slider = tmp
- tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/Bottom/Box/NumBox/Slider/Handle Slide Area
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Box/NumBox/Slider/Handle Slide Area").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.boxSliderHande = tmp
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/Bottom/Box/NumBox/BtnMinus
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Box/NumBox/BtnMinus").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.box.numBox.btnMinus = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/Bottom/Box/NumBox/BtnPlus
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Box/NumBox/BtnPlus").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.box.numBox.btnPlus = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnSupport
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnSupport").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnSupport = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIIdolSupportTipsView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnSupport/Content/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnSupport/Content/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnSupport.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIIdolSupportTipsView:GenerateDestroy()
- if tolua.getpeer(self.btnSupport.number) ~= nil then
- tolua.setpeer(self.btnSupport.number, nil)
- end
- if tolua.getpeer(self.box.numBox.btnPlus) ~= nil then
- tolua.setpeer(self.box.numBox.btnPlus, nil)
- end
- if tolua.getpeer(self.box.numBox.btnMinus) ~= nil then
- tolua.setpeer(self.box.numBox.btnMinus, nil)
- end
- if tolua.getpeer(self.box.numBox.slider) ~= nil then
- tolua.setpeer(self.box.numBox.slider, nil)
- end
- if tolua.getpeer(self.box.numBox.num) ~= nil then
- tolua.setpeer(self.box.numBox.num, nil)
- end
- if tolua.getpeer(self.box.numBox) ~= nil then
- tolua.setpeer(self.box.numBox, nil)
- end
- if tolua.getpeer(self.box.dscInfo) ~= nil then
- tolua.setpeer(self.box.dscInfo, 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.btnClose) ~= nil then
- tolua.setpeer(self.btnClose, nil)
- end
- self.btnClose = nil
- if self.idolRank.GenerateDestroy ~= nil then
- self.idolRank:GenerateDestroy()
- end
- if tolua.getpeer(self.idolRank) ~= nil then
- tolua.setpeer(self.idolRank, nil)
- end
- self.idolRank = nil
- if tolua.getpeer(self.box) ~= nil then
- tolua.setpeer(self.box, nil)
- end
- self.box = nil
- if tolua.getpeer(self.boxSliderHande) ~= nil then
- tolua.setpeer(self.boxSliderHande, nil)
- end
- self.boxSliderHande = nil
- if tolua.getpeer(self.btnSupport) ~= nil then
- tolua.setpeer(self.btnSupport, nil)
- end
- self.btnSupport = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIIdolSupportTipsView
|