UISummonShowView_Generate.lua 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. ---@class UISummonShow__Generate_skip
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UISummonShow__Generate_btnWeixin
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UISummonShow__Generate_btnWeibo
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public button UnityEngine.UI.Button
  10. ---@class UISummonShow__Generate_particle
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public uIParticle UIExtensions.UIParticle
  13. ---@class UISummonShow__Generate_iconItem
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public rectTransform UnityEngine.RectTransform
  16. ---@field public layoutElement UnityEngine.UI.LayoutElement
  17. ---@class UISummonShow__Generate_modelImg
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public rawImage UnityEngine.UI.RawImage
  20. ---@class UISummonShow__Generate_nameTxt
  21. ---@field public gameObject UnityEngine.GameObject
  22. ---@field public text UnityEngine.UI.Text
  23. ---@class UISummonShow__Generate_itemShow
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public animator UnityEngine.Animator
  26. ---@class UISummonShow__Generate_btnNext
  27. ---@field public gameObject UnityEngine.GameObject
  28. ---@field public button UnityEngine.UI.Button
  29. ---@class UISummonShow__Generate_uIAnimator
  30. ---@field public gameObject UnityEngine.GameObject
  31. ---@field public animator UnityEngine.Animator
  32. ---@class UISummonShow__Generate
  33. ---@field private gameObject UnityEngine.GameObject
  34. ---@field private transform UnityEngine.Transform
  35. ---@field private uIAnimator UISummonShow__Generate_uIAnimator
  36. ---@field private bGBlueBottom UnityEngine.GameObject
  37. ---@field private bGPinkBottom UnityEngine.GameObject
  38. ---@field private bGYellowBottom UnityEngine.GameObject
  39. ---@field private btnNext UISummonShow__Generate_btnNext
  40. ---@field private itemShow UISummonShow__Generate_itemShow
  41. ---@field private bGBlue UnityEngine.GameObject
  42. ---@field private bGPink UnityEngine.GameObject
  43. ---@field private bGYellow UnityEngine.GameObject
  44. ---@field private nameTxt UISummonShow__Generate_nameTxt
  45. ---@field private label UnityEngine.GameObject
  46. ---@field private mVP UnityEngine.GameObject
  47. ---@field private mini UnityEngine.GameObject
  48. ---@field private normal UnityEngine.GameObject
  49. ---@field private labelNew UnityEngine.GameObject
  50. ---@field private rT UnityEngine.GameObject
  51. ---@field private modelImg UISummonShow__Generate_modelImg
  52. ---@field private item UnityEngine.GameObject
  53. ---@field private iconItem UISummonShow__Generate_iconItem
  54. ---@field private particle UISummonShow__Generate_particle
  55. ---@field private starBox UnityEngine.GameObject
  56. ---@field private star1 UnityEngine.GameObject
  57. ---@field private star2 UnityEngine.GameObject
  58. ---@field private star3 UnityEngine.GameObject
  59. ---@field private star4 UnityEngine.GameObject
  60. ---@field private star5 UnityEngine.GameObject
  61. ---@field private btnWeibo UISummonShow__Generate_btnWeibo
  62. ---@field private btnWeixin UISummonShow__Generate_btnWeixin
  63. ---@field private skip UISummonShow__Generate_skip
  64. local UISummonShowView = class("UISummonShowView", require("UIViewBase"))
  65. function UISummonShowView:ctor()
  66. end
  67. ---@private
  68. function UISummonShowView:SetActive(result)
  69. self.gameObject:SetActive(result)
  70. end
  71. ---@private
  72. function UISummonShowView:InitGenerate(Root, data)
  73. self.transform = Root
  74. self.inited = true
  75. if self.super.Init then
  76. self.super.Init(self)
  77. end
  78. local tmp
  79. self:InitGenerate__1(Root,data)
  80. self:InitGenerate__2(Root,data)
  81. self:InitGenerate__3(Root,data)
  82. self:InitGenerate__4(Root,data)
  83. self:InitGenerate__5(Root,data)
  84. self:InitGenerate__6(Root,data)
  85. self:InitGenerate__7(Root,data)
  86. self:InitGenerate__8(Root,data)
  87. self:InitGenerate__9(Root,data)
  88. self:InitGenerate__10(Root,data)
  89. self:InitGenerate__11(Root,data)
  90. self:InitGenerate__12(Root,data)
  91. self:InitGenerate__13(Root,data)
  92. self:InitGenerate__14(Root,data)
  93. self:InitGenerate__15(Root,data)
  94. self:InitGenerate__16(Root,data)
  95. self:InitGenerate__17(Root,data)
  96. self:InitGenerate__18(Root,data)
  97. self:InitGenerate__19(Root,data)
  98. self:InitGenerate__20(Root,data)
  99. self:InitGenerate__21(Root,data)
  100. self:InitGenerate__22(Root,data)
  101. self:InitGenerate__23(Root,data)
  102. self:InitGenerate__24(Root,data)
  103. self:InitGenerate__25(Root,data)
  104. self:InitGenerate__26(Root,data)
  105. self:InitGenerate__27(Root,data)
  106. self:InitGenerate__28(Root,data)
  107. self:InitGenerate__29(Root,data)
  108. end
  109. ---@private
  110. function UISummonShowView:InitGenerate__1(Root, data)
  111. --[[
  112. UIAnimator
  113. --]]
  114. local tmp = Root:Find("UIAnimator").gameObject
  115. if tolua.getpeer(tmp) == nil then
  116. tolua.setpeer(tmp, {})
  117. end
  118. self.uIAnimator = tmp
  119. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  120. tmp.animator.logWarnings = false
  121. end
  122. ---@private
  123. function UISummonShowView:InitGenerate__2(Root, data)
  124. --[[
  125. UIAnimator/Window/BG/BGBlueBottom
  126. --]]
  127. local tmp = Root:Find("UIAnimator/Window/BG/BGBlueBottom").gameObject
  128. if tolua.getpeer(tmp) == nil then
  129. tolua.setpeer(tmp, {})
  130. end
  131. self.bGBlueBottom = tmp
  132. end
  133. ---@private
  134. function UISummonShowView:InitGenerate__3(Root, data)
  135. --[[
  136. UIAnimator/Window/BG/BGPinkBottom
  137. --]]
  138. local tmp = Root:Find("UIAnimator/Window/BG/BGPinkBottom").gameObject
  139. if tolua.getpeer(tmp) == nil then
  140. tolua.setpeer(tmp, {})
  141. end
  142. self.bGPinkBottom = tmp
  143. end
  144. ---@private
  145. function UISummonShowView:InitGenerate__4(Root, data)
  146. --[[
  147. UIAnimator/Window/BG/BGYellowBottom
  148. --]]
  149. local tmp = Root:Find("UIAnimator/Window/BG/BGYellowBottom").gameObject
  150. if tolua.getpeer(tmp) == nil then
  151. tolua.setpeer(tmp, {})
  152. end
  153. self.bGYellowBottom = tmp
  154. end
  155. ---@private
  156. function UISummonShowView:InitGenerate__5(Root, data)
  157. --[[
  158. UIAnimator/Window/BtnNext
  159. --]]
  160. local tmp = Root:Find("UIAnimator/Window/BtnNext").gameObject
  161. if tolua.getpeer(tmp) == nil then
  162. tolua.setpeer(tmp, {})
  163. end
  164. self.btnNext = tmp
  165. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  166. end
  167. ---@private
  168. function UISummonShowView:InitGenerate__6(Root, data)
  169. --[[
  170. UIAnimator/Window/ItemShow
  171. --]]
  172. local tmp = Root:Find("UIAnimator/Window/ItemShow").gameObject
  173. if tolua.getpeer(tmp) == nil then
  174. tolua.setpeer(tmp, {})
  175. end
  176. self.itemShow = tmp
  177. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  178. tmp.animator.logWarnings = false
  179. end
  180. ---@private
  181. function UISummonShowView:InitGenerate__7(Root, data)
  182. --[[
  183. UIAnimator/Window/ItemShow/BG/BGBlue
  184. --]]
  185. local tmp = Root:Find("UIAnimator/Window/ItemShow/BG/BGBlue").gameObject
  186. if tolua.getpeer(tmp) == nil then
  187. tolua.setpeer(tmp, {})
  188. end
  189. self.bGBlue = tmp
  190. end
  191. ---@private
  192. function UISummonShowView:InitGenerate__8(Root, data)
  193. --[[
  194. UIAnimator/Window/ItemShow/BG/BGPink
  195. --]]
  196. local tmp = Root:Find("UIAnimator/Window/ItemShow/BG/BGPink").gameObject
  197. if tolua.getpeer(tmp) == nil then
  198. tolua.setpeer(tmp, {})
  199. end
  200. self.bGPink = tmp
  201. end
  202. ---@private
  203. function UISummonShowView:InitGenerate__9(Root, data)
  204. --[[
  205. UIAnimator/Window/ItemShow/BG/BGYellow
  206. --]]
  207. local tmp = Root:Find("UIAnimator/Window/ItemShow/BG/BGYellow").gameObject
  208. if tolua.getpeer(tmp) == nil then
  209. tolua.setpeer(tmp, {})
  210. end
  211. self.bGYellow = tmp
  212. end
  213. ---@private
  214. function UISummonShowView:InitGenerate__10(Root, data)
  215. --[[
  216. UIAnimator/Window/ItemShow/NameBox/NameAnim/NameTxt
  217. --]]
  218. local tmp = Root:Find("UIAnimator/Window/ItemShow/NameBox/NameAnim/NameTxt").gameObject
  219. if tolua.getpeer(tmp) == nil then
  220. tolua.setpeer(tmp, {})
  221. end
  222. self.nameTxt = tmp
  223. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  224. end
  225. ---@private
  226. function UISummonShowView:InitGenerate__11(Root, data)
  227. --[[
  228. UIAnimator/Window/ItemShow/NameBox/NameAnim/Label
  229. --]]
  230. local tmp = Root:Find("UIAnimator/Window/ItemShow/NameBox/NameAnim/Label").gameObject
  231. if tolua.getpeer(tmp) == nil then
  232. tolua.setpeer(tmp, {})
  233. end
  234. self.label = tmp
  235. end
  236. ---@private
  237. function UISummonShowView:InitGenerate__12(Root, data)
  238. --[[
  239. UIAnimator/Window/ItemShow/NameBox/NameAnim/Label/MVP
  240. --]]
  241. local tmp = Root:Find("UIAnimator/Window/ItemShow/NameBox/NameAnim/Label/MVP").gameObject
  242. if tolua.getpeer(tmp) == nil then
  243. tolua.setpeer(tmp, {})
  244. end
  245. self.mVP = tmp
  246. end
  247. ---@private
  248. function UISummonShowView:InitGenerate__13(Root, data)
  249. --[[
  250. UIAnimator/Window/ItemShow/NameBox/NameAnim/Label/Mini
  251. --]]
  252. local tmp = Root:Find("UIAnimator/Window/ItemShow/NameBox/NameAnim/Label/Mini").gameObject
  253. if tolua.getpeer(tmp) == nil then
  254. tolua.setpeer(tmp, {})
  255. end
  256. self.mini = tmp
  257. end
  258. ---@private
  259. function UISummonShowView:InitGenerate__14(Root, data)
  260. --[[
  261. UIAnimator/Window/ItemShow/NameBox/NameAnim/Label/Normal
  262. --]]
  263. local tmp = Root:Find("UIAnimator/Window/ItemShow/NameBox/NameAnim/Label/Normal").gameObject
  264. if tolua.getpeer(tmp) == nil then
  265. tolua.setpeer(tmp, {})
  266. end
  267. self.normal = tmp
  268. end
  269. ---@private
  270. function UISummonShowView:InitGenerate__15(Root, data)
  271. --[[
  272. UIAnimator/Window/ItemShow/NameBox/NameAnim/LabelNew
  273. --]]
  274. local tmp = Root:Find("UIAnimator/Window/ItemShow/NameBox/NameAnim/LabelNew").gameObject
  275. if tolua.getpeer(tmp) == nil then
  276. tolua.setpeer(tmp, {})
  277. end
  278. self.labelNew = tmp
  279. end
  280. ---@private
  281. function UISummonShowView:InitGenerate__16(Root, data)
  282. --[[
  283. UIAnimator/Window/ItemShow/ResultAnim/RT
  284. --]]
  285. local tmp = Root:Find("UIAnimator/Window/ItemShow/ResultAnim/RT").gameObject
  286. if tolua.getpeer(tmp) == nil then
  287. tolua.setpeer(tmp, {})
  288. end
  289. self.rT = tmp
  290. end
  291. ---@private
  292. function UISummonShowView:InitGenerate__17(Root, data)
  293. --[[
  294. UIAnimator/Window/ItemShow/ResultAnim/RT/ModelImg
  295. --]]
  296. local tmp = Root:Find("UIAnimator/Window/ItemShow/ResultAnim/RT/ModelImg").gameObject
  297. if tolua.getpeer(tmp) == nil then
  298. tolua.setpeer(tmp, {})
  299. end
  300. self.modelImg = tmp
  301. tmp.rawImage = tmp:GetComponent(Enum.TypeInfo.RawImage)
  302. end
  303. ---@private
  304. function UISummonShowView:InitGenerate__18(Root, data)
  305. --[[
  306. UIAnimator/Window/ItemShow/ResultAnim/Item
  307. --]]
  308. local tmp = Root:Find("UIAnimator/Window/ItemShow/ResultAnim/Item").gameObject
  309. if tolua.getpeer(tmp) == nil then
  310. tolua.setpeer(tmp, {})
  311. end
  312. self.item = tmp
  313. end
  314. ---@private
  315. function UISummonShowView:InitGenerate__19(Root, data)
  316. --[[
  317. UIAnimator/Window/ItemShow/ResultAnim/Item/IconItem
  318. --]]
  319. local tmp = Root:Find("UIAnimator/Window/ItemShow/ResultAnim/Item/IconItem").gameObject
  320. if tolua.getpeer(tmp) == nil then
  321. tolua.setpeer(tmp, {})
  322. end
  323. self.iconItem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  324. self.iconItem.prefabName = "IconItem"
  325. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  326. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  327. end
  328. ---@private
  329. function UISummonShowView:InitGenerate__20(Root, data)
  330. --[[
  331. UIAnimator/Window/ItemShow/ResultAnim/particle
  332. --]]
  333. local tmp = Root:Find("UIAnimator/Window/ItemShow/ResultAnim/particle").gameObject
  334. if tolua.getpeer(tmp) == nil then
  335. tolua.setpeer(tmp, {})
  336. end
  337. self.particle = tmp
  338. tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
  339. end
  340. ---@private
  341. function UISummonShowView:InitGenerate__21(Root, data)
  342. --[[
  343. UIAnimator/Window/ItemShow/StarBox
  344. --]]
  345. local tmp = Root:Find("UIAnimator/Window/ItemShow/StarBox").gameObject
  346. if tolua.getpeer(tmp) == nil then
  347. tolua.setpeer(tmp, {})
  348. end
  349. self.starBox = tmp
  350. end
  351. ---@private
  352. function UISummonShowView:InitGenerate__22(Root, data)
  353. --[[
  354. UIAnimator/Window/ItemShow/StarBox/Stars/Star1
  355. --]]
  356. local tmp = Root:Find("UIAnimator/Window/ItemShow/StarBox/Stars/Star1").gameObject
  357. if tolua.getpeer(tmp) == nil then
  358. tolua.setpeer(tmp, {})
  359. end
  360. self.star1 = tmp
  361. end
  362. ---@private
  363. function UISummonShowView:InitGenerate__23(Root, data)
  364. --[[
  365. UIAnimator/Window/ItemShow/StarBox/Stars/Star2
  366. --]]
  367. local tmp = Root:Find("UIAnimator/Window/ItemShow/StarBox/Stars/Star2").gameObject
  368. if tolua.getpeer(tmp) == nil then
  369. tolua.setpeer(tmp, {})
  370. end
  371. self.star2 = tmp
  372. end
  373. ---@private
  374. function UISummonShowView:InitGenerate__24(Root, data)
  375. --[[
  376. UIAnimator/Window/ItemShow/StarBox/Stars/Star3
  377. --]]
  378. local tmp = Root:Find("UIAnimator/Window/ItemShow/StarBox/Stars/Star3").gameObject
  379. if tolua.getpeer(tmp) == nil then
  380. tolua.setpeer(tmp, {})
  381. end
  382. self.star3 = tmp
  383. end
  384. ---@private
  385. function UISummonShowView:InitGenerate__25(Root, data)
  386. --[[
  387. UIAnimator/Window/ItemShow/StarBox/Stars/Star4
  388. --]]
  389. local tmp = Root:Find("UIAnimator/Window/ItemShow/StarBox/Stars/Star4").gameObject
  390. if tolua.getpeer(tmp) == nil then
  391. tolua.setpeer(tmp, {})
  392. end
  393. self.star4 = tmp
  394. end
  395. ---@private
  396. function UISummonShowView:InitGenerate__26(Root, data)
  397. --[[
  398. UIAnimator/Window/ItemShow/StarBox/Stars/Star5
  399. --]]
  400. local tmp = Root:Find("UIAnimator/Window/ItemShow/StarBox/Stars/Star5").gameObject
  401. if tolua.getpeer(tmp) == nil then
  402. tolua.setpeer(tmp, {})
  403. end
  404. self.star5 = tmp
  405. end
  406. ---@private
  407. function UISummonShowView:InitGenerate__27(Root, data)
  408. --[[
  409. UIAnimator/Window/ItemShow/BtnBox/BtnWeibo
  410. --]]
  411. local tmp = Root:Find("UIAnimator/Window/ItemShow/BtnBox/BtnWeibo").gameObject
  412. if tolua.getpeer(tmp) == nil then
  413. tolua.setpeer(tmp, {})
  414. end
  415. self.btnWeibo = tmp
  416. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  417. end
  418. ---@private
  419. function UISummonShowView:InitGenerate__28(Root, data)
  420. --[[
  421. UIAnimator/Window/ItemShow/BtnBox/BtnWeixin
  422. --]]
  423. local tmp = Root:Find("UIAnimator/Window/ItemShow/BtnBox/BtnWeixin").gameObject
  424. if tolua.getpeer(tmp) == nil then
  425. tolua.setpeer(tmp, {})
  426. end
  427. self.btnWeixin = tmp
  428. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  429. end
  430. ---@private
  431. function UISummonShowView:InitGenerate__29(Root, data)
  432. --[[
  433. UIAnimator/Window/Skip
  434. --]]
  435. local tmp = Root:Find("UIAnimator/Window/Skip").gameObject
  436. if tolua.getpeer(tmp) == nil then
  437. tolua.setpeer(tmp, {})
  438. end
  439. self.skip = tmp
  440. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  441. end
  442. ---@private
  443. function UISummonShowView:GenerateDestroy()
  444. if tolua.getpeer(self.uIAnimator) ~= nil then
  445. tolua.setpeer(self.uIAnimator, nil)
  446. end
  447. self.uIAnimator = nil
  448. if tolua.getpeer(self.bGBlueBottom) ~= nil then
  449. tolua.setpeer(self.bGBlueBottom, nil)
  450. end
  451. self.bGBlueBottom = nil
  452. if tolua.getpeer(self.bGPinkBottom) ~= nil then
  453. tolua.setpeer(self.bGPinkBottom, nil)
  454. end
  455. self.bGPinkBottom = nil
  456. if tolua.getpeer(self.bGYellowBottom) ~= nil then
  457. tolua.setpeer(self.bGYellowBottom, nil)
  458. end
  459. self.bGYellowBottom = nil
  460. if tolua.getpeer(self.btnNext) ~= nil then
  461. tolua.setpeer(self.btnNext, nil)
  462. end
  463. self.btnNext = nil
  464. if tolua.getpeer(self.itemShow) ~= nil then
  465. tolua.setpeer(self.itemShow, nil)
  466. end
  467. self.itemShow = nil
  468. if tolua.getpeer(self.bGBlue) ~= nil then
  469. tolua.setpeer(self.bGBlue, nil)
  470. end
  471. self.bGBlue = nil
  472. if tolua.getpeer(self.bGPink) ~= nil then
  473. tolua.setpeer(self.bGPink, nil)
  474. end
  475. self.bGPink = nil
  476. if tolua.getpeer(self.bGYellow) ~= nil then
  477. tolua.setpeer(self.bGYellow, nil)
  478. end
  479. self.bGYellow = nil
  480. if tolua.getpeer(self.nameTxt) ~= nil then
  481. tolua.setpeer(self.nameTxt, nil)
  482. end
  483. self.nameTxt = nil
  484. if tolua.getpeer(self.label) ~= nil then
  485. tolua.setpeer(self.label, nil)
  486. end
  487. self.label = nil
  488. if tolua.getpeer(self.mVP) ~= nil then
  489. tolua.setpeer(self.mVP, nil)
  490. end
  491. self.mVP = nil
  492. if tolua.getpeer(self.mini) ~= nil then
  493. tolua.setpeer(self.mini, nil)
  494. end
  495. self.mini = nil
  496. if tolua.getpeer(self.normal) ~= nil then
  497. tolua.setpeer(self.normal, nil)
  498. end
  499. self.normal = nil
  500. if tolua.getpeer(self.labelNew) ~= nil then
  501. tolua.setpeer(self.labelNew, nil)
  502. end
  503. self.labelNew = nil
  504. if tolua.getpeer(self.rT) ~= nil then
  505. tolua.setpeer(self.rT, nil)
  506. end
  507. self.rT = nil
  508. if tolua.getpeer(self.modelImg) ~= nil then
  509. tolua.setpeer(self.modelImg, nil)
  510. end
  511. self.modelImg = nil
  512. if tolua.getpeer(self.item) ~= nil then
  513. tolua.setpeer(self.item, nil)
  514. end
  515. self.item = nil
  516. if self.iconItem.GenerateDestroy ~= nil then
  517. self.iconItem:GenerateDestroy()
  518. end
  519. if tolua.getpeer(self.iconItem) ~= nil then
  520. tolua.setpeer(self.iconItem, nil)
  521. end
  522. self.iconItem = nil
  523. if tolua.getpeer(self.particle) ~= nil then
  524. tolua.setpeer(self.particle, nil)
  525. end
  526. self.particle = nil
  527. if tolua.getpeer(self.starBox) ~= nil then
  528. tolua.setpeer(self.starBox, nil)
  529. end
  530. self.starBox = nil
  531. if tolua.getpeer(self.star1) ~= nil then
  532. tolua.setpeer(self.star1, nil)
  533. end
  534. self.star1 = nil
  535. if tolua.getpeer(self.star2) ~= nil then
  536. tolua.setpeer(self.star2, nil)
  537. end
  538. self.star2 = nil
  539. if tolua.getpeer(self.star3) ~= nil then
  540. tolua.setpeer(self.star3, nil)
  541. end
  542. self.star3 = nil
  543. if tolua.getpeer(self.star4) ~= nil then
  544. tolua.setpeer(self.star4, nil)
  545. end
  546. self.star4 = nil
  547. if tolua.getpeer(self.star5) ~= nil then
  548. tolua.setpeer(self.star5, nil)
  549. end
  550. self.star5 = nil
  551. if tolua.getpeer(self.btnWeibo) ~= nil then
  552. tolua.setpeer(self.btnWeibo, nil)
  553. end
  554. self.btnWeibo = nil
  555. if tolua.getpeer(self.btnWeixin) ~= nil then
  556. tolua.setpeer(self.btnWeixin, nil)
  557. end
  558. self.btnWeixin = nil
  559. if tolua.getpeer(self.skip) ~= nil then
  560. tolua.setpeer(self.skip, nil)
  561. end
  562. self.skip = nil
  563. self.transform = nil
  564. self.gameObject = nil
  565. self.inited = false
  566. end
  567. return UISummonShowView