UIGuildDemonView_Generate.lua 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  1. ---@class UIGuildDemon__Generate_nextBox
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public image UnityEngine.UI.Image
  4. ---@field public button UnityEngine.UI.Button
  5. ---@class UIGuildDemon__Generate_nextTxt
  6. ---@field public gameObject UnityEngine.GameObject
  7. ---@field public text UnityEngine.UI.Text
  8. ---@class UIGuildDemon__Generate_currSlidertxt
  9. ---@field public gameObject UnityEngine.GameObject
  10. ---@field public text UnityEngine.UI.Text
  11. ---@class UIGuildDemon__Generate_harmSlider
  12. ---@field public gameObject UnityEngine.GameObject
  13. ---@field public slider UnityEngine.UI.Slider
  14. ---@class UIGuildDemon__Generate_nowBox
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public image UnityEngine.UI.Image
  17. ---@field public button UnityEngine.UI.Button
  18. ---@class UIGuildDemon__Generate_nowTxt
  19. ---@field public gameObject UnityEngine.GameObject
  20. ---@field public text UnityEngine.UI.Text
  21. ---@class UIGuildDemon__Generate_dmgNumber
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public text UnityEngine.UI.Text
  24. ---@class UIGuildDemon__Generate_mySlidertxt
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public text UnityEngine.UI.Text
  27. ---@class UIGuildDemon__Generate_mySlider
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public slider UnityEngine.UI.Slider
  30. ---@class UIGuildDemon__Generate_mvpSlidertxt
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public text UnityEngine.UI.Text
  33. ---@class UIGuildDemon__Generate_mvpSlider
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public slider UnityEngine.UI.Slider
  36. ---@class UIGuildDemon__Generate_mvpVipIcon
  37. ---@field public gameObject UnityEngine.GameObject
  38. ---@field public image UnityEngine.UI.Image
  39. ---@class UIGuildDemon__Generate_mvpName
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public text UnityEngine.UI.Text
  42. ---@class UIGuildDemon__Generate_headItem
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public layoutElement UnityEngine.UI.LayoutElement
  45. ---@class UIGuildDemon__Generate_btnBack
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public button UnityEngine.UI.Button
  48. ---@class UIGuildDemon__Generate_btnAdd
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public button UnityEngine.UI.Button
  51. ---@class UIGuildDemon__Generate_timesBox_condTxt
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public text UnityEngine.UI.Text
  54. ---@class UIGuildDemon__Generate_timesBox
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public condTxt UIGuildDemon__Generate_timesBox_condTxt
  57. ---@class UIGuildDemon__Generate_condBox_condTxt
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public text UnityEngine.UI.Text
  60. ---@class UIGuildDemon__Generate_condBox
  61. ---@field public gameObject UnityEngine.GameObject
  62. ---@field public condTxt UIGuildDemon__Generate_condBox_condTxt
  63. ---@class UIGuildDemon__Generate_costBox_number
  64. ---@field public gameObject UnityEngine.GameObject
  65. ---@field public text UnityEngine.UI.Text
  66. ---@class UIGuildDemon__Generate_costBox
  67. ---@field public gameObject UnityEngine.GameObject
  68. ---@field public number UIGuildDemon__Generate_costBox_number
  69. ---@class UIGuildDemon__Generate_btnSummon
  70. ---@field public gameObject UnityEngine.GameObject
  71. ---@field public button UnityEngine.UI.Button
  72. ---@class UIGuildDemon__Generate_btnChallenge
  73. ---@field public gameObject UnityEngine.GameObject
  74. ---@field public button UnityEngine.UI.Button
  75. ---@class UIGuildDemon__Generate_loadingItem
  76. ---@field public gameObject UnityEngine.GameObject
  77. ---@field public rectTransform UnityEngine.RectTransform
  78. ---@field public layoutElement UnityEngine.UI.LayoutElement
  79. ---@class UIGuildDemon__Generate_dmgRank
  80. ---@field public gameObject UnityEngine.GameObject
  81. ---@field public scrollRect UnityEngine.UI.ScrollRect
  82. ---@field public loopListView SuperScrollView.LoopListView
  83. ---@class UIGuildDemon__Generate_btnPlayRule
  84. ---@field public gameObject UnityEngine.GameObject
  85. ---@field public button UnityEngine.UI.Button
  86. ---@class UIGuildDemon__Generate_btnLog
  87. ---@field public gameObject UnityEngine.GameObject
  88. ---@field public button UnityEngine.UI.Button
  89. ---@class UIGuildDemon__Generate_timeTxt
  90. ---@field public gameObject UnityEngine.GameObject
  91. ---@field public text UnityEngine.UI.Text
  92. ---@class UIGuildDemon__Generate_bossName
  93. ---@field public gameObject UnityEngine.GameObject
  94. ---@field public text TMPro.TextMeshProUGUI
  95. ---@field public button UnityEngine.UI.Button
  96. ---@class UIGuildDemon__Generate_bossImg
  97. ---@field public gameObject UnityEngine.GameObject
  98. ---@field public rawImage UnityEngine.UI.RawImage
  99. ---@class UIGuildDemon__Generate_AnyBtn
  100. ---@field public gameObject UnityEngine.GameObject
  101. ---@field public button UnityEngine.UI.Button
  102. ---@class UIGuildDemon__Generate
  103. ---@field private gameObject UnityEngine.GameObject
  104. ---@field private transform UnityEngine.Transform
  105. ---@field private AnyBtn UIGuildDemon__Generate_AnyBtn
  106. ---@field private bossImg UIGuildDemon__Generate_bossImg
  107. ---@field private bossName UIGuildDemon__Generate_bossName
  108. ---@field private timer UnityEngine.GameObject
  109. ---@field private timeTxt UIGuildDemon__Generate_timeTxt
  110. ---@field private btnLog UIGuildDemon__Generate_btnLog
  111. ---@field private btnPlayRule UIGuildDemon__Generate_btnPlayRule
  112. ---@field private dmgRank UIGuildDemon__Generate_dmgRank
  113. ---@field private empty UnityEngine.GameObject
  114. ---@field private loadingItem UIGuildDemon__Generate_loadingItem
  115. ---@field private btnChallenge UIGuildDemon__Generate_btnChallenge
  116. ---@field private btnSummon UIGuildDemon__Generate_btnSummon
  117. ---@field private costBox UIGuildDemon__Generate_costBox
  118. ---@field private condBox UIGuildDemon__Generate_condBox
  119. ---@field private timesBox UIGuildDemon__Generate_timesBox
  120. ---@field private btnAdd UIGuildDemon__Generate_btnAdd
  121. ---@field private btnBack UIGuildDemon__Generate_btnBack
  122. ---@field private mvpInfo UnityEngine.GameObject
  123. ---@field private headItem UIGuildDemon__Generate_headItem
  124. ---@field private mvpName UIGuildDemon__Generate_mvpName
  125. ---@field private mvpVipIcon UIGuildDemon__Generate_mvpVipIcon
  126. ---@field private mvpSlider UIGuildDemon__Generate_mvpSlider
  127. ---@field private mvpSlidertxt UIGuildDemon__Generate_mvpSlidertxt
  128. ---@field private mvpEmpty UnityEngine.GameObject
  129. ---@field private mySlider UIGuildDemon__Generate_mySlider
  130. ---@field private mySlidertxt UIGuildDemon__Generate_mySlidertxt
  131. ---@field private dmgNumber UIGuildDemon__Generate_dmgNumber
  132. ---@field private nowTxt UIGuildDemon__Generate_nowTxt
  133. ---@field private nowBox UIGuildDemon__Generate_nowBox
  134. ---@field private harmSlider UIGuildDemon__Generate_harmSlider
  135. ---@field private currSlidertxt UIGuildDemon__Generate_currSlidertxt
  136. ---@field private nextTxt UIGuildDemon__Generate_nextTxt
  137. ---@field private nextBox UIGuildDemon__Generate_nextBox
  138. local UIGuildDemonView = class("UIGuildDemonView", require("UIViewBase"))
  139. function UIGuildDemonView:ctor()
  140. end
  141. ---@private
  142. function UIGuildDemonView:SetActive(result)
  143. self.gameObject:SetActive(result)
  144. end
  145. ---@private
  146. function UIGuildDemonView:InitGenerate(Root, data)
  147. self.transform = Root
  148. self.inited = true
  149. if self.super.Init then
  150. self.super.Init(self)
  151. end
  152. local tmp
  153. self:InitGenerate__1(Root,data)
  154. self:InitGenerate__2(Root,data)
  155. self:InitGenerate__3(Root,data)
  156. self:InitGenerate__4(Root,data)
  157. self:InitGenerate__5(Root,data)
  158. self:InitGenerate__6(Root,data)
  159. self:InitGenerate__7(Root,data)
  160. self:InitGenerate__8(Root,data)
  161. self:InitGenerate__9(Root,data)
  162. self:InitGenerate__10(Root,data)
  163. self:InitGenerate__11(Root,data)
  164. self:InitGenerate__12(Root,data)
  165. self:InitGenerate__13(Root,data)
  166. self:InitGenerate__14(Root,data)
  167. self:InitGenerate__15(Root,data)
  168. self:InitGenerate__16(Root,data)
  169. self:InitGenerate__17(Root,data)
  170. self:InitGenerate__18(Root,data)
  171. self:InitGenerate__19(Root,data)
  172. self:InitGenerate__20(Root,data)
  173. self:InitGenerate__21(Root,data)
  174. self:InitGenerate__22(Root,data)
  175. self:InitGenerate__23(Root,data)
  176. self:InitGenerate__24(Root,data)
  177. self:InitGenerate__25(Root,data)
  178. self:InitGenerate__26(Root,data)
  179. self:InitGenerate__27(Root,data)
  180. self:InitGenerate__28(Root,data)
  181. self:InitGenerate__29(Root,data)
  182. self:InitGenerate__30(Root,data)
  183. self:InitGenerate__31(Root,data)
  184. self:InitGenerate__32(Root,data)
  185. self:InitGenerate__33(Root,data)
  186. self:InitGenerate__34(Root,data)
  187. self:InitGenerate__35(Root,data)
  188. self:InitGenerate__36(Root,data)
  189. end
  190. ---@private
  191. function UIGuildDemonView:InitGenerate__1(Root, data)
  192. --[[
  193. UIAnimator/Alpha
  194. --]]
  195. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  196. if tolua.getpeer(tmp) == nil then
  197. tolua.setpeer(tmp, {})
  198. end
  199. self.AnyBtn = tmp
  200. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  201. end
  202. ---@private
  203. function UIGuildDemonView:InitGenerate__2(Root, data)
  204. --[[
  205. UIAnimator/Window/Top/BossImg
  206. --]]
  207. local tmp = Root:Find("UIAnimator/Window/Top/BossImg").gameObject
  208. if tolua.getpeer(tmp) == nil then
  209. tolua.setpeer(tmp, {})
  210. end
  211. self.bossImg = tmp
  212. tmp.rawImage = tmp:GetComponent(Enum.TypeInfo.RawImage)
  213. end
  214. ---@private
  215. function UIGuildDemonView:InitGenerate__3(Root, data)
  216. --[[
  217. UIAnimator/Window/Top/BossName
  218. --]]
  219. local tmp = Root:Find("UIAnimator/Window/Top/BossName").gameObject
  220. if tolua.getpeer(tmp) == nil then
  221. tolua.setpeer(tmp, {})
  222. end
  223. self.bossName = tmp
  224. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  225. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  226. end
  227. ---@private
  228. function UIGuildDemonView:InitGenerate__4(Root, data)
  229. --[[
  230. UIAnimator/Window/Top/Timer
  231. --]]
  232. local tmp = Root:Find("UIAnimator/Window/Top/Timer").gameObject
  233. if tolua.getpeer(tmp) == nil then
  234. tolua.setpeer(tmp, {})
  235. end
  236. self.timer = tmp
  237. end
  238. ---@private
  239. function UIGuildDemonView:InitGenerate__5(Root, data)
  240. --[[
  241. UIAnimator/Window/Top/Timer/TimeTxt
  242. --]]
  243. local tmp = Root:Find("UIAnimator/Window/Top/Timer/TimeTxt").gameObject
  244. if tolua.getpeer(tmp) == nil then
  245. tolua.setpeer(tmp, {})
  246. end
  247. self.timeTxt = tmp
  248. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  249. end
  250. ---@private
  251. function UIGuildDemonView:InitGenerate__6(Root, data)
  252. --[[
  253. UIAnimator/Window/Top/BtnLog
  254. --]]
  255. local tmp = Root:Find("UIAnimator/Window/Top/BtnLog").gameObject
  256. if tolua.getpeer(tmp) == nil then
  257. tolua.setpeer(tmp, {})
  258. end
  259. self.btnLog = tmp
  260. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  261. end
  262. ---@private
  263. function UIGuildDemonView:InitGenerate__7(Root, data)
  264. --[[
  265. UIAnimator/Window/Top/BtnPlayRule
  266. --]]
  267. local tmp = Root:Find("UIAnimator/Window/Top/BtnPlayRule").gameObject
  268. if tolua.getpeer(tmp) == nil then
  269. tolua.setpeer(tmp, {})
  270. end
  271. self.btnPlayRule = tmp
  272. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  273. end
  274. ---@private
  275. function UIGuildDemonView:InitGenerate__8(Root, data)
  276. --[[
  277. UIAnimator/Window/Top/DmgRank
  278. --]]
  279. local tmp = Root:Find("UIAnimator/Window/Top/DmgRank").gameObject
  280. if tolua.getpeer(tmp) == nil then
  281. tolua.setpeer(tmp, {})
  282. end
  283. self.dmgRank = tmp
  284. tmp.scrollRect = tmp:GetComponent(Enum.TypeInfo.ScrollRect)
  285. tmp.loopListView = tmp:GetComponent(Enum.TypeInfo.LoopListView)
  286. end
  287. ---@private
  288. function UIGuildDemonView:InitGenerate__9(Root, data)
  289. --[[
  290. UIAnimator/Window/Top/DmgRank/Viewport/Content/Empty
  291. --]]
  292. local tmp = Root:Find("UIAnimator/Window/Top/DmgRank/Viewport/Content/Empty").gameObject
  293. if tolua.getpeer(tmp) == nil then
  294. tolua.setpeer(tmp, {})
  295. end
  296. self.empty = tmp
  297. end
  298. ---@private
  299. function UIGuildDemonView:InitGenerate__10(Root, data)
  300. --[[
  301. UIAnimator/Window/Top/DmgRank/Viewport/Content/LoadingItem
  302. --]]
  303. local tmp = Root:Find("UIAnimator/Window/Top/DmgRank/Viewport/Content/LoadingItem").gameObject
  304. if tolua.getpeer(tmp) == nil then
  305. tolua.setpeer(tmp, {})
  306. end
  307. self.loadingItem = CommonUtil.BindGridViewItem2LuaStatic("LoadingItem", tmp)
  308. self.loadingItem.prefabName = "LoadingItem"
  309. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  310. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  311. end
  312. ---@private
  313. function UIGuildDemonView:InitGenerate__11(Root, data)
  314. --[[
  315. UIAnimator/Window/Bottom/BtnChallenge
  316. --]]
  317. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnChallenge").gameObject
  318. if tolua.getpeer(tmp) == nil then
  319. tolua.setpeer(tmp, {})
  320. end
  321. self.btnChallenge = tmp
  322. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  323. end
  324. ---@private
  325. function UIGuildDemonView:InitGenerate__12(Root, data)
  326. --[[
  327. UIAnimator/Window/Bottom/BtnSummon
  328. --]]
  329. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnSummon").gameObject
  330. if tolua.getpeer(tmp) == nil then
  331. tolua.setpeer(tmp, {})
  332. end
  333. self.btnSummon = tmp
  334. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  335. end
  336. ---@private
  337. function UIGuildDemonView:InitGenerate__13(Root, data)
  338. --[[
  339. UIAnimator/Window/Bottom/CostBox
  340. --]]
  341. local tmp = Root:Find("UIAnimator/Window/Bottom/CostBox").gameObject
  342. if tolua.getpeer(tmp) == nil then
  343. tolua.setpeer(tmp, {})
  344. end
  345. self.costBox = tmp
  346. end
  347. ---@private
  348. function UIGuildDemonView:InitGenerate__14(Root, data)
  349. --[[
  350. UIAnimator/Window/Bottom/CostBox/Number
  351. --]]
  352. local tmp = Root:Find("UIAnimator/Window/Bottom/CostBox/Number").gameObject
  353. if tolua.getpeer(tmp) == nil then
  354. tolua.setpeer(tmp, {})
  355. end
  356. self.costBox.number = tmp
  357. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  358. end
  359. ---@private
  360. function UIGuildDemonView:InitGenerate__15(Root, data)
  361. --[[
  362. UIAnimator/Window/Bottom/CondBox
  363. --]]
  364. local tmp = Root:Find("UIAnimator/Window/Bottom/CondBox").gameObject
  365. if tolua.getpeer(tmp) == nil then
  366. tolua.setpeer(tmp, {})
  367. end
  368. self.condBox = tmp
  369. end
  370. ---@private
  371. function UIGuildDemonView:InitGenerate__16(Root, data)
  372. --[[
  373. UIAnimator/Window/Bottom/CondBox/CondTxt
  374. --]]
  375. local tmp = Root:Find("UIAnimator/Window/Bottom/CondBox/CondTxt").gameObject
  376. if tolua.getpeer(tmp) == nil then
  377. tolua.setpeer(tmp, {})
  378. end
  379. self.condBox.condTxt = tmp
  380. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  381. end
  382. ---@private
  383. function UIGuildDemonView:InitGenerate__17(Root, data)
  384. --[[
  385. UIAnimator/Window/Bottom/TimesBox
  386. --]]
  387. local tmp = Root:Find("UIAnimator/Window/Bottom/TimesBox").gameObject
  388. if tolua.getpeer(tmp) == nil then
  389. tolua.setpeer(tmp, {})
  390. end
  391. self.timesBox = tmp
  392. end
  393. ---@private
  394. function UIGuildDemonView:InitGenerate__18(Root, data)
  395. --[[
  396. UIAnimator/Window/Bottom/TimesBox/CondTxt
  397. --]]
  398. local tmp = Root:Find("UIAnimator/Window/Bottom/TimesBox/CondTxt").gameObject
  399. if tolua.getpeer(tmp) == nil then
  400. tolua.setpeer(tmp, {})
  401. end
  402. self.timesBox.condTxt = tmp
  403. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  404. end
  405. ---@private
  406. function UIGuildDemonView:InitGenerate__19(Root, data)
  407. --[[
  408. UIAnimator/Window/Bottom/TimesBox/BtnAdd
  409. --]]
  410. local tmp = Root:Find("UIAnimator/Window/Bottom/TimesBox/BtnAdd").gameObject
  411. if tolua.getpeer(tmp) == nil then
  412. tolua.setpeer(tmp, {})
  413. end
  414. self.btnAdd = tmp
  415. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  416. end
  417. ---@private
  418. function UIGuildDemonView:InitGenerate__20(Root, data)
  419. --[[
  420. UIAnimator/Window/Bottom/BtnBack
  421. --]]
  422. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnBack").gameObject
  423. if tolua.getpeer(tmp) == nil then
  424. tolua.setpeer(tmp, {})
  425. end
  426. self.btnBack = tmp
  427. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  428. end
  429. ---@private
  430. function UIGuildDemonView:InitGenerate__21(Root, data)
  431. --[[
  432. UIAnimator/Window/Bottom/MvpInfo
  433. --]]
  434. local tmp = Root:Find("UIAnimator/Window/Bottom/MvpInfo").gameObject
  435. if tolua.getpeer(tmp) == nil then
  436. tolua.setpeer(tmp, {})
  437. end
  438. self.mvpInfo = tmp
  439. end
  440. ---@private
  441. function UIGuildDemonView:InitGenerate__22(Root, data)
  442. --[[
  443. UIAnimator/Window/Bottom/MvpInfo/HeadItem
  444. --]]
  445. local tmp = Root:Find("UIAnimator/Window/Bottom/MvpInfo/HeadItem").gameObject
  446. if tolua.getpeer(tmp) == nil then
  447. tolua.setpeer(tmp, {})
  448. end
  449. self.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  450. self.headItem.prefabName = "HeadItem"
  451. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  452. end
  453. ---@private
  454. function UIGuildDemonView:InitGenerate__23(Root, data)
  455. --[[
  456. UIAnimator/Window/Bottom/MvpInfo/TxtName
  457. --]]
  458. local tmp = Root:Find("UIAnimator/Window/Bottom/MvpInfo/TxtName").gameObject
  459. if tolua.getpeer(tmp) == nil then
  460. tolua.setpeer(tmp, {})
  461. end
  462. self.mvpName = tmp
  463. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  464. end
  465. ---@private
  466. function UIGuildDemonView:InitGenerate__24(Root, data)
  467. --[[
  468. UIAnimator/Window/Bottom/MvpInfo/Icon
  469. --]]
  470. local tmp = Root:Find("UIAnimator/Window/Bottom/MvpInfo/Icon").gameObject
  471. if tolua.getpeer(tmp) == nil then
  472. tolua.setpeer(tmp, {})
  473. end
  474. self.mvpVipIcon = tmp
  475. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  476. end
  477. ---@private
  478. function UIGuildDemonView:InitGenerate__25(Root, data)
  479. --[[
  480. UIAnimator/Window/Bottom/MvpInfo/Slider
  481. --]]
  482. local tmp = Root:Find("UIAnimator/Window/Bottom/MvpInfo/Slider").gameObject
  483. if tolua.getpeer(tmp) == nil then
  484. tolua.setpeer(tmp, {})
  485. end
  486. self.mvpSlider = tmp
  487. tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
  488. end
  489. ---@private
  490. function UIGuildDemonView:InitGenerate__26(Root, data)
  491. --[[
  492. UIAnimator/Window/Bottom/MvpInfo/TxtNumber
  493. --]]
  494. local tmp = Root:Find("UIAnimator/Window/Bottom/MvpInfo/TxtNumber").gameObject
  495. if tolua.getpeer(tmp) == nil then
  496. tolua.setpeer(tmp, {})
  497. end
  498. self.mvpSlidertxt = tmp
  499. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  500. end
  501. ---@private
  502. function UIGuildDemonView:InitGenerate__27(Root, data)
  503. --[[
  504. UIAnimator/Window/Bottom/MvpEmpty
  505. --]]
  506. local tmp = Root:Find("UIAnimator/Window/Bottom/MvpEmpty").gameObject
  507. if tolua.getpeer(tmp) == nil then
  508. tolua.setpeer(tmp, {})
  509. end
  510. self.mvpEmpty = tmp
  511. end
  512. ---@private
  513. function UIGuildDemonView:InitGenerate__28(Root, data)
  514. --[[
  515. UIAnimator/Window/Bottom/MyInfo/Slider
  516. --]]
  517. local tmp = Root:Find("UIAnimator/Window/Bottom/MyInfo/Slider").gameObject
  518. if tolua.getpeer(tmp) == nil then
  519. tolua.setpeer(tmp, {})
  520. end
  521. self.mySlider = tmp
  522. tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
  523. end
  524. ---@private
  525. function UIGuildDemonView:InitGenerate__29(Root, data)
  526. --[[
  527. UIAnimator/Window/Bottom/MyInfo/TxtNumber
  528. --]]
  529. local tmp = Root:Find("UIAnimator/Window/Bottom/MyInfo/TxtNumber").gameObject
  530. if tolua.getpeer(tmp) == nil then
  531. tolua.setpeer(tmp, {})
  532. end
  533. self.mySlidertxt = tmp
  534. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  535. end
  536. ---@private
  537. function UIGuildDemonView:InitGenerate__30(Root, data)
  538. --[[
  539. UIAnimator/Window/Bottom/MyInfo/DmgNumber
  540. --]]
  541. local tmp = Root:Find("UIAnimator/Window/Bottom/MyInfo/DmgNumber").gameObject
  542. if tolua.getpeer(tmp) == nil then
  543. tolua.setpeer(tmp, {})
  544. end
  545. self.dmgNumber = tmp
  546. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  547. end
  548. ---@private
  549. function UIGuildDemonView:InitGenerate__31(Root, data)
  550. --[[
  551. UIAnimator/Window/Bottom/BG/Now/Text
  552. --]]
  553. local tmp = Root:Find("UIAnimator/Window/Bottom/BG/Now/Text").gameObject
  554. if tolua.getpeer(tmp) == nil then
  555. tolua.setpeer(tmp, {})
  556. end
  557. self.nowTxt = tmp
  558. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  559. end
  560. ---@private
  561. function UIGuildDemonView:InitGenerate__32(Root, data)
  562. --[[
  563. UIAnimator/Window/Bottom/BG/Now/Box
  564. --]]
  565. local tmp = Root:Find("UIAnimator/Window/Bottom/BG/Now/Box").gameObject
  566. if tolua.getpeer(tmp) == nil then
  567. tolua.setpeer(tmp, {})
  568. end
  569. self.nowBox = tmp
  570. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  571. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  572. end
  573. ---@private
  574. function UIGuildDemonView:InitGenerate__33(Root, data)
  575. --[[
  576. UIAnimator/Window/Bottom/BG/Slider
  577. --]]
  578. local tmp = Root:Find("UIAnimator/Window/Bottom/BG/Slider").gameObject
  579. if tolua.getpeer(tmp) == nil then
  580. tolua.setpeer(tmp, {})
  581. end
  582. self.harmSlider = tmp
  583. tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
  584. end
  585. ---@private
  586. function UIGuildDemonView:InitGenerate__34(Root, data)
  587. --[[
  588. UIAnimator/Window/Bottom/BG/Slider/HandleSlideArea/Bubble/Txt
  589. --]]
  590. local tmp = Root:Find("UIAnimator/Window/Bottom/BG/Slider/HandleSlideArea/Bubble/Txt").gameObject
  591. if tolua.getpeer(tmp) == nil then
  592. tolua.setpeer(tmp, {})
  593. end
  594. self.currSlidertxt = tmp
  595. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  596. end
  597. ---@private
  598. function UIGuildDemonView:InitGenerate__35(Root, data)
  599. --[[
  600. UIAnimator/Window/Bottom/BG/Next/Text
  601. --]]
  602. local tmp = Root:Find("UIAnimator/Window/Bottom/BG/Next/Text").gameObject
  603. if tolua.getpeer(tmp) == nil then
  604. tolua.setpeer(tmp, {})
  605. end
  606. self.nextTxt = tmp
  607. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  608. end
  609. ---@private
  610. function UIGuildDemonView:InitGenerate__36(Root, data)
  611. --[[
  612. UIAnimator/Window/Bottom/BG/Next/Box
  613. --]]
  614. local tmp = Root:Find("UIAnimator/Window/Bottom/BG/Next/Box").gameObject
  615. if tolua.getpeer(tmp) == nil then
  616. tolua.setpeer(tmp, {})
  617. end
  618. self.nextBox = tmp
  619. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  620. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  621. end
  622. ---@private
  623. function UIGuildDemonView:GenerateDestroy()
  624. if tolua.getpeer(self.timesBox.condTxt) ~= nil then
  625. tolua.setpeer(self.timesBox.condTxt, nil)
  626. end
  627. if tolua.getpeer(self.condBox.condTxt) ~= nil then
  628. tolua.setpeer(self.condBox.condTxt, nil)
  629. end
  630. if tolua.getpeer(self.costBox.number) ~= nil then
  631. tolua.setpeer(self.costBox.number, nil)
  632. end
  633. if tolua.getpeer(self.AnyBtn) ~= nil then
  634. tolua.setpeer(self.AnyBtn, nil)
  635. end
  636. self.AnyBtn = nil
  637. if tolua.getpeer(self.bossImg) ~= nil then
  638. tolua.setpeer(self.bossImg, nil)
  639. end
  640. self.bossImg = nil
  641. if tolua.getpeer(self.bossName) ~= nil then
  642. tolua.setpeer(self.bossName, nil)
  643. end
  644. self.bossName = nil
  645. if tolua.getpeer(self.timer) ~= nil then
  646. tolua.setpeer(self.timer, nil)
  647. end
  648. self.timer = nil
  649. if tolua.getpeer(self.timeTxt) ~= nil then
  650. tolua.setpeer(self.timeTxt, nil)
  651. end
  652. self.timeTxt = nil
  653. if tolua.getpeer(self.btnLog) ~= nil then
  654. tolua.setpeer(self.btnLog, nil)
  655. end
  656. self.btnLog = nil
  657. if tolua.getpeer(self.btnPlayRule) ~= nil then
  658. tolua.setpeer(self.btnPlayRule, nil)
  659. end
  660. self.btnPlayRule = nil
  661. if tolua.getpeer(self.dmgRank) ~= nil then
  662. tolua.setpeer(self.dmgRank, nil)
  663. end
  664. self.dmgRank = nil
  665. if tolua.getpeer(self.empty) ~= nil then
  666. tolua.setpeer(self.empty, nil)
  667. end
  668. self.empty = nil
  669. if self.loadingItem.GenerateDestroy ~= nil then
  670. self.loadingItem:GenerateDestroy()
  671. end
  672. if tolua.getpeer(self.loadingItem) ~= nil then
  673. tolua.setpeer(self.loadingItem, nil)
  674. end
  675. self.loadingItem = nil
  676. if tolua.getpeer(self.btnChallenge) ~= nil then
  677. tolua.setpeer(self.btnChallenge, nil)
  678. end
  679. self.btnChallenge = nil
  680. if tolua.getpeer(self.btnSummon) ~= nil then
  681. tolua.setpeer(self.btnSummon, nil)
  682. end
  683. self.btnSummon = nil
  684. if tolua.getpeer(self.costBox) ~= nil then
  685. tolua.setpeer(self.costBox, nil)
  686. end
  687. self.costBox = nil
  688. if tolua.getpeer(self.condBox) ~= nil then
  689. tolua.setpeer(self.condBox, nil)
  690. end
  691. self.condBox = nil
  692. if tolua.getpeer(self.timesBox) ~= nil then
  693. tolua.setpeer(self.timesBox, nil)
  694. end
  695. self.timesBox = nil
  696. if tolua.getpeer(self.btnAdd) ~= nil then
  697. tolua.setpeer(self.btnAdd, nil)
  698. end
  699. self.btnAdd = nil
  700. if tolua.getpeer(self.btnBack) ~= nil then
  701. tolua.setpeer(self.btnBack, nil)
  702. end
  703. self.btnBack = nil
  704. if tolua.getpeer(self.mvpInfo) ~= nil then
  705. tolua.setpeer(self.mvpInfo, nil)
  706. end
  707. self.mvpInfo = nil
  708. if self.headItem.GenerateDestroy ~= nil then
  709. self.headItem:GenerateDestroy()
  710. end
  711. if tolua.getpeer(self.headItem) ~= nil then
  712. tolua.setpeer(self.headItem, nil)
  713. end
  714. self.headItem = nil
  715. if tolua.getpeer(self.mvpName) ~= nil then
  716. tolua.setpeer(self.mvpName, nil)
  717. end
  718. self.mvpName = nil
  719. if tolua.getpeer(self.mvpVipIcon) ~= nil then
  720. tolua.setpeer(self.mvpVipIcon, nil)
  721. end
  722. self.mvpVipIcon = nil
  723. if tolua.getpeer(self.mvpSlider) ~= nil then
  724. tolua.setpeer(self.mvpSlider, nil)
  725. end
  726. self.mvpSlider = nil
  727. if tolua.getpeer(self.mvpSlidertxt) ~= nil then
  728. tolua.setpeer(self.mvpSlidertxt, nil)
  729. end
  730. self.mvpSlidertxt = nil
  731. if tolua.getpeer(self.mvpEmpty) ~= nil then
  732. tolua.setpeer(self.mvpEmpty, nil)
  733. end
  734. self.mvpEmpty = nil
  735. if tolua.getpeer(self.mySlider) ~= nil then
  736. tolua.setpeer(self.mySlider, nil)
  737. end
  738. self.mySlider = nil
  739. if tolua.getpeer(self.mySlidertxt) ~= nil then
  740. tolua.setpeer(self.mySlidertxt, nil)
  741. end
  742. self.mySlidertxt = nil
  743. if tolua.getpeer(self.dmgNumber) ~= nil then
  744. tolua.setpeer(self.dmgNumber, nil)
  745. end
  746. self.dmgNumber = nil
  747. if tolua.getpeer(self.nowTxt) ~= nil then
  748. tolua.setpeer(self.nowTxt, nil)
  749. end
  750. self.nowTxt = nil
  751. if tolua.getpeer(self.nowBox) ~= nil then
  752. tolua.setpeer(self.nowBox, nil)
  753. end
  754. self.nowBox = nil
  755. if tolua.getpeer(self.harmSlider) ~= nil then
  756. tolua.setpeer(self.harmSlider, nil)
  757. end
  758. self.harmSlider = nil
  759. if tolua.getpeer(self.currSlidertxt) ~= nil then
  760. tolua.setpeer(self.currSlidertxt, nil)
  761. end
  762. self.currSlidertxt = nil
  763. if tolua.getpeer(self.nextTxt) ~= nil then
  764. tolua.setpeer(self.nextTxt, nil)
  765. end
  766. self.nextTxt = nil
  767. if tolua.getpeer(self.nextBox) ~= nil then
  768. tolua.setpeer(self.nextBox, nil)
  769. end
  770. self.nextBox = nil
  771. self.transform = nil
  772. self.gameObject = nil
  773. self.inited = false
  774. end
  775. return UIGuildDemonView