| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316 |
- ---@class UIRuneShopGoldBuyTips__Generate_presentPrice_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRuneShopGoldBuyTips__Generate_presentPrice_currency
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIRuneShopGoldBuyTips__Generate_presentPrice_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIRuneShopGoldBuyTips__Generate_presentPrice
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIRuneShopGoldBuyTips__Generate_presentPrice_icon
- ---@field public currency UIRuneShopGoldBuyTips__Generate_presentPrice_currency
- ---@field public number UIRuneShopGoldBuyTips__Generate_presentPrice_number
- ---@class UIRuneShopGoldBuyTips__Generate_btnBuy
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIRuneShopGoldBuyTips__Generate_buyLimitTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRuneShopGoldBuyTips__Generate_goldText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRuneShopGoldBuyTips__Generate_image
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIRuneShopGoldBuyTips__Generate_btnClose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIRuneShopGoldBuyTips__Generate_textTitle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIRuneShopGoldBuyTips__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIRuneShopGoldBuyTips__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIRuneShopGoldBuyTips__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UIRuneShopGoldBuyTips__Generate_uIAnimator
- ---@field private AnyBtn UIRuneShopGoldBuyTips__Generate_AnyBtn
- ---@field private textTitle UIRuneShopGoldBuyTips__Generate_textTitle
- ---@field private btnClose UIRuneShopGoldBuyTips__Generate_btnClose
- ---@field private image UIRuneShopGoldBuyTips__Generate_image
- ---@field private goldText UIRuneShopGoldBuyTips__Generate_goldText
- ---@field private buyLimitTxt UIRuneShopGoldBuyTips__Generate_buyLimitTxt
- ---@field private btnBuy UIRuneShopGoldBuyTips__Generate_btnBuy
- ---@field private presentPrice UIRuneShopGoldBuyTips__Generate_presentPrice
- local UIRuneShopGoldBuyTipsView = class("UIRuneShopGoldBuyTipsView", require("UIViewBase"))
- function UIRuneShopGoldBuyTipsView:ctor()
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView: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)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:InitGenerate__1(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 UIRuneShopGoldBuyTipsView:InitGenerate__2(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 UIRuneShopGoldBuyTipsView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Window/TextTitle
- --]]
- local tmp = Root:Find("UIAnimator/Window/TextTitle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.textTitle = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView: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 UIRuneShopGoldBuyTipsView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/GoodsList/Image
- --]]
- local tmp = Root:Find("UIAnimator/Window/GoodsList/Image").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.image = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/GoodsList/GoldText
- --]]
- local tmp = Root:Find("UIAnimator/Window/GoodsList/GoldText").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.goldText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/DscText/BuyLimitTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/DscText/BuyLimitTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buyLimitTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnBuy
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnBuy").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnBuy = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnBuy/Content/PresentPrice
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnBuy/Content/PresentPrice").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.presentPrice = tmp
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnBuy/Content/PresentPrice/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnBuy/Content/PresentPrice/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.presentPrice.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnBuy/Content/PresentPrice/Currency
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnBuy/Content/PresentPrice/Currency").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.presentPrice.currency = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnBuy/Content/PresentPrice/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnBuy/Content/PresentPrice/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.presentPrice.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRuneShopGoldBuyTipsView:GenerateDestroy()
- if tolua.getpeer(self.presentPrice.number) ~= nil then
- tolua.setpeer(self.presentPrice.number, nil)
- end
- if tolua.getpeer(self.presentPrice.currency) ~= nil then
- tolua.setpeer(self.presentPrice.currency, nil)
- end
- if tolua.getpeer(self.presentPrice.icon) ~= nil then
- tolua.setpeer(self.presentPrice.icon, 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.textTitle) ~= nil then
- tolua.setpeer(self.textTitle, nil)
- end
- self.textTitle = nil
- if tolua.getpeer(self.btnClose) ~= nil then
- tolua.setpeer(self.btnClose, nil)
- end
- self.btnClose = nil
- if tolua.getpeer(self.image) ~= nil then
- tolua.setpeer(self.image, nil)
- end
- self.image = nil
- if tolua.getpeer(self.goldText) ~= nil then
- tolua.setpeer(self.goldText, nil)
- end
- self.goldText = nil
- if tolua.getpeer(self.buyLimitTxt) ~= nil then
- tolua.setpeer(self.buyLimitTxt, nil)
- end
- self.buyLimitTxt = nil
- if tolua.getpeer(self.btnBuy) ~= nil then
- tolua.setpeer(self.btnBuy, nil)
- end
- self.btnBuy = nil
- if tolua.getpeer(self.presentPrice) ~= nil then
- tolua.setpeer(self.presentPrice, nil)
- end
- self.presentPrice = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIRuneShopGoldBuyTipsView
|