UIEquipRefineTipsView_Generate.lua 23 KB

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