UIWorldBossBattleView_Generate.lua 60 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832
  1. ---@class UIWorldBossBattle__Generate_player1_playerName
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIWorldBossBattle__Generate_player1_headBoxItem_sp
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public image UnityEngine.UI.Image
  7. ---@class UIWorldBossBattle__Generate_player1_headBoxItem_hp
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public image UnityEngine.UI.Image
  10. ---@field public switchSprite SwitchSprite
  11. ---@class UIWorldBossBattle__Generate_player1_headBoxItem_headItem
  12. ---@field public gameObject UnityEngine.GameObject
  13. ---@field public layoutElement UnityEngine.UI.LayoutElement
  14. ---@class UIWorldBossBattle__Generate_player1_headBoxItem
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public headItem UIWorldBossBattle__Generate_player1_headBoxItem_headItem
  17. ---@field public hp UIWorldBossBattle__Generate_player1_headBoxItem_hp
  18. ---@field public sp UIWorldBossBattle__Generate_player1_headBoxItem_sp
  19. ---@field public deadNode UnityEngine.GameObject
  20. ---@class UIWorldBossBattle__Generate_player1_position
  21. ---@field public gameObject UnityEngine.GameObject
  22. ---@field public animator UnityEngine.Animator
  23. ---@class UIWorldBossBattle__Generate_player1
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public rectTransform UnityEngine.RectTransform
  26. ---@field public position UIWorldBossBattle__Generate_player1_position
  27. ---@field public headBoxItem UIWorldBossBattle__Generate_player1_headBoxItem
  28. ---@field public playerName UIWorldBossBattle__Generate_player1_playerName
  29. ---@class UIWorldBossBattle__Generate_player2_playerName
  30. ---@field public gameObject UnityEngine.GameObject
  31. ---@field public text UnityEngine.UI.Text
  32. ---@class UIWorldBossBattle__Generate_player2_headBoxItem_sp
  33. ---@field public gameObject UnityEngine.GameObject
  34. ---@field public image UnityEngine.UI.Image
  35. ---@class UIWorldBossBattle__Generate_player2_headBoxItem_hp
  36. ---@field public gameObject UnityEngine.GameObject
  37. ---@field public image UnityEngine.UI.Image
  38. ---@field public switchSprite SwitchSprite
  39. ---@class UIWorldBossBattle__Generate_player2_headBoxItem_headItem
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public layoutElement UnityEngine.UI.LayoutElement
  42. ---@class UIWorldBossBattle__Generate_player2_headBoxItem
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public headItem UIWorldBossBattle__Generate_player2_headBoxItem_headItem
  45. ---@field public hp UIWorldBossBattle__Generate_player2_headBoxItem_hp
  46. ---@field public sp UIWorldBossBattle__Generate_player2_headBoxItem_sp
  47. ---@field public deadNode UnityEngine.GameObject
  48. ---@class UIWorldBossBattle__Generate_player2_position
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public animator UnityEngine.Animator
  51. ---@class UIWorldBossBattle__Generate_player2
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public rectTransform UnityEngine.RectTransform
  54. ---@field public position UIWorldBossBattle__Generate_player2_position
  55. ---@field public headBoxItem UIWorldBossBattle__Generate_player2_headBoxItem
  56. ---@field public playerName UIWorldBossBattle__Generate_player2_playerName
  57. ---@class UIWorldBossBattle__Generate_player3_playerName
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public text UnityEngine.UI.Text
  60. ---@class UIWorldBossBattle__Generate_player3_headBoxItem_sp
  61. ---@field public gameObject UnityEngine.GameObject
  62. ---@field public image UnityEngine.UI.Image
  63. ---@class UIWorldBossBattle__Generate_player3_headBoxItem_hp
  64. ---@field public gameObject UnityEngine.GameObject
  65. ---@field public image UnityEngine.UI.Image
  66. ---@field public switchSprite SwitchSprite
  67. ---@class UIWorldBossBattle__Generate_player3_headBoxItem_headItem
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public layoutElement UnityEngine.UI.LayoutElement
  70. ---@class UIWorldBossBattle__Generate_player3_headBoxItem
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public headItem UIWorldBossBattle__Generate_player3_headBoxItem_headItem
  73. ---@field public hp UIWorldBossBattle__Generate_player3_headBoxItem_hp
  74. ---@field public sp UIWorldBossBattle__Generate_player3_headBoxItem_sp
  75. ---@field public deadNode UnityEngine.GameObject
  76. ---@class UIWorldBossBattle__Generate_player3_position
  77. ---@field public gameObject UnityEngine.GameObject
  78. ---@field public animator UnityEngine.Animator
  79. ---@class UIWorldBossBattle__Generate_player3
  80. ---@field public gameObject UnityEngine.GameObject
  81. ---@field public rectTransform UnityEngine.RectTransform
  82. ---@field public position UIWorldBossBattle__Generate_player3_position
  83. ---@field public headBoxItem UIWorldBossBattle__Generate_player3_headBoxItem
  84. ---@field public playerName UIWorldBossBattle__Generate_player3_playerName
  85. ---@class UIWorldBossBattle__Generate_player4_playerName
  86. ---@field public gameObject UnityEngine.GameObject
  87. ---@field public text UnityEngine.UI.Text
  88. ---@class UIWorldBossBattle__Generate_player4_headBoxItem_sp
  89. ---@field public gameObject UnityEngine.GameObject
  90. ---@field public image UnityEngine.UI.Image
  91. ---@class UIWorldBossBattle__Generate_player4_headBoxItem_hp
  92. ---@field public gameObject UnityEngine.GameObject
  93. ---@field public image UnityEngine.UI.Image
  94. ---@field public switchSprite SwitchSprite
  95. ---@class UIWorldBossBattle__Generate_player4_headBoxItem_headItem
  96. ---@field public gameObject UnityEngine.GameObject
  97. ---@field public layoutElement UnityEngine.UI.LayoutElement
  98. ---@class UIWorldBossBattle__Generate_player4_headBoxItem
  99. ---@field public gameObject UnityEngine.GameObject
  100. ---@field public headItem UIWorldBossBattle__Generate_player4_headBoxItem_headItem
  101. ---@field public hp UIWorldBossBattle__Generate_player4_headBoxItem_hp
  102. ---@field public sp UIWorldBossBattle__Generate_player4_headBoxItem_sp
  103. ---@field public deadNode UnityEngine.GameObject
  104. ---@class UIWorldBossBattle__Generate_player4_position
  105. ---@field public gameObject UnityEngine.GameObject
  106. ---@field public animator UnityEngine.Animator
  107. ---@class UIWorldBossBattle__Generate_player4
  108. ---@field public gameObject UnityEngine.GameObject
  109. ---@field public rectTransform UnityEngine.RectTransform
  110. ---@field public position UIWorldBossBattle__Generate_player4_position
  111. ---@field public headBoxItem UIWorldBossBattle__Generate_player4_headBoxItem
  112. ---@field public playerName UIWorldBossBattle__Generate_player4_playerName
  113. ---@class UIWorldBossBattle__Generate_player5_playerName
  114. ---@field public gameObject UnityEngine.GameObject
  115. ---@field public text UnityEngine.UI.Text
  116. ---@class UIWorldBossBattle__Generate_player5_headBoxItem_sp
  117. ---@field public gameObject UnityEngine.GameObject
  118. ---@field public image UnityEngine.UI.Image
  119. ---@class UIWorldBossBattle__Generate_player5_headBoxItem_hp
  120. ---@field public gameObject UnityEngine.GameObject
  121. ---@field public image UnityEngine.UI.Image
  122. ---@field public switchSprite SwitchSprite
  123. ---@class UIWorldBossBattle__Generate_player5_headBoxItem_headItem
  124. ---@field public gameObject UnityEngine.GameObject
  125. ---@field public layoutElement UnityEngine.UI.LayoutElement
  126. ---@class UIWorldBossBattle__Generate_player5_headBoxItem
  127. ---@field public gameObject UnityEngine.GameObject
  128. ---@field public headItem UIWorldBossBattle__Generate_player5_headBoxItem_headItem
  129. ---@field public hp UIWorldBossBattle__Generate_player5_headBoxItem_hp
  130. ---@field public sp UIWorldBossBattle__Generate_player5_headBoxItem_sp
  131. ---@field public deadNode UnityEngine.GameObject
  132. ---@class UIWorldBossBattle__Generate_player5_position
  133. ---@field public gameObject UnityEngine.GameObject
  134. ---@field public animator UnityEngine.Animator
  135. ---@class UIWorldBossBattle__Generate_player5
  136. ---@field public gameObject UnityEngine.GameObject
  137. ---@field public rectTransform UnityEngine.RectTransform
  138. ---@field public position UIWorldBossBattle__Generate_player5_position
  139. ---@field public headBoxItem UIWorldBossBattle__Generate_player5_headBoxItem
  140. ---@field public playerName UIWorldBossBattle__Generate_player5_playerName
  141. ---@class UIWorldBossBattle__Generate_player6_playerName
  142. ---@field public gameObject UnityEngine.GameObject
  143. ---@field public text UnityEngine.UI.Text
  144. ---@class UIWorldBossBattle__Generate_player6_headBoxItem_sp
  145. ---@field public gameObject UnityEngine.GameObject
  146. ---@field public image UnityEngine.UI.Image
  147. ---@class UIWorldBossBattle__Generate_player6_headBoxItem_hp
  148. ---@field public gameObject UnityEngine.GameObject
  149. ---@field public image UnityEngine.UI.Image
  150. ---@field public switchSprite SwitchSprite
  151. ---@class UIWorldBossBattle__Generate_player6_headBoxItem_headItem
  152. ---@field public gameObject UnityEngine.GameObject
  153. ---@field public layoutElement UnityEngine.UI.LayoutElement
  154. ---@class UIWorldBossBattle__Generate_player6_headBoxItem
  155. ---@field public gameObject UnityEngine.GameObject
  156. ---@field public headItem UIWorldBossBattle__Generate_player6_headBoxItem_headItem
  157. ---@field public hp UIWorldBossBattle__Generate_player6_headBoxItem_hp
  158. ---@field public sp UIWorldBossBattle__Generate_player6_headBoxItem_sp
  159. ---@field public deadNode UnityEngine.GameObject
  160. ---@class UIWorldBossBattle__Generate_player6_position
  161. ---@field public gameObject UnityEngine.GameObject
  162. ---@field public animator UnityEngine.Animator
  163. ---@class UIWorldBossBattle__Generate_player6
  164. ---@field public gameObject UnityEngine.GameObject
  165. ---@field public rectTransform UnityEngine.RectTransform
  166. ---@field public position UIWorldBossBattle__Generate_player6_position
  167. ---@field public headBoxItem UIWorldBossBattle__Generate_player6_headBoxItem
  168. ---@field public playerName UIWorldBossBattle__Generate_player6_playerName
  169. ---@class UIWorldBossBattle__Generate_player7_playerName
  170. ---@field public gameObject UnityEngine.GameObject
  171. ---@field public text UnityEngine.UI.Text
  172. ---@class UIWorldBossBattle__Generate_player7_headBoxItem_sp
  173. ---@field public gameObject UnityEngine.GameObject
  174. ---@field public image UnityEngine.UI.Image
  175. ---@class UIWorldBossBattle__Generate_player7_headBoxItem_hp
  176. ---@field public gameObject UnityEngine.GameObject
  177. ---@field public image UnityEngine.UI.Image
  178. ---@field public switchSprite SwitchSprite
  179. ---@class UIWorldBossBattle__Generate_player7_headBoxItem_headItem
  180. ---@field public gameObject UnityEngine.GameObject
  181. ---@field public layoutElement UnityEngine.UI.LayoutElement
  182. ---@class UIWorldBossBattle__Generate_player7_headBoxItem
  183. ---@field public gameObject UnityEngine.GameObject
  184. ---@field public headItem UIWorldBossBattle__Generate_player7_headBoxItem_headItem
  185. ---@field public hp UIWorldBossBattle__Generate_player7_headBoxItem_hp
  186. ---@field public sp UIWorldBossBattle__Generate_player7_headBoxItem_sp
  187. ---@field public deadNode UnityEngine.GameObject
  188. ---@class UIWorldBossBattle__Generate_player7_position
  189. ---@field public gameObject UnityEngine.GameObject
  190. ---@field public animator UnityEngine.Animator
  191. ---@class UIWorldBossBattle__Generate_player7
  192. ---@field public gameObject UnityEngine.GameObject
  193. ---@field public rectTransform UnityEngine.RectTransform
  194. ---@field public position UIWorldBossBattle__Generate_player7_position
  195. ---@field public headBoxItem UIWorldBossBattle__Generate_player7_headBoxItem
  196. ---@field public playerName UIWorldBossBattle__Generate_player7_playerName
  197. ---@class UIWorldBossBattle__Generate_player8_playerName
  198. ---@field public gameObject UnityEngine.GameObject
  199. ---@field public text UnityEngine.UI.Text
  200. ---@class UIWorldBossBattle__Generate_player8_headBoxItem_sp
  201. ---@field public gameObject UnityEngine.GameObject
  202. ---@field public image UnityEngine.UI.Image
  203. ---@class UIWorldBossBattle__Generate_player8_headBoxItem_hp
  204. ---@field public gameObject UnityEngine.GameObject
  205. ---@field public image UnityEngine.UI.Image
  206. ---@field public switchSprite SwitchSprite
  207. ---@class UIWorldBossBattle__Generate_player8_headBoxItem_headItem
  208. ---@field public gameObject UnityEngine.GameObject
  209. ---@field public layoutElement UnityEngine.UI.LayoutElement
  210. ---@class UIWorldBossBattle__Generate_player8_headBoxItem
  211. ---@field public gameObject UnityEngine.GameObject
  212. ---@field public headItem UIWorldBossBattle__Generate_player8_headBoxItem_headItem
  213. ---@field public hp UIWorldBossBattle__Generate_player8_headBoxItem_hp
  214. ---@field public sp UIWorldBossBattle__Generate_player8_headBoxItem_sp
  215. ---@field public deadNode UnityEngine.GameObject
  216. ---@class UIWorldBossBattle__Generate_player8_position
  217. ---@field public gameObject UnityEngine.GameObject
  218. ---@field public animator UnityEngine.Animator
  219. ---@class UIWorldBossBattle__Generate_player8
  220. ---@field public gameObject UnityEngine.GameObject
  221. ---@field public rectTransform UnityEngine.RectTransform
  222. ---@field public position UIWorldBossBattle__Generate_player8_position
  223. ---@field public headBoxItem UIWorldBossBattle__Generate_player8_headBoxItem
  224. ---@field public playerName UIWorldBossBattle__Generate_player8_playerName
  225. ---@class UIWorldBossBattle__Generate_headsBox
  226. ---@field public gameObject UnityEngine.GameObject
  227. ---@field public slideHorizontalLayoutGroup SlideHorizontalLayoutGroup
  228. ---@class UIWorldBossBattle__Generate_headsBoxAnim
  229. ---@field public gameObject UnityEngine.GameObject
  230. ---@field public animator UnityEngine.Animator
  231. ---@class UIWorldBossBattle__Generate_btnQuit
  232. ---@field public gameObject UnityEngine.GameObject
  233. ---@field public button UnityEngine.UI.Button
  234. ---@class UIWorldBossBattle__Generate_leftTime
  235. ---@field public gameObject UnityEngine.GameObject
  236. ---@field public text UnityEngine.UI.Text
  237. ---@class UIWorldBossBattle__Generate_buffTemp
  238. ---@field public gameObject UnityEngine.GameObject
  239. ---@field public button UnityEngine.UI.Button
  240. ---@class UIWorldBossBattle__Generate_bossIcon
  241. ---@field public gameObject UnityEngine.GameObject
  242. ---@field public image UnityEngine.UI.Image
  243. ---@class UIWorldBossBattle__Generate_bossName
  244. ---@field public gameObject UnityEngine.GameObject
  245. ---@field public text UnityEngine.UI.Text
  246. ---@class UIWorldBossBattle__Generate_bossLifeBarNum
  247. ---@field public gameObject UnityEngine.GameObject
  248. ---@field public text TMPro.TextMeshProUGUI
  249. ---@class UIWorldBossBattle__Generate_bossBlood
  250. ---@field public gameObject UnityEngine.GameObject
  251. ---@field public image UnityEngine.UI.Image
  252. ---@class UIWorldBossBattle__Generate_bossBlood2
  253. ---@field public gameObject UnityEngine.GameObject
  254. ---@field public image UnityEngine.UI.Image
  255. ---@class UIWorldBossBattle__Generate_bossBloodBack
  256. ---@field public gameObject UnityEngine.GameObject
  257. ---@field public image UnityEngine.UI.Image
  258. ---@class UIWorldBossBattle__Generate_bossBloodNode
  259. ---@field public gameObject UnityEngine.GameObject
  260. ---@field public animator UnityEngine.Animator
  261. ---@class UIWorldBossBattle__Generate
  262. ---@field private gameObject UnityEngine.GameObject
  263. ---@field private transform UnityEngine.Transform
  264. ---@field private bossBloodNode UIWorldBossBattle__Generate_bossBloodNode
  265. ---@field private bossBloodBack UIWorldBossBattle__Generate_bossBloodBack
  266. ---@field private bossBlood2 UIWorldBossBattle__Generate_bossBlood2
  267. ---@field private bossBlood UIWorldBossBattle__Generate_bossBlood
  268. ---@field private bossLifeBarNum UIWorldBossBattle__Generate_bossLifeBarNum
  269. ---@field private bossName UIWorldBossBattle__Generate_bossName
  270. ---@field private bossIcon UIWorldBossBattle__Generate_bossIcon
  271. ---@field private nature UnityEngine.GameObject
  272. ---@field private buffTemp UIWorldBossBattle__Generate_buffTemp
  273. ---@field private leftTime UIWorldBossBattle__Generate_leftTime
  274. ---@field private infinite UnityEngine.GameObject
  275. ---@field private btnQuit UIWorldBossBattle__Generate_btnQuit
  276. ---@field private headsBoxAnim UIWorldBossBattle__Generate_headsBoxAnim
  277. ---@field private headsBox UIWorldBossBattle__Generate_headsBox
  278. ---@field private player8 UIWorldBossBattle__Generate_player8
  279. ---@field private player7 UIWorldBossBattle__Generate_player7
  280. ---@field private player6 UIWorldBossBattle__Generate_player6
  281. ---@field private player5 UIWorldBossBattle__Generate_player5
  282. ---@field private player4 UIWorldBossBattle__Generate_player4
  283. ---@field private player3 UIWorldBossBattle__Generate_player3
  284. ---@field private player2 UIWorldBossBattle__Generate_player2
  285. ---@field private player1 UIWorldBossBattle__Generate_player1
  286. local UIWorldBossBattleView = class("UIWorldBossBattleView", require("UIViewBase"))
  287. function UIWorldBossBattleView:ctor()
  288. end
  289. ---@private
  290. function UIWorldBossBattleView:SetActive(result)
  291. self.gameObject:SetActive(result)
  292. end
  293. ---@private
  294. function UIWorldBossBattleView:InitGenerate(Root, data)
  295. self.transform = Root
  296. self.inited = true
  297. if self.super.Init then
  298. self.super.Init(self)
  299. end
  300. local tmp
  301. self:InitGenerate__1(Root,data)
  302. self:InitGenerate__2(Root,data)
  303. self:InitGenerate__3(Root,data)
  304. self:InitGenerate__4(Root,data)
  305. self:InitGenerate__5(Root,data)
  306. self:InitGenerate__6(Root,data)
  307. self:InitGenerate__7(Root,data)
  308. self:InitGenerate__8(Root,data)
  309. self:InitGenerate__9(Root,data)
  310. self:InitGenerate__10(Root,data)
  311. self:InitGenerate__11(Root,data)
  312. self:InitGenerate__12(Root,data)
  313. self:InitGenerate__13(Root,data)
  314. self:InitGenerate__14(Root,data)
  315. self:InitGenerate__15(Root,data)
  316. self:InitGenerate__16(Root,data)
  317. self:InitGenerate__17(Root,data)
  318. self:InitGenerate__18(Root,data)
  319. self:InitGenerate__19(Root,data)
  320. self:InitGenerate__20(Root,data)
  321. self:InitGenerate__21(Root,data)
  322. self:InitGenerate__22(Root,data)
  323. self:InitGenerate__23(Root,data)
  324. self:InitGenerate__24(Root,data)
  325. self:InitGenerate__25(Root,data)
  326. self:InitGenerate__26(Root,data)
  327. self:InitGenerate__27(Root,data)
  328. self:InitGenerate__28(Root,data)
  329. self:InitGenerate__29(Root,data)
  330. self:InitGenerate__30(Root,data)
  331. self:InitGenerate__31(Root,data)
  332. self:InitGenerate__32(Root,data)
  333. self:InitGenerate__33(Root,data)
  334. self:InitGenerate__34(Root,data)
  335. self:InitGenerate__35(Root,data)
  336. self:InitGenerate__36(Root,data)
  337. self:InitGenerate__37(Root,data)
  338. self:InitGenerate__38(Root,data)
  339. self:InitGenerate__39(Root,data)
  340. self:InitGenerate__40(Root,data)
  341. self:InitGenerate__41(Root,data)
  342. self:InitGenerate__42(Root,data)
  343. self:InitGenerate__43(Root,data)
  344. self:InitGenerate__44(Root,data)
  345. self:InitGenerate__45(Root,data)
  346. self:InitGenerate__46(Root,data)
  347. self:InitGenerate__47(Root,data)
  348. self:InitGenerate__48(Root,data)
  349. self:InitGenerate__49(Root,data)
  350. self:InitGenerate__50(Root,data)
  351. self:InitGenerate__51(Root,data)
  352. self:InitGenerate__52(Root,data)
  353. self:InitGenerate__53(Root,data)
  354. self:InitGenerate__54(Root,data)
  355. self:InitGenerate__55(Root,data)
  356. self:InitGenerate__56(Root,data)
  357. self:InitGenerate__57(Root,data)
  358. self:InitGenerate__58(Root,data)
  359. self:InitGenerate__59(Root,data)
  360. self:InitGenerate__60(Root,data)
  361. self:InitGenerate__61(Root,data)
  362. self:InitGenerate__62(Root,data)
  363. self:InitGenerate__63(Root,data)
  364. self:InitGenerate__64(Root,data)
  365. self:InitGenerate__65(Root,data)
  366. self:InitGenerate__66(Root,data)
  367. self:InitGenerate__67(Root,data)
  368. self:InitGenerate__68(Root,data)
  369. self:InitGenerate__69(Root,data)
  370. self:InitGenerate__70(Root,data)
  371. self:InitGenerate__71(Root,data)
  372. self:InitGenerate__72(Root,data)
  373. self:InitGenerate__73(Root,data)
  374. self:InitGenerate__74(Root,data)
  375. self:InitGenerate__75(Root,data)
  376. self:InitGenerate__76(Root,data)
  377. self:InitGenerate__77(Root,data)
  378. self:InitGenerate__78(Root,data)
  379. end
  380. ---@private
  381. function UIWorldBossBattleView:InitGenerate__1(Root, data)
  382. --[[
  383. TopView/BossBloodAnim
  384. --]]
  385. local tmp = Root:Find("TopView/BossBloodAnim").gameObject
  386. if tolua.getpeer(tmp) == nil then
  387. tolua.setpeer(tmp, {})
  388. end
  389. self.bossBloodNode = tmp
  390. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  391. tmp.animator.logWarnings = false
  392. end
  393. ---@private
  394. function UIWorldBossBattleView:InitGenerate__2(Root, data)
  395. --[[
  396. TopView/BossBloodAnim/BossBlood/BloodBarBack
  397. --]]
  398. local tmp = Root:Find("TopView/BossBloodAnim/BossBlood/BloodBarBack").gameObject
  399. if tolua.getpeer(tmp) == nil then
  400. tolua.setpeer(tmp, {})
  401. end
  402. self.bossBloodBack = tmp
  403. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  404. end
  405. ---@private
  406. function UIWorldBossBattleView:InitGenerate__3(Root, data)
  407. --[[
  408. TopView/BossBloodAnim/BossBlood/BloodBar2
  409. --]]
  410. local tmp = Root:Find("TopView/BossBloodAnim/BossBlood/BloodBar2").gameObject
  411. if tolua.getpeer(tmp) == nil then
  412. tolua.setpeer(tmp, {})
  413. end
  414. self.bossBlood2 = tmp
  415. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  416. end
  417. ---@private
  418. function UIWorldBossBattleView:InitGenerate__4(Root, data)
  419. --[[
  420. TopView/BossBloodAnim/BossBlood/BloodBar
  421. --]]
  422. local tmp = Root:Find("TopView/BossBloodAnim/BossBlood/BloodBar").gameObject
  423. if tolua.getpeer(tmp) == nil then
  424. tolua.setpeer(tmp, {})
  425. end
  426. self.bossBlood = tmp
  427. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  428. end
  429. ---@private
  430. function UIWorldBossBattleView:InitGenerate__5(Root, data)
  431. --[[
  432. TopView/BossBloodAnim/BossBlood/num
  433. --]]
  434. local tmp = Root:Find("TopView/BossBloodAnim/BossBlood/num").gameObject
  435. if tolua.getpeer(tmp) == nil then
  436. tolua.setpeer(tmp, {})
  437. end
  438. self.bossLifeBarNum = tmp
  439. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  440. end
  441. ---@private
  442. function UIWorldBossBattleView:InitGenerate__6(Root, data)
  443. --[[
  444. TopView/BossBloodAnim/BossBlood/BossName/TextName
  445. --]]
  446. local tmp = Root:Find("TopView/BossBloodAnim/BossBlood/BossName/TextName").gameObject
  447. if tolua.getpeer(tmp) == nil then
  448. tolua.setpeer(tmp, {})
  449. end
  450. self.bossName = tmp
  451. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  452. end
  453. ---@private
  454. function UIWorldBossBattleView:InitGenerate__7(Root, data)
  455. --[[
  456. TopView/BossBloodAnim/BossHead/headboss
  457. --]]
  458. local tmp = Root:Find("TopView/BossBloodAnim/BossHead/headboss").gameObject
  459. if tolua.getpeer(tmp) == nil then
  460. tolua.setpeer(tmp, {})
  461. end
  462. self.bossIcon = tmp
  463. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  464. end
  465. ---@private
  466. function UIWorldBossBattleView:InitGenerate__8(Root, data)
  467. --[[
  468. TopView/BossBloodAnim/BossHead/nature
  469. --]]
  470. local tmp = Root:Find("TopView/BossBloodAnim/BossHead/nature").gameObject
  471. if tolua.getpeer(tmp) == nil then
  472. tolua.setpeer(tmp, {})
  473. end
  474. self.nature = tmp
  475. self.nature:SetActive(false)
  476. end
  477. ---@private
  478. function UIWorldBossBattleView:InitGenerate__9(Root, data)
  479. --[[
  480. TopView/BossBloodAnim/BossBuff/BuffItem
  481. --]]
  482. local tmp = Root:Find("TopView/BossBloodAnim/BossBuff/BuffItem").gameObject
  483. if tolua.getpeer(tmp) == nil then
  484. tolua.setpeer(tmp, {})
  485. end
  486. self.buffTemp = tmp
  487. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  488. end
  489. ---@private
  490. function UIWorldBossBattleView:InitGenerate__10(Root, data)
  491. --[[
  492. TopView/BossBloodAnim/BattleTime/LeftBattleTime
  493. --]]
  494. local tmp = Root:Find("TopView/BossBloodAnim/BattleTime/LeftBattleTime").gameObject
  495. if tolua.getpeer(tmp) == nil then
  496. tolua.setpeer(tmp, {})
  497. end
  498. self.leftTime = tmp
  499. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  500. end
  501. ---@private
  502. function UIWorldBossBattleView:InitGenerate__11(Root, data)
  503. --[[
  504. TopView/BossBloodAnim/BattleTime/infinite
  505. --]]
  506. local tmp = Root:Find("TopView/BossBloodAnim/BattleTime/infinite").gameObject
  507. if tolua.getpeer(tmp) == nil then
  508. tolua.setpeer(tmp, {})
  509. end
  510. self.infinite = tmp
  511. end
  512. ---@private
  513. function UIWorldBossBattleView:InitGenerate__12(Root, data)
  514. --[[
  515. TopView/BossBloodAnim/BtnQuit
  516. --]]
  517. local tmp = Root:Find("TopView/BossBloodAnim/BtnQuit").gameObject
  518. if tolua.getpeer(tmp) == nil then
  519. tolua.setpeer(tmp, {})
  520. end
  521. self.btnQuit = tmp
  522. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  523. end
  524. ---@private
  525. function UIWorldBossBattleView:InitGenerate__13(Root, data)
  526. --[[
  527. BottomView/HeadsBoxAnim
  528. --]]
  529. local tmp = Root:Find("BottomView/HeadsBoxAnim").gameObject
  530. if tolua.getpeer(tmp) == nil then
  531. tolua.setpeer(tmp, {})
  532. end
  533. self.headsBoxAnim = tmp
  534. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  535. tmp.animator.logWarnings = false
  536. end
  537. ---@private
  538. function UIWorldBossBattleView:InitGenerate__14(Root, data)
  539. --[[
  540. BottomView/HeadsBoxAnim/HeadsBox
  541. --]]
  542. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox").gameObject
  543. if tolua.getpeer(tmp) == nil then
  544. tolua.setpeer(tmp, {})
  545. end
  546. self.headsBox = tmp
  547. tmp.slideHorizontalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.SlideHorizontalLayoutGroup)
  548. end
  549. ---@private
  550. function UIWorldBossBattleView:InitGenerate__15(Root, data)
  551. --[[
  552. BottomView/HeadsBoxAnim/HeadsBox/Player8
  553. --]]
  554. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player8").gameObject
  555. if tolua.getpeer(tmp) == nil then
  556. tolua.setpeer(tmp, {})
  557. end
  558. self.player8 = tmp
  559. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  560. end
  561. ---@private
  562. function UIWorldBossBattleView:InitGenerate__16(Root, data)
  563. --[[
  564. BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position
  565. --]]
  566. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position").gameObject
  567. if tolua.getpeer(tmp) == nil then
  568. tolua.setpeer(tmp, {})
  569. end
  570. self.player8.position = tmp
  571. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  572. tmp.animator.logWarnings = false
  573. end
  574. ---@private
  575. function UIWorldBossBattleView:InitGenerate__17(Root, data)
  576. --[[
  577. BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem
  578. --]]
  579. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem").gameObject
  580. if tolua.getpeer(tmp) == nil then
  581. tolua.setpeer(tmp, {})
  582. end
  583. self.player8.headBoxItem = tmp
  584. end
  585. ---@private
  586. function UIWorldBossBattleView:InitGenerate__18(Root, data)
  587. --[[
  588. BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem/HeadItem
  589. --]]
  590. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem/HeadItem").gameObject
  591. if tolua.getpeer(tmp) == nil then
  592. tolua.setpeer(tmp, {})
  593. end
  594. self.player8.headBoxItem.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  595. self.player8.headBoxItem.headItem.prefabName = "HeadItem"
  596. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  597. end
  598. ---@private
  599. function UIWorldBossBattleView:InitGenerate__19(Root, data)
  600. --[[
  601. BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem/Bar/HP/bloodImg
  602. --]]
  603. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem/Bar/HP/bloodImg").gameObject
  604. if tolua.getpeer(tmp) == nil then
  605. tolua.setpeer(tmp, {})
  606. end
  607. self.player8.headBoxItem.hp = tmp
  608. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  609. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  610. end
  611. ---@private
  612. function UIWorldBossBattleView:InitGenerate__20(Root, data)
  613. --[[
  614. BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem/Bar/Sp/spImg
  615. --]]
  616. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem/Bar/Sp/spImg").gameObject
  617. if tolua.getpeer(tmp) == nil then
  618. tolua.setpeer(tmp, {})
  619. end
  620. self.player8.headBoxItem.sp = tmp
  621. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  622. end
  623. ---@private
  624. function UIWorldBossBattleView:InitGenerate__21(Root, data)
  625. --[[
  626. BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem/Dead
  627. --]]
  628. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/HeadBoxItem/Dead").gameObject
  629. if tolua.getpeer(tmp) == nil then
  630. tolua.setpeer(tmp, {})
  631. end
  632. self.player8.headBoxItem.deadNode = tmp
  633. end
  634. ---@private
  635. function UIWorldBossBattleView:InitGenerate__22(Root, data)
  636. --[[
  637. BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/PlayerName
  638. --]]
  639. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player8/Scale/Position/PlayerName").gameObject
  640. if tolua.getpeer(tmp) == nil then
  641. tolua.setpeer(tmp, {})
  642. end
  643. self.player8.playerName = tmp
  644. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  645. end
  646. ---@private
  647. function UIWorldBossBattleView:InitGenerate__23(Root, data)
  648. --[[
  649. BottomView/HeadsBoxAnim/HeadsBox/Player7
  650. --]]
  651. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player7").gameObject
  652. if tolua.getpeer(tmp) == nil then
  653. tolua.setpeer(tmp, {})
  654. end
  655. self.player7 = tmp
  656. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  657. end
  658. ---@private
  659. function UIWorldBossBattleView:InitGenerate__24(Root, data)
  660. --[[
  661. BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position
  662. --]]
  663. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position").gameObject
  664. if tolua.getpeer(tmp) == nil then
  665. tolua.setpeer(tmp, {})
  666. end
  667. self.player7.position = tmp
  668. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  669. tmp.animator.logWarnings = false
  670. end
  671. ---@private
  672. function UIWorldBossBattleView:InitGenerate__25(Root, data)
  673. --[[
  674. BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem
  675. --]]
  676. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem").gameObject
  677. if tolua.getpeer(tmp) == nil then
  678. tolua.setpeer(tmp, {})
  679. end
  680. self.player7.headBoxItem = tmp
  681. end
  682. ---@private
  683. function UIWorldBossBattleView:InitGenerate__26(Root, data)
  684. --[[
  685. BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem/HeadItem
  686. --]]
  687. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem/HeadItem").gameObject
  688. if tolua.getpeer(tmp) == nil then
  689. tolua.setpeer(tmp, {})
  690. end
  691. self.player7.headBoxItem.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  692. self.player7.headBoxItem.headItem.prefabName = "HeadItem"
  693. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  694. end
  695. ---@private
  696. function UIWorldBossBattleView:InitGenerate__27(Root, data)
  697. --[[
  698. BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem/Bar/HP/bloodImg
  699. --]]
  700. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem/Bar/HP/bloodImg").gameObject
  701. if tolua.getpeer(tmp) == nil then
  702. tolua.setpeer(tmp, {})
  703. end
  704. self.player7.headBoxItem.hp = tmp
  705. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  706. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  707. end
  708. ---@private
  709. function UIWorldBossBattleView:InitGenerate__28(Root, data)
  710. --[[
  711. BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem/Bar/Sp/spImg
  712. --]]
  713. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem/Bar/Sp/spImg").gameObject
  714. if tolua.getpeer(tmp) == nil then
  715. tolua.setpeer(tmp, {})
  716. end
  717. self.player7.headBoxItem.sp = tmp
  718. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  719. end
  720. ---@private
  721. function UIWorldBossBattleView:InitGenerate__29(Root, data)
  722. --[[
  723. BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem/Dead
  724. --]]
  725. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/HeadBoxItem/Dead").gameObject
  726. if tolua.getpeer(tmp) == nil then
  727. tolua.setpeer(tmp, {})
  728. end
  729. self.player7.headBoxItem.deadNode = tmp
  730. end
  731. ---@private
  732. function UIWorldBossBattleView:InitGenerate__30(Root, data)
  733. --[[
  734. BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/PlayerName
  735. --]]
  736. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player7/Scale/Position/PlayerName").gameObject
  737. if tolua.getpeer(tmp) == nil then
  738. tolua.setpeer(tmp, {})
  739. end
  740. self.player7.playerName = tmp
  741. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  742. end
  743. ---@private
  744. function UIWorldBossBattleView:InitGenerate__31(Root, data)
  745. --[[
  746. BottomView/HeadsBoxAnim/HeadsBox/Player6
  747. --]]
  748. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player6").gameObject
  749. if tolua.getpeer(tmp) == nil then
  750. tolua.setpeer(tmp, {})
  751. end
  752. self.player6 = tmp
  753. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  754. end
  755. ---@private
  756. function UIWorldBossBattleView:InitGenerate__32(Root, data)
  757. --[[
  758. BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position
  759. --]]
  760. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position").gameObject
  761. if tolua.getpeer(tmp) == nil then
  762. tolua.setpeer(tmp, {})
  763. end
  764. self.player6.position = tmp
  765. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  766. tmp.animator.logWarnings = false
  767. end
  768. ---@private
  769. function UIWorldBossBattleView:InitGenerate__33(Root, data)
  770. --[[
  771. BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem
  772. --]]
  773. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem").gameObject
  774. if tolua.getpeer(tmp) == nil then
  775. tolua.setpeer(tmp, {})
  776. end
  777. self.player6.headBoxItem = tmp
  778. end
  779. ---@private
  780. function UIWorldBossBattleView:InitGenerate__34(Root, data)
  781. --[[
  782. BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem/HeadItem
  783. --]]
  784. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem/HeadItem").gameObject
  785. if tolua.getpeer(tmp) == nil then
  786. tolua.setpeer(tmp, {})
  787. end
  788. self.player6.headBoxItem.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  789. self.player6.headBoxItem.headItem.prefabName = "HeadItem"
  790. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  791. end
  792. ---@private
  793. function UIWorldBossBattleView:InitGenerate__35(Root, data)
  794. --[[
  795. BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem/Bar/HP/bloodImg
  796. --]]
  797. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem/Bar/HP/bloodImg").gameObject
  798. if tolua.getpeer(tmp) == nil then
  799. tolua.setpeer(tmp, {})
  800. end
  801. self.player6.headBoxItem.hp = tmp
  802. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  803. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  804. end
  805. ---@private
  806. function UIWorldBossBattleView:InitGenerate__36(Root, data)
  807. --[[
  808. BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem/Bar/Sp/spImg
  809. --]]
  810. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem/Bar/Sp/spImg").gameObject
  811. if tolua.getpeer(tmp) == nil then
  812. tolua.setpeer(tmp, {})
  813. end
  814. self.player6.headBoxItem.sp = tmp
  815. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  816. end
  817. ---@private
  818. function UIWorldBossBattleView:InitGenerate__37(Root, data)
  819. --[[
  820. BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem/Dead
  821. --]]
  822. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/HeadBoxItem/Dead").gameObject
  823. if tolua.getpeer(tmp) == nil then
  824. tolua.setpeer(tmp, {})
  825. end
  826. self.player6.headBoxItem.deadNode = tmp
  827. end
  828. ---@private
  829. function UIWorldBossBattleView:InitGenerate__38(Root, data)
  830. --[[
  831. BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/PlayerName
  832. --]]
  833. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player6/Scale/Position/PlayerName").gameObject
  834. if tolua.getpeer(tmp) == nil then
  835. tolua.setpeer(tmp, {})
  836. end
  837. self.player6.playerName = tmp
  838. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  839. end
  840. ---@private
  841. function UIWorldBossBattleView:InitGenerate__39(Root, data)
  842. --[[
  843. BottomView/HeadsBoxAnim/HeadsBox/Player5
  844. --]]
  845. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player5").gameObject
  846. if tolua.getpeer(tmp) == nil then
  847. tolua.setpeer(tmp, {})
  848. end
  849. self.player5 = tmp
  850. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  851. end
  852. ---@private
  853. function UIWorldBossBattleView:InitGenerate__40(Root, data)
  854. --[[
  855. BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position
  856. --]]
  857. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position").gameObject
  858. if tolua.getpeer(tmp) == nil then
  859. tolua.setpeer(tmp, {})
  860. end
  861. self.player5.position = tmp
  862. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  863. tmp.animator.logWarnings = false
  864. end
  865. ---@private
  866. function UIWorldBossBattleView:InitGenerate__41(Root, data)
  867. --[[
  868. BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem
  869. --]]
  870. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem").gameObject
  871. if tolua.getpeer(tmp) == nil then
  872. tolua.setpeer(tmp, {})
  873. end
  874. self.player5.headBoxItem = tmp
  875. end
  876. ---@private
  877. function UIWorldBossBattleView:InitGenerate__42(Root, data)
  878. --[[
  879. BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem/HeadItem
  880. --]]
  881. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem/HeadItem").gameObject
  882. if tolua.getpeer(tmp) == nil then
  883. tolua.setpeer(tmp, {})
  884. end
  885. self.player5.headBoxItem.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  886. self.player5.headBoxItem.headItem.prefabName = "HeadItem"
  887. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  888. end
  889. ---@private
  890. function UIWorldBossBattleView:InitGenerate__43(Root, data)
  891. --[[
  892. BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem/Bar/HP/bloodImg
  893. --]]
  894. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem/Bar/HP/bloodImg").gameObject
  895. if tolua.getpeer(tmp) == nil then
  896. tolua.setpeer(tmp, {})
  897. end
  898. self.player5.headBoxItem.hp = tmp
  899. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  900. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  901. end
  902. ---@private
  903. function UIWorldBossBattleView:InitGenerate__44(Root, data)
  904. --[[
  905. BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem/Bar/Sp/spImg
  906. --]]
  907. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem/Bar/Sp/spImg").gameObject
  908. if tolua.getpeer(tmp) == nil then
  909. tolua.setpeer(tmp, {})
  910. end
  911. self.player5.headBoxItem.sp = tmp
  912. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  913. end
  914. ---@private
  915. function UIWorldBossBattleView:InitGenerate__45(Root, data)
  916. --[[
  917. BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem/Dead
  918. --]]
  919. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/HeadBoxItem/Dead").gameObject
  920. if tolua.getpeer(tmp) == nil then
  921. tolua.setpeer(tmp, {})
  922. end
  923. self.player5.headBoxItem.deadNode = tmp
  924. end
  925. ---@private
  926. function UIWorldBossBattleView:InitGenerate__46(Root, data)
  927. --[[
  928. BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/PlayerName
  929. --]]
  930. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player5/Scale/Position/PlayerName").gameObject
  931. if tolua.getpeer(tmp) == nil then
  932. tolua.setpeer(tmp, {})
  933. end
  934. self.player5.playerName = tmp
  935. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  936. end
  937. ---@private
  938. function UIWorldBossBattleView:InitGenerate__47(Root, data)
  939. --[[
  940. BottomView/HeadsBoxAnim/HeadsBox/Player4
  941. --]]
  942. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player4").gameObject
  943. if tolua.getpeer(tmp) == nil then
  944. tolua.setpeer(tmp, {})
  945. end
  946. self.player4 = tmp
  947. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  948. end
  949. ---@private
  950. function UIWorldBossBattleView:InitGenerate__48(Root, data)
  951. --[[
  952. BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position
  953. --]]
  954. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position").gameObject
  955. if tolua.getpeer(tmp) == nil then
  956. tolua.setpeer(tmp, {})
  957. end
  958. self.player4.position = tmp
  959. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  960. tmp.animator.logWarnings = false
  961. end
  962. ---@private
  963. function UIWorldBossBattleView:InitGenerate__49(Root, data)
  964. --[[
  965. BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem
  966. --]]
  967. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem").gameObject
  968. if tolua.getpeer(tmp) == nil then
  969. tolua.setpeer(tmp, {})
  970. end
  971. self.player4.headBoxItem = tmp
  972. end
  973. ---@private
  974. function UIWorldBossBattleView:InitGenerate__50(Root, data)
  975. --[[
  976. BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem/HeadItem
  977. --]]
  978. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem/HeadItem").gameObject
  979. if tolua.getpeer(tmp) == nil then
  980. tolua.setpeer(tmp, {})
  981. end
  982. self.player4.headBoxItem.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  983. self.player4.headBoxItem.headItem.prefabName = "HeadItem"
  984. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  985. end
  986. ---@private
  987. function UIWorldBossBattleView:InitGenerate__51(Root, data)
  988. --[[
  989. BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem/Bar/HP/bloodImg
  990. --]]
  991. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem/Bar/HP/bloodImg").gameObject
  992. if tolua.getpeer(tmp) == nil then
  993. tolua.setpeer(tmp, {})
  994. end
  995. self.player4.headBoxItem.hp = tmp
  996. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  997. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  998. end
  999. ---@private
  1000. function UIWorldBossBattleView:InitGenerate__52(Root, data)
  1001. --[[
  1002. BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem/Bar/Sp/spImg
  1003. --]]
  1004. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem/Bar/Sp/spImg").gameObject
  1005. if tolua.getpeer(tmp) == nil then
  1006. tolua.setpeer(tmp, {})
  1007. end
  1008. self.player4.headBoxItem.sp = tmp
  1009. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  1010. end
  1011. ---@private
  1012. function UIWorldBossBattleView:InitGenerate__53(Root, data)
  1013. --[[
  1014. BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem/Dead
  1015. --]]
  1016. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/HeadBoxItem/Dead").gameObject
  1017. if tolua.getpeer(tmp) == nil then
  1018. tolua.setpeer(tmp, {})
  1019. end
  1020. self.player4.headBoxItem.deadNode = tmp
  1021. end
  1022. ---@private
  1023. function UIWorldBossBattleView:InitGenerate__54(Root, data)
  1024. --[[
  1025. BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/PlayerName
  1026. --]]
  1027. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player4/Scale/Position/PlayerName").gameObject
  1028. if tolua.getpeer(tmp) == nil then
  1029. tolua.setpeer(tmp, {})
  1030. end
  1031. self.player4.playerName = tmp
  1032. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  1033. end
  1034. ---@private
  1035. function UIWorldBossBattleView:InitGenerate__55(Root, data)
  1036. --[[
  1037. BottomView/HeadsBoxAnim/HeadsBox/Player3
  1038. --]]
  1039. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player3").gameObject
  1040. if tolua.getpeer(tmp) == nil then
  1041. tolua.setpeer(tmp, {})
  1042. end
  1043. self.player3 = tmp
  1044. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  1045. end
  1046. ---@private
  1047. function UIWorldBossBattleView:InitGenerate__56(Root, data)
  1048. --[[
  1049. BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position
  1050. --]]
  1051. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position").gameObject
  1052. if tolua.getpeer(tmp) == nil then
  1053. tolua.setpeer(tmp, {})
  1054. end
  1055. self.player3.position = tmp
  1056. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  1057. tmp.animator.logWarnings = false
  1058. end
  1059. ---@private
  1060. function UIWorldBossBattleView:InitGenerate__57(Root, data)
  1061. --[[
  1062. BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem
  1063. --]]
  1064. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem").gameObject
  1065. if tolua.getpeer(tmp) == nil then
  1066. tolua.setpeer(tmp, {})
  1067. end
  1068. self.player3.headBoxItem = tmp
  1069. end
  1070. ---@private
  1071. function UIWorldBossBattleView:InitGenerate__58(Root, data)
  1072. --[[
  1073. BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem/HeadItem
  1074. --]]
  1075. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem/HeadItem").gameObject
  1076. if tolua.getpeer(tmp) == nil then
  1077. tolua.setpeer(tmp, {})
  1078. end
  1079. self.player3.headBoxItem.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  1080. self.player3.headBoxItem.headItem.prefabName = "HeadItem"
  1081. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  1082. end
  1083. ---@private
  1084. function UIWorldBossBattleView:InitGenerate__59(Root, data)
  1085. --[[
  1086. BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem/Bar/HP/bloodImg
  1087. --]]
  1088. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem/Bar/HP/bloodImg").gameObject
  1089. if tolua.getpeer(tmp) == nil then
  1090. tolua.setpeer(tmp, {})
  1091. end
  1092. self.player3.headBoxItem.hp = tmp
  1093. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  1094. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  1095. end
  1096. ---@private
  1097. function UIWorldBossBattleView:InitGenerate__60(Root, data)
  1098. --[[
  1099. BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem/Bar/Sp/spImg
  1100. --]]
  1101. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem/Bar/Sp/spImg").gameObject
  1102. if tolua.getpeer(tmp) == nil then
  1103. tolua.setpeer(tmp, {})
  1104. end
  1105. self.player3.headBoxItem.sp = tmp
  1106. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  1107. end
  1108. ---@private
  1109. function UIWorldBossBattleView:InitGenerate__61(Root, data)
  1110. --[[
  1111. BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem/Dead
  1112. --]]
  1113. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/HeadBoxItem/Dead").gameObject
  1114. if tolua.getpeer(tmp) == nil then
  1115. tolua.setpeer(tmp, {})
  1116. end
  1117. self.player3.headBoxItem.deadNode = tmp
  1118. end
  1119. ---@private
  1120. function UIWorldBossBattleView:InitGenerate__62(Root, data)
  1121. --[[
  1122. BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/PlayerName
  1123. --]]
  1124. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player3/Scale/Position/PlayerName").gameObject
  1125. if tolua.getpeer(tmp) == nil then
  1126. tolua.setpeer(tmp, {})
  1127. end
  1128. self.player3.playerName = tmp
  1129. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  1130. end
  1131. ---@private
  1132. function UIWorldBossBattleView:InitGenerate__63(Root, data)
  1133. --[[
  1134. BottomView/HeadsBoxAnim/HeadsBox/Player2
  1135. --]]
  1136. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player2").gameObject
  1137. if tolua.getpeer(tmp) == nil then
  1138. tolua.setpeer(tmp, {})
  1139. end
  1140. self.player2 = tmp
  1141. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  1142. end
  1143. ---@private
  1144. function UIWorldBossBattleView:InitGenerate__64(Root, data)
  1145. --[[
  1146. BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position
  1147. --]]
  1148. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position").gameObject
  1149. if tolua.getpeer(tmp) == nil then
  1150. tolua.setpeer(tmp, {})
  1151. end
  1152. self.player2.position = tmp
  1153. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  1154. tmp.animator.logWarnings = false
  1155. end
  1156. ---@private
  1157. function UIWorldBossBattleView:InitGenerate__65(Root, data)
  1158. --[[
  1159. BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem
  1160. --]]
  1161. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem").gameObject
  1162. if tolua.getpeer(tmp) == nil then
  1163. tolua.setpeer(tmp, {})
  1164. end
  1165. self.player2.headBoxItem = tmp
  1166. end
  1167. ---@private
  1168. function UIWorldBossBattleView:InitGenerate__66(Root, data)
  1169. --[[
  1170. BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem/HeadItem
  1171. --]]
  1172. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem/HeadItem").gameObject
  1173. if tolua.getpeer(tmp) == nil then
  1174. tolua.setpeer(tmp, {})
  1175. end
  1176. self.player2.headBoxItem.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  1177. self.player2.headBoxItem.headItem.prefabName = "HeadItem"
  1178. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  1179. end
  1180. ---@private
  1181. function UIWorldBossBattleView:InitGenerate__67(Root, data)
  1182. --[[
  1183. BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem/Bar/HP/bloodImg
  1184. --]]
  1185. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem/Bar/HP/bloodImg").gameObject
  1186. if tolua.getpeer(tmp) == nil then
  1187. tolua.setpeer(tmp, {})
  1188. end
  1189. self.player2.headBoxItem.hp = tmp
  1190. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  1191. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  1192. end
  1193. ---@private
  1194. function UIWorldBossBattleView:InitGenerate__68(Root, data)
  1195. --[[
  1196. BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem/Bar/Sp/spImg
  1197. --]]
  1198. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem/Bar/Sp/spImg").gameObject
  1199. if tolua.getpeer(tmp) == nil then
  1200. tolua.setpeer(tmp, {})
  1201. end
  1202. self.player2.headBoxItem.sp = tmp
  1203. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  1204. end
  1205. ---@private
  1206. function UIWorldBossBattleView:InitGenerate__69(Root, data)
  1207. --[[
  1208. BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem/Dead
  1209. --]]
  1210. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/HeadBoxItem/Dead").gameObject
  1211. if tolua.getpeer(tmp) == nil then
  1212. tolua.setpeer(tmp, {})
  1213. end
  1214. self.player2.headBoxItem.deadNode = tmp
  1215. end
  1216. ---@private
  1217. function UIWorldBossBattleView:InitGenerate__70(Root, data)
  1218. --[[
  1219. BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/PlayerName
  1220. --]]
  1221. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player2/Scale/Position/PlayerName").gameObject
  1222. if tolua.getpeer(tmp) == nil then
  1223. tolua.setpeer(tmp, {})
  1224. end
  1225. self.player2.playerName = tmp
  1226. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  1227. end
  1228. ---@private
  1229. function UIWorldBossBattleView:InitGenerate__71(Root, data)
  1230. --[[
  1231. BottomView/HeadsBoxAnim/HeadsBox/Player1
  1232. --]]
  1233. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player1").gameObject
  1234. if tolua.getpeer(tmp) == nil then
  1235. tolua.setpeer(tmp, {})
  1236. end
  1237. self.player1 = tmp
  1238. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  1239. end
  1240. ---@private
  1241. function UIWorldBossBattleView:InitGenerate__72(Root, data)
  1242. --[[
  1243. BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position
  1244. --]]
  1245. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position").gameObject
  1246. if tolua.getpeer(tmp) == nil then
  1247. tolua.setpeer(tmp, {})
  1248. end
  1249. self.player1.position = tmp
  1250. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  1251. tmp.animator.logWarnings = false
  1252. end
  1253. ---@private
  1254. function UIWorldBossBattleView:InitGenerate__73(Root, data)
  1255. --[[
  1256. BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem
  1257. --]]
  1258. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem").gameObject
  1259. if tolua.getpeer(tmp) == nil then
  1260. tolua.setpeer(tmp, {})
  1261. end
  1262. self.player1.headBoxItem = tmp
  1263. end
  1264. ---@private
  1265. function UIWorldBossBattleView:InitGenerate__74(Root, data)
  1266. --[[
  1267. BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem/HeadItem
  1268. --]]
  1269. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem/HeadItem").gameObject
  1270. if tolua.getpeer(tmp) == nil then
  1271. tolua.setpeer(tmp, {})
  1272. end
  1273. self.player1.headBoxItem.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  1274. self.player1.headBoxItem.headItem.prefabName = "HeadItem"
  1275. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  1276. end
  1277. ---@private
  1278. function UIWorldBossBattleView:InitGenerate__75(Root, data)
  1279. --[[
  1280. BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem/Bar/HP/bloodImg
  1281. --]]
  1282. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem/Bar/HP/bloodImg").gameObject
  1283. if tolua.getpeer(tmp) == nil then
  1284. tolua.setpeer(tmp, {})
  1285. end
  1286. self.player1.headBoxItem.hp = tmp
  1287. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  1288. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  1289. end
  1290. ---@private
  1291. function UIWorldBossBattleView:InitGenerate__76(Root, data)
  1292. --[[
  1293. BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem/Bar/Sp/spImg
  1294. --]]
  1295. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem/Bar/Sp/spImg").gameObject
  1296. if tolua.getpeer(tmp) == nil then
  1297. tolua.setpeer(tmp, {})
  1298. end
  1299. self.player1.headBoxItem.sp = tmp
  1300. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  1301. end
  1302. ---@private
  1303. function UIWorldBossBattleView:InitGenerate__77(Root, data)
  1304. --[[
  1305. BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem/Dead
  1306. --]]
  1307. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/HeadBoxItem/Dead").gameObject
  1308. if tolua.getpeer(tmp) == nil then
  1309. tolua.setpeer(tmp, {})
  1310. end
  1311. self.player1.headBoxItem.deadNode = tmp
  1312. end
  1313. ---@private
  1314. function UIWorldBossBattleView:InitGenerate__78(Root, data)
  1315. --[[
  1316. BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/PlayerName
  1317. --]]
  1318. local tmp = Root:Find("BottomView/HeadsBoxAnim/HeadsBox/Player1/Scale/Position/PlayerName").gameObject
  1319. if tolua.getpeer(tmp) == nil then
  1320. tolua.setpeer(tmp, {})
  1321. end
  1322. self.player1.playerName = tmp
  1323. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  1324. end
  1325. ---@private
  1326. function UIWorldBossBattleView:GenerateDestroy()
  1327. if tolua.getpeer(self.player1.playerName) ~= nil then
  1328. tolua.setpeer(self.player1.playerName, nil)
  1329. end
  1330. if tolua.getpeer(self.player1.headBoxItem.deadNode) ~= nil then
  1331. tolua.setpeer(self.player1.headBoxItem.deadNode, nil)
  1332. end
  1333. if tolua.getpeer(self.player1.headBoxItem.sp) ~= nil then
  1334. tolua.setpeer(self.player1.headBoxItem.sp, nil)
  1335. end
  1336. if tolua.getpeer(self.player1.headBoxItem.hp) ~= nil then
  1337. tolua.setpeer(self.player1.headBoxItem.hp, nil)
  1338. end
  1339. if self.player1.headBoxItem.headItem.GenerateDestroy ~= nil then
  1340. self.player1.headBoxItem.headItem:GenerateDestroy()
  1341. end
  1342. if tolua.getpeer(self.player1.headBoxItem.headItem) ~= nil then
  1343. tolua.setpeer(self.player1.headBoxItem.headItem, nil)
  1344. end
  1345. if tolua.getpeer(self.player1.headBoxItem) ~= nil then
  1346. tolua.setpeer(self.player1.headBoxItem, nil)
  1347. end
  1348. if tolua.getpeer(self.player1.position) ~= nil then
  1349. tolua.setpeer(self.player1.position, nil)
  1350. end
  1351. if tolua.getpeer(self.player2.playerName) ~= nil then
  1352. tolua.setpeer(self.player2.playerName, nil)
  1353. end
  1354. if tolua.getpeer(self.player2.headBoxItem.deadNode) ~= nil then
  1355. tolua.setpeer(self.player2.headBoxItem.deadNode, nil)
  1356. end
  1357. if tolua.getpeer(self.player2.headBoxItem.sp) ~= nil then
  1358. tolua.setpeer(self.player2.headBoxItem.sp, nil)
  1359. end
  1360. if tolua.getpeer(self.player2.headBoxItem.hp) ~= nil then
  1361. tolua.setpeer(self.player2.headBoxItem.hp, nil)
  1362. end
  1363. if self.player2.headBoxItem.headItem.GenerateDestroy ~= nil then
  1364. self.player2.headBoxItem.headItem:GenerateDestroy()
  1365. end
  1366. if tolua.getpeer(self.player2.headBoxItem.headItem) ~= nil then
  1367. tolua.setpeer(self.player2.headBoxItem.headItem, nil)
  1368. end
  1369. if tolua.getpeer(self.player2.headBoxItem) ~= nil then
  1370. tolua.setpeer(self.player2.headBoxItem, nil)
  1371. end
  1372. if tolua.getpeer(self.player2.position) ~= nil then
  1373. tolua.setpeer(self.player2.position, nil)
  1374. end
  1375. if tolua.getpeer(self.player3.playerName) ~= nil then
  1376. tolua.setpeer(self.player3.playerName, nil)
  1377. end
  1378. if tolua.getpeer(self.player3.headBoxItem.deadNode) ~= nil then
  1379. tolua.setpeer(self.player3.headBoxItem.deadNode, nil)
  1380. end
  1381. if tolua.getpeer(self.player3.headBoxItem.sp) ~= nil then
  1382. tolua.setpeer(self.player3.headBoxItem.sp, nil)
  1383. end
  1384. if tolua.getpeer(self.player3.headBoxItem.hp) ~= nil then
  1385. tolua.setpeer(self.player3.headBoxItem.hp, nil)
  1386. end
  1387. if self.player3.headBoxItem.headItem.GenerateDestroy ~= nil then
  1388. self.player3.headBoxItem.headItem:GenerateDestroy()
  1389. end
  1390. if tolua.getpeer(self.player3.headBoxItem.headItem) ~= nil then
  1391. tolua.setpeer(self.player3.headBoxItem.headItem, nil)
  1392. end
  1393. if tolua.getpeer(self.player3.headBoxItem) ~= nil then
  1394. tolua.setpeer(self.player3.headBoxItem, nil)
  1395. end
  1396. if tolua.getpeer(self.player3.position) ~= nil then
  1397. tolua.setpeer(self.player3.position, nil)
  1398. end
  1399. if tolua.getpeer(self.player4.playerName) ~= nil then
  1400. tolua.setpeer(self.player4.playerName, nil)
  1401. end
  1402. if tolua.getpeer(self.player4.headBoxItem.deadNode) ~= nil then
  1403. tolua.setpeer(self.player4.headBoxItem.deadNode, nil)
  1404. end
  1405. if tolua.getpeer(self.player4.headBoxItem.sp) ~= nil then
  1406. tolua.setpeer(self.player4.headBoxItem.sp, nil)
  1407. end
  1408. if tolua.getpeer(self.player4.headBoxItem.hp) ~= nil then
  1409. tolua.setpeer(self.player4.headBoxItem.hp, nil)
  1410. end
  1411. if self.player4.headBoxItem.headItem.GenerateDestroy ~= nil then
  1412. self.player4.headBoxItem.headItem:GenerateDestroy()
  1413. end
  1414. if tolua.getpeer(self.player4.headBoxItem.headItem) ~= nil then
  1415. tolua.setpeer(self.player4.headBoxItem.headItem, nil)
  1416. end
  1417. if tolua.getpeer(self.player4.headBoxItem) ~= nil then
  1418. tolua.setpeer(self.player4.headBoxItem, nil)
  1419. end
  1420. if tolua.getpeer(self.player4.position) ~= nil then
  1421. tolua.setpeer(self.player4.position, nil)
  1422. end
  1423. if tolua.getpeer(self.player5.playerName) ~= nil then
  1424. tolua.setpeer(self.player5.playerName, nil)
  1425. end
  1426. if tolua.getpeer(self.player5.headBoxItem.deadNode) ~= nil then
  1427. tolua.setpeer(self.player5.headBoxItem.deadNode, nil)
  1428. end
  1429. if tolua.getpeer(self.player5.headBoxItem.sp) ~= nil then
  1430. tolua.setpeer(self.player5.headBoxItem.sp, nil)
  1431. end
  1432. if tolua.getpeer(self.player5.headBoxItem.hp) ~= nil then
  1433. tolua.setpeer(self.player5.headBoxItem.hp, nil)
  1434. end
  1435. if self.player5.headBoxItem.headItem.GenerateDestroy ~= nil then
  1436. self.player5.headBoxItem.headItem:GenerateDestroy()
  1437. end
  1438. if tolua.getpeer(self.player5.headBoxItem.headItem) ~= nil then
  1439. tolua.setpeer(self.player5.headBoxItem.headItem, nil)
  1440. end
  1441. if tolua.getpeer(self.player5.headBoxItem) ~= nil then
  1442. tolua.setpeer(self.player5.headBoxItem, nil)
  1443. end
  1444. if tolua.getpeer(self.player5.position) ~= nil then
  1445. tolua.setpeer(self.player5.position, nil)
  1446. end
  1447. if tolua.getpeer(self.player6.playerName) ~= nil then
  1448. tolua.setpeer(self.player6.playerName, nil)
  1449. end
  1450. if tolua.getpeer(self.player6.headBoxItem.deadNode) ~= nil then
  1451. tolua.setpeer(self.player6.headBoxItem.deadNode, nil)
  1452. end
  1453. if tolua.getpeer(self.player6.headBoxItem.sp) ~= nil then
  1454. tolua.setpeer(self.player6.headBoxItem.sp, nil)
  1455. end
  1456. if tolua.getpeer(self.player6.headBoxItem.hp) ~= nil then
  1457. tolua.setpeer(self.player6.headBoxItem.hp, nil)
  1458. end
  1459. if self.player6.headBoxItem.headItem.GenerateDestroy ~= nil then
  1460. self.player6.headBoxItem.headItem:GenerateDestroy()
  1461. end
  1462. if tolua.getpeer(self.player6.headBoxItem.headItem) ~= nil then
  1463. tolua.setpeer(self.player6.headBoxItem.headItem, nil)
  1464. end
  1465. if tolua.getpeer(self.player6.headBoxItem) ~= nil then
  1466. tolua.setpeer(self.player6.headBoxItem, nil)
  1467. end
  1468. if tolua.getpeer(self.player6.position) ~= nil then
  1469. tolua.setpeer(self.player6.position, nil)
  1470. end
  1471. if tolua.getpeer(self.player7.playerName) ~= nil then
  1472. tolua.setpeer(self.player7.playerName, nil)
  1473. end
  1474. if tolua.getpeer(self.player7.headBoxItem.deadNode) ~= nil then
  1475. tolua.setpeer(self.player7.headBoxItem.deadNode, nil)
  1476. end
  1477. if tolua.getpeer(self.player7.headBoxItem.sp) ~= nil then
  1478. tolua.setpeer(self.player7.headBoxItem.sp, nil)
  1479. end
  1480. if tolua.getpeer(self.player7.headBoxItem.hp) ~= nil then
  1481. tolua.setpeer(self.player7.headBoxItem.hp, nil)
  1482. end
  1483. if self.player7.headBoxItem.headItem.GenerateDestroy ~= nil then
  1484. self.player7.headBoxItem.headItem:GenerateDestroy()
  1485. end
  1486. if tolua.getpeer(self.player7.headBoxItem.headItem) ~= nil then
  1487. tolua.setpeer(self.player7.headBoxItem.headItem, nil)
  1488. end
  1489. if tolua.getpeer(self.player7.headBoxItem) ~= nil then
  1490. tolua.setpeer(self.player7.headBoxItem, nil)
  1491. end
  1492. if tolua.getpeer(self.player7.position) ~= nil then
  1493. tolua.setpeer(self.player7.position, nil)
  1494. end
  1495. if tolua.getpeer(self.player8.playerName) ~= nil then
  1496. tolua.setpeer(self.player8.playerName, nil)
  1497. end
  1498. if tolua.getpeer(self.player8.headBoxItem.deadNode) ~= nil then
  1499. tolua.setpeer(self.player8.headBoxItem.deadNode, nil)
  1500. end
  1501. if tolua.getpeer(self.player8.headBoxItem.sp) ~= nil then
  1502. tolua.setpeer(self.player8.headBoxItem.sp, nil)
  1503. end
  1504. if tolua.getpeer(self.player8.headBoxItem.hp) ~= nil then
  1505. tolua.setpeer(self.player8.headBoxItem.hp, nil)
  1506. end
  1507. if self.player8.headBoxItem.headItem.GenerateDestroy ~= nil then
  1508. self.player8.headBoxItem.headItem:GenerateDestroy()
  1509. end
  1510. if tolua.getpeer(self.player8.headBoxItem.headItem) ~= nil then
  1511. tolua.setpeer(self.player8.headBoxItem.headItem, nil)
  1512. end
  1513. if tolua.getpeer(self.player8.headBoxItem) ~= nil then
  1514. tolua.setpeer(self.player8.headBoxItem, nil)
  1515. end
  1516. if tolua.getpeer(self.player8.position) ~= nil then
  1517. tolua.setpeer(self.player8.position, nil)
  1518. end
  1519. if tolua.getpeer(self.bossBloodNode) ~= nil then
  1520. tolua.setpeer(self.bossBloodNode, nil)
  1521. end
  1522. self.bossBloodNode = nil
  1523. if tolua.getpeer(self.bossBloodBack) ~= nil then
  1524. tolua.setpeer(self.bossBloodBack, nil)
  1525. end
  1526. self.bossBloodBack = nil
  1527. if tolua.getpeer(self.bossBlood2) ~= nil then
  1528. tolua.setpeer(self.bossBlood2, nil)
  1529. end
  1530. self.bossBlood2 = nil
  1531. if tolua.getpeer(self.bossBlood) ~= nil then
  1532. tolua.setpeer(self.bossBlood, nil)
  1533. end
  1534. self.bossBlood = nil
  1535. if tolua.getpeer(self.bossLifeBarNum) ~= nil then
  1536. tolua.setpeer(self.bossLifeBarNum, nil)
  1537. end
  1538. self.bossLifeBarNum = nil
  1539. if tolua.getpeer(self.bossName) ~= nil then
  1540. tolua.setpeer(self.bossName, nil)
  1541. end
  1542. self.bossName = nil
  1543. if tolua.getpeer(self.bossIcon) ~= nil then
  1544. tolua.setpeer(self.bossIcon, nil)
  1545. end
  1546. self.bossIcon = nil
  1547. if tolua.getpeer(self.nature) ~= nil then
  1548. tolua.setpeer(self.nature, nil)
  1549. end
  1550. self.nature = nil
  1551. if tolua.getpeer(self.buffTemp) ~= nil then
  1552. tolua.setpeer(self.buffTemp, nil)
  1553. end
  1554. self.buffTemp = nil
  1555. if tolua.getpeer(self.leftTime) ~= nil then
  1556. tolua.setpeer(self.leftTime, nil)
  1557. end
  1558. self.leftTime = nil
  1559. if tolua.getpeer(self.infinite) ~= nil then
  1560. tolua.setpeer(self.infinite, nil)
  1561. end
  1562. self.infinite = nil
  1563. if tolua.getpeer(self.btnQuit) ~= nil then
  1564. tolua.setpeer(self.btnQuit, nil)
  1565. end
  1566. self.btnQuit = nil
  1567. if tolua.getpeer(self.headsBoxAnim) ~= nil then
  1568. tolua.setpeer(self.headsBoxAnim, nil)
  1569. end
  1570. self.headsBoxAnim = nil
  1571. if tolua.getpeer(self.headsBox) ~= nil then
  1572. tolua.setpeer(self.headsBox, nil)
  1573. end
  1574. self.headsBox = nil
  1575. if tolua.getpeer(self.player8) ~= nil then
  1576. tolua.setpeer(self.player8, nil)
  1577. end
  1578. self.player8 = nil
  1579. if tolua.getpeer(self.player7) ~= nil then
  1580. tolua.setpeer(self.player7, nil)
  1581. end
  1582. self.player7 = nil
  1583. if tolua.getpeer(self.player6) ~= nil then
  1584. tolua.setpeer(self.player6, nil)
  1585. end
  1586. self.player6 = nil
  1587. if tolua.getpeer(self.player5) ~= nil then
  1588. tolua.setpeer(self.player5, nil)
  1589. end
  1590. self.player5 = nil
  1591. if tolua.getpeer(self.player4) ~= nil then
  1592. tolua.setpeer(self.player4, nil)
  1593. end
  1594. self.player4 = nil
  1595. if tolua.getpeer(self.player3) ~= nil then
  1596. tolua.setpeer(self.player3, nil)
  1597. end
  1598. self.player3 = nil
  1599. if tolua.getpeer(self.player2) ~= nil then
  1600. tolua.setpeer(self.player2, nil)
  1601. end
  1602. self.player2 = nil
  1603. if tolua.getpeer(self.player1) ~= nil then
  1604. tolua.setpeer(self.player1, nil)
  1605. end
  1606. self.player1 = nil
  1607. self.transform = nil
  1608. self.gameObject = nil
  1609. self.inited = false
  1610. end
  1611. return UIWorldBossBattleView