| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541 |
- ---@class UIPetBattle__Generate_btnOneKeyBattle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetBattle__Generate_btnBack
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetBattle__Generate_btnPlayRule
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetBattle__Generate_slotBattle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public slot1 UnityEngine.GameObject
- ---@field public slot2 UnityEngine.GameObject
- ---@field public slot3 UnityEngine.GameObject
- ---@field public slot4 UnityEngine.GameObject
- ---@field public slot5 UnityEngine.GameObject
- ---@field public slot6 UnityEngine.GameObject
- ---@class UIPetBattle__Generate_slotTrigger_slotLock6
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slotLock5
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slotLock4
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slotLock3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slotLock2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slotLock1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slot6
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slot5
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slot4
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slot3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slot2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger_slot1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public uIEventTriggerListener UIEventTriggerListener
- ---@class UIPetBattle__Generate_slotTrigger
- ---@field public gameObject UnityEngine.GameObject
- ---@field public slot1 UIPetBattle__Generate_slotTrigger_slot1
- ---@field public slot2 UIPetBattle__Generate_slotTrigger_slot2
- ---@field public slot3 UIPetBattle__Generate_slotTrigger_slot3
- ---@field public slot4 UIPetBattle__Generate_slotTrigger_slot4
- ---@field public slot5 UIPetBattle__Generate_slotTrigger_slot5
- ---@field public slot6 UIPetBattle__Generate_slotTrigger_slot6
- ---@field public slot1_lock UnityEngine.GameObject
- ---@field public slotLock1 UIPetBattle__Generate_slotTrigger_slotLock1
- ---@field public slot2_lock UnityEngine.GameObject
- ---@field public slotLock2 UIPetBattle__Generate_slotTrigger_slotLock2
- ---@field public slot3_lock UnityEngine.GameObject
- ---@field public slotLock3 UIPetBattle__Generate_slotTrigger_slotLock3
- ---@field public slot4_lock UnityEngine.GameObject
- ---@field public slotLock4 UIPetBattle__Generate_slotTrigger_slotLock4
- ---@field public slot5_lock UnityEngine.GameObject
- ---@field public slotLock5 UIPetBattle__Generate_slotTrigger_slotLock5
- ---@field public slot6_lock UnityEngine.GameObject
- ---@field public slotLock6 UIPetBattle__Generate_slotTrigger_slotLock6
- ---@class UIPetBattle__Generate_slotEmpty_slot6Btn_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UIPetBattle__Generate_slotEmpty_slot6Btn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public text UIPetBattle__Generate_slotEmpty_slot6Btn_text
- ---@class UIPetBattle__Generate_slotEmpty_slot5Btn_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UIPetBattle__Generate_slotEmpty_slot5Btn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public text UIPetBattle__Generate_slotEmpty_slot5Btn_text
- ---@class UIPetBattle__Generate_slotEmpty_slot4Btn_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UIPetBattle__Generate_slotEmpty_slot4Btn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public text UIPetBattle__Generate_slotEmpty_slot4Btn_text
- ---@class UIPetBattle__Generate_slotEmpty_slot3Btn_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UIPetBattle__Generate_slotEmpty_slot3Btn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public text UIPetBattle__Generate_slotEmpty_slot3Btn_text
- ---@class UIPetBattle__Generate_slotEmpty_slot2Btn_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UIPetBattle__Generate_slotEmpty_slot2Btn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public text UIPetBattle__Generate_slotEmpty_slot2Btn_text
- ---@class UIPetBattle__Generate_slotEmpty_slot1Btn_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UIPetBattle__Generate_slotEmpty_slot1Btn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public text UIPetBattle__Generate_slotEmpty_slot1Btn_text
- ---@class UIPetBattle__Generate_slotEmpty
- ---@field public gameObject UnityEngine.GameObject
- ---@field public slot1Btn UIPetBattle__Generate_slotEmpty_slot1Btn
- ---@field public slot2Btn UIPetBattle__Generate_slotEmpty_slot2Btn
- ---@field public slot3Btn UIPetBattle__Generate_slotEmpty_slot3Btn
- ---@field public slot4Btn UIPetBattle__Generate_slotEmpty_slot4Btn
- ---@field public slot5Btn UIPetBattle__Generate_slotEmpty_slot5Btn
- ---@field public slot6Btn UIPetBattle__Generate_slotEmpty_slot6Btn
- ---@class UIPetBattle__Generate_slotList_slot6
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_slotList_slot5
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_slotList_slot4
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_slotList_slot3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_slotList_slot2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_slotList_slot1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_slotList
- ---@field public gameObject UnityEngine.GameObject
- ---@field public slot1 UIPetBattle__Generate_slotList_slot1
- ---@field public slot2 UIPetBattle__Generate_slotList_slot2
- ---@field public slot3 UIPetBattle__Generate_slotList_slot3
- ---@field public slot4 UIPetBattle__Generate_slotList_slot4
- ---@field public slot5 UIPetBattle__Generate_slotList_slot5
- ---@field public slot6 UIPetBattle__Generate_slotList_slot6
- ---@class UIPetBattle__Generate_hero6
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_hero5
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_hero4
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_hero3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_hero2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_hero1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIPetBattle__Generate_iconPetItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIPetBattle__Generate_scrollview
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopGridView SuperScrollView.LoopGridView
- ---@class UIPetBattle__Generate_battlePetCount
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetBattle__Generate_btnFilter
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public check UnityEngine.GameObject
- ---@class UIPetBattle__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetBattle__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIPetBattle__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UIPetBattle__Generate_uIAnimator
- ---@field private AnyBtn UIPetBattle__Generate_AnyBtn
- ---@field private window UnityEngine.GameObject
- ---@field private btnFilter UIPetBattle__Generate_btnFilter
- ---@field private battlePetCount UIPetBattle__Generate_battlePetCount
- ---@field private scrollview UIPetBattle__Generate_scrollview
- ---@field private smallPets UnityEngine.GameObject
- ---@field private iconPetItem UIPetBattle__Generate_iconPetItem
- ---@field private noPets UnityEngine.GameObject
- ---@field private top UnityEngine.GameObject
- ---@field private roleList UnityEngine.GameObject
- ---@field private roleListAnim UnityEngine.GameObject
- ---@field private hero1 UIPetBattle__Generate_hero1
- ---@field private hero2 UIPetBattle__Generate_hero2
- ---@field private hero3 UIPetBattle__Generate_hero3
- ---@field private hero4 UIPetBattle__Generate_hero4
- ---@field private hero5 UIPetBattle__Generate_hero5
- ---@field private hero6 UIPetBattle__Generate_hero6
- ---@field private slotList UIPetBattle__Generate_slotList
- ---@field private slotEmpty UIPetBattle__Generate_slotEmpty
- ---@field private slotTrigger UIPetBattle__Generate_slotTrigger
- ---@field private slotBattle UIPetBattle__Generate_slotBattle
- ---@field private btnPlayRule UIPetBattle__Generate_btnPlayRule
- ---@field private btnBack UIPetBattle__Generate_btnBack
- ---@field private btnOneKeyBattle UIPetBattle__Generate_btnOneKeyBattle
- ---@field private mask UnityEngine.GameObject
- local UIPetBattleView = class("UIPetBattleView", require("UIViewBase"))
- function UIPetBattleView:ctor()
- end
- ---@private
- function UIPetBattleView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIPetBattleView: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)
- self:InitGenerate__37(Root,data)
- self:InitGenerate__38(Root,data)
- self:InitGenerate__39(Root,data)
- self:InitGenerate__40(Root,data)
- self:InitGenerate__41(Root,data)
- self:InitGenerate__42(Root,data)
- self:InitGenerate__43(Root,data)
- self:InitGenerate__44(Root,data)
- self:InitGenerate__45(Root,data)
- self:InitGenerate__46(Root,data)
- self:InitGenerate__47(Root,data)
- self:InitGenerate__48(Root,data)
- self:InitGenerate__49(Root,data)
- self:InitGenerate__50(Root,data)
- self:InitGenerate__51(Root,data)
- self:InitGenerate__52(Root,data)
- self:InitGenerate__53(Root,data)
- self:InitGenerate__54(Root,data)
- self:InitGenerate__55(Root,data)
- self:InitGenerate__56(Root,data)
- self:InitGenerate__57(Root,data)
- self:InitGenerate__58(Root,data)
- self:InitGenerate__59(Root,data)
- self:InitGenerate__60(Root,data)
- self:InitGenerate__61(Root,data)
- self:InitGenerate__62(Root,data)
- self:InitGenerate__63(Root,data)
- self:InitGenerate__64(Root,data)
- self:InitGenerate__65(Root,data)
- self:InitGenerate__66(Root,data)
- self:InitGenerate__67(Root,data)
- self:InitGenerate__68(Root,data)
- self:InitGenerate__69(Root,data)
- end
- ---@private
- function UIPetBattleView: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 UIPetBattleView: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 UIPetBattleView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Window
- --]]
- local tmp = Root:Find("UIAnimator/Window").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.window = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/BottomList/BtnFilter
- --]]
- local tmp = Root:Find("UIAnimator/Window/BottomList/BtnFilter").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnFilter = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/BottomList/BtnFilter/Check
- --]]
- local tmp = Root:Find("UIAnimator/Window/BottomList/BtnFilter/Check").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnFilter.check = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/BottomList/BattlePetCount/Count
- --]]
- local tmp = Root:Find("UIAnimator/Window/BottomList/BattlePetCount/Count").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.battlePetCount = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetBattleView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/BottomList/scrollview
- --]]
- local tmp = Root:Find("UIAnimator/Window/BottomList/scrollview").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scrollview = tmp
- tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
- end
- ---@private
- function UIPetBattleView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/BottomList/scrollview/Viewport/Content
- --]]
- local tmp = Root:Find("UIAnimator/Window/BottomList/scrollview/Viewport/Content").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.smallPets = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/BottomList/scrollview/Viewport/Content/IconPetItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/BottomList/scrollview/Viewport/Content/IconPetItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
- self.iconPetItem.prefabName = "IconPetItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIPetBattleView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/BottomList/NoPets
- --]]
- local tmp = Root:Find("UIAnimator/Window/BottomList/NoPets").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.noPets = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/Top
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.top = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.roleList = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/RoleListAnim
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/RoleListAnim").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.roleListAnim = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/RoleListAnim/Role1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/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 UIPetBattleView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/RoleListAnim/Role2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/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 UIPetBattleView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/RoleListAnim/Role3
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/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 UIPetBattleView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/RoleListAnim/Role4
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/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 UIPetBattleView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/RoleListAnim/Role5
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/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 UIPetBattleView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/RoleListAnim/Role6
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/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 UIPetBattleView:InitGenerate__20(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotList
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotList = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__21(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotList/Slot1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotList.slot1 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIPetBattleView:InitGenerate__22(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotList/Slot2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotList.slot2 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIPetBattleView:InitGenerate__23(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotList/Slot3
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotList.slot3 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIPetBattleView:InitGenerate__24(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotList/Slot4
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotList.slot4 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIPetBattleView:InitGenerate__25(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotList/Slot5
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot5").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotList.slot5 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIPetBattleView:InitGenerate__26(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotList/Slot6
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot6").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotList.slot6 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIPetBattleView:InitGenerate__27(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__28(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot1/BtnBattle
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot1/BtnBattle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot1Btn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__29(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot1/BtnBattle/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot1/BtnBattle/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot1Btn.text = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UIPetBattleView:InitGenerate__30(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot2/BtnBattle
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot2/BtnBattle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot2Btn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__31(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot2/BtnBattle/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot2/BtnBattle/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot2Btn.text = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UIPetBattleView:InitGenerate__32(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot3/BtnBattle
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot3/BtnBattle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot3Btn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__33(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot3/BtnBattle/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot3/BtnBattle/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot3Btn.text = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UIPetBattleView:InitGenerate__34(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot4/BtnBattle
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot4/BtnBattle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot4Btn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__35(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot4/BtnBattle/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot4/BtnBattle/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot4Btn.text = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UIPetBattleView:InitGenerate__36(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot5/BtnBattle
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot5/BtnBattle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot5Btn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__37(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot5/BtnBattle/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot5/BtnBattle/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot5Btn.text = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UIPetBattleView:InitGenerate__38(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot6/BtnBattle
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot6/BtnBattle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot6Btn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__39(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotEmpty/Slot6/BtnBattle/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot6/BtnBattle/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotEmpty.slot6Btn.text = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UIPetBattleView:InitGenerate__40(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__41(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot1 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__42(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot2 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__43(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot3 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__44(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot4 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__45(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot5 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__46(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot6 = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__47(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1_lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1_lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot1_lock = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__48(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1_lock/lockbg
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1_lock/lockbg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slotLock1 = tmp
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__49(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2_lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2_lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot2_lock = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__50(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2_lock/lockbg
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2_lock/lockbg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slotLock2 = tmp
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__51(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3_lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3_lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot3_lock = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__52(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3_lock/lockbg
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3_lock/lockbg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slotLock3 = tmp
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__53(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4_lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4_lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot4_lock = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__54(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4_lock/lockbg
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4_lock/lockbg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slotLock4 = tmp
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__55(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5_lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5_lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot5_lock = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__56(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5_lock/lockbg
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5_lock/lockbg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slotLock5 = tmp
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__57(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6_lock
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6_lock").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slot6_lock = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__58(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6_lock/lockbg
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6_lock/lockbg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotTrigger.slotLock6 = tmp
- tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
- end
- ---@private
- function UIPetBattleView:InitGenerate__59(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotBattle
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotBattle = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__60(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotBattle/Slot1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotBattle.slot1 = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__61(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotBattle/Slot2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotBattle.slot2 = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__62(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotBattle/Slot3
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotBattle.slot3 = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__63(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotBattle/Slot4
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotBattle.slot4 = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__64(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotBattle/Slot5
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot5").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotBattle.slot5 = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__65(Root, data)
- --[[
- UIAnimator/Window/Top/RoleList/SlotBattle/Slot6
- --]]
- local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot6").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.slotBattle.slot6 = tmp
- end
- ---@private
- function UIPetBattleView:InitGenerate__66(Root, data)
- --[[
- UIAnimator/Window/BtnBg/BtnPlayRule
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBg/BtnPlayRule").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnPlayRule = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__67(Root, data)
- --[[
- UIAnimator/Window/BtnBack
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBack").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnBack = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__68(Root, data)
- --[[
- UIAnimator/Window/BtnOneKeyBattle
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnOneKeyBattle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnOneKeyBattle = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetBattleView:InitGenerate__69(Root, data)
- --[[
- UIAnimator/Window/Mask
- --]]
- local tmp = Root:Find("UIAnimator/Window/Mask").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.mask = tmp
- self.mask:SetActive(false)
- end
- ---@private
- function UIPetBattleView:GenerateDestroy()
- if tolua.getpeer(self.slotBattle.slot6) ~= nil then
- tolua.setpeer(self.slotBattle.slot6, nil)
- end
- if tolua.getpeer(self.slotBattle.slot5) ~= nil then
- tolua.setpeer(self.slotBattle.slot5, nil)
- end
- if tolua.getpeer(self.slotBattle.slot4) ~= nil then
- tolua.setpeer(self.slotBattle.slot4, nil)
- end
- if tolua.getpeer(self.slotBattle.slot3) ~= nil then
- tolua.setpeer(self.slotBattle.slot3, nil)
- end
- if tolua.getpeer(self.slotBattle.slot2) ~= nil then
- tolua.setpeer(self.slotBattle.slot2, nil)
- end
- if tolua.getpeer(self.slotBattle.slot1) ~= nil then
- tolua.setpeer(self.slotBattle.slot1, nil)
- end
- if tolua.getpeer(self.slotTrigger.slotLock6) ~= nil then
- tolua.setpeer(self.slotTrigger.slotLock6, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot6_lock) ~= nil then
- tolua.setpeer(self.slotTrigger.slot6_lock, nil)
- end
- if tolua.getpeer(self.slotTrigger.slotLock5) ~= nil then
- tolua.setpeer(self.slotTrigger.slotLock5, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot5_lock) ~= nil then
- tolua.setpeer(self.slotTrigger.slot5_lock, nil)
- end
- if tolua.getpeer(self.slotTrigger.slotLock4) ~= nil then
- tolua.setpeer(self.slotTrigger.slotLock4, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot4_lock) ~= nil then
- tolua.setpeer(self.slotTrigger.slot4_lock, nil)
- end
- if tolua.getpeer(self.slotTrigger.slotLock3) ~= nil then
- tolua.setpeer(self.slotTrigger.slotLock3, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot3_lock) ~= nil then
- tolua.setpeer(self.slotTrigger.slot3_lock, nil)
- end
- if tolua.getpeer(self.slotTrigger.slotLock2) ~= nil then
- tolua.setpeer(self.slotTrigger.slotLock2, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot2_lock) ~= nil then
- tolua.setpeer(self.slotTrigger.slot2_lock, nil)
- end
- if tolua.getpeer(self.slotTrigger.slotLock1) ~= nil then
- tolua.setpeer(self.slotTrigger.slotLock1, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot1_lock) ~= nil then
- tolua.setpeer(self.slotTrigger.slot1_lock, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot6) ~= nil then
- tolua.setpeer(self.slotTrigger.slot6, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot5) ~= nil then
- tolua.setpeer(self.slotTrigger.slot5, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot4) ~= nil then
- tolua.setpeer(self.slotTrigger.slot4, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot3) ~= nil then
- tolua.setpeer(self.slotTrigger.slot3, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot2) ~= nil then
- tolua.setpeer(self.slotTrigger.slot2, nil)
- end
- if tolua.getpeer(self.slotTrigger.slot1) ~= nil then
- tolua.setpeer(self.slotTrigger.slot1, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot6Btn.text) ~= nil then
- tolua.setpeer(self.slotEmpty.slot6Btn.text, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot6Btn) ~= nil then
- tolua.setpeer(self.slotEmpty.slot6Btn, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot5Btn.text) ~= nil then
- tolua.setpeer(self.slotEmpty.slot5Btn.text, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot5Btn) ~= nil then
- tolua.setpeer(self.slotEmpty.slot5Btn, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot4Btn.text) ~= nil then
- tolua.setpeer(self.slotEmpty.slot4Btn.text, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot4Btn) ~= nil then
- tolua.setpeer(self.slotEmpty.slot4Btn, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot3Btn.text) ~= nil then
- tolua.setpeer(self.slotEmpty.slot3Btn.text, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot3Btn) ~= nil then
- tolua.setpeer(self.slotEmpty.slot3Btn, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot2Btn.text) ~= nil then
- tolua.setpeer(self.slotEmpty.slot2Btn.text, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot2Btn) ~= nil then
- tolua.setpeer(self.slotEmpty.slot2Btn, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot1Btn.text) ~= nil then
- tolua.setpeer(self.slotEmpty.slot1Btn.text, nil)
- end
- if tolua.getpeer(self.slotEmpty.slot1Btn) ~= nil then
- tolua.setpeer(self.slotEmpty.slot1Btn, nil)
- end
- if tolua.getpeer(self.slotList.slot6) ~= nil then
- tolua.setpeer(self.slotList.slot6, nil)
- end
- if tolua.getpeer(self.slotList.slot5) ~= nil then
- tolua.setpeer(self.slotList.slot5, nil)
- end
- if tolua.getpeer(self.slotList.slot4) ~= nil then
- tolua.setpeer(self.slotList.slot4, nil)
- end
- if tolua.getpeer(self.slotList.slot3) ~= nil then
- tolua.setpeer(self.slotList.slot3, nil)
- end
- if tolua.getpeer(self.slotList.slot2) ~= nil then
- tolua.setpeer(self.slotList.slot2, nil)
- end
- if tolua.getpeer(self.slotList.slot1) ~= nil then
- tolua.setpeer(self.slotList.slot1, nil)
- end
- if tolua.getpeer(self.btnFilter.check) ~= nil then
- tolua.setpeer(self.btnFilter.check, 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.window) ~= nil then
- tolua.setpeer(self.window, nil)
- end
- self.window = nil
- if tolua.getpeer(self.btnFilter) ~= nil then
- tolua.setpeer(self.btnFilter, nil)
- end
- self.btnFilter = nil
- if tolua.getpeer(self.battlePetCount) ~= nil then
- tolua.setpeer(self.battlePetCount, nil)
- end
- self.battlePetCount = nil
- if tolua.getpeer(self.scrollview) ~= nil then
- tolua.setpeer(self.scrollview, nil)
- end
- self.scrollview = nil
- if tolua.getpeer(self.smallPets) ~= nil then
- tolua.setpeer(self.smallPets, nil)
- end
- self.smallPets = nil
- if self.iconPetItem.GenerateDestroy ~= nil then
- self.iconPetItem:GenerateDestroy()
- end
- if tolua.getpeer(self.iconPetItem) ~= nil then
- tolua.setpeer(self.iconPetItem, nil)
- end
- self.iconPetItem = nil
- if tolua.getpeer(self.noPets) ~= nil then
- tolua.setpeer(self.noPets, nil)
- end
- self.noPets = nil
- if tolua.getpeer(self.top) ~= nil then
- tolua.setpeer(self.top, nil)
- end
- self.top = 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.slotList) ~= nil then
- tolua.setpeer(self.slotList, nil)
- end
- self.slotList = nil
- if tolua.getpeer(self.slotEmpty) ~= nil then
- tolua.setpeer(self.slotEmpty, nil)
- end
- self.slotEmpty = nil
- if tolua.getpeer(self.slotTrigger) ~= nil then
- tolua.setpeer(self.slotTrigger, nil)
- end
- self.slotTrigger = nil
- if tolua.getpeer(self.slotBattle) ~= nil then
- tolua.setpeer(self.slotBattle, nil)
- end
- self.slotBattle = nil
- if tolua.getpeer(self.btnPlayRule) ~= nil then
- tolua.setpeer(self.btnPlayRule, nil)
- end
- self.btnPlayRule = nil
- if tolua.getpeer(self.btnBack) ~= nil then
- tolua.setpeer(self.btnBack, nil)
- end
- self.btnBack = nil
- if tolua.getpeer(self.btnOneKeyBattle) ~= nil then
- tolua.setpeer(self.btnOneKeyBattle, nil)
- end
- self.btnOneKeyBattle = nil
- if tolua.getpeer(self.mask) ~= nil then
- tolua.setpeer(self.mask, nil)
- end
- self.mask = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIPetBattleView
|