| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260 |
- ---@class UIGuildWar__Generate_menu_nameBoard_power
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIGuildWar__Generate_menu_nameBoard_nameTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIGuildWar__Generate_menu_nameBoard_bG
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIGuildWar__Generate_menu_nameBoard
- ---@field public gameObject UnityEngine.GameObject
- ---@field public bG UIGuildWar__Generate_menu_nameBoard_bG
- ---@field public nameTxt UIGuildWar__Generate_menu_nameBoard_nameTxt
- ---@field public power UIGuildWar__Generate_menu_nameBoard_power
- ---@class UIGuildWar__Generate_menu_btnInfo
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_menu_btnClg
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_menu_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_menu
- ---@field public gameObject UnityEngine.GameObject
- ---@field public AnyBtn UIGuildWar__Generate_menu_AnyBtn
- ---@field public panel UnityEngine.GameObject
- ---@field public btnClg UIGuildWar__Generate_menu_btnClg
- ---@field public btnInfo UIGuildWar__Generate_menu_btnInfo
- ---@field public nameBoard UIGuildWar__Generate_menu_nameBoard
- ---@field public powIc UnityEngine.GameObject
- ---@class UIGuildWar__Generate_btnChat
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_btnBack
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_btnRank
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_btnLog
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_btnHelp
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_viewRect
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UIGuildWar__Generate_endTimerTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIGuildWar__Generate_dojoNumTxt2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIGuildWar__Generate_dojoNumTxt1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIGuildWar__Generate_scoreTxt2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIGuildWar__Generate_scoreTxt1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIGuildWar__Generate_scoreSlider
- ---@field public gameObject UnityEngine.GameObject
- ---@field public slider UnityEngine.UI.Slider
- ---@class UIGuildWar__Generate_beginTimerTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIGuildWar__Generate_battleTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIGuildWar__Generate_guildBadgeImg2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIGuildWar__Generate_guildBadgeImg1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIGuildWar__Generate_guildNameTxt2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIGuildWar__Generate_guildNameTxt1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIGuildWar__Generate_infoPanel
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_buffUpBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_buff2_level
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIGuildWar__Generate_buff2_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIGuildWar__Generate_buff2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIGuildWar__Generate_buff2_icon
- ---@field public level UIGuildWar__Generate_buff2_level
- ---@class UIGuildWar__Generate_buff1_level
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIGuildWar__Generate_buff1_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIGuildWar__Generate_buff1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIGuildWar__Generate_buff1_icon
- ---@field public level UIGuildWar__Generate_buff1_level
- ---@class UIGuildWar__Generate_reborn_toggle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class UIGuildWar__Generate_reborn_btnAdd
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_reborn_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIGuildWar__Generate_reborn_slider
- ---@field public gameObject UnityEngine.GameObject
- ---@field public slider UnityEngine.UI.Slider
- ---@class UIGuildWar__Generate_reborn_times
- ---@field public gameObject UnityEngine.GameObject
- ---@field public canvasGroup UnityEngine.CanvasGroup
- ---@class UIGuildWar__Generate_reborn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public times UIGuildWar__Generate_reborn_times
- ---@field public slider UIGuildWar__Generate_reborn_slider
- ---@field public text UIGuildWar__Generate_reborn_text
- ---@field public btnAdd UIGuildWar__Generate_reborn_btnAdd
- ---@field public toggle UIGuildWar__Generate_reborn_toggle
- ---@class UIGuildWar__Generate_challenge_toggle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class UIGuildWar__Generate_challenge_btnAdd
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_challenge_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIGuildWar__Generate_challenge
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UIGuildWar__Generate_challenge_text
- ---@field public btnAdd UIGuildWar__Generate_challenge_btnAdd
- ---@field public toggle UIGuildWar__Generate_challenge_toggle
- ---@class UIGuildWar__Generate_guildWarSlotItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate_scrollView
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopGridView SuperScrollView.LoopGridView
- ---@class UIGuildWar__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIGuildWar__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private AnyBtn UIGuildWar__Generate_AnyBtn
- ---@field private scrollView UIGuildWar__Generate_scrollView
- ---@field private guildWarSlotItem UIGuildWar__Generate_guildWarSlotItem
- ---@field private funPanel UnityEngine.GameObject
- ---@field private challenge UIGuildWar__Generate_challenge
- ---@field private reborn UIGuildWar__Generate_reborn
- ---@field private buff1 UIGuildWar__Generate_buff1
- ---@field private buff2 UIGuildWar__Generate_buff2
- ---@field private buffUpBtn UIGuildWar__Generate_buffUpBtn
- ---@field private infoPanel UIGuildWar__Generate_infoPanel
- ---@field private bgTop UnityEngine.GameObject
- ---@field private guildInfo UnityEngine.GameObject
- ---@field private guildNameTxt1 UIGuildWar__Generate_guildNameTxt1
- ---@field private guildNameTxt2 UIGuildWar__Generate_guildNameTxt2
- ---@field private guildBadgeImg1 UIGuildWar__Generate_guildBadgeImg1
- ---@field private guildBadgeImg2 UIGuildWar__Generate_guildBadgeImg2
- ---@field private beforeBattle UnityEngine.GameObject
- ---@field private battleTxt UIGuildWar__Generate_battleTxt
- ---@field private beginTimerTxt UIGuildWar__Generate_beginTimerTxt
- ---@field private battle UnityEngine.GameObject
- ---@field private scoreSlider UIGuildWar__Generate_scoreSlider
- ---@field private scoreTxt1 UIGuildWar__Generate_scoreTxt1
- ---@field private scoreTxt2 UIGuildWar__Generate_scoreTxt2
- ---@field private dojoNumTxt1 UIGuildWar__Generate_dojoNumTxt1
- ---@field private dojoNumTxt2 UIGuildWar__Generate_dojoNumTxt2
- ---@field private endTimerTxt UIGuildWar__Generate_endTimerTxt
- ---@field private viewRect UIGuildWar__Generate_viewRect
- ---@field private btnHelp UIGuildWar__Generate_btnHelp
- ---@field private btnLog UIGuildWar__Generate_btnLog
- ---@field private btnRank UIGuildWar__Generate_btnRank
- ---@field private btnBack UIGuildWar__Generate_btnBack
- ---@field private btnChat UIGuildWar__Generate_btnChat
- ---@field private menu UIGuildWar__Generate_menu
- local UIGuildWarView = class("UIGuildWarView", require("UIViewBase"))
- function UIGuildWarView:ctor()
- end
- ---@private
- function UIGuildWarView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIGuildWarView: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)
- end
- ---@private
- function UIGuildWarView:InitGenerate__1(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 UIGuildWarView:InitGenerate__2(Root, data)
- --[[
- UIAnimator/Window/ScrollView
- --]]
- local tmp = Root:Find("UIAnimator/Window/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 UIGuildWarView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Window/ScrollView/GuildWarSlotItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/ScrollView/GuildWarSlotItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.guildWarSlotItem = CommonUtil.BindGridViewItem2LuaStatic("GuildWarSlotItem", tmp)
- self.guildWarSlotItem.prefabName = "GuildWarSlotItem"
- self.guildWarSlotItem:SetActive(false)
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.funPanel = tmp
- end
- ---@private
- function UIGuildWarView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.challenge = tmp
- end
- ---@private
- function UIGuildWarView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/Times/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/Times/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.challenge.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIGuildWarView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/Times/BtnAdd
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/Times/BtnAdd").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.challenge.btnAdd = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/AutoBuy/Toggle
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/AutoBuy/Toggle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.challenge.toggle = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UIGuildWarView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.reborn = tmp
- end
- ---@private
- function UIGuildWarView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.reborn.times = tmp
- tmp.canvasGroup = tmp:GetComponent(Enum.TypeInfo.CanvasGroup)
- end
- ---@private
- function UIGuildWarView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/Slider
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/Slider").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.reborn.slider = tmp
- tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
- end
- ---@private
- function UIGuildWarView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.reborn.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIGuildWarView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/BtnAdd
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/BtnAdd").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.reborn.btnAdd = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/AutoBuy/Toggle
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/AutoBuy/Toggle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.reborn.toggle = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UIGuildWarView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff1 = tmp
- end
- ---@private
- function UIGuildWarView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff1.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIGuildWarView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1/Level
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1/Level").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff1.level = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIGuildWarView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff2 = tmp
- end
- ---@private
- function UIGuildWarView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff2.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIGuildWarView:InitGenerate__20(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2/Level
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2/Level").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buff2.level = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIGuildWarView:InitGenerate__21(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/BuffUpBtn
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/BuffUpBtn").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.buffUpBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__22(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.infoPanel = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__23(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BgTop
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BgTop").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.bgTop = tmp
- end
- ---@private
- function UIGuildWarView:InitGenerate__24(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.guildInfo = tmp
- self.guildInfo:SetActive(false)
- end
- ---@private
- function UIGuildWarView:InitGenerate__25(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildNameTxt1
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildNameTxt1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.guildNameTxt1 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIGuildWarView:InitGenerate__26(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildNameTxt2
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildNameTxt2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.guildNameTxt2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIGuildWarView:InitGenerate__27(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildBadgeImg1
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildBadgeImg1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.guildBadgeImg1 = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIGuildWarView:InitGenerate__28(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildBadgeImg2
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildBadgeImg2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.guildBadgeImg2 = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIGuildWarView:InitGenerate__29(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.beforeBattle = tmp
- self.beforeBattle:SetActive(false)
- end
- ---@private
- function UIGuildWarView:InitGenerate__30(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle/BattleTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle/BattleTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.battleTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIGuildWarView:InitGenerate__31(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle/BeginTimerTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle/BeginTimerTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.beginTimerTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIGuildWarView:InitGenerate__32(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.battle = tmp
- self.battle:SetActive(false)
- end
- ---@private
- function UIGuildWarView:InitGenerate__33(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreSlider
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreSlider").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scoreSlider = tmp
- tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
- end
- ---@private
- function UIGuildWarView:InitGenerate__34(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreTxt1
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreTxt1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scoreTxt1 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIGuildWarView:InitGenerate__35(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreTxt2
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreTxt2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scoreTxt2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIGuildWarView:InitGenerate__36(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/DojoNumTxt1
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/DojoNumTxt1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dojoNumTxt1 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIGuildWarView:InitGenerate__37(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/DojoNumTxt2
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/DojoNumTxt2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dojoNumTxt2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIGuildWarView:InitGenerate__38(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/EndTimerTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/EndTimerTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.endTimerTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIGuildWarView:InitGenerate__39(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/ViewRect
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/ViewRect").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.viewRect = tmp
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UIGuildWarView:InitGenerate__40(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/BtnHelp
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/BtnHelp").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnHelp = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__41(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/BtnLog
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/BtnLog").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnLog = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__42(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/BtnRank
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/BtnRank").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnRank = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__43(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/BtnBack
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/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 UIGuildWarView:InitGenerate__44(Root, data)
- --[[
- UIAnimator/Window/ControlPanel/BtnChat
- --]]
- local tmp = Root:Find("UIAnimator/Window/ControlPanel/BtnChat").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnChat = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__45(Root, data)
- --[[
- UIAnimator/Window/Menu
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu = tmp
- end
- ---@private
- function UIGuildWarView:InitGenerate__46(Root, data)
- --[[
- UIAnimator/Window/Menu/Alpha
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu/Alpha").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu.AnyBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__47(Root, data)
- --[[
- UIAnimator/Window/Menu/Panel
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu/Panel").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu.panel = tmp
- end
- ---@private
- function UIGuildWarView:InitGenerate__48(Root, data)
- --[[
- UIAnimator/Window/Menu/Panel/ring/BtnClg
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu/Panel/ring/BtnClg").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu.btnClg = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__49(Root, data)
- --[[
- UIAnimator/Window/Menu/Panel/ring/BtnInfo
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu/Panel/ring/BtnInfo").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu.btnInfo = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIGuildWarView:InitGenerate__50(Root, data)
- --[[
- UIAnimator/Window/Menu/Panel/NameBoard
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu.nameBoard = tmp
- end
- ---@private
- function UIGuildWarView:InitGenerate__51(Root, data)
- --[[
- UIAnimator/Window/Menu/Panel/NameBoard/BG
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard/BG").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu.nameBoard.bG = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIGuildWarView:InitGenerate__52(Root, data)
- --[[
- UIAnimator/Window/Menu/Panel/NameBoard/NameTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard/NameTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu.nameBoard.nameTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIGuildWarView:InitGenerate__53(Root, data)
- --[[
- UIAnimator/Window/Menu/Panel/NameBoard/Power
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard/Power").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu.nameBoard.power = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIGuildWarView:InitGenerate__54(Root, data)
- --[[
- UIAnimator/Window/Menu/Panel/NameBoard/PowIc
- --]]
- local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard/PowIc").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.menu.powIc = tmp
- end
- ---@private
- function UIGuildWarView:GenerateDestroy()
- if tolua.getpeer(self.menu.powIc) ~= nil then
- tolua.setpeer(self.menu.powIc, nil)
- end
- if tolua.getpeer(self.menu.nameBoard.power) ~= nil then
- tolua.setpeer(self.menu.nameBoard.power, nil)
- end
- if tolua.getpeer(self.menu.nameBoard.nameTxt) ~= nil then
- tolua.setpeer(self.menu.nameBoard.nameTxt, nil)
- end
- if tolua.getpeer(self.menu.nameBoard.bG) ~= nil then
- tolua.setpeer(self.menu.nameBoard.bG, nil)
- end
- if tolua.getpeer(self.menu.nameBoard) ~= nil then
- tolua.setpeer(self.menu.nameBoard, nil)
- end
- if tolua.getpeer(self.menu.btnInfo) ~= nil then
- tolua.setpeer(self.menu.btnInfo, nil)
- end
- if tolua.getpeer(self.menu.btnClg) ~= nil then
- tolua.setpeer(self.menu.btnClg, nil)
- end
- if tolua.getpeer(self.menu.panel) ~= nil then
- tolua.setpeer(self.menu.panel, nil)
- end
- if tolua.getpeer(self.menu.AnyBtn) ~= nil then
- tolua.setpeer(self.menu.AnyBtn, nil)
- end
- if tolua.getpeer(self.buff2.level) ~= nil then
- tolua.setpeer(self.buff2.level, nil)
- end
- if tolua.getpeer(self.buff2.icon) ~= nil then
- tolua.setpeer(self.buff2.icon, nil)
- end
- if tolua.getpeer(self.buff1.level) ~= nil then
- tolua.setpeer(self.buff1.level, nil)
- end
- if tolua.getpeer(self.buff1.icon) ~= nil then
- tolua.setpeer(self.buff1.icon, nil)
- end
- if tolua.getpeer(self.reborn.toggle) ~= nil then
- tolua.setpeer(self.reborn.toggle, nil)
- end
- if tolua.getpeer(self.reborn.btnAdd) ~= nil then
- tolua.setpeer(self.reborn.btnAdd, nil)
- end
- if tolua.getpeer(self.reborn.text) ~= nil then
- tolua.setpeer(self.reborn.text, nil)
- end
- if tolua.getpeer(self.reborn.slider) ~= nil then
- tolua.setpeer(self.reborn.slider, nil)
- end
- if tolua.getpeer(self.reborn.times) ~= nil then
- tolua.setpeer(self.reborn.times, nil)
- end
- if tolua.getpeer(self.challenge.toggle) ~= nil then
- tolua.setpeer(self.challenge.toggle, nil)
- end
- if tolua.getpeer(self.challenge.btnAdd) ~= nil then
- tolua.setpeer(self.challenge.btnAdd, nil)
- end
- if tolua.getpeer(self.challenge.text) ~= nil then
- tolua.setpeer(self.challenge.text, nil)
- end
- if tolua.getpeer(self.AnyBtn) ~= nil then
- tolua.setpeer(self.AnyBtn, nil)
- end
- self.AnyBtn = nil
- if tolua.getpeer(self.scrollView) ~= nil then
- tolua.setpeer(self.scrollView, nil)
- end
- self.scrollView = nil
- if self.guildWarSlotItem.GenerateDestroy ~= nil then
- self.guildWarSlotItem:GenerateDestroy()
- end
- if tolua.getpeer(self.guildWarSlotItem) ~= nil then
- tolua.setpeer(self.guildWarSlotItem, nil)
- end
- self.guildWarSlotItem = nil
- if tolua.getpeer(self.funPanel) ~= nil then
- tolua.setpeer(self.funPanel, nil)
- end
- self.funPanel = nil
- if tolua.getpeer(self.challenge) ~= nil then
- tolua.setpeer(self.challenge, nil)
- end
- self.challenge = nil
- if tolua.getpeer(self.reborn) ~= nil then
- tolua.setpeer(self.reborn, nil)
- end
- self.reborn = nil
- if tolua.getpeer(self.buff1) ~= nil then
- tolua.setpeer(self.buff1, nil)
- end
- self.buff1 = nil
- if tolua.getpeer(self.buff2) ~= nil then
- tolua.setpeer(self.buff2, nil)
- end
- self.buff2 = nil
- if tolua.getpeer(self.buffUpBtn) ~= nil then
- tolua.setpeer(self.buffUpBtn, nil)
- end
- self.buffUpBtn = nil
- if tolua.getpeer(self.infoPanel) ~= nil then
- tolua.setpeer(self.infoPanel, nil)
- end
- self.infoPanel = nil
- if tolua.getpeer(self.bgTop) ~= nil then
- tolua.setpeer(self.bgTop, nil)
- end
- self.bgTop = nil
- if tolua.getpeer(self.guildInfo) ~= nil then
- tolua.setpeer(self.guildInfo, nil)
- end
- self.guildInfo = nil
- if tolua.getpeer(self.guildNameTxt1) ~= nil then
- tolua.setpeer(self.guildNameTxt1, nil)
- end
- self.guildNameTxt1 = nil
- if tolua.getpeer(self.guildNameTxt2) ~= nil then
- tolua.setpeer(self.guildNameTxt2, nil)
- end
- self.guildNameTxt2 = nil
- if tolua.getpeer(self.guildBadgeImg1) ~= nil then
- tolua.setpeer(self.guildBadgeImg1, nil)
- end
- self.guildBadgeImg1 = nil
- if tolua.getpeer(self.guildBadgeImg2) ~= nil then
- tolua.setpeer(self.guildBadgeImg2, nil)
- end
- self.guildBadgeImg2 = nil
- if tolua.getpeer(self.beforeBattle) ~= nil then
- tolua.setpeer(self.beforeBattle, nil)
- end
- self.beforeBattle = nil
- if tolua.getpeer(self.battleTxt) ~= nil then
- tolua.setpeer(self.battleTxt, nil)
- end
- self.battleTxt = nil
- if tolua.getpeer(self.beginTimerTxt) ~= nil then
- tolua.setpeer(self.beginTimerTxt, nil)
- end
- self.beginTimerTxt = nil
- if tolua.getpeer(self.battle) ~= nil then
- tolua.setpeer(self.battle, nil)
- end
- self.battle = nil
- if tolua.getpeer(self.scoreSlider) ~= nil then
- tolua.setpeer(self.scoreSlider, nil)
- end
- self.scoreSlider = nil
- if tolua.getpeer(self.scoreTxt1) ~= nil then
- tolua.setpeer(self.scoreTxt1, nil)
- end
- self.scoreTxt1 = nil
- if tolua.getpeer(self.scoreTxt2) ~= nil then
- tolua.setpeer(self.scoreTxt2, nil)
- end
- self.scoreTxt2 = nil
- if tolua.getpeer(self.dojoNumTxt1) ~= nil then
- tolua.setpeer(self.dojoNumTxt1, nil)
- end
- self.dojoNumTxt1 = nil
- if tolua.getpeer(self.dojoNumTxt2) ~= nil then
- tolua.setpeer(self.dojoNumTxt2, nil)
- end
- self.dojoNumTxt2 = nil
- if tolua.getpeer(self.endTimerTxt) ~= nil then
- tolua.setpeer(self.endTimerTxt, nil)
- end
- self.endTimerTxt = nil
- if tolua.getpeer(self.viewRect) ~= nil then
- tolua.setpeer(self.viewRect, nil)
- end
- self.viewRect = nil
- if tolua.getpeer(self.btnHelp) ~= nil then
- tolua.setpeer(self.btnHelp, nil)
- end
- self.btnHelp = nil
- if tolua.getpeer(self.btnLog) ~= nil then
- tolua.setpeer(self.btnLog, nil)
- end
- self.btnLog = nil
- if tolua.getpeer(self.btnRank) ~= nil then
- tolua.setpeer(self.btnRank, nil)
- end
- self.btnRank = nil
- if tolua.getpeer(self.btnBack) ~= nil then
- tolua.setpeer(self.btnBack, nil)
- end
- self.btnBack = nil
- if tolua.getpeer(self.btnChat) ~= nil then
- tolua.setpeer(self.btnChat, nil)
- end
- self.btnChat = nil
- if tolua.getpeer(self.menu) ~= nil then
- tolua.setpeer(self.menu, nil)
- end
- self.menu = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIGuildWarView
|