UIGuildWarView_Generate.lua 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260
  1. ---@class UIGuildWar__Generate_menu_nameBoard_power
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text TMPro.TextMeshProUGUI
  4. ---@class UIGuildWar__Generate_menu_nameBoard_nameTxt
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text TMPro.TextMeshProUGUI
  7. ---@class UIGuildWar__Generate_menu_nameBoard_bG
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public image UnityEngine.UI.Image
  10. ---@class UIGuildWar__Generate_menu_nameBoard
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public bG UIGuildWar__Generate_menu_nameBoard_bG
  13. ---@field public nameTxt UIGuildWar__Generate_menu_nameBoard_nameTxt
  14. ---@field public power UIGuildWar__Generate_menu_nameBoard_power
  15. ---@class UIGuildWar__Generate_menu_btnInfo
  16. ---@field public gameObject UnityEngine.GameObject
  17. ---@field public button UnityEngine.UI.Button
  18. ---@class UIGuildWar__Generate_menu_btnClg
  19. ---@field public gameObject UnityEngine.GameObject
  20. ---@field public button UnityEngine.UI.Button
  21. ---@class UIGuildWar__Generate_menu_AnyBtn
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public button UnityEngine.UI.Button
  24. ---@class UIGuildWar__Generate_menu
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public AnyBtn UIGuildWar__Generate_menu_AnyBtn
  27. ---@field public panel UnityEngine.GameObject
  28. ---@field public btnClg UIGuildWar__Generate_menu_btnClg
  29. ---@field public btnInfo UIGuildWar__Generate_menu_btnInfo
  30. ---@field public nameBoard UIGuildWar__Generate_menu_nameBoard
  31. ---@field public powIc UnityEngine.GameObject
  32. ---@class UIGuildWar__Generate_btnChat
  33. ---@field public gameObject UnityEngine.GameObject
  34. ---@field public button UnityEngine.UI.Button
  35. ---@class UIGuildWar__Generate_btnBack
  36. ---@field public gameObject UnityEngine.GameObject
  37. ---@field public button UnityEngine.UI.Button
  38. ---@class UIGuildWar__Generate_btnRank
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public button UnityEngine.UI.Button
  41. ---@class UIGuildWar__Generate_btnLog
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public button UnityEngine.UI.Button
  44. ---@class UIGuildWar__Generate_btnHelp
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public button UnityEngine.UI.Button
  47. ---@class UIGuildWar__Generate_viewRect
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public rectTransform UnityEngine.RectTransform
  50. ---@class UIGuildWar__Generate_endTimerTxt
  51. ---@field public gameObject UnityEngine.GameObject
  52. ---@field public text UnityEngine.UI.Text
  53. ---@class UIGuildWar__Generate_dojoNumTxt2
  54. ---@field public gameObject UnityEngine.GameObject
  55. ---@field public text UnityEngine.UI.Text
  56. ---@class UIGuildWar__Generate_dojoNumTxt1
  57. ---@field public gameObject UnityEngine.GameObject
  58. ---@field public text UnityEngine.UI.Text
  59. ---@class UIGuildWar__Generate_scoreTxt2
  60. ---@field public gameObject UnityEngine.GameObject
  61. ---@field public text TMPro.TextMeshProUGUI
  62. ---@class UIGuildWar__Generate_scoreTxt1
  63. ---@field public gameObject UnityEngine.GameObject
  64. ---@field public text TMPro.TextMeshProUGUI
  65. ---@class UIGuildWar__Generate_scoreSlider
  66. ---@field public gameObject UnityEngine.GameObject
  67. ---@field public slider UnityEngine.UI.Slider
  68. ---@class UIGuildWar__Generate_beginTimerTxt
  69. ---@field public gameObject UnityEngine.GameObject
  70. ---@field public text UnityEngine.UI.Text
  71. ---@class UIGuildWar__Generate_battleTxt
  72. ---@field public gameObject UnityEngine.GameObject
  73. ---@field public text UnityEngine.UI.Text
  74. ---@class UIGuildWar__Generate_guildBadgeImg2
  75. ---@field public gameObject UnityEngine.GameObject
  76. ---@field public image UnityEngine.UI.Image
  77. ---@class UIGuildWar__Generate_guildBadgeImg1
  78. ---@field public gameObject UnityEngine.GameObject
  79. ---@field public image UnityEngine.UI.Image
  80. ---@class UIGuildWar__Generate_guildNameTxt2
  81. ---@field public gameObject UnityEngine.GameObject
  82. ---@field public text UnityEngine.UI.Text
  83. ---@class UIGuildWar__Generate_guildNameTxt1
  84. ---@field public gameObject UnityEngine.GameObject
  85. ---@field public text UnityEngine.UI.Text
  86. ---@class UIGuildWar__Generate_infoPanel
  87. ---@field public gameObject UnityEngine.GameObject
  88. ---@field public button UnityEngine.UI.Button
  89. ---@class UIGuildWar__Generate_buffUpBtn
  90. ---@field public gameObject UnityEngine.GameObject
  91. ---@field public button UnityEngine.UI.Button
  92. ---@class UIGuildWar__Generate_buff2_level
  93. ---@field public gameObject UnityEngine.GameObject
  94. ---@field public text TMPro.TextMeshProUGUI
  95. ---@class UIGuildWar__Generate_buff2_icon
  96. ---@field public gameObject UnityEngine.GameObject
  97. ---@field public image UnityEngine.UI.Image
  98. ---@class UIGuildWar__Generate_buff2
  99. ---@field public gameObject UnityEngine.GameObject
  100. ---@field public icon UIGuildWar__Generate_buff2_icon
  101. ---@field public level UIGuildWar__Generate_buff2_level
  102. ---@class UIGuildWar__Generate_buff1_level
  103. ---@field public gameObject UnityEngine.GameObject
  104. ---@field public text TMPro.TextMeshProUGUI
  105. ---@class UIGuildWar__Generate_buff1_icon
  106. ---@field public gameObject UnityEngine.GameObject
  107. ---@field public image UnityEngine.UI.Image
  108. ---@class UIGuildWar__Generate_buff1
  109. ---@field public gameObject UnityEngine.GameObject
  110. ---@field public icon UIGuildWar__Generate_buff1_icon
  111. ---@field public level UIGuildWar__Generate_buff1_level
  112. ---@class UIGuildWar__Generate_reborn_toggle
  113. ---@field public gameObject UnityEngine.GameObject
  114. ---@field public toggle UnityEngine.UI.Toggle
  115. ---@class UIGuildWar__Generate_reborn_btnAdd
  116. ---@field public gameObject UnityEngine.GameObject
  117. ---@field public button UnityEngine.UI.Button
  118. ---@class UIGuildWar__Generate_reborn_text
  119. ---@field public gameObject UnityEngine.GameObject
  120. ---@field public text TMPro.TextMeshProUGUI
  121. ---@class UIGuildWar__Generate_reborn_slider
  122. ---@field public gameObject UnityEngine.GameObject
  123. ---@field public slider UnityEngine.UI.Slider
  124. ---@class UIGuildWar__Generate_reborn_times
  125. ---@field public gameObject UnityEngine.GameObject
  126. ---@field public canvasGroup UnityEngine.CanvasGroup
  127. ---@class UIGuildWar__Generate_reborn
  128. ---@field public gameObject UnityEngine.GameObject
  129. ---@field public times UIGuildWar__Generate_reborn_times
  130. ---@field public slider UIGuildWar__Generate_reborn_slider
  131. ---@field public text UIGuildWar__Generate_reborn_text
  132. ---@field public btnAdd UIGuildWar__Generate_reborn_btnAdd
  133. ---@field public toggle UIGuildWar__Generate_reborn_toggle
  134. ---@class UIGuildWar__Generate_challenge_toggle
  135. ---@field public gameObject UnityEngine.GameObject
  136. ---@field public toggle UnityEngine.UI.Toggle
  137. ---@class UIGuildWar__Generate_challenge_btnAdd
  138. ---@field public gameObject UnityEngine.GameObject
  139. ---@field public button UnityEngine.UI.Button
  140. ---@class UIGuildWar__Generate_challenge_text
  141. ---@field public gameObject UnityEngine.GameObject
  142. ---@field public text TMPro.TextMeshProUGUI
  143. ---@class UIGuildWar__Generate_challenge
  144. ---@field public gameObject UnityEngine.GameObject
  145. ---@field public text UIGuildWar__Generate_challenge_text
  146. ---@field public btnAdd UIGuildWar__Generate_challenge_btnAdd
  147. ---@field public toggle UIGuildWar__Generate_challenge_toggle
  148. ---@class UIGuildWar__Generate_guildWarSlotItem
  149. ---@field public gameObject UnityEngine.GameObject
  150. ---@field public animator UnityEngine.Animator
  151. ---@field public button UnityEngine.UI.Button
  152. ---@class UIGuildWar__Generate_scrollView
  153. ---@field public gameObject UnityEngine.GameObject
  154. ---@field public loopGridView SuperScrollView.LoopGridView
  155. ---@class UIGuildWar__Generate_AnyBtn
  156. ---@field public gameObject UnityEngine.GameObject
  157. ---@field public button UnityEngine.UI.Button
  158. ---@class UIGuildWar__Generate
  159. ---@field private gameObject UnityEngine.GameObject
  160. ---@field private transform UnityEngine.Transform
  161. ---@field private AnyBtn UIGuildWar__Generate_AnyBtn
  162. ---@field private scrollView UIGuildWar__Generate_scrollView
  163. ---@field private guildWarSlotItem UIGuildWar__Generate_guildWarSlotItem
  164. ---@field private funPanel UnityEngine.GameObject
  165. ---@field private challenge UIGuildWar__Generate_challenge
  166. ---@field private reborn UIGuildWar__Generate_reborn
  167. ---@field private buff1 UIGuildWar__Generate_buff1
  168. ---@field private buff2 UIGuildWar__Generate_buff2
  169. ---@field private buffUpBtn UIGuildWar__Generate_buffUpBtn
  170. ---@field private infoPanel UIGuildWar__Generate_infoPanel
  171. ---@field private bgTop UnityEngine.GameObject
  172. ---@field private guildInfo UnityEngine.GameObject
  173. ---@field private guildNameTxt1 UIGuildWar__Generate_guildNameTxt1
  174. ---@field private guildNameTxt2 UIGuildWar__Generate_guildNameTxt2
  175. ---@field private guildBadgeImg1 UIGuildWar__Generate_guildBadgeImg1
  176. ---@field private guildBadgeImg2 UIGuildWar__Generate_guildBadgeImg2
  177. ---@field private beforeBattle UnityEngine.GameObject
  178. ---@field private battleTxt UIGuildWar__Generate_battleTxt
  179. ---@field private beginTimerTxt UIGuildWar__Generate_beginTimerTxt
  180. ---@field private battle UnityEngine.GameObject
  181. ---@field private scoreSlider UIGuildWar__Generate_scoreSlider
  182. ---@field private scoreTxt1 UIGuildWar__Generate_scoreTxt1
  183. ---@field private scoreTxt2 UIGuildWar__Generate_scoreTxt2
  184. ---@field private dojoNumTxt1 UIGuildWar__Generate_dojoNumTxt1
  185. ---@field private dojoNumTxt2 UIGuildWar__Generate_dojoNumTxt2
  186. ---@field private endTimerTxt UIGuildWar__Generate_endTimerTxt
  187. ---@field private viewRect UIGuildWar__Generate_viewRect
  188. ---@field private btnHelp UIGuildWar__Generate_btnHelp
  189. ---@field private btnLog UIGuildWar__Generate_btnLog
  190. ---@field private btnRank UIGuildWar__Generate_btnRank
  191. ---@field private btnBack UIGuildWar__Generate_btnBack
  192. ---@field private btnChat UIGuildWar__Generate_btnChat
  193. ---@field private menu UIGuildWar__Generate_menu
  194. local UIGuildWarView = class("UIGuildWarView", require("UIViewBase"))
  195. function UIGuildWarView:ctor()
  196. end
  197. ---@private
  198. function UIGuildWarView:SetActive(result)
  199. self.gameObject:SetActive(result)
  200. end
  201. ---@private
  202. function UIGuildWarView:InitGenerate(Root, data)
  203. self.transform = Root
  204. self.inited = true
  205. if self.super.Init then
  206. self.super.Init(self)
  207. end
  208. local tmp
  209. self:InitGenerate__1(Root,data)
  210. self:InitGenerate__2(Root,data)
  211. self:InitGenerate__3(Root,data)
  212. self:InitGenerate__4(Root,data)
  213. self:InitGenerate__5(Root,data)
  214. self:InitGenerate__6(Root,data)
  215. self:InitGenerate__7(Root,data)
  216. self:InitGenerate__8(Root,data)
  217. self:InitGenerate__9(Root,data)
  218. self:InitGenerate__10(Root,data)
  219. self:InitGenerate__11(Root,data)
  220. self:InitGenerate__12(Root,data)
  221. self:InitGenerate__13(Root,data)
  222. self:InitGenerate__14(Root,data)
  223. self:InitGenerate__15(Root,data)
  224. self:InitGenerate__16(Root,data)
  225. self:InitGenerate__17(Root,data)
  226. self:InitGenerate__18(Root,data)
  227. self:InitGenerate__19(Root,data)
  228. self:InitGenerate__20(Root,data)
  229. self:InitGenerate__21(Root,data)
  230. self:InitGenerate__22(Root,data)
  231. self:InitGenerate__23(Root,data)
  232. self:InitGenerate__24(Root,data)
  233. self:InitGenerate__25(Root,data)
  234. self:InitGenerate__26(Root,data)
  235. self:InitGenerate__27(Root,data)
  236. self:InitGenerate__28(Root,data)
  237. self:InitGenerate__29(Root,data)
  238. self:InitGenerate__30(Root,data)
  239. self:InitGenerate__31(Root,data)
  240. self:InitGenerate__32(Root,data)
  241. self:InitGenerate__33(Root,data)
  242. self:InitGenerate__34(Root,data)
  243. self:InitGenerate__35(Root,data)
  244. self:InitGenerate__36(Root,data)
  245. self:InitGenerate__37(Root,data)
  246. self:InitGenerate__38(Root,data)
  247. self:InitGenerate__39(Root,data)
  248. self:InitGenerate__40(Root,data)
  249. self:InitGenerate__41(Root,data)
  250. self:InitGenerate__42(Root,data)
  251. self:InitGenerate__43(Root,data)
  252. self:InitGenerate__44(Root,data)
  253. self:InitGenerate__45(Root,data)
  254. self:InitGenerate__46(Root,data)
  255. self:InitGenerate__47(Root,data)
  256. self:InitGenerate__48(Root,data)
  257. self:InitGenerate__49(Root,data)
  258. self:InitGenerate__50(Root,data)
  259. self:InitGenerate__51(Root,data)
  260. self:InitGenerate__52(Root,data)
  261. self:InitGenerate__53(Root,data)
  262. self:InitGenerate__54(Root,data)
  263. end
  264. ---@private
  265. function UIGuildWarView:InitGenerate__1(Root, data)
  266. --[[
  267. UIAnimator/Alpha
  268. --]]
  269. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  270. if tolua.getpeer(tmp) == nil then
  271. tolua.setpeer(tmp, {})
  272. end
  273. self.AnyBtn = tmp
  274. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  275. end
  276. ---@private
  277. function UIGuildWarView:InitGenerate__2(Root, data)
  278. --[[
  279. UIAnimator/Window/ScrollView
  280. --]]
  281. local tmp = Root:Find("UIAnimator/Window/ScrollView").gameObject
  282. if tolua.getpeer(tmp) == nil then
  283. tolua.setpeer(tmp, {})
  284. end
  285. self.scrollView = tmp
  286. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  287. end
  288. ---@private
  289. function UIGuildWarView:InitGenerate__3(Root, data)
  290. --[[
  291. UIAnimator/Window/ScrollView/GuildWarSlotItem
  292. --]]
  293. local tmp = Root:Find("UIAnimator/Window/ScrollView/GuildWarSlotItem").gameObject
  294. if tolua.getpeer(tmp) == nil then
  295. tolua.setpeer(tmp, {})
  296. end
  297. self.guildWarSlotItem = CommonUtil.BindGridViewItem2LuaStatic("GuildWarSlotItem", tmp)
  298. self.guildWarSlotItem.prefabName = "GuildWarSlotItem"
  299. self.guildWarSlotItem:SetActive(false)
  300. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  301. tmp.animator.logWarnings = false
  302. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  303. end
  304. ---@private
  305. function UIGuildWarView:InitGenerate__4(Root, data)
  306. --[[
  307. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel
  308. --]]
  309. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel").gameObject
  310. if tolua.getpeer(tmp) == nil then
  311. tolua.setpeer(tmp, {})
  312. end
  313. self.funPanel = tmp
  314. end
  315. ---@private
  316. function UIGuildWarView:InitGenerate__5(Root, data)
  317. --[[
  318. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge
  319. --]]
  320. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge").gameObject
  321. if tolua.getpeer(tmp) == nil then
  322. tolua.setpeer(tmp, {})
  323. end
  324. self.challenge = tmp
  325. end
  326. ---@private
  327. function UIGuildWarView:InitGenerate__6(Root, data)
  328. --[[
  329. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/Times/Text
  330. --]]
  331. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/Times/Text").gameObject
  332. if tolua.getpeer(tmp) == nil then
  333. tolua.setpeer(tmp, {})
  334. end
  335. self.challenge.text = tmp
  336. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  337. end
  338. ---@private
  339. function UIGuildWarView:InitGenerate__7(Root, data)
  340. --[[
  341. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/Times/BtnAdd
  342. --]]
  343. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/Times/BtnAdd").gameObject
  344. if tolua.getpeer(tmp) == nil then
  345. tolua.setpeer(tmp, {})
  346. end
  347. self.challenge.btnAdd = tmp
  348. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  349. end
  350. ---@private
  351. function UIGuildWarView:InitGenerate__8(Root, data)
  352. --[[
  353. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/AutoBuy/Toggle
  354. --]]
  355. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Challenge/AutoBuy/Toggle").gameObject
  356. if tolua.getpeer(tmp) == nil then
  357. tolua.setpeer(tmp, {})
  358. end
  359. self.challenge.toggle = tmp
  360. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  361. end
  362. ---@private
  363. function UIGuildWarView:InitGenerate__9(Root, data)
  364. --[[
  365. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn
  366. --]]
  367. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn").gameObject
  368. if tolua.getpeer(tmp) == nil then
  369. tolua.setpeer(tmp, {})
  370. end
  371. self.reborn = tmp
  372. end
  373. ---@private
  374. function UIGuildWarView:InitGenerate__10(Root, data)
  375. --[[
  376. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times
  377. --]]
  378. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times").gameObject
  379. if tolua.getpeer(tmp) == nil then
  380. tolua.setpeer(tmp, {})
  381. end
  382. self.reborn.times = tmp
  383. tmp.canvasGroup = tmp:GetComponent(Enum.TypeInfo.CanvasGroup)
  384. end
  385. ---@private
  386. function UIGuildWarView:InitGenerate__11(Root, data)
  387. --[[
  388. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/Slider
  389. --]]
  390. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/Slider").gameObject
  391. if tolua.getpeer(tmp) == nil then
  392. tolua.setpeer(tmp, {})
  393. end
  394. self.reborn.slider = tmp
  395. tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
  396. end
  397. ---@private
  398. function UIGuildWarView:InitGenerate__12(Root, data)
  399. --[[
  400. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/Text
  401. --]]
  402. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/Text").gameObject
  403. if tolua.getpeer(tmp) == nil then
  404. tolua.setpeer(tmp, {})
  405. end
  406. self.reborn.text = tmp
  407. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  408. end
  409. ---@private
  410. function UIGuildWarView:InitGenerate__13(Root, data)
  411. --[[
  412. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/BtnAdd
  413. --]]
  414. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/Times/BtnAdd").gameObject
  415. if tolua.getpeer(tmp) == nil then
  416. tolua.setpeer(tmp, {})
  417. end
  418. self.reborn.btnAdd = tmp
  419. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  420. end
  421. ---@private
  422. function UIGuildWarView:InitGenerate__14(Root, data)
  423. --[[
  424. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/AutoBuy/Toggle
  425. --]]
  426. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/State/Reborn/AutoBuy/Toggle").gameObject
  427. if tolua.getpeer(tmp) == nil then
  428. tolua.setpeer(tmp, {})
  429. end
  430. self.reborn.toggle = tmp
  431. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  432. end
  433. ---@private
  434. function UIGuildWarView:InitGenerate__15(Root, data)
  435. --[[
  436. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1
  437. --]]
  438. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1").gameObject
  439. if tolua.getpeer(tmp) == nil then
  440. tolua.setpeer(tmp, {})
  441. end
  442. self.buff1 = tmp
  443. end
  444. ---@private
  445. function UIGuildWarView:InitGenerate__16(Root, data)
  446. --[[
  447. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1/Icon
  448. --]]
  449. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1/Icon").gameObject
  450. if tolua.getpeer(tmp) == nil then
  451. tolua.setpeer(tmp, {})
  452. end
  453. self.buff1.icon = tmp
  454. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  455. end
  456. ---@private
  457. function UIGuildWarView:InitGenerate__17(Root, data)
  458. --[[
  459. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1/Level
  460. --]]
  461. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff1/Level").gameObject
  462. if tolua.getpeer(tmp) == nil then
  463. tolua.setpeer(tmp, {})
  464. end
  465. self.buff1.level = tmp
  466. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  467. end
  468. ---@private
  469. function UIGuildWarView:InitGenerate__18(Root, data)
  470. --[[
  471. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2
  472. --]]
  473. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2").gameObject
  474. if tolua.getpeer(tmp) == nil then
  475. tolua.setpeer(tmp, {})
  476. end
  477. self.buff2 = tmp
  478. end
  479. ---@private
  480. function UIGuildWarView:InitGenerate__19(Root, data)
  481. --[[
  482. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2/Icon
  483. --]]
  484. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2/Icon").gameObject
  485. if tolua.getpeer(tmp) == nil then
  486. tolua.setpeer(tmp, {})
  487. end
  488. self.buff2.icon = tmp
  489. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  490. end
  491. ---@private
  492. function UIGuildWarView:InitGenerate__20(Root, data)
  493. --[[
  494. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2/Level
  495. --]]
  496. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/Buff2/Level").gameObject
  497. if tolua.getpeer(tmp) == nil then
  498. tolua.setpeer(tmp, {})
  499. end
  500. self.buff2.level = tmp
  501. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  502. end
  503. ---@private
  504. function UIGuildWarView:InitGenerate__21(Root, data)
  505. --[[
  506. UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/BuffUpBtn
  507. --]]
  508. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/FunPanel/BuffGrp/BuffUpBtn").gameObject
  509. if tolua.getpeer(tmp) == nil then
  510. tolua.setpeer(tmp, {})
  511. end
  512. self.buffUpBtn = tmp
  513. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  514. end
  515. ---@private
  516. function UIGuildWarView:InitGenerate__22(Root, data)
  517. --[[
  518. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel
  519. --]]
  520. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel").gameObject
  521. if tolua.getpeer(tmp) == nil then
  522. tolua.setpeer(tmp, {})
  523. end
  524. self.infoPanel = tmp
  525. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  526. end
  527. ---@private
  528. function UIGuildWarView:InitGenerate__23(Root, data)
  529. --[[
  530. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BgTop
  531. --]]
  532. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BgTop").gameObject
  533. if tolua.getpeer(tmp) == nil then
  534. tolua.setpeer(tmp, {})
  535. end
  536. self.bgTop = tmp
  537. end
  538. ---@private
  539. function UIGuildWarView:InitGenerate__24(Root, data)
  540. --[[
  541. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo
  542. --]]
  543. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo").gameObject
  544. if tolua.getpeer(tmp) == nil then
  545. tolua.setpeer(tmp, {})
  546. end
  547. self.guildInfo = tmp
  548. self.guildInfo:SetActive(false)
  549. end
  550. ---@private
  551. function UIGuildWarView:InitGenerate__25(Root, data)
  552. --[[
  553. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildNameTxt1
  554. --]]
  555. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildNameTxt1").gameObject
  556. if tolua.getpeer(tmp) == nil then
  557. tolua.setpeer(tmp, {})
  558. end
  559. self.guildNameTxt1 = tmp
  560. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  561. end
  562. ---@private
  563. function UIGuildWarView:InitGenerate__26(Root, data)
  564. --[[
  565. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildNameTxt2
  566. --]]
  567. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildNameTxt2").gameObject
  568. if tolua.getpeer(tmp) == nil then
  569. tolua.setpeer(tmp, {})
  570. end
  571. self.guildNameTxt2 = tmp
  572. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  573. end
  574. ---@private
  575. function UIGuildWarView:InitGenerate__27(Root, data)
  576. --[[
  577. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildBadgeImg1
  578. --]]
  579. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildBadgeImg1").gameObject
  580. if tolua.getpeer(tmp) == nil then
  581. tolua.setpeer(tmp, {})
  582. end
  583. self.guildBadgeImg1 = tmp
  584. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  585. end
  586. ---@private
  587. function UIGuildWarView:InitGenerate__28(Root, data)
  588. --[[
  589. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildBadgeImg2
  590. --]]
  591. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/GuildInfo/GuildBadgeImg2").gameObject
  592. if tolua.getpeer(tmp) == nil then
  593. tolua.setpeer(tmp, {})
  594. end
  595. self.guildBadgeImg2 = tmp
  596. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  597. end
  598. ---@private
  599. function UIGuildWarView:InitGenerate__29(Root, data)
  600. --[[
  601. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle
  602. --]]
  603. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle").gameObject
  604. if tolua.getpeer(tmp) == nil then
  605. tolua.setpeer(tmp, {})
  606. end
  607. self.beforeBattle = tmp
  608. self.beforeBattle:SetActive(false)
  609. end
  610. ---@private
  611. function UIGuildWarView:InitGenerate__30(Root, data)
  612. --[[
  613. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle/BattleTxt
  614. --]]
  615. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle/BattleTxt").gameObject
  616. if tolua.getpeer(tmp) == nil then
  617. tolua.setpeer(tmp, {})
  618. end
  619. self.battleTxt = tmp
  620. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  621. end
  622. ---@private
  623. function UIGuildWarView:InitGenerate__31(Root, data)
  624. --[[
  625. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle/BeginTimerTxt
  626. --]]
  627. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/BeforeBattle/BeginTimerTxt").gameObject
  628. if tolua.getpeer(tmp) == nil then
  629. tolua.setpeer(tmp, {})
  630. end
  631. self.beginTimerTxt = tmp
  632. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  633. end
  634. ---@private
  635. function UIGuildWarView:InitGenerate__32(Root, data)
  636. --[[
  637. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle
  638. --]]
  639. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle").gameObject
  640. if tolua.getpeer(tmp) == nil then
  641. tolua.setpeer(tmp, {})
  642. end
  643. self.battle = tmp
  644. self.battle:SetActive(false)
  645. end
  646. ---@private
  647. function UIGuildWarView:InitGenerate__33(Root, data)
  648. --[[
  649. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreSlider
  650. --]]
  651. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreSlider").gameObject
  652. if tolua.getpeer(tmp) == nil then
  653. tolua.setpeer(tmp, {})
  654. end
  655. self.scoreSlider = tmp
  656. tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
  657. end
  658. ---@private
  659. function UIGuildWarView:InitGenerate__34(Root, data)
  660. --[[
  661. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreTxt1
  662. --]]
  663. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreTxt1").gameObject
  664. if tolua.getpeer(tmp) == nil then
  665. tolua.setpeer(tmp, {})
  666. end
  667. self.scoreTxt1 = tmp
  668. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  669. end
  670. ---@private
  671. function UIGuildWarView:InitGenerate__35(Root, data)
  672. --[[
  673. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreTxt2
  674. --]]
  675. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/ScoreTxt2").gameObject
  676. if tolua.getpeer(tmp) == nil then
  677. tolua.setpeer(tmp, {})
  678. end
  679. self.scoreTxt2 = tmp
  680. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  681. end
  682. ---@private
  683. function UIGuildWarView:InitGenerate__36(Root, data)
  684. --[[
  685. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/DojoNumTxt1
  686. --]]
  687. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/DojoNumTxt1").gameObject
  688. if tolua.getpeer(tmp) == nil then
  689. tolua.setpeer(tmp, {})
  690. end
  691. self.dojoNumTxt1 = tmp
  692. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  693. end
  694. ---@private
  695. function UIGuildWarView:InitGenerate__37(Root, data)
  696. --[[
  697. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/DojoNumTxt2
  698. --]]
  699. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/DojoNumTxt2").gameObject
  700. if tolua.getpeer(tmp) == nil then
  701. tolua.setpeer(tmp, {})
  702. end
  703. self.dojoNumTxt2 = tmp
  704. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  705. end
  706. ---@private
  707. function UIGuildWarView:InitGenerate__38(Root, data)
  708. --[[
  709. UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/EndTimerTxt
  710. --]]
  711. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ScorePanel/InfoPanel/Battle/EndTimerTxt").gameObject
  712. if tolua.getpeer(tmp) == nil then
  713. tolua.setpeer(tmp, {})
  714. end
  715. self.endTimerTxt = tmp
  716. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  717. end
  718. ---@private
  719. function UIGuildWarView:InitGenerate__39(Root, data)
  720. --[[
  721. UIAnimator/Window/ControlPanel/ViewRect
  722. --]]
  723. local tmp = Root:Find("UIAnimator/Window/ControlPanel/ViewRect").gameObject
  724. if tolua.getpeer(tmp) == nil then
  725. tolua.setpeer(tmp, {})
  726. end
  727. self.viewRect = tmp
  728. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  729. end
  730. ---@private
  731. function UIGuildWarView:InitGenerate__40(Root, data)
  732. --[[
  733. UIAnimator/Window/ControlPanel/BtnHelp
  734. --]]
  735. local tmp = Root:Find("UIAnimator/Window/ControlPanel/BtnHelp").gameObject
  736. if tolua.getpeer(tmp) == nil then
  737. tolua.setpeer(tmp, {})
  738. end
  739. self.btnHelp = tmp
  740. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  741. end
  742. ---@private
  743. function UIGuildWarView:InitGenerate__41(Root, data)
  744. --[[
  745. UIAnimator/Window/ControlPanel/BtnLog
  746. --]]
  747. local tmp = Root:Find("UIAnimator/Window/ControlPanel/BtnLog").gameObject
  748. if tolua.getpeer(tmp) == nil then
  749. tolua.setpeer(tmp, {})
  750. end
  751. self.btnLog = tmp
  752. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  753. end
  754. ---@private
  755. function UIGuildWarView:InitGenerate__42(Root, data)
  756. --[[
  757. UIAnimator/Window/ControlPanel/BtnRank
  758. --]]
  759. local tmp = Root:Find("UIAnimator/Window/ControlPanel/BtnRank").gameObject
  760. if tolua.getpeer(tmp) == nil then
  761. tolua.setpeer(tmp, {})
  762. end
  763. self.btnRank = tmp
  764. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  765. end
  766. ---@private
  767. function UIGuildWarView:InitGenerate__43(Root, data)
  768. --[[
  769. UIAnimator/Window/ControlPanel/BtnBack
  770. --]]
  771. local tmp = Root:Find("UIAnimator/Window/ControlPanel/BtnBack").gameObject
  772. if tolua.getpeer(tmp) == nil then
  773. tolua.setpeer(tmp, {})
  774. end
  775. self.btnBack = tmp
  776. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  777. end
  778. ---@private
  779. function UIGuildWarView:InitGenerate__44(Root, data)
  780. --[[
  781. UIAnimator/Window/ControlPanel/BtnChat
  782. --]]
  783. local tmp = Root:Find("UIAnimator/Window/ControlPanel/BtnChat").gameObject
  784. if tolua.getpeer(tmp) == nil then
  785. tolua.setpeer(tmp, {})
  786. end
  787. self.btnChat = tmp
  788. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  789. end
  790. ---@private
  791. function UIGuildWarView:InitGenerate__45(Root, data)
  792. --[[
  793. UIAnimator/Window/Menu
  794. --]]
  795. local tmp = Root:Find("UIAnimator/Window/Menu").gameObject
  796. if tolua.getpeer(tmp) == nil then
  797. tolua.setpeer(tmp, {})
  798. end
  799. self.menu = tmp
  800. end
  801. ---@private
  802. function UIGuildWarView:InitGenerate__46(Root, data)
  803. --[[
  804. UIAnimator/Window/Menu/Alpha
  805. --]]
  806. local tmp = Root:Find("UIAnimator/Window/Menu/Alpha").gameObject
  807. if tolua.getpeer(tmp) == nil then
  808. tolua.setpeer(tmp, {})
  809. end
  810. self.menu.AnyBtn = tmp
  811. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  812. end
  813. ---@private
  814. function UIGuildWarView:InitGenerate__47(Root, data)
  815. --[[
  816. UIAnimator/Window/Menu/Panel
  817. --]]
  818. local tmp = Root:Find("UIAnimator/Window/Menu/Panel").gameObject
  819. if tolua.getpeer(tmp) == nil then
  820. tolua.setpeer(tmp, {})
  821. end
  822. self.menu.panel = tmp
  823. end
  824. ---@private
  825. function UIGuildWarView:InitGenerate__48(Root, data)
  826. --[[
  827. UIAnimator/Window/Menu/Panel/ring/BtnClg
  828. --]]
  829. local tmp = Root:Find("UIAnimator/Window/Menu/Panel/ring/BtnClg").gameObject
  830. if tolua.getpeer(tmp) == nil then
  831. tolua.setpeer(tmp, {})
  832. end
  833. self.menu.btnClg = tmp
  834. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  835. end
  836. ---@private
  837. function UIGuildWarView:InitGenerate__49(Root, data)
  838. --[[
  839. UIAnimator/Window/Menu/Panel/ring/BtnInfo
  840. --]]
  841. local tmp = Root:Find("UIAnimator/Window/Menu/Panel/ring/BtnInfo").gameObject
  842. if tolua.getpeer(tmp) == nil then
  843. tolua.setpeer(tmp, {})
  844. end
  845. self.menu.btnInfo = tmp
  846. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  847. end
  848. ---@private
  849. function UIGuildWarView:InitGenerate__50(Root, data)
  850. --[[
  851. UIAnimator/Window/Menu/Panel/NameBoard
  852. --]]
  853. local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard").gameObject
  854. if tolua.getpeer(tmp) == nil then
  855. tolua.setpeer(tmp, {})
  856. end
  857. self.menu.nameBoard = tmp
  858. end
  859. ---@private
  860. function UIGuildWarView:InitGenerate__51(Root, data)
  861. --[[
  862. UIAnimator/Window/Menu/Panel/NameBoard/BG
  863. --]]
  864. local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard/BG").gameObject
  865. if tolua.getpeer(tmp) == nil then
  866. tolua.setpeer(tmp, {})
  867. end
  868. self.menu.nameBoard.bG = tmp
  869. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  870. end
  871. ---@private
  872. function UIGuildWarView:InitGenerate__52(Root, data)
  873. --[[
  874. UIAnimator/Window/Menu/Panel/NameBoard/NameTxt
  875. --]]
  876. local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard/NameTxt").gameObject
  877. if tolua.getpeer(tmp) == nil then
  878. tolua.setpeer(tmp, {})
  879. end
  880. self.menu.nameBoard.nameTxt = tmp
  881. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  882. end
  883. ---@private
  884. function UIGuildWarView:InitGenerate__53(Root, data)
  885. --[[
  886. UIAnimator/Window/Menu/Panel/NameBoard/Power
  887. --]]
  888. local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard/Power").gameObject
  889. if tolua.getpeer(tmp) == nil then
  890. tolua.setpeer(tmp, {})
  891. end
  892. self.menu.nameBoard.power = tmp
  893. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  894. end
  895. ---@private
  896. function UIGuildWarView:InitGenerate__54(Root, data)
  897. --[[
  898. UIAnimator/Window/Menu/Panel/NameBoard/PowIc
  899. --]]
  900. local tmp = Root:Find("UIAnimator/Window/Menu/Panel/NameBoard/PowIc").gameObject
  901. if tolua.getpeer(tmp) == nil then
  902. tolua.setpeer(tmp, {})
  903. end
  904. self.menu.powIc = tmp
  905. end
  906. ---@private
  907. function UIGuildWarView:GenerateDestroy()
  908. if tolua.getpeer(self.menu.powIc) ~= nil then
  909. tolua.setpeer(self.menu.powIc, nil)
  910. end
  911. if tolua.getpeer(self.menu.nameBoard.power) ~= nil then
  912. tolua.setpeer(self.menu.nameBoard.power, nil)
  913. end
  914. if tolua.getpeer(self.menu.nameBoard.nameTxt) ~= nil then
  915. tolua.setpeer(self.menu.nameBoard.nameTxt, nil)
  916. end
  917. if tolua.getpeer(self.menu.nameBoard.bG) ~= nil then
  918. tolua.setpeer(self.menu.nameBoard.bG, nil)
  919. end
  920. if tolua.getpeer(self.menu.nameBoard) ~= nil then
  921. tolua.setpeer(self.menu.nameBoard, nil)
  922. end
  923. if tolua.getpeer(self.menu.btnInfo) ~= nil then
  924. tolua.setpeer(self.menu.btnInfo, nil)
  925. end
  926. if tolua.getpeer(self.menu.btnClg) ~= nil then
  927. tolua.setpeer(self.menu.btnClg, nil)
  928. end
  929. if tolua.getpeer(self.menu.panel) ~= nil then
  930. tolua.setpeer(self.menu.panel, nil)
  931. end
  932. if tolua.getpeer(self.menu.AnyBtn) ~= nil then
  933. tolua.setpeer(self.menu.AnyBtn, nil)
  934. end
  935. if tolua.getpeer(self.buff2.level) ~= nil then
  936. tolua.setpeer(self.buff2.level, nil)
  937. end
  938. if tolua.getpeer(self.buff2.icon) ~= nil then
  939. tolua.setpeer(self.buff2.icon, nil)
  940. end
  941. if tolua.getpeer(self.buff1.level) ~= nil then
  942. tolua.setpeer(self.buff1.level, nil)
  943. end
  944. if tolua.getpeer(self.buff1.icon) ~= nil then
  945. tolua.setpeer(self.buff1.icon, nil)
  946. end
  947. if tolua.getpeer(self.reborn.toggle) ~= nil then
  948. tolua.setpeer(self.reborn.toggle, nil)
  949. end
  950. if tolua.getpeer(self.reborn.btnAdd) ~= nil then
  951. tolua.setpeer(self.reborn.btnAdd, nil)
  952. end
  953. if tolua.getpeer(self.reborn.text) ~= nil then
  954. tolua.setpeer(self.reborn.text, nil)
  955. end
  956. if tolua.getpeer(self.reborn.slider) ~= nil then
  957. tolua.setpeer(self.reborn.slider, nil)
  958. end
  959. if tolua.getpeer(self.reborn.times) ~= nil then
  960. tolua.setpeer(self.reborn.times, nil)
  961. end
  962. if tolua.getpeer(self.challenge.toggle) ~= nil then
  963. tolua.setpeer(self.challenge.toggle, nil)
  964. end
  965. if tolua.getpeer(self.challenge.btnAdd) ~= nil then
  966. tolua.setpeer(self.challenge.btnAdd, nil)
  967. end
  968. if tolua.getpeer(self.challenge.text) ~= nil then
  969. tolua.setpeer(self.challenge.text, nil)
  970. end
  971. if tolua.getpeer(self.AnyBtn) ~= nil then
  972. tolua.setpeer(self.AnyBtn, nil)
  973. end
  974. self.AnyBtn = nil
  975. if tolua.getpeer(self.scrollView) ~= nil then
  976. tolua.setpeer(self.scrollView, nil)
  977. end
  978. self.scrollView = nil
  979. if self.guildWarSlotItem.GenerateDestroy ~= nil then
  980. self.guildWarSlotItem:GenerateDestroy()
  981. end
  982. if tolua.getpeer(self.guildWarSlotItem) ~= nil then
  983. tolua.setpeer(self.guildWarSlotItem, nil)
  984. end
  985. self.guildWarSlotItem = nil
  986. if tolua.getpeer(self.funPanel) ~= nil then
  987. tolua.setpeer(self.funPanel, nil)
  988. end
  989. self.funPanel = nil
  990. if tolua.getpeer(self.challenge) ~= nil then
  991. tolua.setpeer(self.challenge, nil)
  992. end
  993. self.challenge = nil
  994. if tolua.getpeer(self.reborn) ~= nil then
  995. tolua.setpeer(self.reborn, nil)
  996. end
  997. self.reborn = nil
  998. if tolua.getpeer(self.buff1) ~= nil then
  999. tolua.setpeer(self.buff1, nil)
  1000. end
  1001. self.buff1 = nil
  1002. if tolua.getpeer(self.buff2) ~= nil then
  1003. tolua.setpeer(self.buff2, nil)
  1004. end
  1005. self.buff2 = nil
  1006. if tolua.getpeer(self.buffUpBtn) ~= nil then
  1007. tolua.setpeer(self.buffUpBtn, nil)
  1008. end
  1009. self.buffUpBtn = nil
  1010. if tolua.getpeer(self.infoPanel) ~= nil then
  1011. tolua.setpeer(self.infoPanel, nil)
  1012. end
  1013. self.infoPanel = nil
  1014. if tolua.getpeer(self.bgTop) ~= nil then
  1015. tolua.setpeer(self.bgTop, nil)
  1016. end
  1017. self.bgTop = nil
  1018. if tolua.getpeer(self.guildInfo) ~= nil then
  1019. tolua.setpeer(self.guildInfo, nil)
  1020. end
  1021. self.guildInfo = nil
  1022. if tolua.getpeer(self.guildNameTxt1) ~= nil then
  1023. tolua.setpeer(self.guildNameTxt1, nil)
  1024. end
  1025. self.guildNameTxt1 = nil
  1026. if tolua.getpeer(self.guildNameTxt2) ~= nil then
  1027. tolua.setpeer(self.guildNameTxt2, nil)
  1028. end
  1029. self.guildNameTxt2 = nil
  1030. if tolua.getpeer(self.guildBadgeImg1) ~= nil then
  1031. tolua.setpeer(self.guildBadgeImg1, nil)
  1032. end
  1033. self.guildBadgeImg1 = nil
  1034. if tolua.getpeer(self.guildBadgeImg2) ~= nil then
  1035. tolua.setpeer(self.guildBadgeImg2, nil)
  1036. end
  1037. self.guildBadgeImg2 = nil
  1038. if tolua.getpeer(self.beforeBattle) ~= nil then
  1039. tolua.setpeer(self.beforeBattle, nil)
  1040. end
  1041. self.beforeBattle = nil
  1042. if tolua.getpeer(self.battleTxt) ~= nil then
  1043. tolua.setpeer(self.battleTxt, nil)
  1044. end
  1045. self.battleTxt = nil
  1046. if tolua.getpeer(self.beginTimerTxt) ~= nil then
  1047. tolua.setpeer(self.beginTimerTxt, nil)
  1048. end
  1049. self.beginTimerTxt = nil
  1050. if tolua.getpeer(self.battle) ~= nil then
  1051. tolua.setpeer(self.battle, nil)
  1052. end
  1053. self.battle = nil
  1054. if tolua.getpeer(self.scoreSlider) ~= nil then
  1055. tolua.setpeer(self.scoreSlider, nil)
  1056. end
  1057. self.scoreSlider = nil
  1058. if tolua.getpeer(self.scoreTxt1) ~= nil then
  1059. tolua.setpeer(self.scoreTxt1, nil)
  1060. end
  1061. self.scoreTxt1 = nil
  1062. if tolua.getpeer(self.scoreTxt2) ~= nil then
  1063. tolua.setpeer(self.scoreTxt2, nil)
  1064. end
  1065. self.scoreTxt2 = nil
  1066. if tolua.getpeer(self.dojoNumTxt1) ~= nil then
  1067. tolua.setpeer(self.dojoNumTxt1, nil)
  1068. end
  1069. self.dojoNumTxt1 = nil
  1070. if tolua.getpeer(self.dojoNumTxt2) ~= nil then
  1071. tolua.setpeer(self.dojoNumTxt2, nil)
  1072. end
  1073. self.dojoNumTxt2 = nil
  1074. if tolua.getpeer(self.endTimerTxt) ~= nil then
  1075. tolua.setpeer(self.endTimerTxt, nil)
  1076. end
  1077. self.endTimerTxt = nil
  1078. if tolua.getpeer(self.viewRect) ~= nil then
  1079. tolua.setpeer(self.viewRect, nil)
  1080. end
  1081. self.viewRect = nil
  1082. if tolua.getpeer(self.btnHelp) ~= nil then
  1083. tolua.setpeer(self.btnHelp, nil)
  1084. end
  1085. self.btnHelp = nil
  1086. if tolua.getpeer(self.btnLog) ~= nil then
  1087. tolua.setpeer(self.btnLog, nil)
  1088. end
  1089. self.btnLog = nil
  1090. if tolua.getpeer(self.btnRank) ~= nil then
  1091. tolua.setpeer(self.btnRank, nil)
  1092. end
  1093. self.btnRank = nil
  1094. if tolua.getpeer(self.btnBack) ~= nil then
  1095. tolua.setpeer(self.btnBack, nil)
  1096. end
  1097. self.btnBack = nil
  1098. if tolua.getpeer(self.btnChat) ~= nil then
  1099. tolua.setpeer(self.btnChat, nil)
  1100. end
  1101. self.btnChat = nil
  1102. if tolua.getpeer(self.menu) ~= nil then
  1103. tolua.setpeer(self.menu, nil)
  1104. end
  1105. self.menu = nil
  1106. self.transform = nil
  1107. self.gameObject = nil
  1108. self.inited = false
  1109. end
  1110. return UIGuildWarView