UIGuildHuntBattleView_Generate.lua 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. ---@class UIGuildHuntBattle__Generate_buffTemp_num
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text TMPro.TextMeshProUGUI
  4. ---@class UIGuildHuntBattle__Generate_buffTemp_image
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public image UnityEngine.UI.Image
  7. ---@class UIGuildHuntBattle__Generate_buffTemp
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public button UnityEngine.UI.Button
  10. ---@field public image UIGuildHuntBattle__Generate_buffTemp_image
  11. ---@field public num UIGuildHuntBattle__Generate_buffTemp_num
  12. ---@class UIGuildHuntBattle__Generate_leftTime
  13. ---@field public gameObject UnityEngine.GameObject
  14. ---@field public text UnityEngine.UI.Text
  15. ---@class UIGuildHuntBattle__Generate_lable10
  16. ---@field public gameObject UnityEngine.GameObject
  17. ---@field public image UnityEngine.UI.Image
  18. ---@class UIGuildHuntBattle__Generate_lable9
  19. ---@field public gameObject UnityEngine.GameObject
  20. ---@field public image UnityEngine.UI.Image
  21. ---@class UIGuildHuntBattle__Generate_lable8
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public image UnityEngine.UI.Image
  24. ---@class UIGuildHuntBattle__Generate_lable7
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public image UnityEngine.UI.Image
  27. ---@class UIGuildHuntBattle__Generate_lable6
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public image UnityEngine.UI.Image
  30. ---@class UIGuildHuntBattle__Generate_lable5
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public image UnityEngine.UI.Image
  33. ---@class UIGuildHuntBattle__Generate_lable4
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public image UnityEngine.UI.Image
  36. ---@class UIGuildHuntBattle__Generate_lable3
  37. ---@field public gameObject UnityEngine.GameObject
  38. ---@field public image UnityEngine.UI.Image
  39. ---@class UIGuildHuntBattle__Generate_lable2
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public image UnityEngine.UI.Image
  42. ---@class UIGuildHuntBattle__Generate_lable1
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public image UnityEngine.UI.Image
  45. ---@class UIGuildHuntBattle__Generate_number
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public animator UnityEngine.Animator
  48. ---@class UIGuildHuntBattle__Generate_bossNature
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public image UnityEngine.UI.Image
  51. ---@class UIGuildHuntBattle__Generate_bossIcon
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public image UnityEngine.UI.Image
  54. ---@field public button UnityEngine.UI.Button
  55. ---@class UIGuildHuntBattle__Generate_iconBox
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public image UnityEngine.UI.Image
  58. ---@class UIGuildHuntBattle__Generate_boxBg
  59. ---@field public gameObject UnityEngine.GameObject
  60. ---@field public animator UnityEngine.Animator
  61. ---@class UIGuildHuntBattle__Generate_lvNumber
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public text TMPro.TextMeshProUGUI
  64. ---@class UIGuildHuntBattle__Generate_hPNumber
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public text TMPro.TextMeshProUGUI
  67. ---@class UIGuildHuntBattle__Generate_bossBlood
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public image UnityEngine.UI.Image
  70. ---@class UIGuildHuntBattle__Generate_bossBlood2
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public image UnityEngine.UI.Image
  73. ---@class UIGuildHuntBattle__Generate
  74. ---@field private gameObject UnityEngine.GameObject
  75. ---@field private transform UnityEngine.Transform
  76. ---@field private huntGroup UnityEngine.GameObject
  77. ---@field private bossBlood2 UIGuildHuntBattle__Generate_bossBlood2
  78. ---@field private bossBlood UIGuildHuntBattle__Generate_bossBlood
  79. ---@field private hPNumber UIGuildHuntBattle__Generate_hPNumber
  80. ---@field private lvNumber UIGuildHuntBattle__Generate_lvNumber
  81. ---@field private boxBg UIGuildHuntBattle__Generate_boxBg
  82. ---@field private iconBox UIGuildHuntBattle__Generate_iconBox
  83. ---@field private demonGroup UnityEngine.GameObject
  84. ---@field private bossIcon UIGuildHuntBattle__Generate_bossIcon
  85. ---@field private bossNature UIGuildHuntBattle__Generate_bossNature
  86. ---@field private number UIGuildHuntBattle__Generate_number
  87. ---@field private lable1 UIGuildHuntBattle__Generate_lable1
  88. ---@field private lable2 UIGuildHuntBattle__Generate_lable2
  89. ---@field private lable3 UIGuildHuntBattle__Generate_lable3
  90. ---@field private lable4 UIGuildHuntBattle__Generate_lable4
  91. ---@field private lable5 UIGuildHuntBattle__Generate_lable5
  92. ---@field private lable6 UIGuildHuntBattle__Generate_lable6
  93. ---@field private lable7 UIGuildHuntBattle__Generate_lable7
  94. ---@field private lable8 UIGuildHuntBattle__Generate_lable8
  95. ---@field private lable9 UIGuildHuntBattle__Generate_lable9
  96. ---@field private lable10 UIGuildHuntBattle__Generate_lable10
  97. ---@field private leftTime UIGuildHuntBattle__Generate_leftTime
  98. ---@field private infinite UnityEngine.GameObject
  99. ---@field private buffBox UnityEngine.GameObject
  100. ---@field private buffTemp UIGuildHuntBattle__Generate_buffTemp
  101. local UIGuildHuntBattleView = class("UIGuildHuntBattleView", require("UIViewBase"))
  102. function UIGuildHuntBattleView:ctor()
  103. end
  104. ---@private
  105. function UIGuildHuntBattleView:SetActive(result)
  106. self.gameObject:SetActive(result)
  107. end
  108. ---@private
  109. function UIGuildHuntBattleView:InitGenerate(Root, data)
  110. self.transform = Root
  111. self.inited = true
  112. if self.super.Init then
  113. self.super.Init(self)
  114. end
  115. local tmp
  116. self:InitGenerate__1(Root,data)
  117. self:InitGenerate__2(Root,data)
  118. self:InitGenerate__3(Root,data)
  119. self:InitGenerate__4(Root,data)
  120. self:InitGenerate__5(Root,data)
  121. self:InitGenerate__6(Root,data)
  122. self:InitGenerate__7(Root,data)
  123. self:InitGenerate__8(Root,data)
  124. self:InitGenerate__9(Root,data)
  125. self:InitGenerate__10(Root,data)
  126. self:InitGenerate__11(Root,data)
  127. self:InitGenerate__12(Root,data)
  128. self:InitGenerate__13(Root,data)
  129. self:InitGenerate__14(Root,data)
  130. self:InitGenerate__15(Root,data)
  131. self:InitGenerate__16(Root,data)
  132. self:InitGenerate__17(Root,data)
  133. self:InitGenerate__18(Root,data)
  134. self:InitGenerate__19(Root,data)
  135. self:InitGenerate__20(Root,data)
  136. self:InitGenerate__21(Root,data)
  137. self:InitGenerate__22(Root,data)
  138. self:InitGenerate__23(Root,data)
  139. self:InitGenerate__24(Root,data)
  140. self:InitGenerate__25(Root,data)
  141. self:InitGenerate__26(Root,data)
  142. self:InitGenerate__27(Root,data)
  143. end
  144. ---@private
  145. function UIGuildHuntBattleView:InitGenerate__1(Root, data)
  146. --[[
  147. HuntGroup
  148. --]]
  149. local tmp = Root:Find("HuntGroup").gameObject
  150. if tolua.getpeer(tmp) == nil then
  151. tolua.setpeer(tmp, {})
  152. end
  153. self.huntGroup = tmp
  154. end
  155. ---@private
  156. function UIGuildHuntBattleView:InitGenerate__2(Root, data)
  157. --[[
  158. HuntGroup/BossBlood/BloodBar2
  159. --]]
  160. local tmp = Root:Find("HuntGroup/BossBlood/BloodBar2").gameObject
  161. if tolua.getpeer(tmp) == nil then
  162. tolua.setpeer(tmp, {})
  163. end
  164. self.bossBlood2 = tmp
  165. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  166. end
  167. ---@private
  168. function UIGuildHuntBattleView:InitGenerate__3(Root, data)
  169. --[[
  170. HuntGroup/BossBlood/BloodBar
  171. --]]
  172. local tmp = Root:Find("HuntGroup/BossBlood/BloodBar").gameObject
  173. if tolua.getpeer(tmp) == nil then
  174. tolua.setpeer(tmp, {})
  175. end
  176. self.bossBlood = tmp
  177. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  178. end
  179. ---@private
  180. function UIGuildHuntBattleView:InitGenerate__4(Root, data)
  181. --[[
  182. HuntGroup/BossBlood/HPNumber
  183. --]]
  184. local tmp = Root:Find("HuntGroup/BossBlood/HPNumber").gameObject
  185. if tolua.getpeer(tmp) == nil then
  186. tolua.setpeer(tmp, {})
  187. end
  188. self.hPNumber = tmp
  189. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  190. end
  191. ---@private
  192. function UIGuildHuntBattleView:InitGenerate__5(Root, data)
  193. --[[
  194. HuntGroup/BoxLevel/LvNumber
  195. --]]
  196. local tmp = Root:Find("HuntGroup/BoxLevel/LvNumber").gameObject
  197. if tolua.getpeer(tmp) == nil then
  198. tolua.setpeer(tmp, {})
  199. end
  200. self.lvNumber = tmp
  201. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  202. end
  203. ---@private
  204. function UIGuildHuntBattleView:InitGenerate__6(Root, data)
  205. --[[
  206. HuntGroup/BoxBg
  207. --]]
  208. local tmp = Root:Find("HuntGroup/BoxBg").gameObject
  209. if tolua.getpeer(tmp) == nil then
  210. tolua.setpeer(tmp, {})
  211. end
  212. self.boxBg = tmp
  213. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  214. tmp.animator.logWarnings = false
  215. end
  216. ---@private
  217. function UIGuildHuntBattleView:InitGenerate__7(Root, data)
  218. --[[
  219. HuntGroup/BoxBg/IconBox
  220. --]]
  221. local tmp = Root:Find("HuntGroup/BoxBg/IconBox").gameObject
  222. if tolua.getpeer(tmp) == nil then
  223. tolua.setpeer(tmp, {})
  224. end
  225. self.iconBox = tmp
  226. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  227. end
  228. ---@private
  229. function UIGuildHuntBattleView:InitGenerate__8(Root, data)
  230. --[[
  231. DemonGroup
  232. --]]
  233. local tmp = Root:Find("DemonGroup").gameObject
  234. if tolua.getpeer(tmp) == nil then
  235. tolua.setpeer(tmp, {})
  236. end
  237. self.demonGroup = tmp
  238. end
  239. ---@private
  240. function UIGuildHuntBattleView:InitGenerate__9(Root, data)
  241. --[[
  242. DemonGroup/BossHead/headboss
  243. --]]
  244. local tmp = Root:Find("DemonGroup/BossHead/headboss").gameObject
  245. if tolua.getpeer(tmp) == nil then
  246. tolua.setpeer(tmp, {})
  247. end
  248. self.bossIcon = tmp
  249. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  250. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  251. end
  252. ---@private
  253. function UIGuildHuntBattleView:InitGenerate__10(Root, data)
  254. --[[
  255. DemonGroup/BossHead/nature
  256. --]]
  257. local tmp = Root:Find("DemonGroup/BossHead/nature").gameObject
  258. if tolua.getpeer(tmp) == nil then
  259. tolua.setpeer(tmp, {})
  260. end
  261. self.bossNature = tmp
  262. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  263. end
  264. ---@private
  265. function UIGuildHuntBattleView:InitGenerate__11(Root, data)
  266. --[[
  267. DemonGroup/Number
  268. --]]
  269. local tmp = Root:Find("DemonGroup/Number").gameObject
  270. if tolua.getpeer(tmp) == nil then
  271. tolua.setpeer(tmp, {})
  272. end
  273. self.number = tmp
  274. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  275. tmp.animator.logWarnings = false
  276. end
  277. ---@private
  278. function UIGuildHuntBattleView:InitGenerate__12(Root, data)
  279. --[[
  280. DemonGroup/Number/Lable1
  281. --]]
  282. local tmp = Root:Find("DemonGroup/Number/Lable1").gameObject
  283. if tolua.getpeer(tmp) == nil then
  284. tolua.setpeer(tmp, {})
  285. end
  286. self.lable1 = tmp
  287. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  288. end
  289. ---@private
  290. function UIGuildHuntBattleView:InitGenerate__13(Root, data)
  291. --[[
  292. DemonGroup/Number/Lable2
  293. --]]
  294. local tmp = Root:Find("DemonGroup/Number/Lable2").gameObject
  295. if tolua.getpeer(tmp) == nil then
  296. tolua.setpeer(tmp, {})
  297. end
  298. self.lable2 = tmp
  299. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  300. end
  301. ---@private
  302. function UIGuildHuntBattleView:InitGenerate__14(Root, data)
  303. --[[
  304. DemonGroup/Number/Lable3
  305. --]]
  306. local tmp = Root:Find("DemonGroup/Number/Lable3").gameObject
  307. if tolua.getpeer(tmp) == nil then
  308. tolua.setpeer(tmp, {})
  309. end
  310. self.lable3 = tmp
  311. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  312. end
  313. ---@private
  314. function UIGuildHuntBattleView:InitGenerate__15(Root, data)
  315. --[[
  316. DemonGroup/Number/Lable4
  317. --]]
  318. local tmp = Root:Find("DemonGroup/Number/Lable4").gameObject
  319. if tolua.getpeer(tmp) == nil then
  320. tolua.setpeer(tmp, {})
  321. end
  322. self.lable4 = tmp
  323. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  324. end
  325. ---@private
  326. function UIGuildHuntBattleView:InitGenerate__16(Root, data)
  327. --[[
  328. DemonGroup/Number/Lable5
  329. --]]
  330. local tmp = Root:Find("DemonGroup/Number/Lable5").gameObject
  331. if tolua.getpeer(tmp) == nil then
  332. tolua.setpeer(tmp, {})
  333. end
  334. self.lable5 = tmp
  335. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  336. end
  337. ---@private
  338. function UIGuildHuntBattleView:InitGenerate__17(Root, data)
  339. --[[
  340. DemonGroup/Number/Lable6
  341. --]]
  342. local tmp = Root:Find("DemonGroup/Number/Lable6").gameObject
  343. if tolua.getpeer(tmp) == nil then
  344. tolua.setpeer(tmp, {})
  345. end
  346. self.lable6 = tmp
  347. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  348. end
  349. ---@private
  350. function UIGuildHuntBattleView:InitGenerate__18(Root, data)
  351. --[[
  352. DemonGroup/Number/Lable7
  353. --]]
  354. local tmp = Root:Find("DemonGroup/Number/Lable7").gameObject
  355. if tolua.getpeer(tmp) == nil then
  356. tolua.setpeer(tmp, {})
  357. end
  358. self.lable7 = tmp
  359. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  360. end
  361. ---@private
  362. function UIGuildHuntBattleView:InitGenerate__19(Root, data)
  363. --[[
  364. DemonGroup/Number/Lable8
  365. --]]
  366. local tmp = Root:Find("DemonGroup/Number/Lable8").gameObject
  367. if tolua.getpeer(tmp) == nil then
  368. tolua.setpeer(tmp, {})
  369. end
  370. self.lable8 = tmp
  371. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  372. end
  373. ---@private
  374. function UIGuildHuntBattleView:InitGenerate__20(Root, data)
  375. --[[
  376. DemonGroup/Number/Lable9
  377. --]]
  378. local tmp = Root:Find("DemonGroup/Number/Lable9").gameObject
  379. if tolua.getpeer(tmp) == nil then
  380. tolua.setpeer(tmp, {})
  381. end
  382. self.lable9 = tmp
  383. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  384. end
  385. ---@private
  386. function UIGuildHuntBattleView:InitGenerate__21(Root, data)
  387. --[[
  388. DemonGroup/Number/Lable10
  389. --]]
  390. local tmp = Root:Find("DemonGroup/Number/Lable10").gameObject
  391. if tolua.getpeer(tmp) == nil then
  392. tolua.setpeer(tmp, {})
  393. end
  394. self.lable10 = tmp
  395. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  396. end
  397. ---@private
  398. function UIGuildHuntBattleView:InitGenerate__22(Root, data)
  399. --[[
  400. BattleTime/LeftBattleTime
  401. --]]
  402. local tmp = Root:Find("BattleTime/LeftBattleTime").gameObject
  403. if tolua.getpeer(tmp) == nil then
  404. tolua.setpeer(tmp, {})
  405. end
  406. self.leftTime = tmp
  407. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  408. end
  409. ---@private
  410. function UIGuildHuntBattleView:InitGenerate__23(Root, data)
  411. --[[
  412. BattleTime/infinite
  413. --]]
  414. local tmp = Root:Find("BattleTime/infinite").gameObject
  415. if tolua.getpeer(tmp) == nil then
  416. tolua.setpeer(tmp, {})
  417. end
  418. self.infinite = tmp
  419. end
  420. ---@private
  421. function UIGuildHuntBattleView:InitGenerate__24(Root, data)
  422. --[[
  423. BossBuff
  424. --]]
  425. local tmp = Root:Find("BossBuff").gameObject
  426. if tolua.getpeer(tmp) == nil then
  427. tolua.setpeer(tmp, {})
  428. end
  429. self.buffBox = tmp
  430. end
  431. ---@private
  432. function UIGuildHuntBattleView:InitGenerate__25(Root, data)
  433. --[[
  434. BossBuff/BuffItem
  435. --]]
  436. local tmp = Root:Find("BossBuff/BuffItem").gameObject
  437. if tolua.getpeer(tmp) == nil then
  438. tolua.setpeer(tmp, {})
  439. end
  440. self.buffTemp = tmp
  441. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  442. end
  443. ---@private
  444. function UIGuildHuntBattleView:InitGenerate__26(Root, data)
  445. --[[
  446. BossBuff/BuffItem/Image
  447. --]]
  448. local tmp = Root:Find("BossBuff/BuffItem/Image").gameObject
  449. if tolua.getpeer(tmp) == nil then
  450. tolua.setpeer(tmp, {})
  451. end
  452. self.buffTemp.image = tmp
  453. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  454. end
  455. ---@private
  456. function UIGuildHuntBattleView:InitGenerate__27(Root, data)
  457. --[[
  458. BossBuff/BuffItem/num
  459. --]]
  460. local tmp = Root:Find("BossBuff/BuffItem/num").gameObject
  461. if tolua.getpeer(tmp) == nil then
  462. tolua.setpeer(tmp, {})
  463. end
  464. self.buffTemp.num = tmp
  465. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  466. end
  467. ---@private
  468. function UIGuildHuntBattleView:GenerateDestroy()
  469. if tolua.getpeer(self.buffTemp.num) ~= nil then
  470. tolua.setpeer(self.buffTemp.num, nil)
  471. end
  472. if tolua.getpeer(self.buffTemp.image) ~= nil then
  473. tolua.setpeer(self.buffTemp.image, nil)
  474. end
  475. if tolua.getpeer(self.huntGroup) ~= nil then
  476. tolua.setpeer(self.huntGroup, nil)
  477. end
  478. self.huntGroup = nil
  479. if tolua.getpeer(self.bossBlood2) ~= nil then
  480. tolua.setpeer(self.bossBlood2, nil)
  481. end
  482. self.bossBlood2 = nil
  483. if tolua.getpeer(self.bossBlood) ~= nil then
  484. tolua.setpeer(self.bossBlood, nil)
  485. end
  486. self.bossBlood = nil
  487. if tolua.getpeer(self.hPNumber) ~= nil then
  488. tolua.setpeer(self.hPNumber, nil)
  489. end
  490. self.hPNumber = nil
  491. if tolua.getpeer(self.lvNumber) ~= nil then
  492. tolua.setpeer(self.lvNumber, nil)
  493. end
  494. self.lvNumber = nil
  495. if tolua.getpeer(self.boxBg) ~= nil then
  496. tolua.setpeer(self.boxBg, nil)
  497. end
  498. self.boxBg = nil
  499. if tolua.getpeer(self.iconBox) ~= nil then
  500. tolua.setpeer(self.iconBox, nil)
  501. end
  502. self.iconBox = nil
  503. if tolua.getpeer(self.demonGroup) ~= nil then
  504. tolua.setpeer(self.demonGroup, nil)
  505. end
  506. self.demonGroup = nil
  507. if tolua.getpeer(self.bossIcon) ~= nil then
  508. tolua.setpeer(self.bossIcon, nil)
  509. end
  510. self.bossIcon = nil
  511. if tolua.getpeer(self.bossNature) ~= nil then
  512. tolua.setpeer(self.bossNature, nil)
  513. end
  514. self.bossNature = nil
  515. if tolua.getpeer(self.number) ~= nil then
  516. tolua.setpeer(self.number, nil)
  517. end
  518. self.number = nil
  519. if tolua.getpeer(self.lable1) ~= nil then
  520. tolua.setpeer(self.lable1, nil)
  521. end
  522. self.lable1 = nil
  523. if tolua.getpeer(self.lable2) ~= nil then
  524. tolua.setpeer(self.lable2, nil)
  525. end
  526. self.lable2 = nil
  527. if tolua.getpeer(self.lable3) ~= nil then
  528. tolua.setpeer(self.lable3, nil)
  529. end
  530. self.lable3 = nil
  531. if tolua.getpeer(self.lable4) ~= nil then
  532. tolua.setpeer(self.lable4, nil)
  533. end
  534. self.lable4 = nil
  535. if tolua.getpeer(self.lable5) ~= nil then
  536. tolua.setpeer(self.lable5, nil)
  537. end
  538. self.lable5 = nil
  539. if tolua.getpeer(self.lable6) ~= nil then
  540. tolua.setpeer(self.lable6, nil)
  541. end
  542. self.lable6 = nil
  543. if tolua.getpeer(self.lable7) ~= nil then
  544. tolua.setpeer(self.lable7, nil)
  545. end
  546. self.lable7 = nil
  547. if tolua.getpeer(self.lable8) ~= nil then
  548. tolua.setpeer(self.lable8, nil)
  549. end
  550. self.lable8 = nil
  551. if tolua.getpeer(self.lable9) ~= nil then
  552. tolua.setpeer(self.lable9, nil)
  553. end
  554. self.lable9 = nil
  555. if tolua.getpeer(self.lable10) ~= nil then
  556. tolua.setpeer(self.lable10, nil)
  557. end
  558. self.lable10 = nil
  559. if tolua.getpeer(self.leftTime) ~= nil then
  560. tolua.setpeer(self.leftTime, nil)
  561. end
  562. self.leftTime = nil
  563. if tolua.getpeer(self.infinite) ~= nil then
  564. tolua.setpeer(self.infinite, nil)
  565. end
  566. self.infinite = nil
  567. if tolua.getpeer(self.buffBox) ~= nil then
  568. tolua.setpeer(self.buffBox, nil)
  569. end
  570. self.buffBox = nil
  571. if tolua.getpeer(self.buffTemp) ~= nil then
  572. tolua.setpeer(self.buffTemp, nil)
  573. end
  574. self.buffTemp = nil
  575. self.transform = nil
  576. self.gameObject = nil
  577. self.inited = false
  578. end
  579. return UIGuildHuntBattleView