UIFashionView_Generate.lua 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247
  1. ---@class UIFashion__Generate_btnAllAttr
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIFashion__Generate_btnSave
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UIFashion__Generate_btnGoto
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public button UnityEngine.UI.Button
  10. ---@class UIFashion__Generate_scrollView
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public loopGridView SuperScrollView.LoopGridView
  13. ---@field public fashionWearItem UnityEngine.GameObject
  14. ---@class UIFashion__Generate_toggleScrollView_togBack
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public toggle UnityEngine.UI.Toggle
  17. ---@field public redPoint UnityEngine.GameObject
  18. ---@class UIFashion__Generate_toggleScrollView_togClothes
  19. ---@field public gameObject UnityEngine.GameObject
  20. ---@field public toggle UnityEngine.UI.Toggle
  21. ---@field public redPoint UnityEngine.GameObject
  22. ---@class UIFashion__Generate_toggleScrollView_togWeapon
  23. ---@field public gameObject UnityEngine.GameObject
  24. ---@field public toggle UnityEngine.UI.Toggle
  25. ---@field public redPoint UnityEngine.GameObject
  26. ---@class UIFashion__Generate_toggleScrollView_togHeadBottom
  27. ---@field public gameObject UnityEngine.GameObject
  28. ---@field public toggle UnityEngine.UI.Toggle
  29. ---@field public redPoint UnityEngine.GameObject
  30. ---@class UIFashion__Generate_toggleScrollView_togHeadMiddle
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public toggle UnityEngine.UI.Toggle
  33. ---@field public redPoint UnityEngine.GameObject
  34. ---@class UIFashion__Generate_toggleScrollView_togHeadTop
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public toggle UnityEngine.UI.Toggle
  37. ---@field public redPoint UnityEngine.GameObject
  38. ---@class UIFashion__Generate_toggleScrollView_togAll
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public toggle UnityEngine.UI.Toggle
  41. ---@field public redPoint UnityEngine.GameObject
  42. ---@class UIFashion__Generate_toggleScrollView_content
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public toggleGroup UnityEngine.UI.ToggleGroup
  45. ---@class UIFashion__Generate_toggleScrollView
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public content UIFashion__Generate_toggleScrollView_content
  48. ---@field public togAll UIFashion__Generate_toggleScrollView_togAll
  49. ---@field public togHeadTop UIFashion__Generate_toggleScrollView_togHeadTop
  50. ---@field public togHeadMiddle UIFashion__Generate_toggleScrollView_togHeadMiddle
  51. ---@field public togHeadBottom UIFashion__Generate_toggleScrollView_togHeadBottom
  52. ---@field public togWeapon UIFashion__Generate_toggleScrollView_togWeapon
  53. ---@field public togClothes UIFashion__Generate_toggleScrollView_togClothes
  54. ---@field public togBack UIFashion__Generate_toggleScrollView_togBack
  55. ---@class UIFashion__Generate_switch
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public animator UnityEngine.Animator
  58. ---@field public toggle UnityEngine.UI.Toggle
  59. ---@class UIFashion__Generate_uIBook_btnWash
  60. ---@field public gameObject UnityEngine.GameObject
  61. ---@field public button UnityEngine.UI.Button
  62. ---@class UIFashion__Generate_uIBook_btnUpgrade
  63. ---@field public gameObject UnityEngine.GameObject
  64. ---@field public button UnityEngine.UI.Button
  65. ---@field public uIRedPointRP UnityEngine.GameObject
  66. ---@class UIFashion__Generate_uIBook_detail_describe
  67. ---@field public gameObject UnityEngine.GameObject
  68. ---@field public text UnityEngine.UI.Text
  69. ---@class UIFashion__Generate_uIBook_detail_jobBox
  70. ---@field public gameObject UnityEngine.GameObject
  71. ---@field public icon UnityEngine.GameObject
  72. ---@class UIFashion__Generate_uIBook_detail_slotPosName
  73. ---@field public gameObject UnityEngine.GameObject
  74. ---@field public text UnityEngine.UI.Text
  75. ---@class UIFashion__Generate_uIBook_detail_lv
  76. ---@field public gameObject UnityEngine.GameObject
  77. ---@field public text UnityEngine.UI.Text
  78. ---@class UIFashion__Generate_uIBook_detail_itemName
  79. ---@field public gameObject UnityEngine.GameObject
  80. ---@field public text UnityEngine.UI.Text
  81. ---@class UIFashion__Generate_suites
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public suitesLvItem1 UnityEngine.GameObject
  84. ---@field public suitesLvItem2 UnityEngine.GameObject
  85. ---@field public suitesLvItem3 UnityEngine.GameObject
  86. ---@field public suitesLvItem4 UnityEngine.GameObject
  87. ---@class UIFashion__Generate_btnSuites
  88. ---@field public gameObject UnityEngine.GameObject
  89. ---@field public button UnityEngine.UI.Button
  90. ---@class UIFashion__Generate_uIBook_detail_icon
  91. ---@field public gameObject UnityEngine.GameObject
  92. ---@field public image UnityEngine.UI.Image
  93. ---@class UIFashion__Generate_uIBook_detail
  94. ---@field public gameObject UnityEngine.GameObject
  95. ---@field public icon UIFashion__Generate_uIBook_detail_icon
  96. ---@field public itemName UIFashion__Generate_uIBook_detail_itemName
  97. ---@field public lv UIFashion__Generate_uIBook_detail_lv
  98. ---@field public slotPosName UIFashion__Generate_uIBook_detail_slotPosName
  99. ---@field public noJob UnityEngine.GameObject
  100. ---@field public jobBox UIFashion__Generate_uIBook_detail_jobBox
  101. ---@field public describe UIFashion__Generate_uIBook_detail_describe
  102. ---@field public propertyItem1 UnityEngine.GameObject
  103. ---@field public propertyItem2 UnityEngine.GameObject
  104. ---@field public propertyItem3 UnityEngine.GameObject
  105. ---@field public propertyItem4 UnityEngine.GameObject
  106. ---@field public propertyItem5 UnityEngine.GameObject
  107. ---@class UIFashion__Generate_uIBook
  108. ---@field public gameObject UnityEngine.GameObject
  109. ---@field public detail UIFashion__Generate_uIBook_detail
  110. ---@field public labelMax UnityEngine.GameObject
  111. ---@field public btnUpgrade UIFashion__Generate_uIBook_btnUpgrade
  112. ---@field public btnWash UIFashion__Generate_uIBook_btnWash
  113. ---@class UIFashion__Generate_alpha
  114. ---@field public gameObject UnityEngine.GameObject
  115. ---@field public button UnityEngine.UI.Button
  116. ---@class UIFashion__Generate_model
  117. ---@field public gameObject UnityEngine.GameObject
  118. ---@field public rawImage UnityEngine.UI.RawImage
  119. ---@field public uIEventTriggerListener UIEventTriggerListener
  120. ---@class UIFashion__Generate_uIFashionAnim
  121. ---@field public gameObject UnityEngine.GameObject
  122. ---@field public animator UnityEngine.Animator
  123. ---@class UIFashion__Generate_mirrorModel
  124. ---@field public gameObject UnityEngine.GameObject
  125. ---@field public rawImage UnityEngine.UI.RawImage
  126. ---@class UIFashion__Generate_AnyBtn
  127. ---@field public gameObject UnityEngine.GameObject
  128. ---@field public button UnityEngine.UI.Button
  129. ---@class UIFashion__Generate_uIAnimator
  130. ---@field public gameObject UnityEngine.GameObject
  131. ---@field public animator UnityEngine.Animator
  132. ---@class UIFashion__Generate
  133. ---@field private gameObject UnityEngine.GameObject
  134. ---@field private transform UnityEngine.Transform
  135. ---@field private uIAnimator UIFashion__Generate_uIAnimator
  136. ---@field private AnyBtn UIFashion__Generate_AnyBtn
  137. ---@field private mirrorModel UIFashion__Generate_mirrorModel
  138. ---@field private uIFashionAnim UIFashion__Generate_uIFashionAnim
  139. ---@field private model UIFashion__Generate_model
  140. ---@field private alpha UIFashion__Generate_alpha
  141. ---@field private uIBook UIFashion__Generate_uIBook
  142. ---@field private btnSuites UIFashion__Generate_btnSuites
  143. ---@field private suites UIFashion__Generate_suites
  144. ---@field private rightEmpty UnityEngine.GameObject
  145. ---@field private switch UIFashion__Generate_switch
  146. ---@field private onBook UnityEngine.GameObject
  147. ---@field private onFashion UnityEngine.GameObject
  148. ---@field private book UnityEngine.GameObject
  149. ---@field private toggleScrollView UIFashion__Generate_toggleScrollView
  150. ---@field private scrollView UIFashion__Generate_scrollView
  151. ---@field private btnGoto UIFashion__Generate_btnGoto
  152. ---@field private btnSave UIFashion__Generate_btnSave
  153. ---@field private btnAllAttr UIFashion__Generate_btnAllAttr
  154. local UIFashionView = class("UIFashionView", require("UIViewBase"))
  155. function UIFashionView:ctor()
  156. end
  157. ---@private
  158. function UIFashionView:SetActive(result)
  159. self.gameObject:SetActive(result)
  160. end
  161. ---@private
  162. function UIFashionView:InitGenerate(Root, data)
  163. self.transform = Root
  164. self.inited = true
  165. if self.super.Init then
  166. self.super.Init(self)
  167. end
  168. local tmp
  169. self:InitGenerate__1(Root,data)
  170. self:InitGenerate__2(Root,data)
  171. self:InitGenerate__3(Root,data)
  172. self:InitGenerate__4(Root,data)
  173. self:InitGenerate__5(Root,data)
  174. self:InitGenerate__6(Root,data)
  175. self:InitGenerate__7(Root,data)
  176. self:InitGenerate__8(Root,data)
  177. self:InitGenerate__9(Root,data)
  178. self:InitGenerate__10(Root,data)
  179. self:InitGenerate__11(Root,data)
  180. self:InitGenerate__12(Root,data)
  181. self:InitGenerate__13(Root,data)
  182. self:InitGenerate__14(Root,data)
  183. self:InitGenerate__15(Root,data)
  184. self:InitGenerate__16(Root,data)
  185. self:InitGenerate__17(Root,data)
  186. self:InitGenerate__18(Root,data)
  187. self:InitGenerate__19(Root,data)
  188. self:InitGenerate__20(Root,data)
  189. self:InitGenerate__21(Root,data)
  190. self:InitGenerate__22(Root,data)
  191. self:InitGenerate__23(Root,data)
  192. self:InitGenerate__24(Root,data)
  193. self:InitGenerate__25(Root,data)
  194. self:InitGenerate__26(Root,data)
  195. self:InitGenerate__27(Root,data)
  196. self:InitGenerate__28(Root,data)
  197. self:InitGenerate__29(Root,data)
  198. self:InitGenerate__30(Root,data)
  199. self:InitGenerate__31(Root,data)
  200. self:InitGenerate__32(Root,data)
  201. self:InitGenerate__33(Root,data)
  202. self:InitGenerate__34(Root,data)
  203. self:InitGenerate__35(Root,data)
  204. self:InitGenerate__36(Root,data)
  205. self:InitGenerate__37(Root,data)
  206. self:InitGenerate__38(Root,data)
  207. self:InitGenerate__39(Root,data)
  208. self:InitGenerate__40(Root,data)
  209. self:InitGenerate__41(Root,data)
  210. self:InitGenerate__42(Root,data)
  211. self:InitGenerate__43(Root,data)
  212. self:InitGenerate__44(Root,data)
  213. self:InitGenerate__45(Root,data)
  214. self:InitGenerate__46(Root,data)
  215. self:InitGenerate__47(Root,data)
  216. self:InitGenerate__48(Root,data)
  217. self:InitGenerate__49(Root,data)
  218. self:InitGenerate__50(Root,data)
  219. self:InitGenerate__51(Root,data)
  220. self:InitGenerate__52(Root,data)
  221. self:InitGenerate__53(Root,data)
  222. self:InitGenerate__54(Root,data)
  223. self:InitGenerate__55(Root,data)
  224. self:InitGenerate__56(Root,data)
  225. self:InitGenerate__57(Root,data)
  226. end
  227. ---@private
  228. function UIFashionView:InitGenerate__1(Root, data)
  229. --[[
  230. UIAnimator
  231. --]]
  232. local tmp = Root:Find("UIAnimator").gameObject
  233. if tolua.getpeer(tmp) == nil then
  234. tolua.setpeer(tmp, {})
  235. end
  236. self.uIAnimator = tmp
  237. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  238. tmp.animator.logWarnings = false
  239. end
  240. ---@private
  241. function UIFashionView:InitGenerate__2(Root, data)
  242. --[[
  243. UIAnimator/Alpha
  244. --]]
  245. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  246. if tolua.getpeer(tmp) == nil then
  247. tolua.setpeer(tmp, {})
  248. end
  249. self.AnyBtn = tmp
  250. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  251. end
  252. ---@private
  253. function UIFashionView:InitGenerate__3(Root, data)
  254. --[[
  255. UIAnimator/Window/BG/MirrorMask/MirrorModel
  256. --]]
  257. local tmp = Root:Find("UIAnimator/Window/BG/MirrorMask/MirrorModel").gameObject
  258. if tolua.getpeer(tmp) == nil then
  259. tolua.setpeer(tmp, {})
  260. end
  261. self.mirrorModel = tmp
  262. tmp.rawImage = tmp:GetComponent(Enum.TypeInfo.RawImage)
  263. end
  264. ---@private
  265. function UIFashionView:InitGenerate__4(Root, data)
  266. --[[
  267. UIAnimator/Window/UIFashionAnim
  268. --]]
  269. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim").gameObject
  270. if tolua.getpeer(tmp) == nil then
  271. tolua.setpeer(tmp, {})
  272. end
  273. self.uIFashionAnim = tmp
  274. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  275. tmp.animator.logWarnings = false
  276. end
  277. ---@private
  278. function UIFashionView:InitGenerate__5(Root, data)
  279. --[[
  280. UIAnimator/Window/UIFashionAnim/Model
  281. --]]
  282. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Model").gameObject
  283. if tolua.getpeer(tmp) == nil then
  284. tolua.setpeer(tmp, {})
  285. end
  286. self.model = tmp
  287. tmp.rawImage = tmp:GetComponent(Enum.TypeInfo.RawImage)
  288. tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
  289. end
  290. ---@private
  291. function UIFashionView:InitGenerate__6(Root, data)
  292. --[[
  293. UIAnimator/Window/UIFashionAnim/Alpha
  294. --]]
  295. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Alpha").gameObject
  296. if tolua.getpeer(tmp) == nil then
  297. tolua.setpeer(tmp, {})
  298. end
  299. self.alpha = tmp
  300. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  301. end
  302. ---@private
  303. function UIFashionView:InitGenerate__7(Root, data)
  304. --[[
  305. UIAnimator/Window/UIFashionAnim/UIBook
  306. --]]
  307. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook").gameObject
  308. if tolua.getpeer(tmp) == nil then
  309. tolua.setpeer(tmp, {})
  310. end
  311. self.uIBook = tmp
  312. end
  313. ---@private
  314. function UIFashionView:InitGenerate__8(Root, data)
  315. --[[
  316. UIAnimator/Window/UIFashionAnim/UIBook/Detail
  317. --]]
  318. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail").gameObject
  319. if tolua.getpeer(tmp) == nil then
  320. tolua.setpeer(tmp, {})
  321. end
  322. self.uIBook.detail = tmp
  323. end
  324. ---@private
  325. function UIFashionView:InitGenerate__9(Root, data)
  326. --[[
  327. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/Icon
  328. --]]
  329. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/Icon").gameObject
  330. if tolua.getpeer(tmp) == nil then
  331. tolua.setpeer(tmp, {})
  332. end
  333. self.uIBook.detail.icon = tmp
  334. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  335. end
  336. ---@private
  337. function UIFashionView:InitGenerate__10(Root, data)
  338. --[[
  339. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites
  340. --]]
  341. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites").gameObject
  342. if tolua.getpeer(tmp) == nil then
  343. tolua.setpeer(tmp, {})
  344. end
  345. self.btnSuites = tmp
  346. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  347. end
  348. ---@private
  349. function UIFashionView:InitGenerate__11(Root, data)
  350. --[[
  351. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites
  352. --]]
  353. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites").gameObject
  354. if tolua.getpeer(tmp) == nil then
  355. tolua.setpeer(tmp, {})
  356. end
  357. self.suites = tmp
  358. end
  359. ---@private
  360. function UIFashionView:InitGenerate__12(Root, data)
  361. --[[
  362. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem1
  363. --]]
  364. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem1").gameObject
  365. if tolua.getpeer(tmp) == nil then
  366. tolua.setpeer(tmp, {})
  367. end
  368. self.suites.suitesLvItem1 = CommonUtil.BindGridViewItem2LuaStatic("SuitesLvItem", tmp)
  369. self.suites.suitesLvItem1.prefabName = "SuitesLvItem"
  370. end
  371. ---@private
  372. function UIFashionView:InitGenerate__13(Root, data)
  373. --[[
  374. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem2
  375. --]]
  376. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem2").gameObject
  377. if tolua.getpeer(tmp) == nil then
  378. tolua.setpeer(tmp, {})
  379. end
  380. self.suites.suitesLvItem2 = CommonUtil.BindGridViewItem2LuaStatic("SuitesLvItem", tmp)
  381. self.suites.suitesLvItem2.prefabName = "SuitesLvItem"
  382. end
  383. ---@private
  384. function UIFashionView:InitGenerate__14(Root, data)
  385. --[[
  386. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem3
  387. --]]
  388. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem3").gameObject
  389. if tolua.getpeer(tmp) == nil then
  390. tolua.setpeer(tmp, {})
  391. end
  392. self.suites.suitesLvItem3 = CommonUtil.BindGridViewItem2LuaStatic("SuitesLvItem", tmp)
  393. self.suites.suitesLvItem3.prefabName = "SuitesLvItem"
  394. end
  395. ---@private
  396. function UIFashionView:InitGenerate__15(Root, data)
  397. --[[
  398. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem4
  399. --]]
  400. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem4").gameObject
  401. if tolua.getpeer(tmp) == nil then
  402. tolua.setpeer(tmp, {})
  403. end
  404. self.suites.suitesLvItem4 = CommonUtil.BindGridViewItem2LuaStatic("SuitesLvItem", tmp)
  405. self.suites.suitesLvItem4.prefabName = "SuitesLvItem"
  406. end
  407. ---@private
  408. function UIFashionView:InitGenerate__16(Root, data)
  409. --[[
  410. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Name/ItemName
  411. --]]
  412. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Name/ItemName").gameObject
  413. if tolua.getpeer(tmp) == nil then
  414. tolua.setpeer(tmp, {})
  415. end
  416. self.uIBook.detail.itemName = tmp
  417. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  418. end
  419. ---@private
  420. function UIFashionView:InitGenerate__17(Root, data)
  421. --[[
  422. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr0/Lv
  423. --]]
  424. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr0/Lv").gameObject
  425. if tolua.getpeer(tmp) == nil then
  426. tolua.setpeer(tmp, {})
  427. end
  428. self.uIBook.detail.lv = tmp
  429. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  430. end
  431. ---@private
  432. function UIFashionView:InitGenerate__18(Root, data)
  433. --[[
  434. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr1/SlotPosName
  435. --]]
  436. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr1/SlotPosName").gameObject
  437. if tolua.getpeer(tmp) == nil then
  438. tolua.setpeer(tmp, {})
  439. end
  440. self.uIBook.detail.slotPosName = tmp
  441. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  442. end
  443. ---@private
  444. function UIFashionView:InitGenerate__19(Root, data)
  445. --[[
  446. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/NoJob
  447. --]]
  448. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/NoJob").gameObject
  449. if tolua.getpeer(tmp) == nil then
  450. tolua.setpeer(tmp, {})
  451. end
  452. self.uIBook.detail.noJob = tmp
  453. end
  454. ---@private
  455. function UIFashionView:InitGenerate__20(Root, data)
  456. --[[
  457. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/JobBox
  458. --]]
  459. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/JobBox").gameObject
  460. if tolua.getpeer(tmp) == nil then
  461. tolua.setpeer(tmp, {})
  462. end
  463. self.uIBook.detail.jobBox = tmp
  464. end
  465. ---@private
  466. function UIFashionView:InitGenerate__21(Root, data)
  467. --[[
  468. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/JobBox/icon
  469. --]]
  470. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/JobBox/icon").gameObject
  471. if tolua.getpeer(tmp) == nil then
  472. tolua.setpeer(tmp, {})
  473. end
  474. self.uIBook.detail.jobBox.icon = tmp
  475. end
  476. ---@private
  477. function UIFashionView:InitGenerate__22(Root, data)
  478. --[[
  479. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/DescribeBg/Describe
  480. --]]
  481. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/DescribeBg/Describe").gameObject
  482. if tolua.getpeer(tmp) == nil then
  483. tolua.setpeer(tmp, {})
  484. end
  485. self.uIBook.detail.describe = tmp
  486. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  487. end
  488. ---@private
  489. function UIFashionView:InitGenerate__23(Root, data)
  490. --[[
  491. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem1
  492. --]]
  493. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem1").gameObject
  494. if tolua.getpeer(tmp) == nil then
  495. tolua.setpeer(tmp, {})
  496. end
  497. self.uIBook.detail.propertyItem1 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
  498. self.uIBook.detail.propertyItem1.prefabName = "PropertyItem"
  499. end
  500. ---@private
  501. function UIFashionView:InitGenerate__24(Root, data)
  502. --[[
  503. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem2
  504. --]]
  505. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem2").gameObject
  506. if tolua.getpeer(tmp) == nil then
  507. tolua.setpeer(tmp, {})
  508. end
  509. self.uIBook.detail.propertyItem2 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
  510. self.uIBook.detail.propertyItem2.prefabName = "PropertyItem"
  511. end
  512. ---@private
  513. function UIFashionView:InitGenerate__25(Root, data)
  514. --[[
  515. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem3
  516. --]]
  517. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem3").gameObject
  518. if tolua.getpeer(tmp) == nil then
  519. tolua.setpeer(tmp, {})
  520. end
  521. self.uIBook.detail.propertyItem3 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
  522. self.uIBook.detail.propertyItem3.prefabName = "PropertyItem"
  523. end
  524. ---@private
  525. function UIFashionView:InitGenerate__26(Root, data)
  526. --[[
  527. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem4
  528. --]]
  529. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem4").gameObject
  530. if tolua.getpeer(tmp) == nil then
  531. tolua.setpeer(tmp, {})
  532. end
  533. self.uIBook.detail.propertyItem4 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
  534. self.uIBook.detail.propertyItem4.prefabName = "PropertyItem"
  535. end
  536. ---@private
  537. function UIFashionView:InitGenerate__27(Root, data)
  538. --[[
  539. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem5
  540. --]]
  541. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem5").gameObject
  542. if tolua.getpeer(tmp) == nil then
  543. tolua.setpeer(tmp, {})
  544. end
  545. self.uIBook.detail.propertyItem5 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
  546. self.uIBook.detail.propertyItem5.prefabName = "PropertyItem"
  547. end
  548. ---@private
  549. function UIFashionView:InitGenerate__28(Root, data)
  550. --[[
  551. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/LabelMax
  552. --]]
  553. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/LabelMax").gameObject
  554. if tolua.getpeer(tmp) == nil then
  555. tolua.setpeer(tmp, {})
  556. end
  557. self.uIBook.labelMax = tmp
  558. end
  559. ---@private
  560. function UIFashionView:InitGenerate__29(Root, data)
  561. --[[
  562. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnUpgrade
  563. --]]
  564. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnUpgrade").gameObject
  565. if tolua.getpeer(tmp) == nil then
  566. tolua.setpeer(tmp, {})
  567. end
  568. self.uIBook.btnUpgrade = tmp
  569. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  570. end
  571. ---@private
  572. function UIFashionView:InitGenerate__30(Root, data)
  573. --[[
  574. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnUpgrade/UIRedPointRP
  575. --]]
  576. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnUpgrade/UIRedPointRP").gameObject
  577. if tolua.getpeer(tmp) == nil then
  578. tolua.setpeer(tmp, {})
  579. end
  580. self.uIBook.btnUpgrade.uIRedPointRP = tmp
  581. end
  582. ---@private
  583. function UIFashionView:InitGenerate__31(Root, data)
  584. --[[
  585. UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnWash
  586. --]]
  587. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnWash").gameObject
  588. if tolua.getpeer(tmp) == nil then
  589. tolua.setpeer(tmp, {})
  590. end
  591. self.uIBook.btnWash = tmp
  592. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  593. end
  594. ---@private
  595. function UIFashionView:InitGenerate__32(Root, data)
  596. --[[
  597. UIAnimator/Window/UIFashionAnim/UIBook/RightEmpty
  598. --]]
  599. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/RightEmpty").gameObject
  600. if tolua.getpeer(tmp) == nil then
  601. tolua.setpeer(tmp, {})
  602. end
  603. self.rightEmpty = tmp
  604. end
  605. ---@private
  606. function UIFashionView:InitGenerate__33(Root, data)
  607. --[[
  608. UIAnimator/Window/UIFashionAnim/Switch
  609. --]]
  610. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Switch").gameObject
  611. if tolua.getpeer(tmp) == nil then
  612. tolua.setpeer(tmp, {})
  613. end
  614. self.switch = tmp
  615. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  616. tmp.animator.logWarnings = false
  617. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  618. end
  619. ---@private
  620. function UIFashionView:InitGenerate__34(Root, data)
  621. --[[
  622. UIAnimator/Window/UIFashionAnim/Switch/On/Book
  623. --]]
  624. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Switch/On/Book").gameObject
  625. if tolua.getpeer(tmp) == nil then
  626. tolua.setpeer(tmp, {})
  627. end
  628. self.onBook = tmp
  629. end
  630. ---@private
  631. function UIFashionView:InitGenerate__35(Root, data)
  632. --[[
  633. UIAnimator/Window/UIFashionAnim/Switch/On/Fashion
  634. --]]
  635. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Switch/On/Fashion").gameObject
  636. if tolua.getpeer(tmp) == nil then
  637. tolua.setpeer(tmp, {})
  638. end
  639. self.onFashion = tmp
  640. end
  641. ---@private
  642. function UIFashionView:InitGenerate__36(Root, data)
  643. --[[
  644. UIAnimator/Window/UIFashionAnim/Switch/Off/Book
  645. --]]
  646. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Switch/Off/Book").gameObject
  647. if tolua.getpeer(tmp) == nil then
  648. tolua.setpeer(tmp, {})
  649. end
  650. self.book = tmp
  651. end
  652. ---@private
  653. function UIFashionView:InitGenerate__37(Root, data)
  654. --[[
  655. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView
  656. --]]
  657. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView").gameObject
  658. if tolua.getpeer(tmp) == nil then
  659. tolua.setpeer(tmp, {})
  660. end
  661. self.toggleScrollView = tmp
  662. end
  663. ---@private
  664. function UIFashionView:InitGenerate__38(Root, data)
  665. --[[
  666. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content
  667. --]]
  668. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content").gameObject
  669. if tolua.getpeer(tmp) == nil then
  670. tolua.setpeer(tmp, {})
  671. end
  672. self.toggleScrollView.content = tmp
  673. tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
  674. end
  675. ---@private
  676. function UIFashionView:InitGenerate__39(Root, data)
  677. --[[
  678. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogAll
  679. --]]
  680. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogAll").gameObject
  681. if tolua.getpeer(tmp) == nil then
  682. tolua.setpeer(tmp, {})
  683. end
  684. self.toggleScrollView.togAll = tmp
  685. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  686. end
  687. ---@private
  688. function UIFashionView:InitGenerate__40(Root, data)
  689. --[[
  690. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogAll/RedPoint
  691. --]]
  692. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogAll/RedPoint").gameObject
  693. if tolua.getpeer(tmp) == nil then
  694. tolua.setpeer(tmp, {})
  695. end
  696. self.toggleScrollView.togAll.redPoint = tmp
  697. end
  698. ---@private
  699. function UIFashionView:InitGenerate__41(Root, data)
  700. --[[
  701. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadTop
  702. --]]
  703. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadTop").gameObject
  704. if tolua.getpeer(tmp) == nil then
  705. tolua.setpeer(tmp, {})
  706. end
  707. self.toggleScrollView.togHeadTop = tmp
  708. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  709. end
  710. ---@private
  711. function UIFashionView:InitGenerate__42(Root, data)
  712. --[[
  713. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadTop/RedPoint
  714. --]]
  715. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadTop/RedPoint").gameObject
  716. if tolua.getpeer(tmp) == nil then
  717. tolua.setpeer(tmp, {})
  718. end
  719. self.toggleScrollView.togHeadTop.redPoint = tmp
  720. end
  721. ---@private
  722. function UIFashionView:InitGenerate__43(Root, data)
  723. --[[
  724. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadMiddle
  725. --]]
  726. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadMiddle").gameObject
  727. if tolua.getpeer(tmp) == nil then
  728. tolua.setpeer(tmp, {})
  729. end
  730. self.toggleScrollView.togHeadMiddle = tmp
  731. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  732. end
  733. ---@private
  734. function UIFashionView:InitGenerate__44(Root, data)
  735. --[[
  736. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadMiddle/RedPoint
  737. --]]
  738. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadMiddle/RedPoint").gameObject
  739. if tolua.getpeer(tmp) == nil then
  740. tolua.setpeer(tmp, {})
  741. end
  742. self.toggleScrollView.togHeadMiddle.redPoint = tmp
  743. end
  744. ---@private
  745. function UIFashionView:InitGenerate__45(Root, data)
  746. --[[
  747. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadBottom
  748. --]]
  749. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadBottom").gameObject
  750. if tolua.getpeer(tmp) == nil then
  751. tolua.setpeer(tmp, {})
  752. end
  753. self.toggleScrollView.togHeadBottom = tmp
  754. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  755. end
  756. ---@private
  757. function UIFashionView:InitGenerate__46(Root, data)
  758. --[[
  759. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadBottom/RedPoint
  760. --]]
  761. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadBottom/RedPoint").gameObject
  762. if tolua.getpeer(tmp) == nil then
  763. tolua.setpeer(tmp, {})
  764. end
  765. self.toggleScrollView.togHeadBottom.redPoint = tmp
  766. end
  767. ---@private
  768. function UIFashionView:InitGenerate__47(Root, data)
  769. --[[
  770. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogWeapon
  771. --]]
  772. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogWeapon").gameObject
  773. if tolua.getpeer(tmp) == nil then
  774. tolua.setpeer(tmp, {})
  775. end
  776. self.toggleScrollView.togWeapon = tmp
  777. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  778. end
  779. ---@private
  780. function UIFashionView:InitGenerate__48(Root, data)
  781. --[[
  782. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogWeapon/RedPoint
  783. --]]
  784. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogWeapon/RedPoint").gameObject
  785. if tolua.getpeer(tmp) == nil then
  786. tolua.setpeer(tmp, {})
  787. end
  788. self.toggleScrollView.togWeapon.redPoint = tmp
  789. end
  790. ---@private
  791. function UIFashionView:InitGenerate__49(Root, data)
  792. --[[
  793. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogClothes
  794. --]]
  795. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogClothes").gameObject
  796. if tolua.getpeer(tmp) == nil then
  797. tolua.setpeer(tmp, {})
  798. end
  799. self.toggleScrollView.togClothes = tmp
  800. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  801. end
  802. ---@private
  803. function UIFashionView:InitGenerate__50(Root, data)
  804. --[[
  805. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogClothes/RedPoint
  806. --]]
  807. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogClothes/RedPoint").gameObject
  808. if tolua.getpeer(tmp) == nil then
  809. tolua.setpeer(tmp, {})
  810. end
  811. self.toggleScrollView.togClothes.redPoint = tmp
  812. end
  813. ---@private
  814. function UIFashionView:InitGenerate__51(Root, data)
  815. --[[
  816. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogBack
  817. --]]
  818. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogBack").gameObject
  819. if tolua.getpeer(tmp) == nil then
  820. tolua.setpeer(tmp, {})
  821. end
  822. self.toggleScrollView.togBack = tmp
  823. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  824. end
  825. ---@private
  826. function UIFashionView:InitGenerate__52(Root, data)
  827. --[[
  828. UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogBack/RedPoint
  829. --]]
  830. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogBack/RedPoint").gameObject
  831. if tolua.getpeer(tmp) == nil then
  832. tolua.setpeer(tmp, {})
  833. end
  834. self.toggleScrollView.togBack.redPoint = tmp
  835. end
  836. ---@private
  837. function UIFashionView:InitGenerate__53(Root, data)
  838. --[[
  839. UIAnimator/Window/UIFashionAnim/BottomList/ScrollView
  840. --]]
  841. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ScrollView").gameObject
  842. if tolua.getpeer(tmp) == nil then
  843. tolua.setpeer(tmp, {})
  844. end
  845. self.scrollView = tmp
  846. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  847. end
  848. ---@private
  849. function UIFashionView:InitGenerate__54(Root, data)
  850. --[[
  851. UIAnimator/Window/UIFashionAnim/BottomList/ScrollView/Viewport/Content/FashionWearItem
  852. --]]
  853. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ScrollView/Viewport/Content/FashionWearItem").gameObject
  854. if tolua.getpeer(tmp) == nil then
  855. tolua.setpeer(tmp, {})
  856. end
  857. self.scrollView.fashionWearItem = CommonUtil.BindGridViewItem2LuaStatic("FashionWearItem", tmp)
  858. self.scrollView.fashionWearItem.prefabName = "FashionWearItem"
  859. end
  860. ---@private
  861. function UIFashionView:InitGenerate__55(Root, data)
  862. --[[
  863. UIAnimator/Window/UIFashionAnim/BottomList/BtnGoto
  864. --]]
  865. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/BtnGoto").gameObject
  866. if tolua.getpeer(tmp) == nil then
  867. tolua.setpeer(tmp, {})
  868. end
  869. self.btnGoto = tmp
  870. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  871. end
  872. ---@private
  873. function UIFashionView:InitGenerate__56(Root, data)
  874. --[[
  875. UIAnimator/Window/UIFashionAnim/BottomList/BtnSave
  876. --]]
  877. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/BtnSave").gameObject
  878. if tolua.getpeer(tmp) == nil then
  879. tolua.setpeer(tmp, {})
  880. end
  881. self.btnSave = tmp
  882. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  883. end
  884. ---@private
  885. function UIFashionView:InitGenerate__57(Root, data)
  886. --[[
  887. UIAnimator/Window/UIFashionAnim/BottomList/BtnAllAttr
  888. --]]
  889. local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/BtnAllAttr").gameObject
  890. if tolua.getpeer(tmp) == nil then
  891. tolua.setpeer(tmp, {})
  892. end
  893. self.btnAllAttr = tmp
  894. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  895. end
  896. ---@private
  897. function UIFashionView:GenerateDestroy()
  898. if self.scrollView.fashionWearItem.GenerateDestroy ~= nil then
  899. self.scrollView.fashionWearItem:GenerateDestroy()
  900. end
  901. if tolua.getpeer(self.scrollView.fashionWearItem) ~= nil then
  902. tolua.setpeer(self.scrollView.fashionWearItem, nil)
  903. end
  904. if tolua.getpeer(self.toggleScrollView.togBack.redPoint) ~= nil then
  905. tolua.setpeer(self.toggleScrollView.togBack.redPoint, nil)
  906. end
  907. if tolua.getpeer(self.toggleScrollView.togBack) ~= nil then
  908. tolua.setpeer(self.toggleScrollView.togBack, nil)
  909. end
  910. if tolua.getpeer(self.toggleScrollView.togClothes.redPoint) ~= nil then
  911. tolua.setpeer(self.toggleScrollView.togClothes.redPoint, nil)
  912. end
  913. if tolua.getpeer(self.toggleScrollView.togClothes) ~= nil then
  914. tolua.setpeer(self.toggleScrollView.togClothes, nil)
  915. end
  916. if tolua.getpeer(self.toggleScrollView.togWeapon.redPoint) ~= nil then
  917. tolua.setpeer(self.toggleScrollView.togWeapon.redPoint, nil)
  918. end
  919. if tolua.getpeer(self.toggleScrollView.togWeapon) ~= nil then
  920. tolua.setpeer(self.toggleScrollView.togWeapon, nil)
  921. end
  922. if tolua.getpeer(self.toggleScrollView.togHeadBottom.redPoint) ~= nil then
  923. tolua.setpeer(self.toggleScrollView.togHeadBottom.redPoint, nil)
  924. end
  925. if tolua.getpeer(self.toggleScrollView.togHeadBottom) ~= nil then
  926. tolua.setpeer(self.toggleScrollView.togHeadBottom, nil)
  927. end
  928. if tolua.getpeer(self.toggleScrollView.togHeadMiddle.redPoint) ~= nil then
  929. tolua.setpeer(self.toggleScrollView.togHeadMiddle.redPoint, nil)
  930. end
  931. if tolua.getpeer(self.toggleScrollView.togHeadMiddle) ~= nil then
  932. tolua.setpeer(self.toggleScrollView.togHeadMiddle, nil)
  933. end
  934. if tolua.getpeer(self.toggleScrollView.togHeadTop.redPoint) ~= nil then
  935. tolua.setpeer(self.toggleScrollView.togHeadTop.redPoint, nil)
  936. end
  937. if tolua.getpeer(self.toggleScrollView.togHeadTop) ~= nil then
  938. tolua.setpeer(self.toggleScrollView.togHeadTop, nil)
  939. end
  940. if tolua.getpeer(self.toggleScrollView.togAll.redPoint) ~= nil then
  941. tolua.setpeer(self.toggleScrollView.togAll.redPoint, nil)
  942. end
  943. if tolua.getpeer(self.toggleScrollView.togAll) ~= nil then
  944. tolua.setpeer(self.toggleScrollView.togAll, nil)
  945. end
  946. if tolua.getpeer(self.toggleScrollView.content) ~= nil then
  947. tolua.setpeer(self.toggleScrollView.content, nil)
  948. end
  949. if tolua.getpeer(self.uIBook.btnWash) ~= nil then
  950. tolua.setpeer(self.uIBook.btnWash, nil)
  951. end
  952. if tolua.getpeer(self.uIBook.btnUpgrade.uIRedPointRP) ~= nil then
  953. tolua.setpeer(self.uIBook.btnUpgrade.uIRedPointRP, nil)
  954. end
  955. if tolua.getpeer(self.uIBook.btnUpgrade) ~= nil then
  956. tolua.setpeer(self.uIBook.btnUpgrade, nil)
  957. end
  958. if tolua.getpeer(self.uIBook.labelMax) ~= nil then
  959. tolua.setpeer(self.uIBook.labelMax, nil)
  960. end
  961. if self.uIBook.detail.propertyItem5.GenerateDestroy ~= nil then
  962. self.uIBook.detail.propertyItem5:GenerateDestroy()
  963. end
  964. if tolua.getpeer(self.uIBook.detail.propertyItem5) ~= nil then
  965. tolua.setpeer(self.uIBook.detail.propertyItem5, nil)
  966. end
  967. if self.uIBook.detail.propertyItem4.GenerateDestroy ~= nil then
  968. self.uIBook.detail.propertyItem4:GenerateDestroy()
  969. end
  970. if tolua.getpeer(self.uIBook.detail.propertyItem4) ~= nil then
  971. tolua.setpeer(self.uIBook.detail.propertyItem4, nil)
  972. end
  973. if self.uIBook.detail.propertyItem3.GenerateDestroy ~= nil then
  974. self.uIBook.detail.propertyItem3:GenerateDestroy()
  975. end
  976. if tolua.getpeer(self.uIBook.detail.propertyItem3) ~= nil then
  977. tolua.setpeer(self.uIBook.detail.propertyItem3, nil)
  978. end
  979. if self.uIBook.detail.propertyItem2.GenerateDestroy ~= nil then
  980. self.uIBook.detail.propertyItem2:GenerateDestroy()
  981. end
  982. if tolua.getpeer(self.uIBook.detail.propertyItem2) ~= nil then
  983. tolua.setpeer(self.uIBook.detail.propertyItem2, nil)
  984. end
  985. if self.uIBook.detail.propertyItem1.GenerateDestroy ~= nil then
  986. self.uIBook.detail.propertyItem1:GenerateDestroy()
  987. end
  988. if tolua.getpeer(self.uIBook.detail.propertyItem1) ~= nil then
  989. tolua.setpeer(self.uIBook.detail.propertyItem1, nil)
  990. end
  991. if tolua.getpeer(self.uIBook.detail.describe) ~= nil then
  992. tolua.setpeer(self.uIBook.detail.describe, nil)
  993. end
  994. if tolua.getpeer(self.uIBook.detail.jobBox.icon) ~= nil then
  995. tolua.setpeer(self.uIBook.detail.jobBox.icon, nil)
  996. end
  997. if tolua.getpeer(self.uIBook.detail.jobBox) ~= nil then
  998. tolua.setpeer(self.uIBook.detail.jobBox, nil)
  999. end
  1000. if tolua.getpeer(self.uIBook.detail.noJob) ~= nil then
  1001. tolua.setpeer(self.uIBook.detail.noJob, nil)
  1002. end
  1003. if tolua.getpeer(self.uIBook.detail.slotPosName) ~= nil then
  1004. tolua.setpeer(self.uIBook.detail.slotPosName, nil)
  1005. end
  1006. if tolua.getpeer(self.uIBook.detail.lv) ~= nil then
  1007. tolua.setpeer(self.uIBook.detail.lv, nil)
  1008. end
  1009. if tolua.getpeer(self.uIBook.detail.itemName) ~= nil then
  1010. tolua.setpeer(self.uIBook.detail.itemName, nil)
  1011. end
  1012. if self.suites.suitesLvItem4.GenerateDestroy ~= nil then
  1013. self.suites.suitesLvItem4:GenerateDestroy()
  1014. end
  1015. if tolua.getpeer(self.suites.suitesLvItem4) ~= nil then
  1016. tolua.setpeer(self.suites.suitesLvItem4, nil)
  1017. end
  1018. if self.suites.suitesLvItem3.GenerateDestroy ~= nil then
  1019. self.suites.suitesLvItem3:GenerateDestroy()
  1020. end
  1021. if tolua.getpeer(self.suites.suitesLvItem3) ~= nil then
  1022. tolua.setpeer(self.suites.suitesLvItem3, nil)
  1023. end
  1024. if self.suites.suitesLvItem2.GenerateDestroy ~= nil then
  1025. self.suites.suitesLvItem2:GenerateDestroy()
  1026. end
  1027. if tolua.getpeer(self.suites.suitesLvItem2) ~= nil then
  1028. tolua.setpeer(self.suites.suitesLvItem2, nil)
  1029. end
  1030. if self.suites.suitesLvItem1.GenerateDestroy ~= nil then
  1031. self.suites.suitesLvItem1:GenerateDestroy()
  1032. end
  1033. if tolua.getpeer(self.suites.suitesLvItem1) ~= nil then
  1034. tolua.setpeer(self.suites.suitesLvItem1, nil)
  1035. end
  1036. if tolua.getpeer(self.uIBook.detail.icon) ~= nil then
  1037. tolua.setpeer(self.uIBook.detail.icon, nil)
  1038. end
  1039. if tolua.getpeer(self.uIBook.detail) ~= nil then
  1040. tolua.setpeer(self.uIBook.detail, nil)
  1041. end
  1042. if tolua.getpeer(self.uIAnimator) ~= nil then
  1043. tolua.setpeer(self.uIAnimator, nil)
  1044. end
  1045. self.uIAnimator = nil
  1046. if tolua.getpeer(self.AnyBtn) ~= nil then
  1047. tolua.setpeer(self.AnyBtn, nil)
  1048. end
  1049. self.AnyBtn = nil
  1050. if tolua.getpeer(self.mirrorModel) ~= nil then
  1051. tolua.setpeer(self.mirrorModel, nil)
  1052. end
  1053. self.mirrorModel = nil
  1054. if tolua.getpeer(self.uIFashionAnim) ~= nil then
  1055. tolua.setpeer(self.uIFashionAnim, nil)
  1056. end
  1057. self.uIFashionAnim = nil
  1058. if tolua.getpeer(self.model) ~= nil then
  1059. tolua.setpeer(self.model, nil)
  1060. end
  1061. self.model = nil
  1062. if tolua.getpeer(self.alpha) ~= nil then
  1063. tolua.setpeer(self.alpha, nil)
  1064. end
  1065. self.alpha = nil
  1066. if tolua.getpeer(self.uIBook) ~= nil then
  1067. tolua.setpeer(self.uIBook, nil)
  1068. end
  1069. self.uIBook = nil
  1070. if tolua.getpeer(self.btnSuites) ~= nil then
  1071. tolua.setpeer(self.btnSuites, nil)
  1072. end
  1073. self.btnSuites = nil
  1074. if tolua.getpeer(self.suites) ~= nil then
  1075. tolua.setpeer(self.suites, nil)
  1076. end
  1077. self.suites = nil
  1078. if tolua.getpeer(self.rightEmpty) ~= nil then
  1079. tolua.setpeer(self.rightEmpty, nil)
  1080. end
  1081. self.rightEmpty = nil
  1082. if tolua.getpeer(self.switch) ~= nil then
  1083. tolua.setpeer(self.switch, nil)
  1084. end
  1085. self.switch = nil
  1086. if tolua.getpeer(self.onBook) ~= nil then
  1087. tolua.setpeer(self.onBook, nil)
  1088. end
  1089. self.onBook = nil
  1090. if tolua.getpeer(self.onFashion) ~= nil then
  1091. tolua.setpeer(self.onFashion, nil)
  1092. end
  1093. self.onFashion = nil
  1094. if tolua.getpeer(self.book) ~= nil then
  1095. tolua.setpeer(self.book, nil)
  1096. end
  1097. self.book = nil
  1098. if tolua.getpeer(self.toggleScrollView) ~= nil then
  1099. tolua.setpeer(self.toggleScrollView, nil)
  1100. end
  1101. self.toggleScrollView = nil
  1102. if tolua.getpeer(self.scrollView) ~= nil then
  1103. tolua.setpeer(self.scrollView, nil)
  1104. end
  1105. self.scrollView = nil
  1106. if tolua.getpeer(self.btnGoto) ~= nil then
  1107. tolua.setpeer(self.btnGoto, nil)
  1108. end
  1109. self.btnGoto = nil
  1110. if tolua.getpeer(self.btnSave) ~= nil then
  1111. tolua.setpeer(self.btnSave, nil)
  1112. end
  1113. self.btnSave = nil
  1114. if tolua.getpeer(self.btnAllAttr) ~= nil then
  1115. tolua.setpeer(self.btnAllAttr, nil)
  1116. end
  1117. self.btnAllAttr = nil
  1118. self.transform = nil
  1119. self.gameObject = nil
  1120. self.inited = false
  1121. end
  1122. return UIFashionView