UITipsSkillView_Generate.lua 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  1. ---@class UITipsSkill__Generate_dscGai_txt
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UITipsSkill__Generate_dscGai
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public txt UITipsSkill__Generate_dscGai_txt
  7. ---@class UITipsSkill__Generate_dscNext_txt
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UITipsSkill__Generate_dscNext_level
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public text UnityEngine.UI.Text
  13. ---@class UITipsSkill__Generate_dscNext
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public level UITipsSkill__Generate_dscNext_level
  16. ---@field public txt UITipsSkill__Generate_dscNext_txt
  17. ---@class UITipsSkill__Generate_dscCurrent_txt
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public text UnityEngine.UI.Text
  20. ---@class UITipsSkill__Generate_dscCurrent_level
  21. ---@field public gameObject UnityEngine.GameObject
  22. ---@field public text UnityEngine.UI.Text
  23. ---@class UITipsSkill__Generate_dscCurrent
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public level UITipsSkill__Generate_dscCurrent_level
  26. ---@field public txt UITipsSkill__Generate_dscCurrent_txt
  27. ---@class UITipsSkill__Generate_type2_text2
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public text UnityEngine.UI.Text
  30. ---@class UITipsSkill__Generate_type2_text1
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public uILocalizeScript UILocalizeScript
  33. ---@field public text UnityEngine.UI.Text
  34. ---@class UITipsSkill__Generate_type2
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public text1 UITipsSkill__Generate_type2_text1
  37. ---@field public text2 UITipsSkill__Generate_type2_text2
  38. ---@class UITipsSkill__Generate_type1_text2
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public text UnityEngine.UI.Text
  41. ---@class UITipsSkill__Generate_type1_text1
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public uILocalizeScript UILocalizeScript
  44. ---@field public text UnityEngine.UI.Text
  45. ---@class UITipsSkill__Generate_type1
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public text1 UITipsSkill__Generate_type1_text1
  48. ---@field public text2 UITipsSkill__Generate_type1_text2
  49. ---@class UITipsSkill__Generate_textName
  50. ---@field public gameObject UnityEngine.GameObject
  51. ---@field public text UnityEngine.UI.Text
  52. ---@class UITipsSkill__Generate_skillItem
  53. ---@field public gameObject UnityEngine.GameObject
  54. ---@field public rectTransform UnityEngine.RectTransform
  55. ---@class UITipsSkill__Generate_AnyBtn
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public button UnityEngine.UI.Button
  58. ---@class UITipsSkill__Generate_uIAnimator
  59. ---@field public gameObject UnityEngine.GameObject
  60. ---@field public animator UnityEngine.Animator
  61. ---@class UITipsSkill__Generate
  62. ---@field private gameObject UnityEngine.GameObject
  63. ---@field private transform UnityEngine.Transform
  64. ---@field private uIEventHandler UIEventHandler
  65. ---@field private uIAnimator UITipsSkill__Generate_uIAnimator
  66. ---@field private AnyBtn UITipsSkill__Generate_AnyBtn
  67. ---@field private window UnityEngine.GameObject
  68. ---@field private mainInfo UnityEngine.GameObject
  69. ---@field private contentItem UnityEngine.GameObject
  70. ---@field private skillItem UITipsSkill__Generate_skillItem
  71. ---@field private textName UITipsSkill__Generate_textName
  72. ---@field private type1 UITipsSkill__Generate_type1
  73. ---@field private type2 UITipsSkill__Generate_type2
  74. ---@field private skillTag UnityEngine.GameObject
  75. ---@field private skillTagItem1 UnityEngine.GameObject
  76. ---@field private skillTagItem2 UnityEngine.GameObject
  77. ---@field private skillTagItem3 UnityEngine.GameObject
  78. ---@field private skillTagItem4 UnityEngine.GameObject
  79. ---@field private dscCurrent UITipsSkill__Generate_dscCurrent
  80. ---@field private dscNext UITipsSkill__Generate_dscNext
  81. ---@field private maxLevel UnityEngine.GameObject
  82. ---@field private max UnityEngine.GameObject
  83. ---@field private dscGai UITipsSkill__Generate_dscGai
  84. ---@field private bottomBox UnityEngine.GameObject
  85. ---@field private btnBox UnityEngine.GameObject
  86. local UITipsSkillView = class("UITipsSkillView", require("UIViewBase"))
  87. function UITipsSkillView:ctor()
  88. end
  89. ---@private
  90. function UITipsSkillView:SetActive(result)
  91. self.gameObject:SetActive(result)
  92. end
  93. ---@private
  94. function UITipsSkillView:InitGenerate(Root, data)
  95. self.transform = Root
  96. self.inited = true
  97. if self.super.Init then
  98. self.super.Init(self)
  99. end
  100. local tmp
  101. self:InitGenerate__1(Root,data)
  102. self:InitGenerate__2(Root,data)
  103. self:InitGenerate__3(Root,data)
  104. self:InitGenerate__4(Root,data)
  105. self:InitGenerate__5(Root,data)
  106. self:InitGenerate__6(Root,data)
  107. self:InitGenerate__7(Root,data)
  108. self:InitGenerate__8(Root,data)
  109. self:InitGenerate__9(Root,data)
  110. self:InitGenerate__10(Root,data)
  111. self:InitGenerate__11(Root,data)
  112. self:InitGenerate__12(Root,data)
  113. self:InitGenerate__13(Root,data)
  114. self:InitGenerate__14(Root,data)
  115. self:InitGenerate__15(Root,data)
  116. self:InitGenerate__16(Root,data)
  117. self:InitGenerate__17(Root,data)
  118. self:InitGenerate__18(Root,data)
  119. self:InitGenerate__19(Root,data)
  120. self:InitGenerate__20(Root,data)
  121. self:InitGenerate__21(Root,data)
  122. self:InitGenerate__22(Root,data)
  123. self:InitGenerate__23(Root,data)
  124. self:InitGenerate__24(Root,data)
  125. self:InitGenerate__25(Root,data)
  126. self:InitGenerate__26(Root,data)
  127. self:InitGenerate__27(Root,data)
  128. self:InitGenerate__28(Root,data)
  129. self:InitGenerate__29(Root,data)
  130. self:InitGenerate__30(Root,data)
  131. self:InitGenerate__31(Root,data)
  132. end
  133. ---@private
  134. function UITipsSkillView:InitGenerate__1(Root, data)
  135. --[[
  136. Root
  137. --]]
  138. self.uIEventHandler = Root:GetComponent(Enum.TypeInfo.UIEventHandler)
  139. end
  140. ---@private
  141. function UITipsSkillView:InitGenerate__2(Root, data)
  142. --[[
  143. UIAnimator
  144. --]]
  145. local tmp = Root:Find("UIAnimator").gameObject
  146. if tolua.getpeer(tmp) == nil then
  147. tolua.setpeer(tmp, {})
  148. end
  149. self.uIAnimator = tmp
  150. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  151. tmp.animator.logWarnings = false
  152. end
  153. ---@private
  154. function UITipsSkillView:InitGenerate__3(Root, data)
  155. --[[
  156. UIAnimator/Alpha
  157. --]]
  158. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  159. if tolua.getpeer(tmp) == nil then
  160. tolua.setpeer(tmp, {})
  161. end
  162. self.AnyBtn = tmp
  163. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  164. end
  165. ---@private
  166. function UITipsSkillView:InitGenerate__4(Root, data)
  167. --[[
  168. UIAnimator/Window
  169. --]]
  170. local tmp = Root:Find("UIAnimator/Window").gameObject
  171. if tolua.getpeer(tmp) == nil then
  172. tolua.setpeer(tmp, {})
  173. end
  174. self.window = tmp
  175. end
  176. ---@private
  177. function UITipsSkillView:InitGenerate__5(Root, data)
  178. --[[
  179. UIAnimator/Window/Bg/TopItem/MainInfo
  180. --]]
  181. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo").gameObject
  182. if tolua.getpeer(tmp) == nil then
  183. tolua.setpeer(tmp, {})
  184. end
  185. self.mainInfo = tmp
  186. end
  187. ---@private
  188. function UITipsSkillView:InitGenerate__6(Root, data)
  189. --[[
  190. UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem
  191. --]]
  192. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem").gameObject
  193. if tolua.getpeer(tmp) == nil then
  194. tolua.setpeer(tmp, {})
  195. end
  196. self.contentItem = tmp
  197. end
  198. ---@private
  199. function UITipsSkillView:InitGenerate__7(Root, data)
  200. --[[
  201. UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem/SkillItem
  202. --]]
  203. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem/SkillItem").gameObject
  204. if tolua.getpeer(tmp) == nil then
  205. tolua.setpeer(tmp, {})
  206. end
  207. self.skillItem = CommonUtil.BindGridViewItem2LuaStatic("SkillItem", tmp)
  208. self.skillItem.prefabName = "SkillItem"
  209. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  210. end
  211. ---@private
  212. function UITipsSkillView:InitGenerate__8(Root, data)
  213. --[[
  214. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/TextName
  215. --]]
  216. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/TextName").gameObject
  217. if tolua.getpeer(tmp) == nil then
  218. tolua.setpeer(tmp, {})
  219. end
  220. self.textName = tmp
  221. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  222. end
  223. ---@private
  224. function UITipsSkillView:InitGenerate__9(Root, data)
  225. --[[
  226. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1
  227. --]]
  228. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1").gameObject
  229. if tolua.getpeer(tmp) == nil then
  230. tolua.setpeer(tmp, {})
  231. end
  232. self.type1 = tmp
  233. end
  234. ---@private
  235. function UITipsSkillView:InitGenerate__10(Root, data)
  236. --[[
  237. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text1
  238. --]]
  239. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text1").gameObject
  240. if tolua.getpeer(tmp) == nil then
  241. tolua.setpeer(tmp, {})
  242. end
  243. self.type1.text1 = tmp
  244. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  245. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  246. end
  247. ---@private
  248. function UITipsSkillView:InitGenerate__11(Root, data)
  249. --[[
  250. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text2
  251. --]]
  252. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text2").gameObject
  253. if tolua.getpeer(tmp) == nil then
  254. tolua.setpeer(tmp, {})
  255. end
  256. self.type1.text2 = tmp
  257. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  258. end
  259. ---@private
  260. function UITipsSkillView:InitGenerate__12(Root, data)
  261. --[[
  262. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2
  263. --]]
  264. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2").gameObject
  265. if tolua.getpeer(tmp) == nil then
  266. tolua.setpeer(tmp, {})
  267. end
  268. self.type2 = tmp
  269. end
  270. ---@private
  271. function UITipsSkillView:InitGenerate__13(Root, data)
  272. --[[
  273. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2/Text1
  274. --]]
  275. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2/Text1").gameObject
  276. if tolua.getpeer(tmp) == nil then
  277. tolua.setpeer(tmp, {})
  278. end
  279. self.type2.text1 = tmp
  280. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  281. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  282. end
  283. ---@private
  284. function UITipsSkillView:InitGenerate__14(Root, data)
  285. --[[
  286. UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2/Text2
  287. --]]
  288. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2/Text2").gameObject
  289. if tolua.getpeer(tmp) == nil then
  290. tolua.setpeer(tmp, {})
  291. end
  292. self.type2.text2 = tmp
  293. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  294. end
  295. ---@private
  296. function UITipsSkillView:InitGenerate__15(Root, data)
  297. --[[
  298. UIAnimator/Window/Bg/TopItem/SkillTag
  299. --]]
  300. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag").gameObject
  301. if tolua.getpeer(tmp) == nil then
  302. tolua.setpeer(tmp, {})
  303. end
  304. self.skillTag = tmp
  305. end
  306. ---@private
  307. function UITipsSkillView:InitGenerate__16(Root, data)
  308. --[[
  309. UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem1
  310. --]]
  311. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem1").gameObject
  312. if tolua.getpeer(tmp) == nil then
  313. tolua.setpeer(tmp, {})
  314. end
  315. self.skillTagItem1 = CommonUtil.BindGridViewItem2LuaStatic("SkillTagItem", tmp)
  316. self.skillTagItem1.prefabName = "SkillTagItem"
  317. end
  318. ---@private
  319. function UITipsSkillView:InitGenerate__17(Root, data)
  320. --[[
  321. UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem2
  322. --]]
  323. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem2").gameObject
  324. if tolua.getpeer(tmp) == nil then
  325. tolua.setpeer(tmp, {})
  326. end
  327. self.skillTagItem2 = CommonUtil.BindGridViewItem2LuaStatic("SkillTagItem", tmp)
  328. self.skillTagItem2.prefabName = "SkillTagItem"
  329. end
  330. ---@private
  331. function UITipsSkillView:InitGenerate__18(Root, data)
  332. --[[
  333. UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem3
  334. --]]
  335. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem3").gameObject
  336. if tolua.getpeer(tmp) == nil then
  337. tolua.setpeer(tmp, {})
  338. end
  339. self.skillTagItem3 = CommonUtil.BindGridViewItem2LuaStatic("SkillTagItem", tmp)
  340. self.skillTagItem3.prefabName = "SkillTagItem"
  341. end
  342. ---@private
  343. function UITipsSkillView:InitGenerate__19(Root, data)
  344. --[[
  345. UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem4
  346. --]]
  347. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem4").gameObject
  348. if tolua.getpeer(tmp) == nil then
  349. tolua.setpeer(tmp, {})
  350. end
  351. self.skillTagItem4 = CommonUtil.BindGridViewItem2LuaStatic("SkillTagItem", tmp)
  352. self.skillTagItem4.prefabName = "SkillTagItem"
  353. end
  354. ---@private
  355. function UITipsSkillView:InitGenerate__20(Root, data)
  356. --[[
  357. UIAnimator/Window/Bg/DscBox/DscCurrent
  358. --]]
  359. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscCurrent").gameObject
  360. if tolua.getpeer(tmp) == nil then
  361. tolua.setpeer(tmp, {})
  362. end
  363. self.dscCurrent = tmp
  364. end
  365. ---@private
  366. function UITipsSkillView:InitGenerate__21(Root, data)
  367. --[[
  368. UIAnimator/Window/Bg/DscBox/DscCurrent/Level/Level
  369. --]]
  370. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscCurrent/Level/Level").gameObject
  371. if tolua.getpeer(tmp) == nil then
  372. tolua.setpeer(tmp, {})
  373. end
  374. self.dscCurrent.level = tmp
  375. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  376. end
  377. ---@private
  378. function UITipsSkillView:InitGenerate__22(Root, data)
  379. --[[
  380. UIAnimator/Window/Bg/DscBox/DscCurrent/Txt
  381. --]]
  382. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscCurrent/Txt").gameObject
  383. if tolua.getpeer(tmp) == nil then
  384. tolua.setpeer(tmp, {})
  385. end
  386. self.dscCurrent.txt = tmp
  387. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  388. end
  389. ---@private
  390. function UITipsSkillView:InitGenerate__23(Root, data)
  391. --[[
  392. UIAnimator/Window/Bg/DscBox/DscNext
  393. --]]
  394. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscNext").gameObject
  395. if tolua.getpeer(tmp) == nil then
  396. tolua.setpeer(tmp, {})
  397. end
  398. self.dscNext = tmp
  399. end
  400. ---@private
  401. function UITipsSkillView:InitGenerate__24(Root, data)
  402. --[[
  403. UIAnimator/Window/Bg/DscBox/DscNext/Level/Level
  404. --]]
  405. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscNext/Level/Level").gameObject
  406. if tolua.getpeer(tmp) == nil then
  407. tolua.setpeer(tmp, {})
  408. end
  409. self.dscNext.level = tmp
  410. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  411. end
  412. ---@private
  413. function UITipsSkillView:InitGenerate__25(Root, data)
  414. --[[
  415. UIAnimator/Window/Bg/DscBox/DscNext/Txt
  416. --]]
  417. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscNext/Txt").gameObject
  418. if tolua.getpeer(tmp) == nil then
  419. tolua.setpeer(tmp, {})
  420. end
  421. self.dscNext.txt = tmp
  422. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  423. end
  424. ---@private
  425. function UITipsSkillView:InitGenerate__26(Root, data)
  426. --[[
  427. UIAnimator/Window/Bg/DscBox/MaxLevel
  428. --]]
  429. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/MaxLevel").gameObject
  430. if tolua.getpeer(tmp) == nil then
  431. tolua.setpeer(tmp, {})
  432. end
  433. self.maxLevel = tmp
  434. end
  435. ---@private
  436. function UITipsSkillView:InitGenerate__27(Root, data)
  437. --[[
  438. UIAnimator/Window/Bg/DscBox/MaxLevel/Max
  439. --]]
  440. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/MaxLevel/Max").gameObject
  441. if tolua.getpeer(tmp) == nil then
  442. tolua.setpeer(tmp, {})
  443. end
  444. self.max = tmp
  445. end
  446. ---@private
  447. function UITipsSkillView:InitGenerate__28(Root, data)
  448. --[[
  449. UIAnimator/Window/Bg/DscBox/DscGai
  450. --]]
  451. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscGai").gameObject
  452. if tolua.getpeer(tmp) == nil then
  453. tolua.setpeer(tmp, {})
  454. end
  455. self.dscGai = tmp
  456. end
  457. ---@private
  458. function UITipsSkillView:InitGenerate__29(Root, data)
  459. --[[
  460. UIAnimator/Window/Bg/DscBox/DscGai/Txt
  461. --]]
  462. local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscGai/Txt").gameObject
  463. if tolua.getpeer(tmp) == nil then
  464. tolua.setpeer(tmp, {})
  465. end
  466. self.dscGai.txt = tmp
  467. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  468. end
  469. ---@private
  470. function UITipsSkillView:InitGenerate__30(Root, data)
  471. --[[
  472. UIAnimator/Window/Bg/BottomBox
  473. --]]
  474. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox").gameObject
  475. if tolua.getpeer(tmp) == nil then
  476. tolua.setpeer(tmp, {})
  477. end
  478. self.bottomBox = tmp
  479. end
  480. ---@private
  481. function UITipsSkillView:InitGenerate__31(Root, data)
  482. --[[
  483. UIAnimator/Window/Bg/BottomBox/BtnBox
  484. --]]
  485. local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/BtnBox").gameObject
  486. if tolua.getpeer(tmp) == nil then
  487. tolua.setpeer(tmp, {})
  488. end
  489. self.btnBox = tmp
  490. end
  491. ---@private
  492. function UITipsSkillView:GenerateDestroy()
  493. if tolua.getpeer(self.dscGai.txt) ~= nil then
  494. tolua.setpeer(self.dscGai.txt, nil)
  495. end
  496. if tolua.getpeer(self.dscNext.txt) ~= nil then
  497. tolua.setpeer(self.dscNext.txt, nil)
  498. end
  499. if tolua.getpeer(self.dscNext.level) ~= nil then
  500. tolua.setpeer(self.dscNext.level, nil)
  501. end
  502. if tolua.getpeer(self.dscCurrent.txt) ~= nil then
  503. tolua.setpeer(self.dscCurrent.txt, nil)
  504. end
  505. if tolua.getpeer(self.dscCurrent.level) ~= nil then
  506. tolua.setpeer(self.dscCurrent.level, nil)
  507. end
  508. if tolua.getpeer(self.type2.text2) ~= nil then
  509. tolua.setpeer(self.type2.text2, nil)
  510. end
  511. if tolua.getpeer(self.type2.text1) ~= nil then
  512. tolua.setpeer(self.type2.text1, nil)
  513. end
  514. if tolua.getpeer(self.type1.text2) ~= nil then
  515. tolua.setpeer(self.type1.text2, nil)
  516. end
  517. if tolua.getpeer(self.type1.text1) ~= nil then
  518. tolua.setpeer(self.type1.text1, nil)
  519. end
  520. if tolua.getpeer(self.uIAnimator) ~= nil then
  521. tolua.setpeer(self.uIAnimator, nil)
  522. end
  523. self.uIAnimator = nil
  524. if tolua.getpeer(self.AnyBtn) ~= nil then
  525. tolua.setpeer(self.AnyBtn, nil)
  526. end
  527. self.AnyBtn = nil
  528. if tolua.getpeer(self.window) ~= nil then
  529. tolua.setpeer(self.window, nil)
  530. end
  531. self.window = nil
  532. if tolua.getpeer(self.mainInfo) ~= nil then
  533. tolua.setpeer(self.mainInfo, nil)
  534. end
  535. self.mainInfo = nil
  536. if tolua.getpeer(self.contentItem) ~= nil then
  537. tolua.setpeer(self.contentItem, nil)
  538. end
  539. self.contentItem = nil
  540. if self.skillItem.GenerateDestroy ~= nil then
  541. self.skillItem:GenerateDestroy()
  542. end
  543. if tolua.getpeer(self.skillItem) ~= nil then
  544. tolua.setpeer(self.skillItem, nil)
  545. end
  546. self.skillItem = nil
  547. if tolua.getpeer(self.textName) ~= nil then
  548. tolua.setpeer(self.textName, nil)
  549. end
  550. self.textName = nil
  551. if tolua.getpeer(self.type1) ~= nil then
  552. tolua.setpeer(self.type1, nil)
  553. end
  554. self.type1 = nil
  555. if tolua.getpeer(self.type2) ~= nil then
  556. tolua.setpeer(self.type2, nil)
  557. end
  558. self.type2 = nil
  559. if tolua.getpeer(self.skillTag) ~= nil then
  560. tolua.setpeer(self.skillTag, nil)
  561. end
  562. self.skillTag = nil
  563. if self.skillTagItem1.GenerateDestroy ~= nil then
  564. self.skillTagItem1:GenerateDestroy()
  565. end
  566. if tolua.getpeer(self.skillTagItem1) ~= nil then
  567. tolua.setpeer(self.skillTagItem1, nil)
  568. end
  569. self.skillTagItem1 = nil
  570. if self.skillTagItem2.GenerateDestroy ~= nil then
  571. self.skillTagItem2:GenerateDestroy()
  572. end
  573. if tolua.getpeer(self.skillTagItem2) ~= nil then
  574. tolua.setpeer(self.skillTagItem2, nil)
  575. end
  576. self.skillTagItem2 = nil
  577. if self.skillTagItem3.GenerateDestroy ~= nil then
  578. self.skillTagItem3:GenerateDestroy()
  579. end
  580. if tolua.getpeer(self.skillTagItem3) ~= nil then
  581. tolua.setpeer(self.skillTagItem3, nil)
  582. end
  583. self.skillTagItem3 = nil
  584. if self.skillTagItem4.GenerateDestroy ~= nil then
  585. self.skillTagItem4:GenerateDestroy()
  586. end
  587. if tolua.getpeer(self.skillTagItem4) ~= nil then
  588. tolua.setpeer(self.skillTagItem4, nil)
  589. end
  590. self.skillTagItem4 = nil
  591. if tolua.getpeer(self.dscCurrent) ~= nil then
  592. tolua.setpeer(self.dscCurrent, nil)
  593. end
  594. self.dscCurrent = nil
  595. if tolua.getpeer(self.dscNext) ~= nil then
  596. tolua.setpeer(self.dscNext, nil)
  597. end
  598. self.dscNext = nil
  599. if tolua.getpeer(self.maxLevel) ~= nil then
  600. tolua.setpeer(self.maxLevel, nil)
  601. end
  602. self.maxLevel = nil
  603. if tolua.getpeer(self.max) ~= nil then
  604. tolua.setpeer(self.max, nil)
  605. end
  606. self.max = nil
  607. if tolua.getpeer(self.dscGai) ~= nil then
  608. tolua.setpeer(self.dscGai, nil)
  609. end
  610. self.dscGai = nil
  611. if tolua.getpeer(self.bottomBox) ~= nil then
  612. tolua.setpeer(self.bottomBox, nil)
  613. end
  614. self.bottomBox = nil
  615. if tolua.getpeer(self.btnBox) ~= nil then
  616. tolua.setpeer(self.btnBox, nil)
  617. end
  618. self.btnBox = nil
  619. self.transform = nil
  620. self.gameObject = nil
  621. self.inited = false
  622. end
  623. return UITipsSkillView