UINewCreateRoleView_Generate.lua 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  1. ---@class UINewCreateRole__Generate_item10
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public qualityFX UnityEngine.GameObject
  4. ---@class UINewCreateRole__Generate_item9
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public qualityFX UnityEngine.GameObject
  7. ---@class UINewCreateRole__Generate_item8
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public qualityFX UnityEngine.GameObject
  10. ---@class UINewCreateRole__Generate_item7
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public qualityFX UnityEngine.GameObject
  13. ---@class UINewCreateRole__Generate_item6
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public qualityFX UnityEngine.GameObject
  16. ---@class UINewCreateRole__Generate_item5
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public qualityFX UnityEngine.GameObject
  19. ---@class UINewCreateRole__Generate_item4
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public qualityFX UnityEngine.GameObject
  22. ---@class UINewCreateRole__Generate_item3
  23. ---@field public gameObject UnityEngine.GameObject
  24. ---@field public qualityFX UnityEngine.GameObject
  25. ---@class UINewCreateRole__Generate_item2
  26. ---@field public gameObject UnityEngine.GameObject
  27. ---@field public qualityFX UnityEngine.GameObject
  28. ---@class UINewCreateRole__Generate_item1
  29. ---@field public gameObject UnityEngine.GameObject
  30. ---@field public qualityFX UnityEngine.GameObject
  31. ---@class UINewCreateRole__Generate_star
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public uIParticle UIExtensions.UIParticle
  34. ---@class UINewCreateRole__Generate_quan01
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public uIParticle UIExtensions.UIParticle
  37. ---@class UINewCreateRole__Generate_glow02
  38. ---@field public gameObject UnityEngine.GameObject
  39. ---@field public uIParticle UIExtensions.UIParticle
  40. ---@class UINewCreateRole__Generate_glow
  41. ---@field public gameObject UnityEngine.GameObject
  42. ---@field public uIParticle UIExtensions.UIParticle
  43. ---@class UINewCreateRole__Generate_createAnim
  44. ---@field public gameObject UnityEngine.GameObject
  45. ---@field public animator UnityEngine.Animator
  46. ---@class UINewCreateRole__Generate_backBtn
  47. ---@field public gameObject UnityEngine.GameObject
  48. ---@field public button UnityEngine.UI.Button
  49. ---@class UINewCreateRole__Generate_confirmBtn
  50. ---@field public gameObject UnityEngine.GameObject
  51. ---@field public button UnityEngine.UI.Button
  52. ---@class UINewCreateRole__Generate_modeTexture
  53. ---@field public gameObject UnityEngine.GameObject
  54. ---@field public rawImage UnityEngine.UI.RawImage
  55. ---@class UINewCreateRole__Generate
  56. ---@field private gameObject UnityEngine.GameObject
  57. ---@field private transform UnityEngine.Transform
  58. ---@field private modeTexture UINewCreateRole__Generate_modeTexture
  59. ---@field private btnBox UnityEngine.GameObject
  60. ---@field private shadow UnityEngine.GameObject
  61. ---@field private grass UnityEngine.GameObject
  62. ---@field private confirmBtn UINewCreateRole__Generate_confirmBtn
  63. ---@field private backBtn UINewCreateRole__Generate_backBtn
  64. ---@field private notice UnityEngine.GameObject
  65. ---@field private createAnim UINewCreateRole__Generate_createAnim
  66. ---@field private glow UINewCreateRole__Generate_glow
  67. ---@field private glow02 UINewCreateRole__Generate_glow02
  68. ---@field private quan01 UINewCreateRole__Generate_quan01
  69. ---@field private star UINewCreateRole__Generate_star
  70. ---@field private FxObj UnityEngine.GameObject
  71. ---@field private item1 UINewCreateRole__Generate_item1
  72. ---@field private item2 UINewCreateRole__Generate_item2
  73. ---@field private item3 UINewCreateRole__Generate_item3
  74. ---@field private item4 UINewCreateRole__Generate_item4
  75. ---@field private item5 UINewCreateRole__Generate_item5
  76. ---@field private item6 UINewCreateRole__Generate_item6
  77. ---@field private item7 UINewCreateRole__Generate_item7
  78. ---@field private item8 UINewCreateRole__Generate_item8
  79. ---@field private item9 UINewCreateRole__Generate_item9
  80. ---@field private item10 UINewCreateRole__Generate_item10
  81. local UINewCreateRoleView = class("UINewCreateRoleView", require("UIViewBase"))
  82. function UINewCreateRoleView:ctor()
  83. end
  84. ---@private
  85. function UINewCreateRoleView:SetActive(result)
  86. self.gameObject:SetActive(result)
  87. end
  88. ---@private
  89. function UINewCreateRoleView:InitGenerate(Root, data)
  90. self.transform = Root
  91. self.inited = true
  92. if self.super.Init then
  93. self.super.Init(self)
  94. end
  95. local tmp
  96. self:InitGenerate__1(Root,data)
  97. self:InitGenerate__2(Root,data)
  98. self:InitGenerate__3(Root,data)
  99. self:InitGenerate__4(Root,data)
  100. self:InitGenerate__5(Root,data)
  101. self:InitGenerate__6(Root,data)
  102. self:InitGenerate__7(Root,data)
  103. self:InitGenerate__8(Root,data)
  104. self:InitGenerate__9(Root,data)
  105. self:InitGenerate__10(Root,data)
  106. self:InitGenerate__11(Root,data)
  107. self:InitGenerate__12(Root,data)
  108. self:InitGenerate__13(Root,data)
  109. self:InitGenerate__14(Root,data)
  110. self:InitGenerate__15(Root,data)
  111. self:InitGenerate__16(Root,data)
  112. self:InitGenerate__17(Root,data)
  113. self:InitGenerate__18(Root,data)
  114. self:InitGenerate__19(Root,data)
  115. self:InitGenerate__20(Root,data)
  116. self:InitGenerate__21(Root,data)
  117. self:InitGenerate__22(Root,data)
  118. self:InitGenerate__23(Root,data)
  119. self:InitGenerate__24(Root,data)
  120. self:InitGenerate__25(Root,data)
  121. self:InitGenerate__26(Root,data)
  122. self:InitGenerate__27(Root,data)
  123. self:InitGenerate__28(Root,data)
  124. self:InitGenerate__29(Root,data)
  125. self:InitGenerate__30(Root,data)
  126. self:InitGenerate__31(Root,data)
  127. self:InitGenerate__32(Root,data)
  128. self:InitGenerate__33(Root,data)
  129. end
  130. ---@private
  131. function UINewCreateRoleView:InitGenerate__1(Root, data)
  132. --[[
  133. Window/ModeTexture
  134. --]]
  135. local tmp = Root:Find("Window/ModeTexture").gameObject
  136. if tolua.getpeer(tmp) == nil then
  137. tolua.setpeer(tmp, {})
  138. end
  139. self.modeTexture = tmp
  140. tmp.rawImage = tmp:GetComponent(Enum.TypeInfo.RawImage)
  141. end
  142. ---@private
  143. function UINewCreateRoleView:InitGenerate__2(Root, data)
  144. --[[
  145. Window/BtnBox
  146. --]]
  147. local tmp = Root:Find("Window/BtnBox").gameObject
  148. if tolua.getpeer(tmp) == nil then
  149. tolua.setpeer(tmp, {})
  150. end
  151. self.btnBox = tmp
  152. end
  153. ---@private
  154. function UINewCreateRoleView:InitGenerate__3(Root, data)
  155. --[[
  156. Window/BtnBox/shadow
  157. --]]
  158. local tmp = Root:Find("Window/BtnBox/shadow").gameObject
  159. if tolua.getpeer(tmp) == nil then
  160. tolua.setpeer(tmp, {})
  161. end
  162. self.shadow = tmp
  163. end
  164. ---@private
  165. function UINewCreateRoleView:InitGenerate__4(Root, data)
  166. --[[
  167. Window/BtnBox/Grass
  168. --]]
  169. local tmp = Root:Find("Window/BtnBox/Grass").gameObject
  170. if tolua.getpeer(tmp) == nil then
  171. tolua.setpeer(tmp, {})
  172. end
  173. self.grass = tmp
  174. end
  175. ---@private
  176. function UINewCreateRoleView:InitGenerate__5(Root, data)
  177. --[[
  178. Window/BtnBox/BtnLetsGo
  179. --]]
  180. local tmp = Root:Find("Window/BtnBox/BtnLetsGo").gameObject
  181. if tolua.getpeer(tmp) == nil then
  182. tolua.setpeer(tmp, {})
  183. end
  184. self.confirmBtn = tmp
  185. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  186. end
  187. ---@private
  188. function UINewCreateRoleView:InitGenerate__6(Root, data)
  189. --[[
  190. Window/BtnBox/BtnBack
  191. --]]
  192. local tmp = Root:Find("Window/BtnBox/BtnBack").gameObject
  193. if tolua.getpeer(tmp) == nil then
  194. tolua.setpeer(tmp, {})
  195. end
  196. self.backBtn = tmp
  197. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  198. end
  199. ---@private
  200. function UINewCreateRoleView:InitGenerate__7(Root, data)
  201. --[[
  202. Window/NoticeBox
  203. --]]
  204. local tmp = Root:Find("Window/NoticeBox").gameObject
  205. if tolua.getpeer(tmp) == nil then
  206. tolua.setpeer(tmp, {})
  207. end
  208. self.notice = tmp
  209. end
  210. ---@private
  211. function UINewCreateRoleView:InitGenerate__8(Root, data)
  212. --[[
  213. Window/CreateAnim
  214. --]]
  215. local tmp = Root:Find("Window/CreateAnim").gameObject
  216. if tolua.getpeer(tmp) == nil then
  217. tolua.setpeer(tmp, {})
  218. end
  219. self.createAnim = tmp
  220. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  221. tmp.animator.logWarnings = false
  222. end
  223. ---@private
  224. function UINewCreateRoleView:InitGenerate__9(Root, data)
  225. --[[
  226. Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/glow
  227. --]]
  228. local tmp = Root:Find("Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/glow").gameObject
  229. if tolua.getpeer(tmp) == nil then
  230. tolua.setpeer(tmp, {})
  231. end
  232. self.glow = tmp
  233. tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
  234. end
  235. ---@private
  236. function UINewCreateRoleView:InitGenerate__10(Root, data)
  237. --[[
  238. Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/glow/glow02
  239. --]]
  240. local tmp = Root:Find("Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/glow/glow02").gameObject
  241. if tolua.getpeer(tmp) == nil then
  242. tolua.setpeer(tmp, {})
  243. end
  244. self.glow02 = tmp
  245. tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
  246. end
  247. ---@private
  248. function UINewCreateRoleView:InitGenerate__11(Root, data)
  249. --[[
  250. Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/glow/quan01
  251. --]]
  252. local tmp = Root:Find("Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/glow/quan01").gameObject
  253. if tolua.getpeer(tmp) == nil then
  254. tolua.setpeer(tmp, {})
  255. end
  256. self.quan01 = tmp
  257. tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
  258. end
  259. ---@private
  260. function UINewCreateRoleView:InitGenerate__12(Root, data)
  261. --[[
  262. Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/glow/star
  263. --]]
  264. local tmp = Root:Find("Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/glow/star").gameObject
  265. if tolua.getpeer(tmp) == nil then
  266. tolua.setpeer(tmp, {})
  267. end
  268. self.star = tmp
  269. tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
  270. end
  271. ---@private
  272. function UINewCreateRoleView:InitGenerate__13(Root, data)
  273. --[[
  274. Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/fx_ui_NewCreateRole_glow_run
  275. --]]
  276. local tmp = Root:Find("Window/CreateAnim/Title/Image/fx_ui_NewCreateRole_glow/fx_ui_NewCreateRole_glow_run").gameObject
  277. if tolua.getpeer(tmp) == nil then
  278. tolua.setpeer(tmp, {})
  279. end
  280. self.FxObj = tmp
  281. end
  282. ---@private
  283. function UINewCreateRoleView:InitGenerate__14(Root, data)
  284. --[[
  285. Window/CreateAnim/ReturnGift/Content/Item1
  286. --]]
  287. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item1").gameObject
  288. if tolua.getpeer(tmp) == nil then
  289. tolua.setpeer(tmp, {})
  290. end
  291. self.item1 = tmp
  292. end
  293. ---@private
  294. function UINewCreateRoleView:InitGenerate__15(Root, data)
  295. --[[
  296. Window/CreateAnim/ReturnGift/Content/Item1/IconItem/QualityFX
  297. --]]
  298. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item1/IconItem/QualityFX").gameObject
  299. if tolua.getpeer(tmp) == nil then
  300. tolua.setpeer(tmp, {})
  301. end
  302. self.item1.qualityFX = tmp
  303. end
  304. ---@private
  305. function UINewCreateRoleView:InitGenerate__16(Root, data)
  306. --[[
  307. Window/CreateAnim/ReturnGift/Content/Item2
  308. --]]
  309. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item2").gameObject
  310. if tolua.getpeer(tmp) == nil then
  311. tolua.setpeer(tmp, {})
  312. end
  313. self.item2 = tmp
  314. end
  315. ---@private
  316. function UINewCreateRoleView:InitGenerate__17(Root, data)
  317. --[[
  318. Window/CreateAnim/ReturnGift/Content/Item2/IconItem/QualityFX
  319. --]]
  320. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item2/IconItem/QualityFX").gameObject
  321. if tolua.getpeer(tmp) == nil then
  322. tolua.setpeer(tmp, {})
  323. end
  324. self.item2.qualityFX = tmp
  325. end
  326. ---@private
  327. function UINewCreateRoleView:InitGenerate__18(Root, data)
  328. --[[
  329. Window/CreateAnim/ReturnGift/Content/Item3
  330. --]]
  331. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item3").gameObject
  332. if tolua.getpeer(tmp) == nil then
  333. tolua.setpeer(tmp, {})
  334. end
  335. self.item3 = tmp
  336. end
  337. ---@private
  338. function UINewCreateRoleView:InitGenerate__19(Root, data)
  339. --[[
  340. Window/CreateAnim/ReturnGift/Content/Item3/IconItem/QualityFX
  341. --]]
  342. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item3/IconItem/QualityFX").gameObject
  343. if tolua.getpeer(tmp) == nil then
  344. tolua.setpeer(tmp, {})
  345. end
  346. self.item3.qualityFX = tmp
  347. end
  348. ---@private
  349. function UINewCreateRoleView:InitGenerate__20(Root, data)
  350. --[[
  351. Window/CreateAnim/ReturnGift/Content/Item4
  352. --]]
  353. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item4").gameObject
  354. if tolua.getpeer(tmp) == nil then
  355. tolua.setpeer(tmp, {})
  356. end
  357. self.item4 = tmp
  358. end
  359. ---@private
  360. function UINewCreateRoleView:InitGenerate__21(Root, data)
  361. --[[
  362. Window/CreateAnim/ReturnGift/Content/Item4/IconItem/QualityFX
  363. --]]
  364. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item4/IconItem/QualityFX").gameObject
  365. if tolua.getpeer(tmp) == nil then
  366. tolua.setpeer(tmp, {})
  367. end
  368. self.item4.qualityFX = tmp
  369. end
  370. ---@private
  371. function UINewCreateRoleView:InitGenerate__22(Root, data)
  372. --[[
  373. Window/CreateAnim/ReturnGift/Content/Item5
  374. --]]
  375. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item5").gameObject
  376. if tolua.getpeer(tmp) == nil then
  377. tolua.setpeer(tmp, {})
  378. end
  379. self.item5 = tmp
  380. end
  381. ---@private
  382. function UINewCreateRoleView:InitGenerate__23(Root, data)
  383. --[[
  384. Window/CreateAnim/ReturnGift/Content/Item5/IconItem/QualityFX
  385. --]]
  386. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item5/IconItem/QualityFX").gameObject
  387. if tolua.getpeer(tmp) == nil then
  388. tolua.setpeer(tmp, {})
  389. end
  390. self.item5.qualityFX = tmp
  391. end
  392. ---@private
  393. function UINewCreateRoleView:InitGenerate__24(Root, data)
  394. --[[
  395. Window/CreateAnim/ReturnGift/Content/Item6
  396. --]]
  397. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item6").gameObject
  398. if tolua.getpeer(tmp) == nil then
  399. tolua.setpeer(tmp, {})
  400. end
  401. self.item6 = tmp
  402. end
  403. ---@private
  404. function UINewCreateRoleView:InitGenerate__25(Root, data)
  405. --[[
  406. Window/CreateAnim/ReturnGift/Content/Item6/IconItem/QualityFX
  407. --]]
  408. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item6/IconItem/QualityFX").gameObject
  409. if tolua.getpeer(tmp) == nil then
  410. tolua.setpeer(tmp, {})
  411. end
  412. self.item6.qualityFX = tmp
  413. end
  414. ---@private
  415. function UINewCreateRoleView:InitGenerate__26(Root, data)
  416. --[[
  417. Window/CreateAnim/ReturnGift/Content/Item7
  418. --]]
  419. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item7").gameObject
  420. if tolua.getpeer(tmp) == nil then
  421. tolua.setpeer(tmp, {})
  422. end
  423. self.item7 = tmp
  424. end
  425. ---@private
  426. function UINewCreateRoleView:InitGenerate__27(Root, data)
  427. --[[
  428. Window/CreateAnim/ReturnGift/Content/Item7/IconItem/QualityFX
  429. --]]
  430. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item7/IconItem/QualityFX").gameObject
  431. if tolua.getpeer(tmp) == nil then
  432. tolua.setpeer(tmp, {})
  433. end
  434. self.item7.qualityFX = tmp
  435. end
  436. ---@private
  437. function UINewCreateRoleView:InitGenerate__28(Root, data)
  438. --[[
  439. Window/CreateAnim/ReturnGift/Content/Item8
  440. --]]
  441. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item8").gameObject
  442. if tolua.getpeer(tmp) == nil then
  443. tolua.setpeer(tmp, {})
  444. end
  445. self.item8 = tmp
  446. end
  447. ---@private
  448. function UINewCreateRoleView:InitGenerate__29(Root, data)
  449. --[[
  450. Window/CreateAnim/ReturnGift/Content/Item8/IconItem/QualityFX
  451. --]]
  452. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item8/IconItem/QualityFX").gameObject
  453. if tolua.getpeer(tmp) == nil then
  454. tolua.setpeer(tmp, {})
  455. end
  456. self.item8.qualityFX = tmp
  457. end
  458. ---@private
  459. function UINewCreateRoleView:InitGenerate__30(Root, data)
  460. --[[
  461. Window/CreateAnim/ReturnGift/Content/Item9
  462. --]]
  463. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item9").gameObject
  464. if tolua.getpeer(tmp) == nil then
  465. tolua.setpeer(tmp, {})
  466. end
  467. self.item9 = tmp
  468. end
  469. ---@private
  470. function UINewCreateRoleView:InitGenerate__31(Root, data)
  471. --[[
  472. Window/CreateAnim/ReturnGift/Content/Item9/IconItem/QualityFX
  473. --]]
  474. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item9/IconItem/QualityFX").gameObject
  475. if tolua.getpeer(tmp) == nil then
  476. tolua.setpeer(tmp, {})
  477. end
  478. self.item9.qualityFX = tmp
  479. end
  480. ---@private
  481. function UINewCreateRoleView:InitGenerate__32(Root, data)
  482. --[[
  483. Window/CreateAnim/ReturnGift/Content/Item10
  484. --]]
  485. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item10").gameObject
  486. if tolua.getpeer(tmp) == nil then
  487. tolua.setpeer(tmp, {})
  488. end
  489. self.item10 = tmp
  490. end
  491. ---@private
  492. function UINewCreateRoleView:InitGenerate__33(Root, data)
  493. --[[
  494. Window/CreateAnim/ReturnGift/Content/Item10/IconItem/QualityFX
  495. --]]
  496. local tmp = Root:Find("Window/CreateAnim/ReturnGift/Content/Item10/IconItem/QualityFX").gameObject
  497. if tolua.getpeer(tmp) == nil then
  498. tolua.setpeer(tmp, {})
  499. end
  500. self.item10.qualityFX = tmp
  501. end
  502. ---@private
  503. function UINewCreateRoleView:GenerateDestroy()
  504. if tolua.getpeer(self.item10.qualityFX) ~= nil then
  505. tolua.setpeer(self.item10.qualityFX, nil)
  506. end
  507. if tolua.getpeer(self.item9.qualityFX) ~= nil then
  508. tolua.setpeer(self.item9.qualityFX, nil)
  509. end
  510. if tolua.getpeer(self.item8.qualityFX) ~= nil then
  511. tolua.setpeer(self.item8.qualityFX, nil)
  512. end
  513. if tolua.getpeer(self.item7.qualityFX) ~= nil then
  514. tolua.setpeer(self.item7.qualityFX, nil)
  515. end
  516. if tolua.getpeer(self.item6.qualityFX) ~= nil then
  517. tolua.setpeer(self.item6.qualityFX, nil)
  518. end
  519. if tolua.getpeer(self.item5.qualityFX) ~= nil then
  520. tolua.setpeer(self.item5.qualityFX, nil)
  521. end
  522. if tolua.getpeer(self.item4.qualityFX) ~= nil then
  523. tolua.setpeer(self.item4.qualityFX, nil)
  524. end
  525. if tolua.getpeer(self.item3.qualityFX) ~= nil then
  526. tolua.setpeer(self.item3.qualityFX, nil)
  527. end
  528. if tolua.getpeer(self.item2.qualityFX) ~= nil then
  529. tolua.setpeer(self.item2.qualityFX, nil)
  530. end
  531. if tolua.getpeer(self.item1.qualityFX) ~= nil then
  532. tolua.setpeer(self.item1.qualityFX, nil)
  533. end
  534. if tolua.getpeer(self.modeTexture) ~= nil then
  535. tolua.setpeer(self.modeTexture, nil)
  536. end
  537. self.modeTexture = nil
  538. if tolua.getpeer(self.btnBox) ~= nil then
  539. tolua.setpeer(self.btnBox, nil)
  540. end
  541. self.btnBox = nil
  542. if tolua.getpeer(self.shadow) ~= nil then
  543. tolua.setpeer(self.shadow, nil)
  544. end
  545. self.shadow = nil
  546. if tolua.getpeer(self.grass) ~= nil then
  547. tolua.setpeer(self.grass, nil)
  548. end
  549. self.grass = nil
  550. if tolua.getpeer(self.confirmBtn) ~= nil then
  551. tolua.setpeer(self.confirmBtn, nil)
  552. end
  553. self.confirmBtn = nil
  554. if tolua.getpeer(self.backBtn) ~= nil then
  555. tolua.setpeer(self.backBtn, nil)
  556. end
  557. self.backBtn = nil
  558. if tolua.getpeer(self.notice) ~= nil then
  559. tolua.setpeer(self.notice, nil)
  560. end
  561. self.notice = nil
  562. if tolua.getpeer(self.createAnim) ~= nil then
  563. tolua.setpeer(self.createAnim, nil)
  564. end
  565. self.createAnim = nil
  566. if tolua.getpeer(self.glow) ~= nil then
  567. tolua.setpeer(self.glow, nil)
  568. end
  569. self.glow = nil
  570. if tolua.getpeer(self.glow02) ~= nil then
  571. tolua.setpeer(self.glow02, nil)
  572. end
  573. self.glow02 = nil
  574. if tolua.getpeer(self.quan01) ~= nil then
  575. tolua.setpeer(self.quan01, nil)
  576. end
  577. self.quan01 = nil
  578. if tolua.getpeer(self.star) ~= nil then
  579. tolua.setpeer(self.star, nil)
  580. end
  581. self.star = nil
  582. if tolua.getpeer(self.FxObj) ~= nil then
  583. tolua.setpeer(self.FxObj, nil)
  584. end
  585. self.FxObj = nil
  586. if tolua.getpeer(self.item1) ~= nil then
  587. tolua.setpeer(self.item1, nil)
  588. end
  589. self.item1 = nil
  590. if tolua.getpeer(self.item2) ~= nil then
  591. tolua.setpeer(self.item2, nil)
  592. end
  593. self.item2 = nil
  594. if tolua.getpeer(self.item3) ~= nil then
  595. tolua.setpeer(self.item3, nil)
  596. end
  597. self.item3 = nil
  598. if tolua.getpeer(self.item4) ~= nil then
  599. tolua.setpeer(self.item4, nil)
  600. end
  601. self.item4 = nil
  602. if tolua.getpeer(self.item5) ~= nil then
  603. tolua.setpeer(self.item5, nil)
  604. end
  605. self.item5 = nil
  606. if tolua.getpeer(self.item6) ~= nil then
  607. tolua.setpeer(self.item6, nil)
  608. end
  609. self.item6 = nil
  610. if tolua.getpeer(self.item7) ~= nil then
  611. tolua.setpeer(self.item7, nil)
  612. end
  613. self.item7 = nil
  614. if tolua.getpeer(self.item8) ~= nil then
  615. tolua.setpeer(self.item8, nil)
  616. end
  617. self.item8 = nil
  618. if tolua.getpeer(self.item9) ~= nil then
  619. tolua.setpeer(self.item9, nil)
  620. end
  621. self.item9 = nil
  622. if tolua.getpeer(self.item10) ~= nil then
  623. tolua.setpeer(self.item10, nil)
  624. end
  625. self.item10 = nil
  626. self.transform = nil
  627. self.gameObject = nil
  628. self.inited = false
  629. end
  630. return UINewCreateRoleView