UIFashionGotView_Generate.lua 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. ---@class UIFashionGot__Generate_property5_number
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIFashionGot__Generate_property5_attrName
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text UnityEngine.UI.Text
  7. ---@class UIFashionGot__Generate_property5
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public attrName UIFashionGot__Generate_property5_attrName
  10. ---@field public number UIFashionGot__Generate_property5_number
  11. ---@class UIFashionGot__Generate_property4_number
  12. ---@field public gameObject UnityEngine.GameObject
  13. ---@field public text UnityEngine.UI.Text
  14. ---@class UIFashionGot__Generate_property4_attrName
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public text UnityEngine.UI.Text
  17. ---@class UIFashionGot__Generate_property4
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public attrName UIFashionGot__Generate_property4_attrName
  20. ---@field public number UIFashionGot__Generate_property4_number
  21. ---@class UIFashionGot__Generate_property3_number
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public text UnityEngine.UI.Text
  24. ---@class UIFashionGot__Generate_property3_attrName
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public text UnityEngine.UI.Text
  27. ---@class UIFashionGot__Generate_property3
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public attrName UIFashionGot__Generate_property3_attrName
  30. ---@field public number UIFashionGot__Generate_property3_number
  31. ---@class UIFashionGot__Generate_property2_number
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public text UnityEngine.UI.Text
  34. ---@class UIFashionGot__Generate_property2_attrName
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public text UnityEngine.UI.Text
  37. ---@class UIFashionGot__Generate_property2
  38. ---@field public gameObject UnityEngine.GameObject
  39. ---@field public attrName UIFashionGot__Generate_property2_attrName
  40. ---@field public number UIFashionGot__Generate_property2_number
  41. ---@class UIFashionGot__Generate_property1_number
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public text UnityEngine.UI.Text
  44. ---@class UIFashionGot__Generate_property1_attrName
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public text UnityEngine.UI.Text
  47. ---@class UIFashionGot__Generate_property1
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public attrName UIFashionGot__Generate_property1_attrName
  50. ---@field public number UIFashionGot__Generate_property1_number
  51. ---@class UIFashionGot__Generate_equipBtn
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public button UnityEngine.UI.Button
  54. ---@class UIFashionGot__Generate_btnClose
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public button UnityEngine.UI.Button
  57. ---@class UIFashionGot__Generate_frame
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public image UnityEngine.UI.Image
  60. ---@class UIFashionGot__Generate_icon
  61. ---@field public gameObject UnityEngine.GameObject
  62. ---@field public image UnityEngine.UI.Image
  63. ---@class UIFashionGot__Generate_bg
  64. ---@field public gameObject UnityEngine.GameObject
  65. ---@field public image UnityEngine.UI.Image
  66. ---@field public button UnityEngine.UI.Button
  67. ---@class UIFashionGot__Generate_nameTxt
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public text UnityEngine.UI.Text
  70. ---@class UIFashionGot__Generate_alpha
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public button UnityEngine.UI.Button
  73. ---@class UIFashionGot__Generate_uIAnimator
  74. ---@field public gameObject UnityEngine.GameObject
  75. ---@field public animator UnityEngine.Animator
  76. ---@class UIFashionGot__Generate
  77. ---@field private gameObject UnityEngine.GameObject
  78. ---@field private transform UnityEngine.Transform
  79. ---@field private uIAnimator UIFashionGot__Generate_uIAnimator
  80. ---@field private alpha UIFashionGot__Generate_alpha
  81. ---@field private nameTxt UIFashionGot__Generate_nameTxt
  82. ---@field private bg UIFashionGot__Generate_bg
  83. ---@field private icon UIFashionGot__Generate_icon
  84. ---@field private frame UIFashionGot__Generate_frame
  85. ---@field private closeBox UnityEngine.GameObject
  86. ---@field private btnClose UIFashionGot__Generate_btnClose
  87. ---@field private equipBtn UIFashionGot__Generate_equipBtn
  88. ---@field private property1 UIFashionGot__Generate_property1
  89. ---@field private property2 UIFashionGot__Generate_property2
  90. ---@field private property3 UIFashionGot__Generate_property3
  91. ---@field private property4 UIFashionGot__Generate_property4
  92. ---@field private property5 UIFashionGot__Generate_property5
  93. local UIFashionGotView = class("UIFashionGotView", require("UIViewBase"))
  94. function UIFashionGotView:ctor()
  95. end
  96. ---@private
  97. function UIFashionGotView:SetActive(result)
  98. self.gameObject:SetActive(result)
  99. end
  100. ---@private
  101. function UIFashionGotView:InitGenerate(Root, data)
  102. self.transform = Root
  103. self.inited = true
  104. if self.super.Init then
  105. self.super.Init(self)
  106. end
  107. local tmp
  108. self:InitGenerate__1(Root,data)
  109. self:InitGenerate__2(Root,data)
  110. self:InitGenerate__3(Root,data)
  111. self:InitGenerate__4(Root,data)
  112. self:InitGenerate__5(Root,data)
  113. self:InitGenerate__6(Root,data)
  114. self:InitGenerate__7(Root,data)
  115. self:InitGenerate__8(Root,data)
  116. self:InitGenerate__9(Root,data)
  117. self:InitGenerate__10(Root,data)
  118. self:InitGenerate__11(Root,data)
  119. self:InitGenerate__12(Root,data)
  120. self:InitGenerate__13(Root,data)
  121. self:InitGenerate__14(Root,data)
  122. self:InitGenerate__15(Root,data)
  123. self:InitGenerate__16(Root,data)
  124. self:InitGenerate__17(Root,data)
  125. self:InitGenerate__18(Root,data)
  126. self:InitGenerate__19(Root,data)
  127. self:InitGenerate__20(Root,data)
  128. self:InitGenerate__21(Root,data)
  129. self:InitGenerate__22(Root,data)
  130. self:InitGenerate__23(Root,data)
  131. self:InitGenerate__24(Root,data)
  132. end
  133. ---@private
  134. function UIFashionGotView:InitGenerate__1(Root, data)
  135. --[[
  136. UIAnimator
  137. --]]
  138. local tmp = Root:Find("UIAnimator").gameObject
  139. if tolua.getpeer(tmp) == nil then
  140. tolua.setpeer(tmp, {})
  141. end
  142. self.uIAnimator = tmp
  143. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  144. tmp.animator.logWarnings = false
  145. end
  146. ---@private
  147. function UIFashionGotView:InitGenerate__2(Root, data)
  148. --[[
  149. UIAnimator/Alpha
  150. --]]
  151. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  152. if tolua.getpeer(tmp) == nil then
  153. tolua.setpeer(tmp, {})
  154. end
  155. self.alpha = tmp
  156. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  157. end
  158. ---@private
  159. function UIFashionGotView:InitGenerate__3(Root, data)
  160. --[[
  161. UIAnimator/Window/Bg/Name/NameTxt
  162. --]]
  163. local tmp = Root:Find("UIAnimator/Window/Bg/Name/NameTxt").gameObject
  164. if tolua.getpeer(tmp) == nil then
  165. tolua.setpeer(tmp, {})
  166. end
  167. self.nameTxt = tmp
  168. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  169. end
  170. ---@private
  171. function UIFashionGotView:InitGenerate__4(Root, data)
  172. --[[
  173. UIAnimator/Window/Bg/Item/Bg
  174. --]]
  175. local tmp = Root:Find("UIAnimator/Window/Bg/Item/Bg").gameObject
  176. if tolua.getpeer(tmp) == nil then
  177. tolua.setpeer(tmp, {})
  178. end
  179. self.bg = tmp
  180. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  181. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  182. end
  183. ---@private
  184. function UIFashionGotView:InitGenerate__5(Root, data)
  185. --[[
  186. UIAnimator/Window/Bg/Item/Icon
  187. --]]
  188. local tmp = Root:Find("UIAnimator/Window/Bg/Item/Icon").gameObject
  189. if tolua.getpeer(tmp) == nil then
  190. tolua.setpeer(tmp, {})
  191. end
  192. self.icon = tmp
  193. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  194. end
  195. ---@private
  196. function UIFashionGotView:InitGenerate__6(Root, data)
  197. --[[
  198. UIAnimator/Window/Bg/Item/Frame
  199. --]]
  200. local tmp = Root:Find("UIAnimator/Window/Bg/Item/Frame").gameObject
  201. if tolua.getpeer(tmp) == nil then
  202. tolua.setpeer(tmp, {})
  203. end
  204. self.frame = tmp
  205. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  206. end
  207. ---@private
  208. function UIFashionGotView:InitGenerate__7(Root, data)
  209. --[[
  210. UIAnimator/Window/Bg/CloseBox
  211. --]]
  212. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox").gameObject
  213. if tolua.getpeer(tmp) == nil then
  214. tolua.setpeer(tmp, {})
  215. end
  216. self.closeBox = tmp
  217. end
  218. ---@private
  219. function UIFashionGotView:InitGenerate__8(Root, data)
  220. --[[
  221. UIAnimator/Window/Bg/CloseBox/BtnClose
  222. --]]
  223. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
  224. if tolua.getpeer(tmp) == nil then
  225. tolua.setpeer(tmp, {})
  226. end
  227. self.btnClose = tmp
  228. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  229. end
  230. ---@private
  231. function UIFashionGotView:InitGenerate__9(Root, data)
  232. --[[
  233. UIAnimator/Window/Bg/EquipBtn
  234. --]]
  235. local tmp = Root:Find("UIAnimator/Window/Bg/EquipBtn").gameObject
  236. if tolua.getpeer(tmp) == nil then
  237. tolua.setpeer(tmp, {})
  238. end
  239. self.equipBtn = tmp
  240. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  241. end
  242. ---@private
  243. function UIFashionGotView:InitGenerate__10(Root, data)
  244. --[[
  245. UIAnimator/Window/Bg/Property1
  246. --]]
  247. local tmp = Root:Find("UIAnimator/Window/Bg/Property1").gameObject
  248. if tolua.getpeer(tmp) == nil then
  249. tolua.setpeer(tmp, {})
  250. end
  251. self.property1 = tmp
  252. end
  253. ---@private
  254. function UIFashionGotView:InitGenerate__11(Root, data)
  255. --[[
  256. UIAnimator/Window/Bg/Property1/AttrName
  257. --]]
  258. local tmp = Root:Find("UIAnimator/Window/Bg/Property1/AttrName").gameObject
  259. if tolua.getpeer(tmp) == nil then
  260. tolua.setpeer(tmp, {})
  261. end
  262. self.property1.attrName = tmp
  263. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  264. end
  265. ---@private
  266. function UIFashionGotView:InitGenerate__12(Root, data)
  267. --[[
  268. UIAnimator/Window/Bg/Property1/Number
  269. --]]
  270. local tmp = Root:Find("UIAnimator/Window/Bg/Property1/Number").gameObject
  271. if tolua.getpeer(tmp) == nil then
  272. tolua.setpeer(tmp, {})
  273. end
  274. self.property1.number = tmp
  275. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  276. end
  277. ---@private
  278. function UIFashionGotView:InitGenerate__13(Root, data)
  279. --[[
  280. UIAnimator/Window/Bg/Property2
  281. --]]
  282. local tmp = Root:Find("UIAnimator/Window/Bg/Property2").gameObject
  283. if tolua.getpeer(tmp) == nil then
  284. tolua.setpeer(tmp, {})
  285. end
  286. self.property2 = tmp
  287. end
  288. ---@private
  289. function UIFashionGotView:InitGenerate__14(Root, data)
  290. --[[
  291. UIAnimator/Window/Bg/Property2/AttrName
  292. --]]
  293. local tmp = Root:Find("UIAnimator/Window/Bg/Property2/AttrName").gameObject
  294. if tolua.getpeer(tmp) == nil then
  295. tolua.setpeer(tmp, {})
  296. end
  297. self.property2.attrName = tmp
  298. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  299. end
  300. ---@private
  301. function UIFashionGotView:InitGenerate__15(Root, data)
  302. --[[
  303. UIAnimator/Window/Bg/Property2/Number
  304. --]]
  305. local tmp = Root:Find("UIAnimator/Window/Bg/Property2/Number").gameObject
  306. if tolua.getpeer(tmp) == nil then
  307. tolua.setpeer(tmp, {})
  308. end
  309. self.property2.number = tmp
  310. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  311. end
  312. ---@private
  313. function UIFashionGotView:InitGenerate__16(Root, data)
  314. --[[
  315. UIAnimator/Window/Bg/Property3
  316. --]]
  317. local tmp = Root:Find("UIAnimator/Window/Bg/Property3").gameObject
  318. if tolua.getpeer(tmp) == nil then
  319. tolua.setpeer(tmp, {})
  320. end
  321. self.property3 = tmp
  322. end
  323. ---@private
  324. function UIFashionGotView:InitGenerate__17(Root, data)
  325. --[[
  326. UIAnimator/Window/Bg/Property3/AttrName
  327. --]]
  328. local tmp = Root:Find("UIAnimator/Window/Bg/Property3/AttrName").gameObject
  329. if tolua.getpeer(tmp) == nil then
  330. tolua.setpeer(tmp, {})
  331. end
  332. self.property3.attrName = tmp
  333. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  334. end
  335. ---@private
  336. function UIFashionGotView:InitGenerate__18(Root, data)
  337. --[[
  338. UIAnimator/Window/Bg/Property3/Number
  339. --]]
  340. local tmp = Root:Find("UIAnimator/Window/Bg/Property3/Number").gameObject
  341. if tolua.getpeer(tmp) == nil then
  342. tolua.setpeer(tmp, {})
  343. end
  344. self.property3.number = tmp
  345. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  346. end
  347. ---@private
  348. function UIFashionGotView:InitGenerate__19(Root, data)
  349. --[[
  350. UIAnimator/Window/Bg/Property4
  351. --]]
  352. local tmp = Root:Find("UIAnimator/Window/Bg/Property4").gameObject
  353. if tolua.getpeer(tmp) == nil then
  354. tolua.setpeer(tmp, {})
  355. end
  356. self.property4 = tmp
  357. end
  358. ---@private
  359. function UIFashionGotView:InitGenerate__20(Root, data)
  360. --[[
  361. UIAnimator/Window/Bg/Property4/AttrName
  362. --]]
  363. local tmp = Root:Find("UIAnimator/Window/Bg/Property4/AttrName").gameObject
  364. if tolua.getpeer(tmp) == nil then
  365. tolua.setpeer(tmp, {})
  366. end
  367. self.property4.attrName = tmp
  368. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  369. end
  370. ---@private
  371. function UIFashionGotView:InitGenerate__21(Root, data)
  372. --[[
  373. UIAnimator/Window/Bg/Property4/Number
  374. --]]
  375. local tmp = Root:Find("UIAnimator/Window/Bg/Property4/Number").gameObject
  376. if tolua.getpeer(tmp) == nil then
  377. tolua.setpeer(tmp, {})
  378. end
  379. self.property4.number = tmp
  380. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  381. end
  382. ---@private
  383. function UIFashionGotView:InitGenerate__22(Root, data)
  384. --[[
  385. UIAnimator/Window/Bg/Property5
  386. --]]
  387. local tmp = Root:Find("UIAnimator/Window/Bg/Property5").gameObject
  388. if tolua.getpeer(tmp) == nil then
  389. tolua.setpeer(tmp, {})
  390. end
  391. self.property5 = tmp
  392. end
  393. ---@private
  394. function UIFashionGotView:InitGenerate__23(Root, data)
  395. --[[
  396. UIAnimator/Window/Bg/Property5/AttrName
  397. --]]
  398. local tmp = Root:Find("UIAnimator/Window/Bg/Property5/AttrName").gameObject
  399. if tolua.getpeer(tmp) == nil then
  400. tolua.setpeer(tmp, {})
  401. end
  402. self.property5.attrName = tmp
  403. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  404. end
  405. ---@private
  406. function UIFashionGotView:InitGenerate__24(Root, data)
  407. --[[
  408. UIAnimator/Window/Bg/Property5/Number
  409. --]]
  410. local tmp = Root:Find("UIAnimator/Window/Bg/Property5/Number").gameObject
  411. if tolua.getpeer(tmp) == nil then
  412. tolua.setpeer(tmp, {})
  413. end
  414. self.property5.number = tmp
  415. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  416. end
  417. ---@private
  418. function UIFashionGotView:GenerateDestroy()
  419. if tolua.getpeer(self.property5.number) ~= nil then
  420. tolua.setpeer(self.property5.number, nil)
  421. end
  422. if tolua.getpeer(self.property5.attrName) ~= nil then
  423. tolua.setpeer(self.property5.attrName, nil)
  424. end
  425. if tolua.getpeer(self.property4.number) ~= nil then
  426. tolua.setpeer(self.property4.number, nil)
  427. end
  428. if tolua.getpeer(self.property4.attrName) ~= nil then
  429. tolua.setpeer(self.property4.attrName, nil)
  430. end
  431. if tolua.getpeer(self.property3.number) ~= nil then
  432. tolua.setpeer(self.property3.number, nil)
  433. end
  434. if tolua.getpeer(self.property3.attrName) ~= nil then
  435. tolua.setpeer(self.property3.attrName, nil)
  436. end
  437. if tolua.getpeer(self.property2.number) ~= nil then
  438. tolua.setpeer(self.property2.number, nil)
  439. end
  440. if tolua.getpeer(self.property2.attrName) ~= nil then
  441. tolua.setpeer(self.property2.attrName, nil)
  442. end
  443. if tolua.getpeer(self.property1.number) ~= nil then
  444. tolua.setpeer(self.property1.number, nil)
  445. end
  446. if tolua.getpeer(self.property1.attrName) ~= nil then
  447. tolua.setpeer(self.property1.attrName, nil)
  448. end
  449. if tolua.getpeer(self.uIAnimator) ~= nil then
  450. tolua.setpeer(self.uIAnimator, nil)
  451. end
  452. self.uIAnimator = nil
  453. if tolua.getpeer(self.alpha) ~= nil then
  454. tolua.setpeer(self.alpha, nil)
  455. end
  456. self.alpha = nil
  457. if tolua.getpeer(self.nameTxt) ~= nil then
  458. tolua.setpeer(self.nameTxt, nil)
  459. end
  460. self.nameTxt = nil
  461. if tolua.getpeer(self.bg) ~= nil then
  462. tolua.setpeer(self.bg, nil)
  463. end
  464. self.bg = nil
  465. if tolua.getpeer(self.icon) ~= nil then
  466. tolua.setpeer(self.icon, nil)
  467. end
  468. self.icon = nil
  469. if tolua.getpeer(self.frame) ~= nil then
  470. tolua.setpeer(self.frame, nil)
  471. end
  472. self.frame = nil
  473. if tolua.getpeer(self.closeBox) ~= nil then
  474. tolua.setpeer(self.closeBox, nil)
  475. end
  476. self.closeBox = nil
  477. if tolua.getpeer(self.btnClose) ~= nil then
  478. tolua.setpeer(self.btnClose, nil)
  479. end
  480. self.btnClose = nil
  481. if tolua.getpeer(self.equipBtn) ~= nil then
  482. tolua.setpeer(self.equipBtn, nil)
  483. end
  484. self.equipBtn = nil
  485. if tolua.getpeer(self.property1) ~= nil then
  486. tolua.setpeer(self.property1, nil)
  487. end
  488. self.property1 = nil
  489. if tolua.getpeer(self.property2) ~= nil then
  490. tolua.setpeer(self.property2, nil)
  491. end
  492. self.property2 = nil
  493. if tolua.getpeer(self.property3) ~= nil then
  494. tolua.setpeer(self.property3, nil)
  495. end
  496. self.property3 = nil
  497. if tolua.getpeer(self.property4) ~= nil then
  498. tolua.setpeer(self.property4, nil)
  499. end
  500. self.property4 = nil
  501. if tolua.getpeer(self.property5) ~= nil then
  502. tolua.setpeer(self.property5, nil)
  503. end
  504. self.property5 = nil
  505. self.transform = nil
  506. self.gameObject = nil
  507. self.inited = false
  508. end
  509. return UIFashionGotView