| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391 |
- ---@class UIExpeditionWin__Generate_scoreNumber
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIExpeditionWin__Generate_buff3_selectNode
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIExpeditionWin__Generate_buff3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public buffCard UnityEngine.GameObject
- ---@field public selectNode UIExpeditionWin__Generate_buff3_selectNode
- ---@class UIExpeditionWin__Generate_buff2_selectNode
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIExpeditionWin__Generate_buff2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public buffCard UnityEngine.GameObject
- ---@field public selectNode UIExpeditionWin__Generate_buff2_selectNode
- ---@class UIExpeditionWin__Generate_buff1_selectNode
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIExpeditionWin__Generate_buff1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public buffCard UnityEngine.GameObject
- ---@field public selectNode UIExpeditionWin__Generate_buff1_selectNode
- ---@class UIExpeditionWin__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIExpeditionWin__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIExpeditionWin__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UIExpeditionWin__Generate_uIAnimator
- ---@field private AnyBtn UIExpeditionWin__Generate_AnyBtn
- ---@field private winTipsNode UnityEngine.GameObject
- ---@field private rewardNode UnityEngine.GameObject
- ---@field private buffList UnityEngine.GameObject
- ---@field private buff1 UIExpeditionWin__Generate_buff1
- ---@field private buff2 UIExpeditionWin__Generate_buff2
- ---@field private buff3 UIExpeditionWin__Generate_buff3
- ---@field private scoreReward UnityEngine.GameObject
- ---@field private scoreNumber UIExpeditionWin__Generate_scoreNumber
- ---@field private newRecord UnityEngine.GameObject
- local UIExpeditionWinView = class("UIExpeditionWinView", require("UIViewBase"))
- function UIExpeditionWinView:ctor()
- end
- ---@private
- function UIExpeditionWinView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIExpeditionWinView: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)
- end
- ---@private
- function UIExpeditionWinView: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 UIExpeditionWinView: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 UIExpeditionWinView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/WinText
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/WinText").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.winTipsNode = tmp
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.rewardNode = tmp
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buffList = tmp
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect1
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff1 = tmp
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect1/BlessCardItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect1/BlessCardItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff1.buffCard = CommonUtil.BindGridViewItem2LuaStatic("BlessCardItem", tmp)
- self.buff1.buffCard.prefabName = "BlessCardItem"
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect1/Button
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect1/Button").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff1.selectNode = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect2
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff2 = tmp
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect2/BlessCardItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect2/BlessCardItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff2.buffCard = CommonUtil.BindGridViewItem2LuaStatic("BlessCardItem", tmp)
- self.buff2.buffCard.prefabName = "BlessCardItem"
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect2/Button
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect2/Button").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff2.selectNode = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect3
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff3 = tmp
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect3/BlessCardItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect3/BlessCardItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff3.buffCard = CommonUtil.BindGridViewItem2LuaStatic("BlessCardItem", tmp)
- self.buff3.buffCard.prefabName = "BlessCardItem"
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect3/Button
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/RewardsIcons/BlessGrp/CardSelect3/Button").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff3.selectNode = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/ScoreReward
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/ScoreReward").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scoreReward = tmp
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/ScoreReward/ScoreNumber
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/ScoreReward/ScoreNumber").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scoreNumber = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIExpeditionWinView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/BG/Bg/ScoreReward/NewRecord
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Bg/ScoreReward/NewRecord").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.newRecord = tmp
- end
- ---@private
- function UIExpeditionWinView:GenerateDestroy()
- if tolua.getpeer(self.buff3.selectNode) ~= nil then
- tolua.setpeer(self.buff3.selectNode, nil)
- end
- if self.buff3.buffCard.GenerateDestroy ~= nil then
- self.buff3.buffCard:GenerateDestroy()
- end
- if tolua.getpeer(self.buff3.buffCard) ~= nil then
- tolua.setpeer(self.buff3.buffCard, nil)
- end
- if tolua.getpeer(self.buff2.selectNode) ~= nil then
- tolua.setpeer(self.buff2.selectNode, nil)
- end
- if self.buff2.buffCard.GenerateDestroy ~= nil then
- self.buff2.buffCard:GenerateDestroy()
- end
- if tolua.getpeer(self.buff2.buffCard) ~= nil then
- tolua.setpeer(self.buff2.buffCard, nil)
- end
- if tolua.getpeer(self.buff1.selectNode) ~= nil then
- tolua.setpeer(self.buff1.selectNode, nil)
- end
- if self.buff1.buffCard.GenerateDestroy ~= nil then
- self.buff1.buffCard:GenerateDestroy()
- end
- if tolua.getpeer(self.buff1.buffCard) ~= nil then
- tolua.setpeer(self.buff1.buffCard, 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.winTipsNode) ~= nil then
- tolua.setpeer(self.winTipsNode, nil)
- end
- self.winTipsNode = nil
- if tolua.getpeer(self.rewardNode) ~= nil then
- tolua.setpeer(self.rewardNode, nil)
- end
- self.rewardNode = nil
- if tolua.getpeer(self.buffList) ~= nil then
- tolua.setpeer(self.buffList, nil)
- end
- self.buffList = nil
- if tolua.getpeer(self.buff1) ~= nil then
- tolua.setpeer(self.buff1, nil)
- end
- self.buff1 = nil
- if tolua.getpeer(self.buff2) ~= nil then
- tolua.setpeer(self.buff2, nil)
- end
- self.buff2 = nil
- if tolua.getpeer(self.buff3) ~= nil then
- tolua.setpeer(self.buff3, nil)
- end
- self.buff3 = nil
- if tolua.getpeer(self.scoreReward) ~= nil then
- tolua.setpeer(self.scoreReward, nil)
- end
- self.scoreReward = nil
- if tolua.getpeer(self.scoreNumber) ~= nil then
- tolua.setpeer(self.scoreNumber, nil)
- end
- self.scoreNumber = nil
- if tolua.getpeer(self.newRecord) ~= nil then
- tolua.setpeer(self.newRecord, nil)
- end
- self.newRecord = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIExpeditionWinView
|