| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855 |
- ---@class UIDojo2D__Generate_fighterPowerText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojo2D__Generate_nextSeasonTimeText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojo2D__Generate_matchBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojo2D__Generate_buyTimesBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojo2D__Generate_leftTimesText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojo2D__Generate_backBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojo2D__Generate_hero6
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIDojo2D__Generate_hero5
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIDojo2D__Generate_hero4
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIDojo2D__Generate_hero3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIDojo2D__Generate_hero2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIDojo2D__Generate_hero1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIDojo2D__Generate_playRuleBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojo2D__Generate_leftRewardTimesText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojo2D__Generate_seasonEndTimeText_lbl
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojo2D__Generate_seasonEndTimeText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@field public lbl UIDojo2D__Generate_seasonEndTimeText_lbl
- ---@class UIDojo2D__Generate_scoreSlider
- ---@field public gameObject UnityEngine.GameObject
- ---@field public slider UnityEngine.UI.Slider
- ---@class UIDojo2D__Generate_curRankScoreText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojo2D__Generate_rewardItemName
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojo2D__Generate_rewardItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIDojo2D__Generate_rewardIcon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojo2D__Generate_winRateText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIDojo2D__Generate_rankIcon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIDojo2D__Generate_rankName
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIDojo2D__Generate_skillBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojo2D__Generate_shopBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojo2D__Generate_rankBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojo2D__Generate_battleReportBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDojo2D__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private selectedHero2 UnityEngine.GameObject
- ---@field private selectedHero3 UnityEngine.GameObject
- ---@field private selectedHero1 UnityEngine.GameObject
- ---@field private selectedHero4 UnityEngine.GameObject
- ---@field private battleReportBtn UIDojo2D__Generate_battleReportBtn
- ---@field private rankBtn UIDojo2D__Generate_rankBtn
- ---@field private shopBtn UIDojo2D__Generate_shopBtn
- ---@field private skillBtn UIDojo2D__Generate_skillBtn
- ---@field private rankName UIDojo2D__Generate_rankName
- ---@field private rankIcon UIDojo2D__Generate_rankIcon
- ---@field private winRateText UIDojo2D__Generate_winRateText
- ---@field private rewardIcon UIDojo2D__Generate_rewardIcon
- ---@field private rewardItem UIDojo2D__Generate_rewardItem
- ---@field private rewardItemName UIDojo2D__Generate_rewardItemName
- ---@field private curRankScoreText UIDojo2D__Generate_curRankScoreText
- ---@field private scoreSlider UIDojo2D__Generate_scoreSlider
- ---@field private seasonEndTimeText UIDojo2D__Generate_seasonEndTimeText
- ---@field private leftRewardTimesText UIDojo2D__Generate_leftRewardTimesText
- ---@field private playRuleBtn UIDojo2D__Generate_playRuleBtn
- ---@field private roleList UnityEngine.GameObject
- ---@field private roleListAnim UnityEngine.GameObject
- ---@field private hero1 UIDojo2D__Generate_hero1
- ---@field private hero2 UIDojo2D__Generate_hero2
- ---@field private hero3 UIDojo2D__Generate_hero3
- ---@field private hero4 UIDojo2D__Generate_hero4
- ---@field private hero5 UIDojo2D__Generate_hero5
- ---@field private hero6 UIDojo2D__Generate_hero6
- ---@field private backBtn UIDojo2D__Generate_backBtn
- ---@field private curSeasonNode UnityEngine.GameObject
- ---@field private leftTimesText UIDojo2D__Generate_leftTimesText
- ---@field private buyTimesBtn UIDojo2D__Generate_buyTimesBtn
- ---@field private matchBtn UIDojo2D__Generate_matchBtn
- ---@field private nextSeasonNode UnityEngine.GameObject
- ---@field private nextSeasonTimeText UIDojo2D__Generate_nextSeasonTimeText
- ---@field private fighterPowerText UIDojo2D__Generate_fighterPowerText
- local UIDojo2DView = class("UIDojo2DView", require("UIViewBase"))
- function UIDojo2DView:ctor()
- end
- ---@private
- function UIDojo2DView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIDojo2DView: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)
- self:InitGenerate__20(Root,data)
- self:InitGenerate__21(Root,data)
- self:InitGenerate__22(Root,data)
- self:InitGenerate__23(Root,data)
- self:InitGenerate__24(Root,data)
- self:InitGenerate__25(Root,data)
- self:InitGenerate__26(Root,data)
- self:InitGenerate__27(Root,data)
- self:InitGenerate__28(Root,data)
- self:InitGenerate__29(Root,data)
- self:InitGenerate__30(Root,data)
- self:InitGenerate__31(Root,data)
- self:InitGenerate__32(Root,data)
- self:InitGenerate__33(Root,data)
- self:InitGenerate__34(Root,data)
- self:InitGenerate__35(Root,data)
- self:InitGenerate__36(Root,data)
- end
- ---@private
- function UIDojo2DView:InitGenerate__1(Root, data)
- --[[
- CenterView/Character2
- --]]
- local tmp = Root:Find("CenterView/Character2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.selectedHero2 = tmp
- end
- ---@private
- function UIDojo2DView:InitGenerate__2(Root, data)
- --[[
- CenterView/Character3
- --]]
- local tmp = Root:Find("CenterView/Character3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.selectedHero3 = tmp
- end
- ---@private
- function UIDojo2DView:InitGenerate__3(Root, data)
- --[[
- CenterView/Character1
- --]]
- local tmp = Root:Find("CenterView/Character1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.selectedHero1 = tmp
- end
- ---@private
- function UIDojo2DView:InitGenerate__4(Root, data)
- --[[
- CenterView/Character4
- --]]
- local tmp = Root:Find("CenterView/Character4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.selectedHero4 = tmp
- end
- ---@private
- function UIDojo2DView:InitGenerate__5(Root, data)
- --[[
- TopView/BtnGroup/BattleReportBtn
- --]]
- local tmp = Root:Find("TopView/BtnGroup/BattleReportBtn").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.battleReportBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDojo2DView:InitGenerate__6(Root, data)
- --[[
- TopView/BtnGroup/RankBtn
- --]]
- local tmp = Root:Find("TopView/BtnGroup/RankBtn").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.rankBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDojo2DView:InitGenerate__7(Root, data)
- --[[
- TopView/BtnGroup/ShopBtn
- --]]
- local tmp = Root:Find("TopView/BtnGroup/ShopBtn").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.shopBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDojo2DView:InitGenerate__8(Root, data)
- --[[
- TopView/BtnGroup/SkillBtn
- --]]
- local tmp = Root:Find("TopView/BtnGroup/SkillBtn").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.skillBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDojo2DView:InitGenerate__9(Root, data)
- --[[
- TopView/BattleInfo/RankInfo/RankName
- --]]
- local tmp = Root:Find("TopView/BattleInfo/RankInfo/RankName").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.rankName = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojo2DView:InitGenerate__10(Root, data)
- --[[
- TopView/BattleInfo/RankInfo/RankIcon
- --]]
- local tmp = Root:Find("TopView/BattleInfo/RankInfo/RankIcon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.rankIcon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIDojo2DView:InitGenerate__11(Root, data)
- --[[
- TopView/BattleInfo/RankInfo/WinRate/Val
- --]]
- local tmp = Root:Find("TopView/BattleInfo/RankInfo/WinRate/Val").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.winRateText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIDojo2DView:InitGenerate__12(Root, data)
- --[[
- TopView/BattleInfo/Left/RewardIcon
- --]]
- local tmp = Root:Find("TopView/BattleInfo/Left/RewardIcon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.rewardIcon = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDojo2DView:InitGenerate__13(Root, data)
- --[[
- TopView/BattleInfo/Left/IconSmallItem
- --]]
- local tmp = Root:Find("TopView/BattleInfo/Left/IconSmallItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.rewardItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
- self.rewardItem.prefabName = "IconItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIDojo2DView:InitGenerate__14(Root, data)
- --[[
- TopView/BattleInfo/Left/ItemName
- --]]
- local tmp = Root:Find("TopView/BattleInfo/Left/ItemName").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.rewardItemName = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojo2DView:InitGenerate__15(Root, data)
- --[[
- TopView/BattleInfo/Right/RankScore/Val
- --]]
- local tmp = Root:Find("TopView/BattleInfo/Right/RankScore/Val").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.curRankScoreText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojo2DView:InitGenerate__16(Root, data)
- --[[
- TopView/BattleInfo/Right/RankScore/Slider
- --]]
- local tmp = Root:Find("TopView/BattleInfo/Right/RankScore/Slider").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scoreSlider = tmp
- tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
- end
- ---@private
- function UIDojo2DView:InitGenerate__17(Root, data)
- --[[
- TopView/BattleInfo/Right/RankTime/Val
- --]]
- local tmp = Root:Find("TopView/BattleInfo/Right/RankTime/Val").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.seasonEndTimeText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojo2DView:InitGenerate__18(Root, data)
- --[[
- TopView/BattleInfo/Right/RankTime/Val/Lbl
- --]]
- local tmp = Root:Find("TopView/BattleInfo/Right/RankTime/Val/Lbl").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.seasonEndTimeText.lbl = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojo2DView:InitGenerate__19(Root, data)
- --[[
- TopView/LeftRewardTimes
- --]]
- local tmp = Root:Find("TopView/LeftRewardTimes").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.leftRewardTimesText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojo2DView:InitGenerate__20(Root, data)
- --[[
- TopView/BtnPlayRule
- --]]
- local tmp = Root:Find("TopView/BtnPlayRule").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.playRuleBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDojo2DView:InitGenerate__21(Root, data)
- --[[
- BottomView/RoleList
- --]]
- local tmp = Root:Find("BottomView/RoleList").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.roleList = tmp
- end
- ---@private
- function UIDojo2DView:InitGenerate__22(Root, data)
- --[[
- BottomView/RoleList/RoleListAnim
- --]]
- local tmp = Root:Find("BottomView/RoleList/RoleListAnim").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.roleListAnim = tmp
- end
- ---@private
- function UIDojo2DView:InitGenerate__23(Root, data)
- --[[
- BottomView/RoleList/RoleListAnim/Role1
- --]]
- local tmp = Root:Find("BottomView/RoleList/RoleListAnim/Role1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.hero1 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIDojo2DView:InitGenerate__24(Root, data)
- --[[
- BottomView/RoleList/RoleListAnim/Role2
- --]]
- local tmp = Root:Find("BottomView/RoleList/RoleListAnim/Role2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.hero2 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIDojo2DView:InitGenerate__25(Root, data)
- --[[
- BottomView/RoleList/RoleListAnim/Role3
- --]]
- local tmp = Root:Find("BottomView/RoleList/RoleListAnim/Role3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.hero3 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIDojo2DView:InitGenerate__26(Root, data)
- --[[
- BottomView/RoleList/RoleListAnim/Role4
- --]]
- local tmp = Root:Find("BottomView/RoleList/RoleListAnim/Role4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.hero4 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIDojo2DView:InitGenerate__27(Root, data)
- --[[
- BottomView/RoleList/RoleListAnim/Role5
- --]]
- local tmp = Root:Find("BottomView/RoleList/RoleListAnim/Role5").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.hero5 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIDojo2DView:InitGenerate__28(Root, data)
- --[[
- BottomView/RoleList/RoleListAnim/Role6
- --]]
- local tmp = Root:Find("BottomView/RoleList/RoleListAnim/Role6").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.hero6 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIDojo2DView:InitGenerate__29(Root, data)
- --[[
- BottomView/BtnBack
- --]]
- local tmp = Root:Find("BottomView/BtnBack").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.backBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDojo2DView:InitGenerate__30(Root, data)
- --[[
- BottomView/SeasonInfo
- --]]
- local tmp = Root:Find("BottomView/SeasonInfo").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.curSeasonNode = tmp
- end
- ---@private
- function UIDojo2DView:InitGenerate__31(Root, data)
- --[[
- BottomView/SeasonInfo/LeftTimes/Val
- --]]
- local tmp = Root:Find("BottomView/SeasonInfo/LeftTimes/Val").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.leftTimesText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojo2DView:InitGenerate__32(Root, data)
- --[[
- BottomView/SeasonInfo/LeftTimes/AddBtn
- --]]
- local tmp = Root:Find("BottomView/SeasonInfo/LeftTimes/AddBtn").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buyTimesBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDojo2DView:InitGenerate__33(Root, data)
- --[[
- BottomView/SeasonInfo/MatchBtn
- --]]
- local tmp = Root:Find("BottomView/SeasonInfo/MatchBtn").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.matchBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDojo2DView:InitGenerate__34(Root, data)
- --[[
- BottomView/NextSeasonInfo
- --]]
- local tmp = Root:Find("BottomView/NextSeasonInfo").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.nextSeasonNode = tmp
- end
- ---@private
- function UIDojo2DView:InitGenerate__35(Root, data)
- --[[
- BottomView/NextSeasonInfo/Time
- --]]
- local tmp = Root:Find("BottomView/NextSeasonInfo/Time").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.nextSeasonTimeText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojo2DView:InitGenerate__36(Root, data)
- --[[
- BottomView/FightPowerInfo/Val
- --]]
- local tmp = Root:Find("BottomView/FightPowerInfo/Val").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.fighterPowerText = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIDojo2DView:GenerateDestroy()
- if tolua.getpeer(self.seasonEndTimeText.lbl) ~= nil then
- tolua.setpeer(self.seasonEndTimeText.lbl, nil)
- end
- if tolua.getpeer(self.selectedHero2) ~= nil then
- tolua.setpeer(self.selectedHero2, nil)
- end
- self.selectedHero2 = nil
- if tolua.getpeer(self.selectedHero3) ~= nil then
- tolua.setpeer(self.selectedHero3, nil)
- end
- self.selectedHero3 = nil
- if tolua.getpeer(self.selectedHero1) ~= nil then
- tolua.setpeer(self.selectedHero1, nil)
- end
- self.selectedHero1 = nil
- if tolua.getpeer(self.selectedHero4) ~= nil then
- tolua.setpeer(self.selectedHero4, nil)
- end
- self.selectedHero4 = nil
- if tolua.getpeer(self.battleReportBtn) ~= nil then
- tolua.setpeer(self.battleReportBtn, nil)
- end
- self.battleReportBtn = nil
- if tolua.getpeer(self.rankBtn) ~= nil then
- tolua.setpeer(self.rankBtn, nil)
- end
- self.rankBtn = nil
- if tolua.getpeer(self.shopBtn) ~= nil then
- tolua.setpeer(self.shopBtn, nil)
- end
- self.shopBtn = nil
- if tolua.getpeer(self.skillBtn) ~= nil then
- tolua.setpeer(self.skillBtn, nil)
- end
- self.skillBtn = nil
- if tolua.getpeer(self.rankName) ~= nil then
- tolua.setpeer(self.rankName, nil)
- end
- self.rankName = nil
- if tolua.getpeer(self.rankIcon) ~= nil then
- tolua.setpeer(self.rankIcon, nil)
- end
- self.rankIcon = nil
- if tolua.getpeer(self.winRateText) ~= nil then
- tolua.setpeer(self.winRateText, nil)
- end
- self.winRateText = nil
- if tolua.getpeer(self.rewardIcon) ~= nil then
- tolua.setpeer(self.rewardIcon, nil)
- end
- self.rewardIcon = nil
- if self.rewardItem.GenerateDestroy ~= nil then
- self.rewardItem:GenerateDestroy()
- end
- if tolua.getpeer(self.rewardItem) ~= nil then
- tolua.setpeer(self.rewardItem, nil)
- end
- self.rewardItem = nil
- if tolua.getpeer(self.rewardItemName) ~= nil then
- tolua.setpeer(self.rewardItemName, nil)
- end
- self.rewardItemName = nil
- if tolua.getpeer(self.curRankScoreText) ~= nil then
- tolua.setpeer(self.curRankScoreText, nil)
- end
- self.curRankScoreText = nil
- if tolua.getpeer(self.scoreSlider) ~= nil then
- tolua.setpeer(self.scoreSlider, nil)
- end
- self.scoreSlider = nil
- if tolua.getpeer(self.seasonEndTimeText) ~= nil then
- tolua.setpeer(self.seasonEndTimeText, nil)
- end
- self.seasonEndTimeText = nil
- if tolua.getpeer(self.leftRewardTimesText) ~= nil then
- tolua.setpeer(self.leftRewardTimesText, nil)
- end
- self.leftRewardTimesText = nil
- if tolua.getpeer(self.playRuleBtn) ~= nil then
- tolua.setpeer(self.playRuleBtn, nil)
- end
- self.playRuleBtn = nil
- if tolua.getpeer(self.roleList) ~= nil then
- tolua.setpeer(self.roleList, nil)
- end
- self.roleList = nil
- if tolua.getpeer(self.roleListAnim) ~= nil then
- tolua.setpeer(self.roleListAnim, nil)
- end
- self.roleListAnim = nil
- if tolua.getpeer(self.hero1) ~= nil then
- tolua.setpeer(self.hero1, nil)
- end
- self.hero1 = nil
- if tolua.getpeer(self.hero2) ~= nil then
- tolua.setpeer(self.hero2, nil)
- end
- self.hero2 = nil
- if tolua.getpeer(self.hero3) ~= nil then
- tolua.setpeer(self.hero3, nil)
- end
- self.hero3 = nil
- if tolua.getpeer(self.hero4) ~= nil then
- tolua.setpeer(self.hero4, nil)
- end
- self.hero4 = nil
- if tolua.getpeer(self.hero5) ~= nil then
- tolua.setpeer(self.hero5, nil)
- end
- self.hero5 = nil
- if tolua.getpeer(self.hero6) ~= nil then
- tolua.setpeer(self.hero6, nil)
- end
- self.hero6 = nil
- if tolua.getpeer(self.backBtn) ~= nil then
- tolua.setpeer(self.backBtn, nil)
- end
- self.backBtn = nil
- if tolua.getpeer(self.curSeasonNode) ~= nil then
- tolua.setpeer(self.curSeasonNode, nil)
- end
- self.curSeasonNode = nil
- if tolua.getpeer(self.leftTimesText) ~= nil then
- tolua.setpeer(self.leftTimesText, nil)
- end
- self.leftTimesText = nil
- if tolua.getpeer(self.buyTimesBtn) ~= nil then
- tolua.setpeer(self.buyTimesBtn, nil)
- end
- self.buyTimesBtn = nil
- if tolua.getpeer(self.matchBtn) ~= nil then
- tolua.setpeer(self.matchBtn, nil)
- end
- self.matchBtn = nil
- if tolua.getpeer(self.nextSeasonNode) ~= nil then
- tolua.setpeer(self.nextSeasonNode, nil)
- end
- self.nextSeasonNode = nil
- if tolua.getpeer(self.nextSeasonTimeText) ~= nil then
- tolua.setpeer(self.nextSeasonTimeText, nil)
- end
- self.nextSeasonTimeText = nil
- if tolua.getpeer(self.fighterPowerText) ~= nil then
- tolua.setpeer(self.fighterPowerText, nil)
- end
- self.fighterPowerText = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIDojo2DView
|