UIArtifactTipsView_Generate.lua 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887
  1. ---@class UIArtifactTips__Generate_fx_ui_refine_success
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public uIParticle UIExtensions.UIParticle
  4. ---@class UIArtifactTips__Generate_btnRefine
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UIArtifactTips__Generate_cost2_text
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UIArtifactTips__Generate_cost2_icon
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public image UnityEngine.UI.Image
  13. ---@class UIArtifactTips__Generate_cost2
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public icon UIArtifactTips__Generate_cost2_icon
  16. ---@field public text UIArtifactTips__Generate_cost2_text
  17. ---@class UIArtifactTips__Generate_cost1_text
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public text UnityEngine.UI.Text
  20. ---@class UIArtifactTips__Generate_cost1_icon
  21. ---@field public gameObject UnityEngine.GameObject
  22. ---@field public image UnityEngine.UI.Image
  23. ---@class UIArtifactTips__Generate_cost1
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public icon UIArtifactTips__Generate_cost1_icon
  26. ---@field public text UIArtifactTips__Generate_cost1_text
  27. ---@class UIArtifactTips__Generate_rule
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public button UnityEngine.UI.Button
  30. ---@class UIArtifactTips__Generate_slotNum
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public text UnityEngine.UI.Text
  33. ---@class UIArtifactTips__Generate_slotLv
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public text UnityEngine.UI.Text
  36. ---@class UIArtifactTips__Generate_artifactPropertyItem5
  37. ---@field public gameObject UnityEngine.GameObject
  38. ---@field public button UnityEngine.UI.Button
  39. ---@class UIArtifactTips__Generate_artifactPropertyItem4
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public button UnityEngine.UI.Button
  42. ---@class UIArtifactTips__Generate_artifactPropertyItem3
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public button UnityEngine.UI.Button
  45. ---@class UIArtifactTips__Generate_artifactPropertyItem2
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public button UnityEngine.UI.Button
  48. ---@class UIArtifactTips__Generate_artifactPropertyItem1
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public button UnityEngine.UI.Button
  51. ---@class UIArtifactTips__Generate_desTxt
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public text UnityEngine.UI.Text
  54. ---@class UIArtifactTips__Generate_heroName
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public text UnityEngine.UI.Text
  57. ---@class UIArtifactTips__Generate_jobIcon
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public image UnityEngine.UI.Image
  60. ---@class UIArtifactTips__Generate_btnChange
  61. ---@field public gameObject UnityEngine.GameObject
  62. ---@field public button UnityEngine.UI.Button
  63. ---@class UIArtifactTips__Generate_type1_text2
  64. ---@field public gameObject UnityEngine.GameObject
  65. ---@field public text UnityEngine.UI.Text
  66. ---@class UIArtifactTips__Generate_type1
  67. ---@field public gameObject UnityEngine.GameObject
  68. ---@field public text2 UIArtifactTips__Generate_type1_text2
  69. ---@class UIArtifactTips__Generate_textName
  70. ---@field public gameObject UnityEngine.GameObject
  71. ---@field public text UnityEngine.UI.Text
  72. ---@class UIArtifactTips__Generate_skillEquipSlot
  73. ---@field public gameObject UnityEngine.GameObject
  74. ---@field public button UnityEngine.UI.Button
  75. ---@class UIArtifactTips__Generate_btnClose
  76. ---@field public gameObject UnityEngine.GameObject
  77. ---@field public button UnityEngine.UI.Button
  78. ---@class UIArtifactTips__Generate_AnyBtn
  79. ---@field public gameObject UnityEngine.GameObject
  80. ---@field public button UnityEngine.UI.Button
  81. ---@class UIArtifactTips__Generate_uIAnimator
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public animator UnityEngine.Animator
  84. ---@class UIArtifactTips__Generate
  85. ---@field private gameObject UnityEngine.GameObject
  86. ---@field private transform UnityEngine.Transform
  87. ---@field private uIEventHandler UIEventHandler
  88. ---@field private uIAnimator UIArtifactTips__Generate_uIAnimator
  89. ---@field private AnyBtn UIArtifactTips__Generate_AnyBtn
  90. ---@field private window UnityEngine.GameObject
  91. ---@field private closeBox UnityEngine.GameObject
  92. ---@field private btnClose UIArtifactTips__Generate_btnClose
  93. ---@field private contentItem UnityEngine.GameObject
  94. ---@field private skillEquipSlot UIArtifactTips__Generate_skillEquipSlot
  95. ---@field private textName UIArtifactTips__Generate_textName
  96. ---@field private type1 UIArtifactTips__Generate_type1
  97. ---@field private btnChange UIArtifactTips__Generate_btnChange
  98. ---@field private labelBox UnityEngine.GameObject
  99. ---@field private jobIcon UIArtifactTips__Generate_jobIcon
  100. ---@field private heroName UIArtifactTips__Generate_heroName
  101. ---@field private desTxt UIArtifactTips__Generate_desTxt
  102. ---@field private property UnityEngine.GameObject
  103. ---@field private artifactPropertyItem1 UIArtifactTips__Generate_artifactPropertyItem1
  104. ---@field private artifactPropertyItem2 UIArtifactTips__Generate_artifactPropertyItem2
  105. ---@field private artifactPropertyItem3 UIArtifactTips__Generate_artifactPropertyItem3
  106. ---@field private artifactPropertyItem4 UIArtifactTips__Generate_artifactPropertyItem4
  107. ---@field private artifactPropertyItem5 UIArtifactTips__Generate_artifactPropertyItem5
  108. ---@field private bottomBox UnityEngine.GameObject
  109. ---@field private slotLvRoot UnityEngine.GameObject
  110. ---@field private slotLv UIArtifactTips__Generate_slotLv
  111. ---@field private slotNum UIArtifactTips__Generate_slotNum
  112. ---@field private rule UIArtifactTips__Generate_rule
  113. ---@field private cost UnityEngine.GameObject
  114. ---@field private cost1 UIArtifactTips__Generate_cost1
  115. ---@field private cost2 UIArtifactTips__Generate_cost2
  116. ---@field private btnBox UnityEngine.GameObject
  117. ---@field private btnRefine UIArtifactTips__Generate_btnRefine
  118. ---@field private redPointItem UnityEngine.GameObject
  119. ---@field private fx_ui_refine_success UIArtifactTips__Generate_fx_ui_refine_success
  120. local UIArtifactTipsView = class("UIArtifactTipsView", require("UIViewBase"))
  121. function UIArtifactTipsView:ctor()
  122. end
  123. ---@private
  124. function UIArtifactTipsView:SetActive(result)
  125. self.gameObject:SetActive(result)
  126. end
  127. ---@private
  128. function UIArtifactTipsView:InitGenerate(Root, data)
  129. self.transform = Root
  130. self.inited = true
  131. if self.super.Init then
  132. self.super.Init(self)
  133. end
  134. local tmp
  135. self:InitGenerate__1(Root,data)
  136. self:InitGenerate__2(Root,data)
  137. self:InitGenerate__3(Root,data)
  138. self:InitGenerate__4(Root,data)
  139. self:InitGenerate__5(Root,data)
  140. self:InitGenerate__6(Root,data)
  141. self:InitGenerate__7(Root,data)
  142. self:InitGenerate__8(Root,data)
  143. self:InitGenerate__9(Root,data)
  144. self:InitGenerate__10(Root,data)
  145. self:InitGenerate__11(Root,data)
  146. self:InitGenerate__12(Root,data)
  147. self:InitGenerate__13(Root,data)
  148. self:InitGenerate__14(Root,data)
  149. self:InitGenerate__15(Root,data)
  150. self:InitGenerate__16(Root,data)
  151. self:InitGenerate__17(Root,data)
  152. self:InitGenerate__18(Root,data)
  153. self:InitGenerate__19(Root,data)
  154. self:InitGenerate__20(Root,data)
  155. self:InitGenerate__21(Root,data)
  156. self:InitGenerate__22(Root,data)
  157. self:InitGenerate__23(Root,data)
  158. self:InitGenerate__24(Root,data)
  159. self:InitGenerate__25(Root,data)
  160. self:InitGenerate__26(Root,data)
  161. self:InitGenerate__27(Root,data)
  162. self:InitGenerate__28(Root,data)
  163. self:InitGenerate__29(Root,data)
  164. self:InitGenerate__30(Root,data)
  165. self:InitGenerate__31(Root,data)
  166. self:InitGenerate__32(Root,data)
  167. self:InitGenerate__33(Root,data)
  168. self:InitGenerate__34(Root,data)
  169. self:InitGenerate__35(Root,data)
  170. self:InitGenerate__36(Root,data)
  171. self:InitGenerate__37(Root,data)
  172. self:InitGenerate__38(Root,data)
  173. end
  174. ---@private
  175. function UIArtifactTipsView:InitGenerate__1(Root, data)
  176. --[[
  177. Root
  178. --]]
  179. self.uIEventHandler = Root:GetComponent(Enum.TypeInfo.UIEventHandler)
  180. end
  181. ---@private
  182. function UIArtifactTipsView:InitGenerate__2(Root, data)
  183. --[[
  184. UIAnimator
  185. --]]
  186. local tmp = Root:Find("UIAnimator").gameObject
  187. if tolua.getpeer(tmp) == nil then
  188. tolua.setpeer(tmp, {})
  189. end
  190. self.uIAnimator = tmp
  191. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  192. tmp.animator.logWarnings = false
  193. end
  194. ---@private
  195. function UIArtifactTipsView:InitGenerate__3(Root, data)
  196. --[[
  197. UIAnimator/Alpha
  198. --]]
  199. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  200. if tolua.getpeer(tmp) == nil then
  201. tolua.setpeer(tmp, {})
  202. end
  203. self.AnyBtn = tmp
  204. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  205. end
  206. ---@private
  207. function UIArtifactTipsView:InitGenerate__4(Root, data)
  208. --[[
  209. UIAnimator/Window
  210. --]]
  211. local tmp = Root:Find("UIAnimator/Window").gameObject
  212. if tolua.getpeer(tmp) == nil then
  213. tolua.setpeer(tmp, {})
  214. end
  215. self.window = tmp
  216. end
  217. ---@private
  218. function UIArtifactTipsView:InitGenerate__5(Root, data)
  219. --[[
  220. UIAnimator/Window/Bg/CloseBox
  221. --]]
  222. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox").gameObject
  223. if tolua.getpeer(tmp) == nil then
  224. tolua.setpeer(tmp, {})
  225. end
  226. self.closeBox = tmp
  227. end
  228. ---@private
  229. function UIArtifactTipsView:InitGenerate__6(Root, data)
  230. --[[
  231. UIAnimator/Window/Bg/CloseBox/BtnClose
  232. --]]
  233. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
  234. if tolua.getpeer(tmp) == nil then
  235. tolua.setpeer(tmp, {})
  236. end
  237. self.btnClose = tmp
  238. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  239. end
  240. ---@private
  241. function UIArtifactTipsView:InitGenerate__7(Root, data)
  242. --[[
  243. UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem
  244. --]]
  245. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem").gameObject
  246. if tolua.getpeer(tmp) == nil then
  247. tolua.setpeer(tmp, {})
  248. end
  249. self.contentItem = tmp
  250. end
  251. ---@private
  252. function UIArtifactTipsView:InitGenerate__8(Root, data)
  253. --[[
  254. UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem/EquipSlotItemNew
  255. --]]
  256. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem/EquipSlotItemNew").gameObject
  257. if tolua.getpeer(tmp) == nil then
  258. tolua.setpeer(tmp, {})
  259. end
  260. self.skillEquipSlot = CommonUtil.BindGridViewItem2LuaStatic("EquipSlotItemNew", tmp)
  261. self.skillEquipSlot.prefabName = "EquipSlotItemNew"
  262. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  263. end
  264. ---@private
  265. function UIArtifactTipsView:InitGenerate__9(Root, data)
  266. --[[
  267. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/TextName
  268. --]]
  269. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/TextName").gameObject
  270. if tolua.getpeer(tmp) == nil then
  271. tolua.setpeer(tmp, {})
  272. end
  273. self.textName = tmp
  274. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  275. end
  276. ---@private
  277. function UIArtifactTipsView:InitGenerate__10(Root, data)
  278. --[[
  279. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1
  280. --]]
  281. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1").gameObject
  282. if tolua.getpeer(tmp) == nil then
  283. tolua.setpeer(tmp, {})
  284. end
  285. self.type1 = tmp
  286. end
  287. ---@private
  288. function UIArtifactTipsView:InitGenerate__11(Root, data)
  289. --[[
  290. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text2
  291. --]]
  292. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text2").gameObject
  293. if tolua.getpeer(tmp) == nil then
  294. tolua.setpeer(tmp, {})
  295. end
  296. self.type1.text2 = tmp
  297. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  298. end
  299. ---@private
  300. function UIArtifactTipsView:InitGenerate__12(Root, data)
  301. --[[
  302. UIAnimator/Window/Bg/TopItem/BtnChange
  303. --]]
  304. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/BtnChange").gameObject
  305. if tolua.getpeer(tmp) == nil then
  306. tolua.setpeer(tmp, {})
  307. end
  308. self.btnChange = tmp
  309. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  310. end
  311. ---@private
  312. function UIArtifactTipsView:InitGenerate__13(Root, data)
  313. --[[
  314. UIAnimator/Window/Bg/TopItem/LabelBox
  315. --]]
  316. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/LabelBox").gameObject
  317. if tolua.getpeer(tmp) == nil then
  318. tolua.setpeer(tmp, {})
  319. end
  320. self.labelBox = tmp
  321. end
  322. ---@private
  323. function UIArtifactTipsView:InitGenerate__14(Root, data)
  324. --[[
  325. UIAnimator/Window/Bg/TopItem/LabelBox/JobIcon
  326. --]]
  327. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/LabelBox/JobIcon").gameObject
  328. if tolua.getpeer(tmp) == nil then
  329. tolua.setpeer(tmp, {})
  330. end
  331. self.jobIcon = tmp
  332. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  333. end
  334. ---@private
  335. function UIArtifactTipsView:InitGenerate__15(Root, data)
  336. --[[
  337. UIAnimator/Window/Bg/TopItem/LabelBox/heroName
  338. --]]
  339. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/LabelBox/heroName").gameObject
  340. if tolua.getpeer(tmp) == nil then
  341. tolua.setpeer(tmp, {})
  342. end
  343. self.heroName = tmp
  344. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  345. end
  346. ---@private
  347. function UIArtifactTipsView:InitGenerate__16(Root, data)
  348. --[[
  349. UIAnimator/Window/Bg/DscBox/DesTxt
  350. --]]
  351. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DesTxt").gameObject
  352. if tolua.getpeer(tmp) == nil then
  353. tolua.setpeer(tmp, {})
  354. end
  355. self.desTxt = tmp
  356. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  357. end
  358. ---@private
  359. function UIArtifactTipsView:InitGenerate__17(Root, data)
  360. --[[
  361. UIAnimator/Window/Bg/Property
  362. --]]
  363. local tmp = Root:Find("UIAnimator/Window/Bg/Property").gameObject
  364. if tolua.getpeer(tmp) == nil then
  365. tolua.setpeer(tmp, {})
  366. end
  367. self.property = tmp
  368. end
  369. ---@private
  370. function UIArtifactTipsView:InitGenerate__18(Root, data)
  371. --[[
  372. UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem1
  373. --]]
  374. local tmp = Root:Find("UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem1").gameObject
  375. if tolua.getpeer(tmp) == nil then
  376. tolua.setpeer(tmp, {})
  377. end
  378. self.artifactPropertyItem1 = CommonUtil.BindGridViewItem2LuaStatic("ArtifactPropertyItem", tmp)
  379. self.artifactPropertyItem1.prefabName = "ArtifactPropertyItem"
  380. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  381. end
  382. ---@private
  383. function UIArtifactTipsView:InitGenerate__19(Root, data)
  384. --[[
  385. UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem2
  386. --]]
  387. local tmp = Root:Find("UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem2").gameObject
  388. if tolua.getpeer(tmp) == nil then
  389. tolua.setpeer(tmp, {})
  390. end
  391. self.artifactPropertyItem2 = CommonUtil.BindGridViewItem2LuaStatic("ArtifactPropertyItem", tmp)
  392. self.artifactPropertyItem2.prefabName = "ArtifactPropertyItem"
  393. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  394. end
  395. ---@private
  396. function UIArtifactTipsView:InitGenerate__20(Root, data)
  397. --[[
  398. UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem3
  399. --]]
  400. local tmp = Root:Find("UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem3").gameObject
  401. if tolua.getpeer(tmp) == nil then
  402. tolua.setpeer(tmp, {})
  403. end
  404. self.artifactPropertyItem3 = CommonUtil.BindGridViewItem2LuaStatic("ArtifactPropertyItem", tmp)
  405. self.artifactPropertyItem3.prefabName = "ArtifactPropertyItem"
  406. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  407. end
  408. ---@private
  409. function UIArtifactTipsView:InitGenerate__21(Root, data)
  410. --[[
  411. UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem4
  412. --]]
  413. local tmp = Root:Find("UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem4").gameObject
  414. if tolua.getpeer(tmp) == nil then
  415. tolua.setpeer(tmp, {})
  416. end
  417. self.artifactPropertyItem4 = CommonUtil.BindGridViewItem2LuaStatic("ArtifactPropertyItem", tmp)
  418. self.artifactPropertyItem4.prefabName = "ArtifactPropertyItem"
  419. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  420. end
  421. ---@private
  422. function UIArtifactTipsView:InitGenerate__22(Root, data)
  423. --[[
  424. UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem5
  425. --]]
  426. local tmp = Root:Find("UIAnimator/Window/Bg/Property/GroupView/Viewport/Content/ArtifactPropertyItem5").gameObject
  427. if tolua.getpeer(tmp) == nil then
  428. tolua.setpeer(tmp, {})
  429. end
  430. self.artifactPropertyItem5 = CommonUtil.BindGridViewItem2LuaStatic("ArtifactPropertyItem", tmp)
  431. self.artifactPropertyItem5.prefabName = "ArtifactPropertyItem"
  432. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  433. end
  434. ---@private
  435. function UIArtifactTipsView:InitGenerate__23(Root, data)
  436. --[[
  437. UIAnimator/Window/Bg/BottomBox
  438. --]]
  439. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox").gameObject
  440. if tolua.getpeer(tmp) == nil then
  441. tolua.setpeer(tmp, {})
  442. end
  443. self.bottomBox = tmp
  444. end
  445. ---@private
  446. function UIArtifactTipsView:InitGenerate__24(Root, data)
  447. --[[
  448. UIAnimator/Window/Bg/BottomBox/Image
  449. --]]
  450. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/Image").gameObject
  451. if tolua.getpeer(tmp) == nil then
  452. tolua.setpeer(tmp, {})
  453. end
  454. self.slotLvRoot = tmp
  455. end
  456. ---@private
  457. function UIArtifactTipsView:InitGenerate__25(Root, data)
  458. --[[
  459. UIAnimator/Window/Bg/BottomBox/Image/Image/Text/slotLv
  460. --]]
  461. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/Image/Image/Text/slotLv").gameObject
  462. if tolua.getpeer(tmp) == nil then
  463. tolua.setpeer(tmp, {})
  464. end
  465. self.slotLv = tmp
  466. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  467. end
  468. ---@private
  469. function UIArtifactTipsView:InitGenerate__26(Root, data)
  470. --[[
  471. UIAnimator/Window/Bg/BottomBox/Image/Image/Text/slotNum
  472. --]]
  473. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/Image/Image/Text/slotNum").gameObject
  474. if tolua.getpeer(tmp) == nil then
  475. tolua.setpeer(tmp, {})
  476. end
  477. self.slotNum = tmp
  478. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  479. end
  480. ---@private
  481. function UIArtifactTipsView:InitGenerate__27(Root, data)
  482. --[[
  483. UIAnimator/Window/Bg/BottomBox/Image/Image/rule
  484. --]]
  485. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/Image/Image/rule").gameObject
  486. if tolua.getpeer(tmp) == nil then
  487. tolua.setpeer(tmp, {})
  488. end
  489. self.rule = tmp
  490. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  491. end
  492. ---@private
  493. function UIArtifactTipsView:InitGenerate__28(Root, data)
  494. --[[
  495. UIAnimator/Window/Bg/BottomBox/cost
  496. --]]
  497. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/cost").gameObject
  498. if tolua.getpeer(tmp) == nil then
  499. tolua.setpeer(tmp, {})
  500. end
  501. self.cost = tmp
  502. end
  503. ---@private
  504. function UIArtifactTipsView:InitGenerate__29(Root, data)
  505. --[[
  506. UIAnimator/Window/Bg/BottomBox/cost/cost1
  507. --]]
  508. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/cost/cost1").gameObject
  509. if tolua.getpeer(tmp) == nil then
  510. tolua.setpeer(tmp, {})
  511. end
  512. self.cost1 = tmp
  513. end
  514. ---@private
  515. function UIArtifactTipsView:InitGenerate__30(Root, data)
  516. --[[
  517. UIAnimator/Window/Bg/BottomBox/cost/cost1/icon
  518. --]]
  519. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/cost/cost1/icon").gameObject
  520. if tolua.getpeer(tmp) == nil then
  521. tolua.setpeer(tmp, {})
  522. end
  523. self.cost1.icon = tmp
  524. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  525. end
  526. ---@private
  527. function UIArtifactTipsView:InitGenerate__31(Root, data)
  528. --[[
  529. UIAnimator/Window/Bg/BottomBox/cost/cost1/Text
  530. --]]
  531. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/cost/cost1/Text").gameObject
  532. if tolua.getpeer(tmp) == nil then
  533. tolua.setpeer(tmp, {})
  534. end
  535. self.cost1.text = tmp
  536. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  537. end
  538. ---@private
  539. function UIArtifactTipsView:InitGenerate__32(Root, data)
  540. --[[
  541. UIAnimator/Window/Bg/BottomBox/cost/cost2
  542. --]]
  543. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/cost/cost2").gameObject
  544. if tolua.getpeer(tmp) == nil then
  545. tolua.setpeer(tmp, {})
  546. end
  547. self.cost2 = tmp
  548. end
  549. ---@private
  550. function UIArtifactTipsView:InitGenerate__33(Root, data)
  551. --[[
  552. UIAnimator/Window/Bg/BottomBox/cost/cost2/icon
  553. --]]
  554. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/cost/cost2/icon").gameObject
  555. if tolua.getpeer(tmp) == nil then
  556. tolua.setpeer(tmp, {})
  557. end
  558. self.cost2.icon = tmp
  559. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  560. end
  561. ---@private
  562. function UIArtifactTipsView:InitGenerate__34(Root, data)
  563. --[[
  564. UIAnimator/Window/Bg/BottomBox/cost/cost2/Text
  565. --]]
  566. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/cost/cost2/Text").gameObject
  567. if tolua.getpeer(tmp) == nil then
  568. tolua.setpeer(tmp, {})
  569. end
  570. self.cost2.text = tmp
  571. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  572. end
  573. ---@private
  574. function UIArtifactTipsView:InitGenerate__35(Root, data)
  575. --[[
  576. UIAnimator/Window/Bg/BottomBox/BtnBox
  577. --]]
  578. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/BtnBox").gameObject
  579. if tolua.getpeer(tmp) == nil then
  580. tolua.setpeer(tmp, {})
  581. end
  582. self.btnBox = tmp
  583. end
  584. ---@private
  585. function UIArtifactTipsView:InitGenerate__36(Root, data)
  586. --[[
  587. UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine
  588. --]]
  589. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine").gameObject
  590. if tolua.getpeer(tmp) == nil then
  591. tolua.setpeer(tmp, {})
  592. end
  593. self.btnRefine = tmp
  594. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  595. end
  596. ---@private
  597. function UIArtifactTipsView:InitGenerate__37(Root, data)
  598. --[[
  599. UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine/RedPointItem
  600. --]]
  601. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/BtnBox/BtnRefine/RedPointItem").gameObject
  602. if tolua.getpeer(tmp) == nil then
  603. tolua.setpeer(tmp, {})
  604. end
  605. self.redPointItem = CommonUtil.BindGridViewItem2LuaStatic("RedPointItem", tmp)
  606. self.redPointItem.prefabName = "RedPointItem"
  607. end
  608. ---@private
  609. function UIArtifactTipsView:InitGenerate__38(Root, data)
  610. --[[
  611. UIAnimator/FX_UI_REFINE_Success
  612. --]]
  613. local tmp = Root:Find("UIAnimator/FX_UI_REFINE_Success").gameObject
  614. if tolua.getpeer(tmp) == nil then
  615. tolua.setpeer(tmp, {})
  616. end
  617. self.fx_ui_refine_success = tmp
  618. tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
  619. end
  620. ---@private
  621. function UIArtifactTipsView:GenerateDestroy()
  622. if tolua.getpeer(self.cost2.text) ~= nil then
  623. tolua.setpeer(self.cost2.text, nil)
  624. end
  625. if tolua.getpeer(self.cost2.icon) ~= nil then
  626. tolua.setpeer(self.cost2.icon, nil)
  627. end
  628. if tolua.getpeer(self.cost1.text) ~= nil then
  629. tolua.setpeer(self.cost1.text, nil)
  630. end
  631. if tolua.getpeer(self.cost1.icon) ~= nil then
  632. tolua.setpeer(self.cost1.icon, nil)
  633. end
  634. if tolua.getpeer(self.type1.text2) ~= nil then
  635. tolua.setpeer(self.type1.text2, nil)
  636. end
  637. if tolua.getpeer(self.uIAnimator) ~= nil then
  638. tolua.setpeer(self.uIAnimator, nil)
  639. end
  640. self.uIAnimator = nil
  641. if tolua.getpeer(self.AnyBtn) ~= nil then
  642. tolua.setpeer(self.AnyBtn, nil)
  643. end
  644. self.AnyBtn = nil
  645. if tolua.getpeer(self.window) ~= nil then
  646. tolua.setpeer(self.window, nil)
  647. end
  648. self.window = nil
  649. if tolua.getpeer(self.closeBox) ~= nil then
  650. tolua.setpeer(self.closeBox, nil)
  651. end
  652. self.closeBox = nil
  653. if tolua.getpeer(self.btnClose) ~= nil then
  654. tolua.setpeer(self.btnClose, nil)
  655. end
  656. self.btnClose = nil
  657. if tolua.getpeer(self.contentItem) ~= nil then
  658. tolua.setpeer(self.contentItem, nil)
  659. end
  660. self.contentItem = nil
  661. if self.skillEquipSlot.GenerateDestroy ~= nil then
  662. self.skillEquipSlot:GenerateDestroy()
  663. end
  664. if tolua.getpeer(self.skillEquipSlot) ~= nil then
  665. tolua.setpeer(self.skillEquipSlot, nil)
  666. end
  667. self.skillEquipSlot = nil
  668. if tolua.getpeer(self.textName) ~= nil then
  669. tolua.setpeer(self.textName, nil)
  670. end
  671. self.textName = nil
  672. if tolua.getpeer(self.type1) ~= nil then
  673. tolua.setpeer(self.type1, nil)
  674. end
  675. self.type1 = nil
  676. if tolua.getpeer(self.btnChange) ~= nil then
  677. tolua.setpeer(self.btnChange, nil)
  678. end
  679. self.btnChange = nil
  680. if tolua.getpeer(self.labelBox) ~= nil then
  681. tolua.setpeer(self.labelBox, nil)
  682. end
  683. self.labelBox = nil
  684. if tolua.getpeer(self.jobIcon) ~= nil then
  685. tolua.setpeer(self.jobIcon, nil)
  686. end
  687. self.jobIcon = nil
  688. if tolua.getpeer(self.heroName) ~= nil then
  689. tolua.setpeer(self.heroName, nil)
  690. end
  691. self.heroName = nil
  692. if tolua.getpeer(self.desTxt) ~= nil then
  693. tolua.setpeer(self.desTxt, nil)
  694. end
  695. self.desTxt = nil
  696. if tolua.getpeer(self.property) ~= nil then
  697. tolua.setpeer(self.property, nil)
  698. end
  699. self.property = nil
  700. if self.artifactPropertyItem1.GenerateDestroy ~= nil then
  701. self.artifactPropertyItem1:GenerateDestroy()
  702. end
  703. if tolua.getpeer(self.artifactPropertyItem1) ~= nil then
  704. tolua.setpeer(self.artifactPropertyItem1, nil)
  705. end
  706. self.artifactPropertyItem1 = nil
  707. if self.artifactPropertyItem2.GenerateDestroy ~= nil then
  708. self.artifactPropertyItem2:GenerateDestroy()
  709. end
  710. if tolua.getpeer(self.artifactPropertyItem2) ~= nil then
  711. tolua.setpeer(self.artifactPropertyItem2, nil)
  712. end
  713. self.artifactPropertyItem2 = nil
  714. if self.artifactPropertyItem3.GenerateDestroy ~= nil then
  715. self.artifactPropertyItem3:GenerateDestroy()
  716. end
  717. if tolua.getpeer(self.artifactPropertyItem3) ~= nil then
  718. tolua.setpeer(self.artifactPropertyItem3, nil)
  719. end
  720. self.artifactPropertyItem3 = nil
  721. if self.artifactPropertyItem4.GenerateDestroy ~= nil then
  722. self.artifactPropertyItem4:GenerateDestroy()
  723. end
  724. if tolua.getpeer(self.artifactPropertyItem4) ~= nil then
  725. tolua.setpeer(self.artifactPropertyItem4, nil)
  726. end
  727. self.artifactPropertyItem4 = nil
  728. if self.artifactPropertyItem5.GenerateDestroy ~= nil then
  729. self.artifactPropertyItem5:GenerateDestroy()
  730. end
  731. if tolua.getpeer(self.artifactPropertyItem5) ~= nil then
  732. tolua.setpeer(self.artifactPropertyItem5, nil)
  733. end
  734. self.artifactPropertyItem5 = nil
  735. if tolua.getpeer(self.bottomBox) ~= nil then
  736. tolua.setpeer(self.bottomBox, nil)
  737. end
  738. self.bottomBox = nil
  739. if tolua.getpeer(self.slotLvRoot) ~= nil then
  740. tolua.setpeer(self.slotLvRoot, nil)
  741. end
  742. self.slotLvRoot = nil
  743. if tolua.getpeer(self.slotLv) ~= nil then
  744. tolua.setpeer(self.slotLv, nil)
  745. end
  746. self.slotLv = nil
  747. if tolua.getpeer(self.slotNum) ~= nil then
  748. tolua.setpeer(self.slotNum, nil)
  749. end
  750. self.slotNum = nil
  751. if tolua.getpeer(self.rule) ~= nil then
  752. tolua.setpeer(self.rule, nil)
  753. end
  754. self.rule = nil
  755. if tolua.getpeer(self.cost) ~= nil then
  756. tolua.setpeer(self.cost, nil)
  757. end
  758. self.cost = nil
  759. if tolua.getpeer(self.cost1) ~= nil then
  760. tolua.setpeer(self.cost1, nil)
  761. end
  762. self.cost1 = nil
  763. if tolua.getpeer(self.cost2) ~= nil then
  764. tolua.setpeer(self.cost2, nil)
  765. end
  766. self.cost2 = nil
  767. if tolua.getpeer(self.btnBox) ~= nil then
  768. tolua.setpeer(self.btnBox, nil)
  769. end
  770. self.btnBox = nil
  771. if tolua.getpeer(self.btnRefine) ~= nil then
  772. tolua.setpeer(self.btnRefine, nil)
  773. end
  774. self.btnRefine = nil
  775. if self.redPointItem.GenerateDestroy ~= nil then
  776. self.redPointItem:GenerateDestroy()
  777. end
  778. if tolua.getpeer(self.redPointItem) ~= nil then
  779. tolua.setpeer(self.redPointItem, nil)
  780. end
  781. self.redPointItem = nil
  782. if tolua.getpeer(self.fx_ui_refine_success) ~= nil then
  783. tolua.setpeer(self.fx_ui_refine_success, nil)
  784. end
  785. self.fx_ui_refine_success = nil
  786. self.transform = nil
  787. self.gameObject = nil
  788. self.inited = false
  789. end
  790. return UIArtifactTipsView