| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223 |
- ---@class UIRoleStrength__Generate_particle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIParticle UIExtensions.UIParticle
- ---@class UIRoleStrength__Generate_headItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public layoutElement UnityEngine.UI.LayoutElement
- ---@class UIRoleStrength__Generate_btnStrength
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIRoleStrength__Generate_labelBox_labelLt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIRoleStrength__Generate_labelBox_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIRoleStrength__Generate_labelBox_label
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIRoleStrength__Generate_labelBox
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@field public label UIRoleStrength__Generate_labelBox_label
- ---@field public text UIRoleStrength__Generate_labelBox_text
- ---@field public labelLt UIRoleStrength__Generate_labelBox_labelLt
- ---@class UIRoleStrength__Generate_strengthAttr6_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr6_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr6_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr6
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEffectCfg UIEffectCfg
- ---@field public text UIRoleStrength__Generate_strengthAttr6_text
- ---@field public number UIRoleStrength__Generate_strengthAttr6_number
- ---@field public number2 UIRoleStrength__Generate_strengthAttr6_number2
- ---@field public arrow UnityEngine.GameObject
- ---@class UIRoleStrength__Generate_strengthAttr5_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr5_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr5_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr5
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEffectCfg UIEffectCfg
- ---@field public text UIRoleStrength__Generate_strengthAttr5_text
- ---@field public number UIRoleStrength__Generate_strengthAttr5_number
- ---@field public number2 UIRoleStrength__Generate_strengthAttr5_number2
- ---@field public arrow UnityEngine.GameObject
- ---@field public fx UnityEngine.GameObject
- ---@class UIRoleStrength__Generate_strengthAttr4_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr4_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr4_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr4
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEffectCfg UIEffectCfg
- ---@field public text UIRoleStrength__Generate_strengthAttr4_text
- ---@field public number UIRoleStrength__Generate_strengthAttr4_number
- ---@field public number2 UIRoleStrength__Generate_strengthAttr4_number2
- ---@field public arrow UnityEngine.GameObject
- ---@field public fx UnityEngine.GameObject
- ---@class UIRoleStrength__Generate_strengthAttr3_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr3_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr3_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEffectCfg UIEffectCfg
- ---@field public text UIRoleStrength__Generate_strengthAttr3_text
- ---@field public number UIRoleStrength__Generate_strengthAttr3_number
- ---@field public number2 UIRoleStrength__Generate_strengthAttr3_number2
- ---@field public arrow UnityEngine.GameObject
- ---@field public fx UnityEngine.GameObject
- ---@class UIRoleStrength__Generate_strengthAttr2_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr2_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr2_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEffectCfg UIEffectCfg
- ---@field public text UIRoleStrength__Generate_strengthAttr2_text
- ---@field public number UIRoleStrength__Generate_strengthAttr2_number
- ---@field public number2 UIRoleStrength__Generate_strengthAttr2_number2
- ---@field public arrow UnityEngine.GameObject
- ---@field public fx UnityEngine.GameObject
- ---@class UIRoleStrength__Generate_strengthAttr1_number2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr1_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr1_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIRoleStrength__Generate_strengthAttr1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uIEffectCfg UIEffectCfg
- ---@field public text UIRoleStrength__Generate_strengthAttr1_text
- ---@field public number UIRoleStrength__Generate_strengthAttr1_number
- ---@field public number2 UIRoleStrength__Generate_strengthAttr1_number2
- ---@field public arrow UnityEngine.GameObject
- ---@field public fx UnityEngine.GameObject
- ---@class UIRoleStrength__Generate_btnClose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIRoleStrength__Generate_bg
- ---@field public gameObject UnityEngine.GameObject
- ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup
- ---@class UIRoleStrength__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIRoleStrength__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UIRoleStrength__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UIRoleStrength__Generate_uIAnimator
- ---@field private AnyBtn UIRoleStrength__Generate_AnyBtn
- ---@field private window UnityEngine.GameObject
- ---@field private bg UIRoleStrength__Generate_bg
- ---@field private closeBox UnityEngine.GameObject
- ---@field private btnClose UIRoleStrength__Generate_btnClose
- ---@field private strengthAttr1 UIRoleStrength__Generate_strengthAttr1
- ---@field private strengthAttr2 UIRoleStrength__Generate_strengthAttr2
- ---@field private strengthAttr3 UIRoleStrength__Generate_strengthAttr3
- ---@field private strengthAttr4 UIRoleStrength__Generate_strengthAttr4
- ---@field private strengthAttr5 UIRoleStrength__Generate_strengthAttr5
- ---@field private strengthAttr6 UIRoleStrength__Generate_strengthAttr6
- ---@field private fx UnityEngine.GameObject
- ---@field private labelBox UIRoleStrength__Generate_labelBox
- ---@field private btnBox UnityEngine.GameObject
- ---@field private boxCost UnityEngine.GameObject
- ---@field private cost1 UnityEngine.GameObject
- ---@field private cost2 UnityEngine.GameObject
- ---@field private btnStrength UIRoleStrength__Generate_btnStrength
- ---@field private max UnityEngine.GameObject
- ---@field private strengthSuccess UnityEngine.GameObject
- ---@field private headItem UIRoleStrength__Generate_headItem
- ---@field private particle UIRoleStrength__Generate_particle
- local UIRoleStrengthView = class("UIRoleStrengthView", require("UIViewBase"))
- function UIRoleStrengthView:ctor()
- end
- ---@private
- function UIRoleStrengthView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIRoleStrengthView: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)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__1(Root, data)
- --[[
- Root
- --]]
- end
- ---@private
- function UIRoleStrengthView: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 UIRoleStrengthView: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 UIRoleStrengthView: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 UIRoleStrengthView: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 UIRoleStrengthView: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 UIRoleStrengthView: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 UIRoleStrengthView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr1 = tmp
- tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr1.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr1.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr1.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/arrow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/arrow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr1.arrow = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/fx
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/fx").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr1.fx = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr2 = tmp
- tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr2.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr2.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr2.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/arrow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/arrow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr2.arrow = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/fx
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/fx").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr2.fx = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__20(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr3
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr3 = tmp
- tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__21(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr3.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__22(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr3.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__23(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr3.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__24(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/arrow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/arrow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr3.arrow = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__25(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/fx
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/fx").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr3.fx = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__26(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr4
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr4 = tmp
- tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__27(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr4.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__28(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr4.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__29(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr4.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__30(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/arrow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/arrow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr4.arrow = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__31(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/fx
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/fx").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr4.fx = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__32(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr5
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr5 = tmp
- tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__33(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr5.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__34(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr5.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__35(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr5.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__36(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/arrow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/arrow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr5.arrow = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__37(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/fx
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/fx").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr5.fx = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__38(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr6
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr6 = tmp
- tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__39(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr6.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__40(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr6.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__41(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Number2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Number2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr6.number2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__42(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/arrow
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/arrow").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthAttr6.arrow = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__43(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/fx
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/fx").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.fx = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__44(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/LabelBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/LabelBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.labelBox = tmp
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__45(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/LabelBox/Label
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/LabelBox/Label").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.labelBox.label = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__46(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/LabelBox/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/LabelBox/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.labelBox.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__47(Root, data)
- --[[
- UIAnimator/Window/Bg/StrengthBox/LabelBox/LabelLt
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/LabelBox/LabelLt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.labelBox.labelLt = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__48(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 UIRoleStrengthView:InitGenerate__49(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox/BoxCost
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BoxCost").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.boxCost = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__50(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox/BoxCost/Cost/CostItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BoxCost/Cost/CostItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.cost1 = CommonUtil.BindGridViewItem2LuaStatic("CostItem", tmp)
- self.cost1.prefabName = "CostItem"
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__51(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox/BoxCost/Cost/CostItem1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BoxCost/Cost/CostItem1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.cost2 = CommonUtil.BindGridViewItem2LuaStatic("CostItem", tmp)
- self.cost2.prefabName = "CostItem"
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__52(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox/BtnStrength
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnStrength").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnStrength = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__53(Root, data)
- --[[
- UIAnimator/Window/Bg/BtnBox/Max
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/Max").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.max = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__54(Root, data)
- --[[
- StrengthSuccess
- --]]
- local tmp = Root:Find("StrengthSuccess").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.strengthSuccess = tmp
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__55(Root, data)
- --[[
- StrengthSuccess/IconAnim/Content/HeadItem
- --]]
- local tmp = Root:Find("StrengthSuccess/IconAnim/Content/HeadItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
- self.headItem.prefabName = "HeadItem"
- tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
- end
- ---@private
- function UIRoleStrengthView:InitGenerate__56(Root, data)
- --[[
- StrengthSuccess/IconAnim/particle
- --]]
- local tmp = Root:Find("StrengthSuccess/IconAnim/particle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.particle = tmp
- tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
- end
- ---@private
- function UIRoleStrengthView:GenerateDestroy()
- if tolua.getpeer(self.labelBox.labelLt) ~= nil then
- tolua.setpeer(self.labelBox.labelLt, nil)
- end
- if tolua.getpeer(self.labelBox.text) ~= nil then
- tolua.setpeer(self.labelBox.text, nil)
- end
- if tolua.getpeer(self.labelBox.label) ~= nil then
- tolua.setpeer(self.labelBox.label, nil)
- end
- if tolua.getpeer(self.strengthAttr6.arrow) ~= nil then
- tolua.setpeer(self.strengthAttr6.arrow, nil)
- end
- if tolua.getpeer(self.strengthAttr6.number2) ~= nil then
- tolua.setpeer(self.strengthAttr6.number2, nil)
- end
- if tolua.getpeer(self.strengthAttr6.number) ~= nil then
- tolua.setpeer(self.strengthAttr6.number, nil)
- end
- if tolua.getpeer(self.strengthAttr6.text) ~= nil then
- tolua.setpeer(self.strengthAttr6.text, nil)
- end
- if tolua.getpeer(self.strengthAttr5.fx) ~= nil then
- tolua.setpeer(self.strengthAttr5.fx, nil)
- end
- if tolua.getpeer(self.strengthAttr5.arrow) ~= nil then
- tolua.setpeer(self.strengthAttr5.arrow, nil)
- end
- if tolua.getpeer(self.strengthAttr5.number2) ~= nil then
- tolua.setpeer(self.strengthAttr5.number2, nil)
- end
- if tolua.getpeer(self.strengthAttr5.number) ~= nil then
- tolua.setpeer(self.strengthAttr5.number, nil)
- end
- if tolua.getpeer(self.strengthAttr5.text) ~= nil then
- tolua.setpeer(self.strengthAttr5.text, nil)
- end
- if tolua.getpeer(self.strengthAttr4.fx) ~= nil then
- tolua.setpeer(self.strengthAttr4.fx, nil)
- end
- if tolua.getpeer(self.strengthAttr4.arrow) ~= nil then
- tolua.setpeer(self.strengthAttr4.arrow, nil)
- end
- if tolua.getpeer(self.strengthAttr4.number2) ~= nil then
- tolua.setpeer(self.strengthAttr4.number2, nil)
- end
- if tolua.getpeer(self.strengthAttr4.number) ~= nil then
- tolua.setpeer(self.strengthAttr4.number, nil)
- end
- if tolua.getpeer(self.strengthAttr4.text) ~= nil then
- tolua.setpeer(self.strengthAttr4.text, nil)
- end
- if tolua.getpeer(self.strengthAttr3.fx) ~= nil then
- tolua.setpeer(self.strengthAttr3.fx, nil)
- end
- if tolua.getpeer(self.strengthAttr3.arrow) ~= nil then
- tolua.setpeer(self.strengthAttr3.arrow, nil)
- end
- if tolua.getpeer(self.strengthAttr3.number2) ~= nil then
- tolua.setpeer(self.strengthAttr3.number2, nil)
- end
- if tolua.getpeer(self.strengthAttr3.number) ~= nil then
- tolua.setpeer(self.strengthAttr3.number, nil)
- end
- if tolua.getpeer(self.strengthAttr3.text) ~= nil then
- tolua.setpeer(self.strengthAttr3.text, nil)
- end
- if tolua.getpeer(self.strengthAttr2.fx) ~= nil then
- tolua.setpeer(self.strengthAttr2.fx, nil)
- end
- if tolua.getpeer(self.strengthAttr2.arrow) ~= nil then
- tolua.setpeer(self.strengthAttr2.arrow, nil)
- end
- if tolua.getpeer(self.strengthAttr2.number2) ~= nil then
- tolua.setpeer(self.strengthAttr2.number2, nil)
- end
- if tolua.getpeer(self.strengthAttr2.number) ~= nil then
- tolua.setpeer(self.strengthAttr2.number, nil)
- end
- if tolua.getpeer(self.strengthAttr2.text) ~= nil then
- tolua.setpeer(self.strengthAttr2.text, nil)
- end
- if tolua.getpeer(self.strengthAttr1.fx) ~= nil then
- tolua.setpeer(self.strengthAttr1.fx, nil)
- end
- if tolua.getpeer(self.strengthAttr1.arrow) ~= nil then
- tolua.setpeer(self.strengthAttr1.arrow, nil)
- end
- if tolua.getpeer(self.strengthAttr1.number2) ~= nil then
- tolua.setpeer(self.strengthAttr1.number2, nil)
- end
- if tolua.getpeer(self.strengthAttr1.number) ~= nil then
- tolua.setpeer(self.strengthAttr1.number, nil)
- end
- if tolua.getpeer(self.strengthAttr1.text) ~= nil then
- tolua.setpeer(self.strengthAttr1.text, 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.strengthAttr1) ~= nil then
- tolua.setpeer(self.strengthAttr1, nil)
- end
- self.strengthAttr1 = nil
- if tolua.getpeer(self.strengthAttr2) ~= nil then
- tolua.setpeer(self.strengthAttr2, nil)
- end
- self.strengthAttr2 = nil
- if tolua.getpeer(self.strengthAttr3) ~= nil then
- tolua.setpeer(self.strengthAttr3, nil)
- end
- self.strengthAttr3 = nil
- if tolua.getpeer(self.strengthAttr4) ~= nil then
- tolua.setpeer(self.strengthAttr4, nil)
- end
- self.strengthAttr4 = nil
- if tolua.getpeer(self.strengthAttr5) ~= nil then
- tolua.setpeer(self.strengthAttr5, nil)
- end
- self.strengthAttr5 = nil
- if tolua.getpeer(self.strengthAttr6) ~= nil then
- tolua.setpeer(self.strengthAttr6, nil)
- end
- self.strengthAttr6 = nil
- if tolua.getpeer(self.fx) ~= nil then
- tolua.setpeer(self.fx, nil)
- end
- self.fx = nil
- if tolua.getpeer(self.labelBox) ~= nil then
- tolua.setpeer(self.labelBox, nil)
- end
- self.labelBox = nil
- if tolua.getpeer(self.btnBox) ~= nil then
- tolua.setpeer(self.btnBox, nil)
- end
- self.btnBox = nil
- if tolua.getpeer(self.boxCost) ~= nil then
- tolua.setpeer(self.boxCost, nil)
- end
- self.boxCost = nil
- if self.cost1.GenerateDestroy ~= nil then
- self.cost1:GenerateDestroy()
- end
- if tolua.getpeer(self.cost1) ~= nil then
- tolua.setpeer(self.cost1, nil)
- end
- self.cost1 = nil
- if self.cost2.GenerateDestroy ~= nil then
- self.cost2:GenerateDestroy()
- end
- if tolua.getpeer(self.cost2) ~= nil then
- tolua.setpeer(self.cost2, nil)
- end
- self.cost2 = nil
- if tolua.getpeer(self.btnStrength) ~= nil then
- tolua.setpeer(self.btnStrength, nil)
- end
- self.btnStrength = nil
- if tolua.getpeer(self.max) ~= nil then
- tolua.setpeer(self.max, nil)
- end
- self.max = nil
- if tolua.getpeer(self.strengthSuccess) ~= nil then
- tolua.setpeer(self.strengthSuccess, nil)
- end
- self.strengthSuccess = nil
- if self.headItem.GenerateDestroy ~= nil then
- self.headItem:GenerateDestroy()
- end
- if tolua.getpeer(self.headItem) ~= nil then
- tolua.setpeer(self.headItem, nil)
- end
- self.headItem = nil
- if tolua.getpeer(self.particle) ~= nil then
- tolua.setpeer(self.particle, nil)
- end
- self.particle = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIRoleStrengthView
|