UIBattleBossBoxView_Generate.lua 27 KB

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