| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453 |
- ---@class UIBoliShopUpLvTips__Generate_btnUpgrade_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIBoliShopUpLvTips__Generate_btnUpgrade_image
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIBoliShopUpLvTips__Generate_btnUpgrade
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public image UIBoliShopUpLvTips__Generate_btnUpgrade_image
- ---@field public number UIBoliShopUpLvTips__Generate_btnUpgrade_number
- ---@class UIBoliShopUpLvTips__Generate_numBox_btnPlus
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public repeatButton UnityEngine.UI.RepeatButton
- ---@class UIBoliShopUpLvTips__Generate_numBox_btnMinus
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public repeatButton UnityEngine.UI.RepeatButton
- ---@class UIBoliShopUpLvTips__Generate_numBox_slider
- ---@field public gameObject UnityEngine.GameObject
- ---@field public slider UnityEngine.UI.Slider
- ---@class UIBoliShopUpLvTips__Generate_numBox_num
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIBoliShopUpLvTips__Generate_numBox
- ---@field public gameObject UnityEngine.GameObject
- ---@field public num UIBoliShopUpLvTips__Generate_numBox_num
- ---@field public slider UIBoliShopUpLvTips__Generate_numBox_slider
- ---@field public btnMinus UIBoliShopUpLvTips__Generate_numBox_btnMinus
- ---@field public btnPlus UIBoliShopUpLvTips__Generate_numBox_btnPlus
- ---@class UIBoliShopUpLvTips__Generate_numexp
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIBoliShopUpLvTips__Generate_expYellow
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIBoliShopUpLvTips__Generate_expGreen
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIBoliShopUpLvTips__Generate_lvTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIBoliShopUpLvTips__Generate_btnClose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBoliShopUpLvTips__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIBoliShopUpLvTips__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIBoliShopUpLvTips__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UIBoliShopUpLvTips__Generate_uIAnimator
- ---@field private AnyBtn UIBoliShopUpLvTips__Generate_AnyBtn
- ---@field private btnClose UIBoliShopUpLvTips__Generate_btnClose
- ---@field private shopLv UnityEngine.GameObject
- ---@field private lvTxt UIBoliShopUpLvTips__Generate_lvTxt
- ---@field private max UnityEngine.GameObject
- ---@field private expGreen UIBoliShopUpLvTips__Generate_expGreen
- ---@field private expYellow UIBoliShopUpLvTips__Generate_expYellow
- ---@field private numexp UIBoliShopUpLvTips__Generate_numexp
- ---@field private numBox UIBoliShopUpLvTips__Generate_numBox
- ---@field private handleSlideArea UnityEngine.GameObject
- ---@field private btnUpgrade UIBoliShopUpLvTips__Generate_btnUpgrade
- local UIBoliShopUpLvTipsView = class("UIBoliShopUpLvTipsView", require("UIViewBase"))
- function UIBoliShopUpLvTipsView:ctor()
- end
- ---@private
- function UIBoliShopUpLvTipsView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIBoliShopUpLvTipsView: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)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__1(Root, data)
- --[[
- Root
- --]]
- end
- ---@private
- function UIBoliShopUpLvTipsView: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 UIBoliShopUpLvTipsView: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 UIBoliShopUpLvTipsView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/BtnClose
- --]]
- local tmp = Root:Find("UIAnimator/Window/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 UIBoliShopUpLvTipsView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/ShopLv
- --]]
- local tmp = Root:Find("UIAnimator/Window/ShopLv").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.shopLv = tmp
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/ShopLv/ShopLv/LvTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/ShopLv/ShopLv/LvTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.lvTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/ShopLv/ShopLv/Max
- --]]
- local tmp = Root:Find("UIAnimator/Window/ShopLv/ShopLv/Max").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.max = tmp
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/ShopLv/ExpSlider/ExpGreen
- --]]
- local tmp = Root:Find("UIAnimator/Window/ShopLv/ExpSlider/ExpGreen").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.expGreen = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/ShopLv/ExpSlider/ExpYellow
- --]]
- local tmp = Root:Find("UIAnimator/Window/ShopLv/ExpSlider/ExpYellow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.expYellow = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/ShopLv/ExpSlider/numexp
- --]]
- local tmp = Root:Find("UIAnimator/Window/ShopLv/ExpSlider/numexp").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.numexp = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/Convert/NumBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/Convert/NumBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.numBox = tmp
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/Convert/NumBox/num
- --]]
- local tmp = Root:Find("UIAnimator/Window/Convert/NumBox/num").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.numBox.num = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/Convert/NumBox/Slider
- --]]
- local tmp = Root:Find("UIAnimator/Window/Convert/NumBox/Slider").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.numBox.slider = tmp
- tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/Convert/NumBox/Slider/Handle Slide Area
- --]]
- local tmp = Root:Find("UIAnimator/Window/Convert/NumBox/Slider/Handle Slide Area").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.handleSlideArea = tmp
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/Convert/NumBox/BtnMinus
- --]]
- local tmp = Root:Find("UIAnimator/Window/Convert/NumBox/BtnMinus").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.numBox.btnMinus = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- tmp.repeatButton = tmp:GetComponent(Enum.TypeInfo.RepeatButton)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/Convert/NumBox/BtnPlus
- --]]
- local tmp = Root:Find("UIAnimator/Window/Convert/NumBox/BtnPlus").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.numBox.btnPlus = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- tmp.repeatButton = tmp:GetComponent(Enum.TypeInfo.RepeatButton)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnUpgrade
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpgrade").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnUpgrade = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnUpgrade/Content/Image
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpgrade/Content/Image").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnUpgrade.image = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIBoliShopUpLvTipsView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnUpgrade/Content/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpgrade/Content/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnUpgrade.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIBoliShopUpLvTipsView:GenerateDestroy()
- if tolua.getpeer(self.btnUpgrade.number) ~= nil then
- tolua.setpeer(self.btnUpgrade.number, nil)
- end
- if tolua.getpeer(self.btnUpgrade.image) ~= nil then
- tolua.setpeer(self.btnUpgrade.image, nil)
- end
- if tolua.getpeer(self.numBox.btnPlus) ~= nil then
- tolua.setpeer(self.numBox.btnPlus, nil)
- end
- if tolua.getpeer(self.numBox.btnMinus) ~= nil then
- tolua.setpeer(self.numBox.btnMinus, nil)
- end
- if tolua.getpeer(self.numBox.slider) ~= nil then
- tolua.setpeer(self.numBox.slider, nil)
- end
- if tolua.getpeer(self.numBox.num) ~= nil then
- tolua.setpeer(self.numBox.num, 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 tolua.getpeer(self.shopLv) ~= nil then
- tolua.setpeer(self.shopLv, nil)
- end
- self.shopLv = nil
- if tolua.getpeer(self.lvTxt) ~= nil then
- tolua.setpeer(self.lvTxt, nil)
- end
- self.lvTxt = nil
- if tolua.getpeer(self.max) ~= nil then
- tolua.setpeer(self.max, nil)
- end
- self.max = nil
- if tolua.getpeer(self.expGreen) ~= nil then
- tolua.setpeer(self.expGreen, nil)
- end
- self.expGreen = nil
- if tolua.getpeer(self.expYellow) ~= nil then
- tolua.setpeer(self.expYellow, nil)
- end
- self.expYellow = nil
- if tolua.getpeer(self.numexp) ~= nil then
- tolua.setpeer(self.numexp, nil)
- end
- self.numexp = nil
- if tolua.getpeer(self.numBox) ~= nil then
- tolua.setpeer(self.numBox, nil)
- end
- self.numBox = nil
- if tolua.getpeer(self.handleSlideArea) ~= nil then
- tolua.setpeer(self.handleSlideArea, nil)
- end
- self.handleSlideArea = nil
- if tolua.getpeer(self.btnUpgrade) ~= nil then
- tolua.setpeer(self.btnUpgrade, nil)
- end
- self.btnUpgrade = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIBoliShopUpLvTipsView
|