UIFashionLvUpView_Generate.lua 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132
  1. ---@class UIFashionLvUp__Generate_btnLvUp
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIFashionLvUp__Generate_scrollView_numlv
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text UnityEngine.UI.Text
  7. ---@class UIFashionLvUp__Generate_scrollView_text
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UIFashionLvUp__Generate_attr5_number2
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public text UnityEngine.UI.Text
  13. ---@class UIFashionLvUp__Generate_attr5_number1
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public text UnityEngine.UI.Text
  16. ---@class UIFashionLvUp__Generate_attr5_text
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public text UnityEngine.UI.Text
  19. ---@class UIFashionLvUp__Generate_attr5
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public uIEffectCfg UIEffectCfg
  22. ---@field public text UIFashionLvUp__Generate_attr5_text
  23. ---@field public number1 UIFashionLvUp__Generate_attr5_number1
  24. ---@field public number2 UIFashionLvUp__Generate_attr5_number2
  25. ---@field public image UnityEngine.GameObject
  26. ---@field public fx UnityEngine.GameObject
  27. ---@class UIFashionLvUp__Generate_attr4_number2
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public text UnityEngine.UI.Text
  30. ---@class UIFashionLvUp__Generate_attr4_number1
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public text UnityEngine.UI.Text
  33. ---@class UIFashionLvUp__Generate_attr4_text
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public text UnityEngine.UI.Text
  36. ---@class UIFashionLvUp__Generate_attr4
  37. ---@field public gameObject UnityEngine.GameObject
  38. ---@field public uIEffectCfg UIEffectCfg
  39. ---@field public text UIFashionLvUp__Generate_attr4_text
  40. ---@field public number1 UIFashionLvUp__Generate_attr4_number1
  41. ---@field public number2 UIFashionLvUp__Generate_attr4_number2
  42. ---@field public image UnityEngine.GameObject
  43. ---@field public fx UnityEngine.GameObject
  44. ---@class UIFashionLvUp__Generate_attr3_number2
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public text UnityEngine.UI.Text
  47. ---@class UIFashionLvUp__Generate_attr3_number1
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public text UnityEngine.UI.Text
  50. ---@class UIFashionLvUp__Generate_attr3_text
  51. ---@field public gameObject UnityEngine.GameObject
  52. ---@field public text UnityEngine.UI.Text
  53. ---@class UIFashionLvUp__Generate_attr3
  54. ---@field public gameObject UnityEngine.GameObject
  55. ---@field public uIEffectCfg UIEffectCfg
  56. ---@field public text UIFashionLvUp__Generate_attr3_text
  57. ---@field public number1 UIFashionLvUp__Generate_attr3_number1
  58. ---@field public number2 UIFashionLvUp__Generate_attr3_number2
  59. ---@field public image UnityEngine.GameObject
  60. ---@field public fx UnityEngine.GameObject
  61. ---@class UIFashionLvUp__Generate_attr2_number2
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public text UnityEngine.UI.Text
  64. ---@class UIFashionLvUp__Generate_attr2_number1
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public text UnityEngine.UI.Text
  67. ---@class UIFashionLvUp__Generate_attr2_text
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public text UnityEngine.UI.Text
  70. ---@class UIFashionLvUp__Generate_attr2
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public uIEffectCfg UIEffectCfg
  73. ---@field public text UIFashionLvUp__Generate_attr2_text
  74. ---@field public number1 UIFashionLvUp__Generate_attr2_number1
  75. ---@field public number2 UIFashionLvUp__Generate_attr2_number2
  76. ---@field public image UnityEngine.GameObject
  77. ---@field public fx UnityEngine.GameObject
  78. ---@class UIFashionLvUp__Generate_attr1_number2
  79. ---@field public gameObject UnityEngine.GameObject
  80. ---@field public text UnityEngine.UI.Text
  81. ---@class UIFashionLvUp__Generate_attr1_number1
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public text UnityEngine.UI.Text
  84. ---@class UIFashionLvUp__Generate_attr1_text
  85. ---@field public gameObject UnityEngine.GameObject
  86. ---@field public text UnityEngine.UI.Text
  87. ---@class UIFashionLvUp__Generate_attr1
  88. ---@field public gameObject UnityEngine.GameObject
  89. ---@field public uIEffectCfg UIEffectCfg
  90. ---@field public text UIFashionLvUp__Generate_attr1_text
  91. ---@field public number1 UIFashionLvUp__Generate_attr1_number1
  92. ---@field public number2 UIFashionLvUp__Generate_attr1_number2
  93. ---@field public image UnityEngine.GameObject
  94. ---@field public fx UnityEngine.GameObject
  95. ---@class UIFashionLvUp__Generate_lV_number2
  96. ---@field public gameObject UnityEngine.GameObject
  97. ---@field public text UnityEngine.UI.Text
  98. ---@class UIFashionLvUp__Generate_lV_number1
  99. ---@field public gameObject UnityEngine.GameObject
  100. ---@field public text UnityEngine.UI.Text
  101. ---@class UIFashionLvUp__Generate_lV_text
  102. ---@field public gameObject UnityEngine.GameObject
  103. ---@field public text UnityEngine.UI.Text
  104. ---@class UIFashionLvUp__Generate_lV
  105. ---@field public gameObject UnityEngine.GameObject
  106. ---@field public uIEffectCfg UIEffectCfg
  107. ---@field public text UIFashionLvUp__Generate_lV_text
  108. ---@field public number1 UIFashionLvUp__Generate_lV_number1
  109. ---@field public number2 UIFashionLvUp__Generate_lV_number2
  110. ---@field public image UnityEngine.GameObject
  111. ---@field public fx UnityEngine.GameObject
  112. ---@class UIFashionLvUp__Generate_scrollView
  113. ---@field public gameObject UnityEngine.GameObject
  114. ---@field public text UIFashionLvUp__Generate_scrollView_text
  115. ---@field public numlv UIFashionLvUp__Generate_scrollView_numlv
  116. ---@class UIFashionLvUp__Generate_btnClose
  117. ---@field public gameObject UnityEngine.GameObject
  118. ---@field public button UnityEngine.UI.Button
  119. ---@class UIFashionLvUp__Generate_bg
  120. ---@field public gameObject UnityEngine.GameObject
  121. ---@field public uIEffectCfg UIEffectCfg
  122. ---@field public fx UnityEngine.GameObject
  123. ---@class UIFashionLvUp__Generate_AnyBtn
  124. ---@field public gameObject UnityEngine.GameObject
  125. ---@field public button UnityEngine.UI.Button
  126. ---@class UIFashionLvUp__Generate_uIAnimator
  127. ---@field public gameObject UnityEngine.GameObject
  128. ---@field public animator UnityEngine.Animator
  129. ---@class UIFashionLvUp__Generate
  130. ---@field private gameObject UnityEngine.GameObject
  131. ---@field private transform UnityEngine.Transform
  132. ---@field private uIAnimator UIFashionLvUp__Generate_uIAnimator
  133. ---@field private AnyBtn UIFashionLvUp__Generate_AnyBtn
  134. ---@field private bg UIFashionLvUp__Generate_bg
  135. ---@field private btnClose UIFashionLvUp__Generate_btnClose
  136. ---@field private fashionWearItem UnityEngine.GameObject
  137. ---@field private scrollView UIFashionLvUp__Generate_scrollView
  138. ---@field private lV UIFashionLvUp__Generate_lV
  139. ---@field private attr1 UIFashionLvUp__Generate_attr1
  140. ---@field private attr2 UIFashionLvUp__Generate_attr2
  141. ---@field private attr3 UIFashionLvUp__Generate_attr3
  142. ---@field private attr4 UIFashionLvUp__Generate_attr4
  143. ---@field private attr5 UIFashionLvUp__Generate_attr5
  144. ---@field private boxCost UnityEngine.GameObject
  145. ---@field private cost1 UnityEngine.GameObject
  146. ---@field private cost2 UnityEngine.GameObject
  147. ---@field private cost3 UnityEngine.GameObject
  148. ---@field private max UnityEngine.GameObject
  149. ---@field private btnLvUp UIFashionLvUp__Generate_btnLvUp
  150. local UIFashionLvUpView = class("UIFashionLvUpView", require("UIViewBase"))
  151. function UIFashionLvUpView:ctor()
  152. end
  153. ---@private
  154. function UIFashionLvUpView:SetActive(result)
  155. self.gameObject:SetActive(result)
  156. end
  157. ---@private
  158. function UIFashionLvUpView:InitGenerate(Root, data)
  159. self.transform = Root
  160. self.inited = true
  161. if self.super.Init then
  162. self.super.Init(self)
  163. end
  164. local tmp
  165. self:InitGenerate__1(Root,data)
  166. self:InitGenerate__2(Root,data)
  167. self:InitGenerate__3(Root,data)
  168. self:InitGenerate__4(Root,data)
  169. self:InitGenerate__5(Root,data)
  170. self:InitGenerate__6(Root,data)
  171. self:InitGenerate__7(Root,data)
  172. self:InitGenerate__8(Root,data)
  173. self:InitGenerate__9(Root,data)
  174. self:InitGenerate__10(Root,data)
  175. self:InitGenerate__11(Root,data)
  176. self:InitGenerate__12(Root,data)
  177. self:InitGenerate__13(Root,data)
  178. self:InitGenerate__14(Root,data)
  179. self:InitGenerate__15(Root,data)
  180. self:InitGenerate__16(Root,data)
  181. self:InitGenerate__17(Root,data)
  182. self:InitGenerate__18(Root,data)
  183. self:InitGenerate__19(Root,data)
  184. self:InitGenerate__20(Root,data)
  185. self:InitGenerate__21(Root,data)
  186. self:InitGenerate__22(Root,data)
  187. self:InitGenerate__23(Root,data)
  188. self:InitGenerate__24(Root,data)
  189. self:InitGenerate__25(Root,data)
  190. self:InitGenerate__26(Root,data)
  191. self:InitGenerate__27(Root,data)
  192. self:InitGenerate__28(Root,data)
  193. self:InitGenerate__29(Root,data)
  194. self:InitGenerate__30(Root,data)
  195. self:InitGenerate__31(Root,data)
  196. self:InitGenerate__32(Root,data)
  197. self:InitGenerate__33(Root,data)
  198. self:InitGenerate__34(Root,data)
  199. self:InitGenerate__35(Root,data)
  200. self:InitGenerate__36(Root,data)
  201. self:InitGenerate__37(Root,data)
  202. self:InitGenerate__38(Root,data)
  203. self:InitGenerate__39(Root,data)
  204. self:InitGenerate__40(Root,data)
  205. self:InitGenerate__41(Root,data)
  206. self:InitGenerate__42(Root,data)
  207. self:InitGenerate__43(Root,data)
  208. self:InitGenerate__44(Root,data)
  209. self:InitGenerate__45(Root,data)
  210. self:InitGenerate__46(Root,data)
  211. self:InitGenerate__47(Root,data)
  212. self:InitGenerate__48(Root,data)
  213. self:InitGenerate__49(Root,data)
  214. self:InitGenerate__50(Root,data)
  215. self:InitGenerate__51(Root,data)
  216. self:InitGenerate__52(Root,data)
  217. end
  218. ---@private
  219. function UIFashionLvUpView:InitGenerate__1(Root, data)
  220. --[[
  221. Root
  222. --]]
  223. end
  224. ---@private
  225. function UIFashionLvUpView:InitGenerate__2(Root, data)
  226. --[[
  227. UIAnimator
  228. --]]
  229. local tmp = Root:Find("UIAnimator").gameObject
  230. if tolua.getpeer(tmp) == nil then
  231. tolua.setpeer(tmp, {})
  232. end
  233. self.uIAnimator = tmp
  234. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  235. tmp.animator.logWarnings = false
  236. end
  237. ---@private
  238. function UIFashionLvUpView:InitGenerate__3(Root, data)
  239. --[[
  240. UIAnimator/Alpha
  241. --]]
  242. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  243. if tolua.getpeer(tmp) == nil then
  244. tolua.setpeer(tmp, {})
  245. end
  246. self.AnyBtn = tmp
  247. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  248. end
  249. ---@private
  250. function UIFashionLvUpView:InitGenerate__4(Root, data)
  251. --[[
  252. UIAnimator/Window/Bg
  253. --]]
  254. local tmp = Root:Find("UIAnimator/Window/Bg").gameObject
  255. if tolua.getpeer(tmp) == nil then
  256. tolua.setpeer(tmp, {})
  257. end
  258. self.bg = tmp
  259. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  260. end
  261. ---@private
  262. function UIFashionLvUpView:InitGenerate__5(Root, data)
  263. --[[
  264. UIAnimator/Window/Bg/CloseBox/BtnClose
  265. --]]
  266. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
  267. if tolua.getpeer(tmp) == nil then
  268. tolua.setpeer(tmp, {})
  269. end
  270. self.btnClose = tmp
  271. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  272. end
  273. ---@private
  274. function UIFashionLvUpView:InitGenerate__6(Root, data)
  275. --[[
  276. UIAnimator/Window/Bg/HeroInfo/FashionWearItem
  277. --]]
  278. local tmp = Root:Find("UIAnimator/Window/Bg/HeroInfo/FashionWearItem").gameObject
  279. if tolua.getpeer(tmp) == nil then
  280. tolua.setpeer(tmp, {})
  281. end
  282. self.fashionWearItem = CommonUtil.BindGridViewItem2LuaStatic("FashionWearItem", tmp)
  283. self.fashionWearItem.prefabName = "FashionWearItem"
  284. end
  285. ---@private
  286. function UIFashionLvUpView:InitGenerate__7(Root, data)
  287. --[[
  288. UIAnimator/Window/Bg/ScrollView
  289. --]]
  290. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView").gameObject
  291. if tolua.getpeer(tmp) == nil then
  292. tolua.setpeer(tmp, {})
  293. end
  294. self.scrollView = tmp
  295. end
  296. ---@private
  297. function UIFashionLvUpView:InitGenerate__8(Root, data)
  298. --[[
  299. UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV
  300. --]]
  301. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV").gameObject
  302. if tolua.getpeer(tmp) == nil then
  303. tolua.setpeer(tmp, {})
  304. end
  305. self.lV = tmp
  306. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  307. end
  308. ---@private
  309. function UIFashionLvUpView:InitGenerate__9(Root, data)
  310. --[[
  311. UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/Text
  312. --]]
  313. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/Text").gameObject
  314. if tolua.getpeer(tmp) == nil then
  315. tolua.setpeer(tmp, {})
  316. end
  317. self.lV.text = tmp
  318. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  319. end
  320. ---@private
  321. function UIFashionLvUpView:InitGenerate__10(Root, data)
  322. --[[
  323. UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/Number1
  324. --]]
  325. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/Number1").gameObject
  326. if tolua.getpeer(tmp) == nil then
  327. tolua.setpeer(tmp, {})
  328. end
  329. self.lV.number1 = tmp
  330. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  331. end
  332. ---@private
  333. function UIFashionLvUpView:InitGenerate__11(Root, data)
  334. --[[
  335. UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/Number2
  336. --]]
  337. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/Number2").gameObject
  338. if tolua.getpeer(tmp) == nil then
  339. tolua.setpeer(tmp, {})
  340. end
  341. self.lV.number2 = tmp
  342. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  343. end
  344. ---@private
  345. function UIFashionLvUpView:InitGenerate__12(Root, data)
  346. --[[
  347. UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/Image
  348. --]]
  349. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/Image").gameObject
  350. if tolua.getpeer(tmp) == nil then
  351. tolua.setpeer(tmp, {})
  352. end
  353. self.lV.image = tmp
  354. end
  355. ---@private
  356. function UIFashionLvUpView:InitGenerate__13(Root, data)
  357. --[[
  358. UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/fx
  359. --]]
  360. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/LV/fx").gameObject
  361. if tolua.getpeer(tmp) == nil then
  362. tolua.setpeer(tmp, {})
  363. end
  364. self.lV.fx = tmp
  365. end
  366. ---@private
  367. function UIFashionLvUpView:InitGenerate__14(Root, data)
  368. --[[
  369. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1
  370. --]]
  371. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1").gameObject
  372. if tolua.getpeer(tmp) == nil then
  373. tolua.setpeer(tmp, {})
  374. end
  375. self.attr1 = tmp
  376. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  377. end
  378. ---@private
  379. function UIFashionLvUpView:InitGenerate__15(Root, data)
  380. --[[
  381. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/Text
  382. --]]
  383. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/Text").gameObject
  384. if tolua.getpeer(tmp) == nil then
  385. tolua.setpeer(tmp, {})
  386. end
  387. self.attr1.text = tmp
  388. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  389. end
  390. ---@private
  391. function UIFashionLvUpView:InitGenerate__16(Root, data)
  392. --[[
  393. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/Number1
  394. --]]
  395. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/Number1").gameObject
  396. if tolua.getpeer(tmp) == nil then
  397. tolua.setpeer(tmp, {})
  398. end
  399. self.attr1.number1 = tmp
  400. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  401. end
  402. ---@private
  403. function UIFashionLvUpView:InitGenerate__17(Root, data)
  404. --[[
  405. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/Number2
  406. --]]
  407. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/Number2").gameObject
  408. if tolua.getpeer(tmp) == nil then
  409. tolua.setpeer(tmp, {})
  410. end
  411. self.attr1.number2 = tmp
  412. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  413. end
  414. ---@private
  415. function UIFashionLvUpView:InitGenerate__18(Root, data)
  416. --[[
  417. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/Image
  418. --]]
  419. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/Image").gameObject
  420. if tolua.getpeer(tmp) == nil then
  421. tolua.setpeer(tmp, {})
  422. end
  423. self.attr1.image = tmp
  424. end
  425. ---@private
  426. function UIFashionLvUpView:InitGenerate__19(Root, data)
  427. --[[
  428. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/fx
  429. --]]
  430. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr1/fx").gameObject
  431. if tolua.getpeer(tmp) == nil then
  432. tolua.setpeer(tmp, {})
  433. end
  434. self.attr1.fx = tmp
  435. end
  436. ---@private
  437. function UIFashionLvUpView:InitGenerate__20(Root, data)
  438. --[[
  439. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2
  440. --]]
  441. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2").gameObject
  442. if tolua.getpeer(tmp) == nil then
  443. tolua.setpeer(tmp, {})
  444. end
  445. self.attr2 = tmp
  446. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  447. end
  448. ---@private
  449. function UIFashionLvUpView:InitGenerate__21(Root, data)
  450. --[[
  451. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/Text
  452. --]]
  453. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/Text").gameObject
  454. if tolua.getpeer(tmp) == nil then
  455. tolua.setpeer(tmp, {})
  456. end
  457. self.attr2.text = tmp
  458. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  459. end
  460. ---@private
  461. function UIFashionLvUpView:InitGenerate__22(Root, data)
  462. --[[
  463. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/Number1
  464. --]]
  465. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/Number1").gameObject
  466. if tolua.getpeer(tmp) == nil then
  467. tolua.setpeer(tmp, {})
  468. end
  469. self.attr2.number1 = tmp
  470. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  471. end
  472. ---@private
  473. function UIFashionLvUpView:InitGenerate__23(Root, data)
  474. --[[
  475. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/Number2
  476. --]]
  477. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/Number2").gameObject
  478. if tolua.getpeer(tmp) == nil then
  479. tolua.setpeer(tmp, {})
  480. end
  481. self.attr2.number2 = tmp
  482. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  483. end
  484. ---@private
  485. function UIFashionLvUpView:InitGenerate__24(Root, data)
  486. --[[
  487. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/Image
  488. --]]
  489. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/Image").gameObject
  490. if tolua.getpeer(tmp) == nil then
  491. tolua.setpeer(tmp, {})
  492. end
  493. self.attr2.image = tmp
  494. end
  495. ---@private
  496. function UIFashionLvUpView:InitGenerate__25(Root, data)
  497. --[[
  498. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/fx
  499. --]]
  500. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr2/fx").gameObject
  501. if tolua.getpeer(tmp) == nil then
  502. tolua.setpeer(tmp, {})
  503. end
  504. self.attr2.fx = tmp
  505. end
  506. ---@private
  507. function UIFashionLvUpView:InitGenerate__26(Root, data)
  508. --[[
  509. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3
  510. --]]
  511. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3").gameObject
  512. if tolua.getpeer(tmp) == nil then
  513. tolua.setpeer(tmp, {})
  514. end
  515. self.attr3 = tmp
  516. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  517. end
  518. ---@private
  519. function UIFashionLvUpView:InitGenerate__27(Root, data)
  520. --[[
  521. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/Text
  522. --]]
  523. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/Text").gameObject
  524. if tolua.getpeer(tmp) == nil then
  525. tolua.setpeer(tmp, {})
  526. end
  527. self.attr3.text = tmp
  528. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  529. end
  530. ---@private
  531. function UIFashionLvUpView:InitGenerate__28(Root, data)
  532. --[[
  533. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/Number1
  534. --]]
  535. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/Number1").gameObject
  536. if tolua.getpeer(tmp) == nil then
  537. tolua.setpeer(tmp, {})
  538. end
  539. self.attr3.number1 = tmp
  540. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  541. end
  542. ---@private
  543. function UIFashionLvUpView:InitGenerate__29(Root, data)
  544. --[[
  545. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/Number2
  546. --]]
  547. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/Number2").gameObject
  548. if tolua.getpeer(tmp) == nil then
  549. tolua.setpeer(tmp, {})
  550. end
  551. self.attr3.number2 = tmp
  552. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  553. end
  554. ---@private
  555. function UIFashionLvUpView:InitGenerate__30(Root, data)
  556. --[[
  557. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/Image
  558. --]]
  559. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/Image").gameObject
  560. if tolua.getpeer(tmp) == nil then
  561. tolua.setpeer(tmp, {})
  562. end
  563. self.attr3.image = tmp
  564. end
  565. ---@private
  566. function UIFashionLvUpView:InitGenerate__31(Root, data)
  567. --[[
  568. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/fx
  569. --]]
  570. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr3/fx").gameObject
  571. if tolua.getpeer(tmp) == nil then
  572. tolua.setpeer(tmp, {})
  573. end
  574. self.attr3.fx = tmp
  575. end
  576. ---@private
  577. function UIFashionLvUpView:InitGenerate__32(Root, data)
  578. --[[
  579. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4
  580. --]]
  581. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4").gameObject
  582. if tolua.getpeer(tmp) == nil then
  583. tolua.setpeer(tmp, {})
  584. end
  585. self.attr4 = tmp
  586. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  587. end
  588. ---@private
  589. function UIFashionLvUpView:InitGenerate__33(Root, data)
  590. --[[
  591. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/Text
  592. --]]
  593. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/Text").gameObject
  594. if tolua.getpeer(tmp) == nil then
  595. tolua.setpeer(tmp, {})
  596. end
  597. self.attr4.text = tmp
  598. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  599. end
  600. ---@private
  601. function UIFashionLvUpView:InitGenerate__34(Root, data)
  602. --[[
  603. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/Number1
  604. --]]
  605. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/Number1").gameObject
  606. if tolua.getpeer(tmp) == nil then
  607. tolua.setpeer(tmp, {})
  608. end
  609. self.attr4.number1 = tmp
  610. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  611. end
  612. ---@private
  613. function UIFashionLvUpView:InitGenerate__35(Root, data)
  614. --[[
  615. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/Number2
  616. --]]
  617. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/Number2").gameObject
  618. if tolua.getpeer(tmp) == nil then
  619. tolua.setpeer(tmp, {})
  620. end
  621. self.attr4.number2 = tmp
  622. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  623. end
  624. ---@private
  625. function UIFashionLvUpView:InitGenerate__36(Root, data)
  626. --[[
  627. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/Image
  628. --]]
  629. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/Image").gameObject
  630. if tolua.getpeer(tmp) == nil then
  631. tolua.setpeer(tmp, {})
  632. end
  633. self.attr4.image = tmp
  634. end
  635. ---@private
  636. function UIFashionLvUpView:InitGenerate__37(Root, data)
  637. --[[
  638. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/fx
  639. --]]
  640. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr4/fx").gameObject
  641. if tolua.getpeer(tmp) == nil then
  642. tolua.setpeer(tmp, {})
  643. end
  644. self.attr4.fx = tmp
  645. end
  646. ---@private
  647. function UIFashionLvUpView:InitGenerate__38(Root, data)
  648. --[[
  649. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5
  650. --]]
  651. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5").gameObject
  652. if tolua.getpeer(tmp) == nil then
  653. tolua.setpeer(tmp, {})
  654. end
  655. self.attr5 = tmp
  656. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  657. end
  658. ---@private
  659. function UIFashionLvUpView:InitGenerate__39(Root, data)
  660. --[[
  661. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/Text
  662. --]]
  663. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/Text").gameObject
  664. if tolua.getpeer(tmp) == nil then
  665. tolua.setpeer(tmp, {})
  666. end
  667. self.attr5.text = tmp
  668. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  669. end
  670. ---@private
  671. function UIFashionLvUpView:InitGenerate__40(Root, data)
  672. --[[
  673. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/Number1
  674. --]]
  675. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/Number1").gameObject
  676. if tolua.getpeer(tmp) == nil then
  677. tolua.setpeer(tmp, {})
  678. end
  679. self.attr5.number1 = tmp
  680. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  681. end
  682. ---@private
  683. function UIFashionLvUpView:InitGenerate__41(Root, data)
  684. --[[
  685. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/Number2
  686. --]]
  687. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/Number2").gameObject
  688. if tolua.getpeer(tmp) == nil then
  689. tolua.setpeer(tmp, {})
  690. end
  691. self.attr5.number2 = tmp
  692. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  693. end
  694. ---@private
  695. function UIFashionLvUpView:InitGenerate__42(Root, data)
  696. --[[
  697. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/Image
  698. --]]
  699. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/Image").gameObject
  700. if tolua.getpeer(tmp) == nil then
  701. tolua.setpeer(tmp, {})
  702. end
  703. self.attr5.image = tmp
  704. end
  705. ---@private
  706. function UIFashionLvUpView:InitGenerate__43(Root, data)
  707. --[[
  708. UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/fx
  709. --]]
  710. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/grid/Attr5/fx").gameObject
  711. if tolua.getpeer(tmp) == nil then
  712. tolua.setpeer(tmp, {})
  713. end
  714. self.attr5.fx = tmp
  715. end
  716. ---@private
  717. function UIFashionLvUpView:InitGenerate__44(Root, data)
  718. --[[
  719. UIAnimator/Window/Bg/ScrollView/NameTitle/Text
  720. --]]
  721. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/NameTitle/Text").gameObject
  722. if tolua.getpeer(tmp) == nil then
  723. tolua.setpeer(tmp, {})
  724. end
  725. self.scrollView.text = tmp
  726. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  727. end
  728. ---@private
  729. function UIFashionLvUpView:InitGenerate__45(Root, data)
  730. --[[
  731. UIAnimator/Window/Bg/ScrollView/NameTitle/bg/numlv
  732. --]]
  733. local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/NameTitle/bg/numlv").gameObject
  734. if tolua.getpeer(tmp) == nil then
  735. tolua.setpeer(tmp, {})
  736. end
  737. self.scrollView.numlv = tmp
  738. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  739. end
  740. ---@private
  741. function UIFashionLvUpView:InitGenerate__46(Root, data)
  742. --[[
  743. UIAnimator/Window/Bg/BoxCost
  744. --]]
  745. local tmp = Root:Find("UIAnimator/Window/Bg/BoxCost").gameObject
  746. if tolua.getpeer(tmp) == nil then
  747. tolua.setpeer(tmp, {})
  748. end
  749. self.boxCost = tmp
  750. end
  751. ---@private
  752. function UIFashionLvUpView:InitGenerate__47(Root, data)
  753. --[[
  754. UIAnimator/Window/Bg/BoxCost/Cost/CostItem
  755. --]]
  756. local tmp = Root:Find("UIAnimator/Window/Bg/BoxCost/Cost/CostItem").gameObject
  757. if tolua.getpeer(tmp) == nil then
  758. tolua.setpeer(tmp, {})
  759. end
  760. self.cost1 = CommonUtil.BindGridViewItem2LuaStatic("CostItem", tmp)
  761. self.cost1.prefabName = "CostItem"
  762. end
  763. ---@private
  764. function UIFashionLvUpView:InitGenerate__48(Root, data)
  765. --[[
  766. UIAnimator/Window/Bg/BoxCost/Cost/CostItem1
  767. --]]
  768. local tmp = Root:Find("UIAnimator/Window/Bg/BoxCost/Cost/CostItem1").gameObject
  769. if tolua.getpeer(tmp) == nil then
  770. tolua.setpeer(tmp, {})
  771. end
  772. self.cost2 = CommonUtil.BindGridViewItem2LuaStatic("CostItem", tmp)
  773. self.cost2.prefabName = "CostItem"
  774. end
  775. ---@private
  776. function UIFashionLvUpView:InitGenerate__49(Root, data)
  777. --[[
  778. UIAnimator/Window/Bg/BoxCost/Cost/CostItem2
  779. --]]
  780. local tmp = Root:Find("UIAnimator/Window/Bg/BoxCost/Cost/CostItem2").gameObject
  781. if tolua.getpeer(tmp) == nil then
  782. tolua.setpeer(tmp, {})
  783. end
  784. self.cost3 = CommonUtil.BindGridViewItem2LuaStatic("CostItem", tmp)
  785. self.cost3.prefabName = "CostItem"
  786. end
  787. ---@private
  788. function UIFashionLvUpView:InitGenerate__50(Root, data)
  789. --[[
  790. UIAnimator/Window/Bg/Bottom/Max
  791. --]]
  792. local tmp = Root:Find("UIAnimator/Window/Bg/Bottom/Max").gameObject
  793. if tolua.getpeer(tmp) == nil then
  794. tolua.setpeer(tmp, {})
  795. end
  796. self.max = tmp
  797. end
  798. ---@private
  799. function UIFashionLvUpView:InitGenerate__51(Root, data)
  800. --[[
  801. UIAnimator/Window/Bg/Bottom/BtnLvUp
  802. --]]
  803. local tmp = Root:Find("UIAnimator/Window/Bg/Bottom/BtnLvUp").gameObject
  804. if tolua.getpeer(tmp) == nil then
  805. tolua.setpeer(tmp, {})
  806. end
  807. self.btnLvUp = tmp
  808. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  809. end
  810. ---@private
  811. function UIFashionLvUpView:InitGenerate__52(Root, data)
  812. --[[
  813. UIAnimator/Window/Bg/fx
  814. --]]
  815. local tmp = Root:Find("UIAnimator/Window/Bg/fx").gameObject
  816. if tolua.getpeer(tmp) == nil then
  817. tolua.setpeer(tmp, {})
  818. end
  819. self.bg.fx = tmp
  820. end
  821. ---@private
  822. function UIFashionLvUpView:GenerateDestroy()
  823. if tolua.getpeer(self.bg.fx) ~= nil then
  824. tolua.setpeer(self.bg.fx, nil)
  825. end
  826. if tolua.getpeer(self.scrollView.numlv) ~= nil then
  827. tolua.setpeer(self.scrollView.numlv, nil)
  828. end
  829. if tolua.getpeer(self.scrollView.text) ~= nil then
  830. tolua.setpeer(self.scrollView.text, nil)
  831. end
  832. if tolua.getpeer(self.attr5.fx) ~= nil then
  833. tolua.setpeer(self.attr5.fx, nil)
  834. end
  835. if tolua.getpeer(self.attr5.image) ~= nil then
  836. tolua.setpeer(self.attr5.image, nil)
  837. end
  838. if tolua.getpeer(self.attr5.number2) ~= nil then
  839. tolua.setpeer(self.attr5.number2, nil)
  840. end
  841. if tolua.getpeer(self.attr5.number1) ~= nil then
  842. tolua.setpeer(self.attr5.number1, nil)
  843. end
  844. if tolua.getpeer(self.attr5.text) ~= nil then
  845. tolua.setpeer(self.attr5.text, nil)
  846. end
  847. if tolua.getpeer(self.attr4.fx) ~= nil then
  848. tolua.setpeer(self.attr4.fx, nil)
  849. end
  850. if tolua.getpeer(self.attr4.image) ~= nil then
  851. tolua.setpeer(self.attr4.image, nil)
  852. end
  853. if tolua.getpeer(self.attr4.number2) ~= nil then
  854. tolua.setpeer(self.attr4.number2, nil)
  855. end
  856. if tolua.getpeer(self.attr4.number1) ~= nil then
  857. tolua.setpeer(self.attr4.number1, nil)
  858. end
  859. if tolua.getpeer(self.attr4.text) ~= nil then
  860. tolua.setpeer(self.attr4.text, nil)
  861. end
  862. if tolua.getpeer(self.attr3.fx) ~= nil then
  863. tolua.setpeer(self.attr3.fx, nil)
  864. end
  865. if tolua.getpeer(self.attr3.image) ~= nil then
  866. tolua.setpeer(self.attr3.image, nil)
  867. end
  868. if tolua.getpeer(self.attr3.number2) ~= nil then
  869. tolua.setpeer(self.attr3.number2, nil)
  870. end
  871. if tolua.getpeer(self.attr3.number1) ~= nil then
  872. tolua.setpeer(self.attr3.number1, nil)
  873. end
  874. if tolua.getpeer(self.attr3.text) ~= nil then
  875. tolua.setpeer(self.attr3.text, nil)
  876. end
  877. if tolua.getpeer(self.attr2.fx) ~= nil then
  878. tolua.setpeer(self.attr2.fx, nil)
  879. end
  880. if tolua.getpeer(self.attr2.image) ~= nil then
  881. tolua.setpeer(self.attr2.image, nil)
  882. end
  883. if tolua.getpeer(self.attr2.number2) ~= nil then
  884. tolua.setpeer(self.attr2.number2, nil)
  885. end
  886. if tolua.getpeer(self.attr2.number1) ~= nil then
  887. tolua.setpeer(self.attr2.number1, nil)
  888. end
  889. if tolua.getpeer(self.attr2.text) ~= nil then
  890. tolua.setpeer(self.attr2.text, nil)
  891. end
  892. if tolua.getpeer(self.attr1.fx) ~= nil then
  893. tolua.setpeer(self.attr1.fx, nil)
  894. end
  895. if tolua.getpeer(self.attr1.image) ~= nil then
  896. tolua.setpeer(self.attr1.image, nil)
  897. end
  898. if tolua.getpeer(self.attr1.number2) ~= nil then
  899. tolua.setpeer(self.attr1.number2, nil)
  900. end
  901. if tolua.getpeer(self.attr1.number1) ~= nil then
  902. tolua.setpeer(self.attr1.number1, nil)
  903. end
  904. if tolua.getpeer(self.attr1.text) ~= nil then
  905. tolua.setpeer(self.attr1.text, nil)
  906. end
  907. if tolua.getpeer(self.lV.fx) ~= nil then
  908. tolua.setpeer(self.lV.fx, nil)
  909. end
  910. if tolua.getpeer(self.lV.image) ~= nil then
  911. tolua.setpeer(self.lV.image, nil)
  912. end
  913. if tolua.getpeer(self.lV.number2) ~= nil then
  914. tolua.setpeer(self.lV.number2, nil)
  915. end
  916. if tolua.getpeer(self.lV.number1) ~= nil then
  917. tolua.setpeer(self.lV.number1, nil)
  918. end
  919. if tolua.getpeer(self.lV.text) ~= nil then
  920. tolua.setpeer(self.lV.text, nil)
  921. end
  922. if tolua.getpeer(self.uIAnimator) ~= nil then
  923. tolua.setpeer(self.uIAnimator, nil)
  924. end
  925. self.uIAnimator = nil
  926. if tolua.getpeer(self.AnyBtn) ~= nil then
  927. tolua.setpeer(self.AnyBtn, nil)
  928. end
  929. self.AnyBtn = nil
  930. if tolua.getpeer(self.bg) ~= nil then
  931. tolua.setpeer(self.bg, nil)
  932. end
  933. self.bg = nil
  934. if tolua.getpeer(self.btnClose) ~= nil then
  935. tolua.setpeer(self.btnClose, nil)
  936. end
  937. self.btnClose = nil
  938. if self.fashionWearItem.GenerateDestroy ~= nil then
  939. self.fashionWearItem:GenerateDestroy()
  940. end
  941. if tolua.getpeer(self.fashionWearItem) ~= nil then
  942. tolua.setpeer(self.fashionWearItem, nil)
  943. end
  944. self.fashionWearItem = nil
  945. if tolua.getpeer(self.scrollView) ~= nil then
  946. tolua.setpeer(self.scrollView, nil)
  947. end
  948. self.scrollView = nil
  949. if tolua.getpeer(self.lV) ~= nil then
  950. tolua.setpeer(self.lV, nil)
  951. end
  952. self.lV = nil
  953. if tolua.getpeer(self.attr1) ~= nil then
  954. tolua.setpeer(self.attr1, nil)
  955. end
  956. self.attr1 = nil
  957. if tolua.getpeer(self.attr2) ~= nil then
  958. tolua.setpeer(self.attr2, nil)
  959. end
  960. self.attr2 = nil
  961. if tolua.getpeer(self.attr3) ~= nil then
  962. tolua.setpeer(self.attr3, nil)
  963. end
  964. self.attr3 = nil
  965. if tolua.getpeer(self.attr4) ~= nil then
  966. tolua.setpeer(self.attr4, nil)
  967. end
  968. self.attr4 = nil
  969. if tolua.getpeer(self.attr5) ~= nil then
  970. tolua.setpeer(self.attr5, nil)
  971. end
  972. self.attr5 = nil
  973. if tolua.getpeer(self.boxCost) ~= nil then
  974. tolua.setpeer(self.boxCost, nil)
  975. end
  976. self.boxCost = nil
  977. if self.cost1.GenerateDestroy ~= nil then
  978. self.cost1:GenerateDestroy()
  979. end
  980. if tolua.getpeer(self.cost1) ~= nil then
  981. tolua.setpeer(self.cost1, nil)
  982. end
  983. self.cost1 = nil
  984. if self.cost2.GenerateDestroy ~= nil then
  985. self.cost2:GenerateDestroy()
  986. end
  987. if tolua.getpeer(self.cost2) ~= nil then
  988. tolua.setpeer(self.cost2, nil)
  989. end
  990. self.cost2 = nil
  991. if self.cost3.GenerateDestroy ~= nil then
  992. self.cost3:GenerateDestroy()
  993. end
  994. if tolua.getpeer(self.cost3) ~= nil then
  995. tolua.setpeer(self.cost3, nil)
  996. end
  997. self.cost3 = nil
  998. if tolua.getpeer(self.max) ~= nil then
  999. tolua.setpeer(self.max, nil)
  1000. end
  1001. self.max = nil
  1002. if tolua.getpeer(self.btnLvUp) ~= nil then
  1003. tolua.setpeer(self.btnLvUp, nil)
  1004. end
  1005. self.btnLvUp = nil
  1006. self.transform = nil
  1007. self.gameObject = nil
  1008. self.inited = false
  1009. end
  1010. return UIFashionLvUpView