| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376 |
- ---@class UIDojoBattleWin__Generate_winCount
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIDojoBattleWin__Generate_deltaScoreText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojoBattleWin__Generate_newScoreText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojoBattleWin__Generate_oldScoreText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojoBattleWin__Generate_CruiseVipTag_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIDojoBattleWin__Generate_CruiseVipTag_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIDojoBattleWin__Generate_CruiseVipTag
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIDojoBattleWin__Generate_CruiseVipTag_icon
- ---@field public number UIDojoBattleWin__Generate_CruiseVipTag_number
- ---@class UIDojoBattleWin__Generate_CruiseLbl
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojoBattleWin__Generate_ZenyLbl
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojoBattleWin__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojoBattleWin__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private popWinAnim UnityEngine.GameObject
- ---@field private AnyBtn UIDojoBattleWin__Generate_AnyBtn
- ---@field private window UnityEngine.GameObject
- ---@field private ZenyLbl UIDojoBattleWin__Generate_ZenyLbl
- ---@field private CruiseLbl UIDojoBattleWin__Generate_CruiseLbl
- ---@field private CruiseVipTag UIDojoBattleWin__Generate_CruiseVipTag
- ---@field private oldScoreText UIDojoBattleWin__Generate_oldScoreText
- ---@field private newScoreText UIDojoBattleWin__Generate_newScoreText
- ---@field private deltaScoreText UIDojoBattleWin__Generate_deltaScoreText
- ---@field private winNode UnityEngine.GameObject
- ---@field private winBg1 UnityEngine.GameObject
- ---@field private winBg2 UnityEngine.GameObject
- ---@field private winBg3 UnityEngine.GameObject
- ---@field private winCount UIDojoBattleWin__Generate_winCount
- local UIDojoBattleWinView = class("UIDojoBattleWinView", require("UIViewBase"))
- function UIDojoBattleWinView:ctor()
- end
- ---@private
- function UIDojoBattleWinView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIDojoBattleWinView: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)
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__1(Root, data)
- --[[
- PopWinAnim
- --]]
- local tmp = Root:Find("PopWinAnim").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.popWinAnim = tmp
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__2(Root, data)
- --[[
- PopWinAnim/Alpha
- --]]
- local tmp = Root:Find("PopWinAnim/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 UIDojoBattleWinView:InitGenerate__3(Root, data)
- --[[
- PopWinAnim/Window
- --]]
- local tmp = Root:Find("PopWinAnim/Window").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.window = tmp
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__4(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Zeny/Text
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Zeny/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.ZenyLbl = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__5(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Cruise/Text
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Cruise/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.CruiseLbl = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__6(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Cruise/VipTag
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Cruise/VipTag").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.CruiseVipTag = tmp
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__7(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Cruise/VipTag/Icon
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Cruise/VipTag/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.CruiseVipTag.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__8(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Cruise/VipTag/Number
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Cruise/VipTag/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.CruiseVipTag.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__9(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Score/Val
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Score/Val").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.oldScoreText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__10(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Score/NewVal
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Score/NewVal").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.newScoreText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__11(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Score/AddVal
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Score/AddVal").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.deltaScoreText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__12(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.winNode = tmp
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__13(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak/Pic01
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak/Pic01").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.winBg1 = tmp
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__14(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak/Pic02
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak/Pic02").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.winBg2 = tmp
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__15(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak/Pic03
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak/Pic03").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.winBg3 = tmp
- end
- ---@private
- function UIDojoBattleWinView:InitGenerate__16(Root, data)
- --[[
- PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak/Number
- --]]
- local tmp = Root:Find("PopWinAnim/Window/BG/ReceiveRes/Score/WinningStreak/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.winCount = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIDojoBattleWinView:GenerateDestroy()
- if tolua.getpeer(self.CruiseVipTag.number) ~= nil then
- tolua.setpeer(self.CruiseVipTag.number, nil)
- end
- if tolua.getpeer(self.CruiseVipTag.icon) ~= nil then
- tolua.setpeer(self.CruiseVipTag.icon, nil)
- end
- if tolua.getpeer(self.popWinAnim) ~= nil then
- tolua.setpeer(self.popWinAnim, nil)
- end
- self.popWinAnim = nil
- if tolua.getpeer(self.AnyBtn) ~= nil then
- tolua.setpeer(self.AnyBtn, nil)
- end
- self.AnyBtn = nil
- if tolua.getpeer(self.window) ~= nil then
- tolua.setpeer(self.window, nil)
- end
- self.window = nil
- if tolua.getpeer(self.ZenyLbl) ~= nil then
- tolua.setpeer(self.ZenyLbl, nil)
- end
- self.ZenyLbl = nil
- if tolua.getpeer(self.CruiseLbl) ~= nil then
- tolua.setpeer(self.CruiseLbl, nil)
- end
- self.CruiseLbl = nil
- if tolua.getpeer(self.CruiseVipTag) ~= nil then
- tolua.setpeer(self.CruiseVipTag, nil)
- end
- self.CruiseVipTag = nil
- if tolua.getpeer(self.oldScoreText) ~= nil then
- tolua.setpeer(self.oldScoreText, nil)
- end
- self.oldScoreText = nil
- if tolua.getpeer(self.newScoreText) ~= nil then
- tolua.setpeer(self.newScoreText, nil)
- end
- self.newScoreText = nil
- if tolua.getpeer(self.deltaScoreText) ~= nil then
- tolua.setpeer(self.deltaScoreText, nil)
- end
- self.deltaScoreText = nil
- if tolua.getpeer(self.winNode) ~= nil then
- tolua.setpeer(self.winNode, nil)
- end
- self.winNode = nil
- if tolua.getpeer(self.winBg1) ~= nil then
- tolua.setpeer(self.winBg1, nil)
- end
- self.winBg1 = nil
- if tolua.getpeer(self.winBg2) ~= nil then
- tolua.setpeer(self.winBg2, nil)
- end
- self.winBg2 = nil
- if tolua.getpeer(self.winBg3) ~= nil then
- tolua.setpeer(self.winBg3, nil)
- end
- self.winBg3 = nil
- if tolua.getpeer(self.winCount) ~= nil then
- tolua.setpeer(self.winCount, nil)
- end
- self.winCount = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIDojoBattleWinView
|