| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430 |
- ---@class UIPetAdvence__Generate_cost1_num
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_cost1_res
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIPetAdvence__Generate_cost1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public res UIPetAdvence__Generate_cost1_res
- ---@field public num UIPetAdvence__Generate_cost1_num
- ---@class UIPetAdvence__Generate_btnSure
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_dsc
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UIPetAdvence__Generate_iconPetItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIPetAdvence__Generate_mats
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopGridView SuperScrollView.LoopGridView
- ---@class UIPetAdvence__Generate_attrs_attr5_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr5_number1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr5_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr5
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIPetAdvence__Generate_attrs_attr5_text
- ---@field public number1 UIPetAdvence__Generate_attrs_attr5_number1
- ---@field public number2 UIPetAdvence__Generate_attrs_attr5_number2
- ---@class UIPetAdvence__Generate_attrs_attr4_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr4_number1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr4_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr4
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIPetAdvence__Generate_attrs_attr4_text
- ---@field public number1 UIPetAdvence__Generate_attrs_attr4_number1
- ---@field public number2 UIPetAdvence__Generate_attrs_attr4_number2
- ---@class UIPetAdvence__Generate_attrs_attr3_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr3_number1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr3_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIPetAdvence__Generate_attrs_attr3_text
- ---@field public number1 UIPetAdvence__Generate_attrs_attr3_number1
- ---@field public number2 UIPetAdvence__Generate_attrs_attr3_number2
- ---@class UIPetAdvence__Generate_attrs_attr2_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr2_number1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr2_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIPetAdvence__Generate_attrs_attr2_text
- ---@field public number1 UIPetAdvence__Generate_attrs_attr2_number1
- ---@field public number2 UIPetAdvence__Generate_attrs_attr2_number2
- ---@class UIPetAdvence__Generate_attrs_attr1_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr1_number1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr1_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_attr1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIPetAdvence__Generate_attrs_attr1_text
- ---@field public number1 UIPetAdvence__Generate_attrs_attr1_number1
- ---@field public number2 UIPetAdvence__Generate_attrs_attr1_number2
- ---@class UIPetAdvence__Generate_attrs_lVLimit_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_lVLimit_number1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIPetAdvence__Generate_attrs_lVLimit
- ---@field public gameObject UnityEngine.GameObject
- ---@field public number1 UIPetAdvence__Generate_attrs_lVLimit_number1
- ---@field public number2 UIPetAdvence__Generate_attrs_lVLimit_number2
- ---@class UIPetAdvence__Generate_attrs
- ---@field public gameObject UnityEngine.GameObject
- ---@field public lVLimit UIPetAdvence__Generate_attrs_lVLimit
- ---@field public attr1 UIPetAdvence__Generate_attrs_attr1
- ---@field public attr2 UIPetAdvence__Generate_attrs_attr2
- ---@field public attr3 UIPetAdvence__Generate_attrs_attr3
- ---@field public attr4 UIPetAdvence__Generate_attrs_attr4
- ---@field public attr5 UIPetAdvence__Generate_attrs_attr5
- ---@class UIPetAdvence__Generate_item4_unowned_frame
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_item4_unowned_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_item4_unowned
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIPetAdvence__Generate_item4_unowned_icon
- ---@field public frame UIPetAdvence__Generate_item4_unowned_frame
- ---@class UIPetAdvence__Generate_item4_iconPetItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIPetAdvence__Generate_item4
- ---@field public gameObject UnityEngine.GameObject
- ---@field public owned UnityEngine.GameObject
- ---@field public iconPetItem UIPetAdvence__Generate_item4_iconPetItem
- ---@field public unowned UIPetAdvence__Generate_item4_unowned
- ---@class UIPetAdvence__Generate_item3_unowned_frame
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_item3_unowned_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_item3_unowned
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIPetAdvence__Generate_item3_unowned_icon
- ---@field public frame UIPetAdvence__Generate_item3_unowned_frame
- ---@class UIPetAdvence__Generate_item3_iconPetItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIPetAdvence__Generate_item3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public owned UnityEngine.GameObject
- ---@field public iconPetItem UIPetAdvence__Generate_item3_iconPetItem
- ---@field public unowned UIPetAdvence__Generate_item3_unowned
- ---@class UIPetAdvence__Generate_item2_unowned_frame
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_item2_unowned_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_item2_unowned
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIPetAdvence__Generate_item2_unowned_icon
- ---@field public frame UIPetAdvence__Generate_item2_unowned_frame
- ---@class UIPetAdvence__Generate_item2_iconPetItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIPetAdvence__Generate_item2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public owned UnityEngine.GameObject
- ---@field public iconPetItem UIPetAdvence__Generate_item2_iconPetItem
- ---@field public unowned UIPetAdvence__Generate_item2_unowned
- ---@class UIPetAdvence__Generate_item1_unowned_frame
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_item1_unowned_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_item1_unowned
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIPetAdvence__Generate_item1_unowned_icon
- ---@field public frame UIPetAdvence__Generate_item1_unowned_frame
- ---@class UIPetAdvence__Generate_item1_iconPetItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIPetAdvence__Generate_item1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public owned UnityEngine.GameObject
- ---@field public iconPetItem UIPetAdvence__Generate_item1_iconPetItem
- ---@field public unowned UIPetAdvence__Generate_item1_unowned
- ---@class UIPetAdvence__Generate_btnClose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_bg
- ---@field public gameObject UnityEngine.GameObject
- ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup
- ---@class UIPetAdvence__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIPetAdvence__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIPetAdvence__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UIPetAdvence__Generate_uIAnimator
- ---@field private AnyBtn UIPetAdvence__Generate_AnyBtn
- ---@field private window UnityEngine.GameObject
- ---@field private bg UIPetAdvence__Generate_bg
- ---@field private closeBox UnityEngine.GameObject
- ---@field private btnClose UIPetAdvence__Generate_btnClose
- ---@field private item1 UIPetAdvence__Generate_item1
- ---@field private item2 UIPetAdvence__Generate_item2
- ---@field private item3 UIPetAdvence__Generate_item3
- ---@field private item4 UIPetAdvence__Generate_item4
- ---@field private attrs UIPetAdvence__Generate_attrs
- ---@field private mats UIPetAdvence__Generate_mats
- ---@field private iconPetItem UIPetAdvence__Generate_iconPetItem
- ---@field private dsc UIPetAdvence__Generate_dsc
- ---@field private btnBox UnityEngine.GameObject
- ---@field private btnSure UIPetAdvence__Generate_btnSure
- ---@field private cost1 UIPetAdvence__Generate_cost1
- local UIPetAdvenceView = class("UIPetAdvenceView", require("UIViewBase"))
- function UIPetAdvenceView:ctor()
- end
- ---@private
- function UIPetAdvenceView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIPetAdvenceView: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)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__1(Root, data)
- --[[
- Root
- --]]
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__2(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 UIPetAdvenceView:InitGenerate__3(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 UIPetAdvenceView:InitGenerate__4(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 UIPetAdvenceView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/Bg
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.bg = tmp
- tmp.verticalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.VerticalLayoutGroup)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/Bg/CloseBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.closeBox = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/Bg/CloseBox/BtnClose
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnClose = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item1 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item1.owned = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned/IconPetItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned/IconPetItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item1.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
- self.item1.iconPetItem.prefabName = "IconPetItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item1.unowned = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item1.unowned.icon = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/frame
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/frame").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item1.unowned.frame = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item2 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item2.owned = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned/IconPetItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned/IconPetItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item2.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
- self.item2.iconPetItem.prefabName = "IconPetItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item2.unowned = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item2.unowned.icon = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/frame
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/frame").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item2.unowned.frame = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__20(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item3
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item3 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__21(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item3.owned = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__22(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned/IconPetItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned/IconPetItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item3.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
- self.item3.iconPetItem.prefabName = "IconPetItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__23(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item3.unowned = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__24(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item3.unowned.icon = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__25(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/frame
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/frame").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item3.unowned.frame = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__26(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item4
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item4 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__27(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item4.owned = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__28(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned/IconPetItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned/IconPetItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item4.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp)
- self.item4.iconPetItem.prefabName = "IconPetItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__29(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item4.unowned = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__30(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item4.unowned.icon = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__31(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/frame
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/frame").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.item4.unowned.frame = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__32(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__33(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.lVLimit = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__34(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.lVLimit.number1 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__35(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.lVLimit.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__36(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr1 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__37(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr1.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__38(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr1.number1 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__39(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr1.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__40(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr2 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__41(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr2.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__42(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr2.number1 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__43(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr2.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__44(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr3 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__45(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr3.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__46(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr3.number1 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__47(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr3.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__48(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr4 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__49(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr4.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__50(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr4.number1 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__51(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr4.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__52(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr5 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__53(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr5.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__54(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr5.number1 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__55(Root, data)
- --[[
- UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.attrs.attr5.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__56(Root, data)
- --[[
- UIAnimator/Window/Bg/List/Mats
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/List/Mats").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.mats = tmp
- tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__57(Root, data)
- --[[
- UIAnimator/Window/Bg/List/Mats/View/IconPetItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/List/Mats/View/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 UIPetAdvenceView:InitGenerate__58(Root, data)
- --[[
- UIAnimator/Window/Bg/List/Mats/Dsc/Dsc
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/List/Mats/Dsc/Dsc").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dsc = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__59(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnBox = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__60(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox/BtnSure
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnSure = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__61(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.cost1 = tmp
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__62(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Res
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Res").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.cost1.res = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIPetAdvenceView:InitGenerate__63(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Num
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Num").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.cost1.num = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIPetAdvenceView:GenerateDestroy()
- if tolua.getpeer(self.cost1.num) ~= nil then
- tolua.setpeer(self.cost1.num, nil)
- end
- if tolua.getpeer(self.cost1.res) ~= nil then
- tolua.setpeer(self.cost1.res, nil)
- end
- if tolua.getpeer(self.attrs.attr5.number2) ~= nil then
- tolua.setpeer(self.attrs.attr5.number2, nil)
- end
- if tolua.getpeer(self.attrs.attr5.number1) ~= nil then
- tolua.setpeer(self.attrs.attr5.number1, nil)
- end
- if tolua.getpeer(self.attrs.attr5.text) ~= nil then
- tolua.setpeer(self.attrs.attr5.text, nil)
- end
- if tolua.getpeer(self.attrs.attr5) ~= nil then
- tolua.setpeer(self.attrs.attr5, nil)
- end
- if tolua.getpeer(self.attrs.attr4.number2) ~= nil then
- tolua.setpeer(self.attrs.attr4.number2, nil)
- end
- if tolua.getpeer(self.attrs.attr4.number1) ~= nil then
- tolua.setpeer(self.attrs.attr4.number1, nil)
- end
- if tolua.getpeer(self.attrs.attr4.text) ~= nil then
- tolua.setpeer(self.attrs.attr4.text, nil)
- end
- if tolua.getpeer(self.attrs.attr4) ~= nil then
- tolua.setpeer(self.attrs.attr4, nil)
- end
- if tolua.getpeer(self.attrs.attr3.number2) ~= nil then
- tolua.setpeer(self.attrs.attr3.number2, nil)
- end
- if tolua.getpeer(self.attrs.attr3.number1) ~= nil then
- tolua.setpeer(self.attrs.attr3.number1, nil)
- end
- if tolua.getpeer(self.attrs.attr3.text) ~= nil then
- tolua.setpeer(self.attrs.attr3.text, nil)
- end
- if tolua.getpeer(self.attrs.attr3) ~= nil then
- tolua.setpeer(self.attrs.attr3, nil)
- end
- if tolua.getpeer(self.attrs.attr2.number2) ~= nil then
- tolua.setpeer(self.attrs.attr2.number2, nil)
- end
- if tolua.getpeer(self.attrs.attr2.number1) ~= nil then
- tolua.setpeer(self.attrs.attr2.number1, nil)
- end
- if tolua.getpeer(self.attrs.attr2.text) ~= nil then
- tolua.setpeer(self.attrs.attr2.text, nil)
- end
- if tolua.getpeer(self.attrs.attr2) ~= nil then
- tolua.setpeer(self.attrs.attr2, nil)
- end
- if tolua.getpeer(self.attrs.attr1.number2) ~= nil then
- tolua.setpeer(self.attrs.attr1.number2, nil)
- end
- if tolua.getpeer(self.attrs.attr1.number1) ~= nil then
- tolua.setpeer(self.attrs.attr1.number1, nil)
- end
- if tolua.getpeer(self.attrs.attr1.text) ~= nil then
- tolua.setpeer(self.attrs.attr1.text, nil)
- end
- if tolua.getpeer(self.attrs.attr1) ~= nil then
- tolua.setpeer(self.attrs.attr1, nil)
- end
- if tolua.getpeer(self.attrs.lVLimit.number2) ~= nil then
- tolua.setpeer(self.attrs.lVLimit.number2, nil)
- end
- if tolua.getpeer(self.attrs.lVLimit.number1) ~= nil then
- tolua.setpeer(self.attrs.lVLimit.number1, nil)
- end
- if tolua.getpeer(self.attrs.lVLimit) ~= nil then
- tolua.setpeer(self.attrs.lVLimit, nil)
- end
- if tolua.getpeer(self.item4.unowned.frame) ~= nil then
- tolua.setpeer(self.item4.unowned.frame, nil)
- end
- if tolua.getpeer(self.item4.unowned.icon) ~= nil then
- tolua.setpeer(self.item4.unowned.icon, nil)
- end
- if tolua.getpeer(self.item4.unowned) ~= nil then
- tolua.setpeer(self.item4.unowned, nil)
- end
- if self.item4.iconPetItem.GenerateDestroy ~= nil then
- self.item4.iconPetItem:GenerateDestroy()
- end
- if tolua.getpeer(self.item4.iconPetItem) ~= nil then
- tolua.setpeer(self.item4.iconPetItem, nil)
- end
- if tolua.getpeer(self.item4.owned) ~= nil then
- tolua.setpeer(self.item4.owned, nil)
- end
- if tolua.getpeer(self.item3.unowned.frame) ~= nil then
- tolua.setpeer(self.item3.unowned.frame, nil)
- end
- if tolua.getpeer(self.item3.unowned.icon) ~= nil then
- tolua.setpeer(self.item3.unowned.icon, nil)
- end
- if tolua.getpeer(self.item3.unowned) ~= nil then
- tolua.setpeer(self.item3.unowned, nil)
- end
- if self.item3.iconPetItem.GenerateDestroy ~= nil then
- self.item3.iconPetItem:GenerateDestroy()
- end
- if tolua.getpeer(self.item3.iconPetItem) ~= nil then
- tolua.setpeer(self.item3.iconPetItem, nil)
- end
- if tolua.getpeer(self.item3.owned) ~= nil then
- tolua.setpeer(self.item3.owned, nil)
- end
- if tolua.getpeer(self.item2.unowned.frame) ~= nil then
- tolua.setpeer(self.item2.unowned.frame, nil)
- end
- if tolua.getpeer(self.item2.unowned.icon) ~= nil then
- tolua.setpeer(self.item2.unowned.icon, nil)
- end
- if tolua.getpeer(self.item2.unowned) ~= nil then
- tolua.setpeer(self.item2.unowned, nil)
- end
- if self.item2.iconPetItem.GenerateDestroy ~= nil then
- self.item2.iconPetItem:GenerateDestroy()
- end
- if tolua.getpeer(self.item2.iconPetItem) ~= nil then
- tolua.setpeer(self.item2.iconPetItem, nil)
- end
- if tolua.getpeer(self.item2.owned) ~= nil then
- tolua.setpeer(self.item2.owned, nil)
- end
- if tolua.getpeer(self.item1.unowned.frame) ~= nil then
- tolua.setpeer(self.item1.unowned.frame, nil)
- end
- if tolua.getpeer(self.item1.unowned.icon) ~= nil then
- tolua.setpeer(self.item1.unowned.icon, nil)
- end
- if tolua.getpeer(self.item1.unowned) ~= nil then
- tolua.setpeer(self.item1.unowned, nil)
- end
- if self.item1.iconPetItem.GenerateDestroy ~= nil then
- self.item1.iconPetItem:GenerateDestroy()
- end
- if tolua.getpeer(self.item1.iconPetItem) ~= nil then
- tolua.setpeer(self.item1.iconPetItem, nil)
- end
- if tolua.getpeer(self.item1.owned) ~= nil then
- tolua.setpeer(self.item1.owned, 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.bg) ~= nil then
- tolua.setpeer(self.bg, nil)
- end
- self.bg = nil
- if tolua.getpeer(self.closeBox) ~= nil then
- tolua.setpeer(self.closeBox, nil)
- end
- self.closeBox = nil
- if tolua.getpeer(self.btnClose) ~= nil then
- tolua.setpeer(self.btnClose, nil)
- end
- self.btnClose = nil
- if tolua.getpeer(self.item1) ~= nil then
- tolua.setpeer(self.item1, nil)
- end
- self.item1 = nil
- if tolua.getpeer(self.item2) ~= nil then
- tolua.setpeer(self.item2, nil)
- end
- self.item2 = nil
- if tolua.getpeer(self.item3) ~= nil then
- tolua.setpeer(self.item3, nil)
- end
- self.item3 = nil
- if tolua.getpeer(self.item4) ~= nil then
- tolua.setpeer(self.item4, nil)
- end
- self.item4 = nil
- if tolua.getpeer(self.attrs) ~= nil then
- tolua.setpeer(self.attrs, nil)
- end
- self.attrs = nil
- if tolua.getpeer(self.mats) ~= nil then
- tolua.setpeer(self.mats, nil)
- end
- self.mats = 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.dsc) ~= nil then
- tolua.setpeer(self.dsc, nil)
- end
- self.dsc = nil
- if tolua.getpeer(self.btnBox) ~= nil then
- tolua.setpeer(self.btnBox, nil)
- end
- self.btnBox = nil
- if tolua.getpeer(self.btnSure) ~= nil then
- tolua.setpeer(self.btnSure, nil)
- end
- self.btnSure = nil
- if tolua.getpeer(self.cost1) ~= nil then
- tolua.setpeer(self.cost1, nil)
- end
- self.cost1 = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIPetAdvenceView
|