UIPveBlessTipsView_Generate.lua 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933
  1. ---@class UIPveBlessTips__Generate_nextLv_count
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIPveBlessTips__Generate_nextLv_dscAttr
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text UnityEngine.UI.Text
  7. ---@class UIPveBlessTips__Generate_nextLv_color
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public image UnityEngine.UI.Image
  10. ---@class UIPveBlessTips__Generate_nextLv_lv
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public text UnityEngine.UI.Text
  13. ---@class UIPveBlessTips__Generate_nextLv_activedState
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public image UnityEngine.UI.Image
  16. ---@class UIPveBlessTips__Generate_nextLv_unactivatedState
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public image UnityEngine.UI.Image
  19. ---@class UIPveBlessTips__Generate_nextLv
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public unactivatedState UIPveBlessTips__Generate_nextLv_unactivatedState
  22. ---@field public activedState UIPveBlessTips__Generate_nextLv_activedState
  23. ---@field public lv UIPveBlessTips__Generate_nextLv_lv
  24. ---@field public color UIPveBlessTips__Generate_nextLv_color
  25. ---@field public dscAttr UIPveBlessTips__Generate_nextLv_dscAttr
  26. ---@field public count UIPveBlessTips__Generate_nextLv_count
  27. ---@field public scrollView UnityEngine.GameObject
  28. ---@field public cardBlessAttrItem1 UnityEngine.GameObject
  29. ---@field public cardBlessAttrItem2 UnityEngine.GameObject
  30. ---@field public cardBlessAttrItem3 UnityEngine.GameObject
  31. ---@field public cardBlessAttrItem4 UnityEngine.GameObject
  32. ---@field public cardBlessAttrItem5 UnityEngine.GameObject
  33. ---@class UIPveBlessTips__Generate_currentLv_count
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public text UnityEngine.UI.Text
  36. ---@class UIPveBlessTips__Generate_currentLv_dscAttr
  37. ---@field public gameObject UnityEngine.GameObject
  38. ---@field public text UnityEngine.UI.Text
  39. ---@class UIPveBlessTips__Generate_currentLv_color
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public image UnityEngine.UI.Image
  42. ---@class UIPveBlessTips__Generate_currentLv_lv
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public text UnityEngine.UI.Text
  45. ---@class UIPveBlessTips__Generate_currentLv_activedState
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public image UnityEngine.UI.Image
  48. ---@class UIPveBlessTips__Generate_currentLv_unactivatedState
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public image UnityEngine.UI.Image
  51. ---@class UIPveBlessTips__Generate_currentLv
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public scrollView UnityEngine.GameObject
  54. ---@field public cardBlessAttrItem1 UnityEngine.GameObject
  55. ---@field public cardBlessAttrItem2 UnityEngine.GameObject
  56. ---@field public cardBlessAttrItem3 UnityEngine.GameObject
  57. ---@field public cardBlessAttrItem4 UnityEngine.GameObject
  58. ---@field public cardBlessAttrItem5 UnityEngine.GameObject
  59. ---@field public unactivatedState UIPveBlessTips__Generate_currentLv_unactivatedState
  60. ---@field public activedState UIPveBlessTips__Generate_currentLv_activedState
  61. ---@field public lv UIPveBlessTips__Generate_currentLv_lv
  62. ---@field public color UIPveBlessTips__Generate_currentLv_color
  63. ---@field public dscAttr UIPveBlessTips__Generate_currentLv_dscAttr
  64. ---@field public count UIPveBlessTips__Generate_currentLv_count
  65. ---@class UIPveBlessTips__Generate_pveBlessLv
  66. ---@field public gameObject UnityEngine.GameObject
  67. ---@field public lv0 UnityEngine.GameObject
  68. ---@field public lv1 UnityEngine.GameObject
  69. ---@field public lv2 UnityEngine.GameObject
  70. ---@field public lv3 UnityEngine.GameObject
  71. ---@field public lv4 UnityEngine.GameObject
  72. ---@field public lv5 UnityEngine.GameObject
  73. ---@field public lv6 UnityEngine.GameObject
  74. ---@field public lv7 UnityEngine.GameObject
  75. ---@field public lv8 UnityEngine.GameObject
  76. ---@field public lv9 UnityEngine.GameObject
  77. ---@field public lv10 UnityEngine.GameObject
  78. ---@field public lv11 UnityEngine.GameObject
  79. ---@class UIPveBlessTips__Generate_btnClose
  80. ---@field public gameObject UnityEngine.GameObject
  81. ---@field public button UnityEngine.UI.Button
  82. ---@class UIPveBlessTips__Generate_AnyBtn
  83. ---@field public gameObject UnityEngine.GameObject
  84. ---@field public button UnityEngine.UI.Button
  85. ---@class UIPveBlessTips__Generate_uIAnimator
  86. ---@field public gameObject UnityEngine.GameObject
  87. ---@field public animator UnityEngine.Animator
  88. ---@class UIPveBlessTips__Generate
  89. ---@field private gameObject UnityEngine.GameObject
  90. ---@field private transform UnityEngine.Transform
  91. ---@field private uIAnimator UIPveBlessTips__Generate_uIAnimator
  92. ---@field private AnyBtn UIPveBlessTips__Generate_AnyBtn
  93. ---@field private window UnityEngine.GameObject
  94. ---@field private btnClose UIPveBlessTips__Generate_btnClose
  95. ---@field private pveBlessLv UIPveBlessTips__Generate_pveBlessLv
  96. ---@field private currentLv UIPveBlessTips__Generate_currentLv
  97. ---@field private nextLv UIPveBlessTips__Generate_nextLv
  98. local UIPveBlessTipsView = class("UIPveBlessTipsView", require("UIViewBase"))
  99. function UIPveBlessTipsView:ctor()
  100. end
  101. ---@private
  102. function UIPveBlessTipsView:SetActive(result)
  103. self.gameObject:SetActive(result)
  104. end
  105. ---@private
  106. function UIPveBlessTipsView:InitGenerate(Root, data)
  107. self.transform = Root
  108. self.inited = true
  109. if self.super.Init then
  110. self.super.Init(self)
  111. end
  112. local tmp
  113. self:InitGenerate__1(Root,data)
  114. self:InitGenerate__2(Root,data)
  115. self:InitGenerate__3(Root,data)
  116. self:InitGenerate__4(Root,data)
  117. self:InitGenerate__5(Root,data)
  118. self:InitGenerate__6(Root,data)
  119. self:InitGenerate__7(Root,data)
  120. self:InitGenerate__8(Root,data)
  121. self:InitGenerate__9(Root,data)
  122. self:InitGenerate__10(Root,data)
  123. self:InitGenerate__11(Root,data)
  124. self:InitGenerate__12(Root,data)
  125. self:InitGenerate__13(Root,data)
  126. self:InitGenerate__14(Root,data)
  127. self:InitGenerate__15(Root,data)
  128. self:InitGenerate__16(Root,data)
  129. self:InitGenerate__17(Root,data)
  130. self:InitGenerate__18(Root,data)
  131. self:InitGenerate__19(Root,data)
  132. self:InitGenerate__20(Root,data)
  133. self:InitGenerate__21(Root,data)
  134. self:InitGenerate__22(Root,data)
  135. self:InitGenerate__23(Root,data)
  136. self:InitGenerate__24(Root,data)
  137. self:InitGenerate__25(Root,data)
  138. self:InitGenerate__26(Root,data)
  139. self:InitGenerate__27(Root,data)
  140. self:InitGenerate__28(Root,data)
  141. self:InitGenerate__29(Root,data)
  142. self:InitGenerate__30(Root,data)
  143. self:InitGenerate__31(Root,data)
  144. self:InitGenerate__32(Root,data)
  145. self:InitGenerate__33(Root,data)
  146. self:InitGenerate__34(Root,data)
  147. self:InitGenerate__35(Root,data)
  148. self:InitGenerate__36(Root,data)
  149. self:InitGenerate__37(Root,data)
  150. self:InitGenerate__38(Root,data)
  151. self:InitGenerate__39(Root,data)
  152. self:InitGenerate__40(Root,data)
  153. self:InitGenerate__41(Root,data)
  154. self:InitGenerate__42(Root,data)
  155. self:InitGenerate__43(Root,data)
  156. self:InitGenerate__44(Root,data)
  157. end
  158. ---@private
  159. function UIPveBlessTipsView:InitGenerate__1(Root, data)
  160. --[[
  161. Root
  162. --]]
  163. end
  164. ---@private
  165. function UIPveBlessTipsView:InitGenerate__2(Root, data)
  166. --[[
  167. UIAnimator
  168. --]]
  169. local tmp = Root:Find("UIAnimator").gameObject
  170. if tolua.getpeer(tmp) == nil then
  171. tolua.setpeer(tmp, {})
  172. end
  173. self.uIAnimator = tmp
  174. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  175. tmp.animator.logWarnings = false
  176. end
  177. ---@private
  178. function UIPveBlessTipsView:InitGenerate__3(Root, data)
  179. --[[
  180. UIAnimator/Alpha
  181. --]]
  182. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  183. if tolua.getpeer(tmp) == nil then
  184. tolua.setpeer(tmp, {})
  185. end
  186. self.AnyBtn = tmp
  187. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  188. end
  189. ---@private
  190. function UIPveBlessTipsView:InitGenerate__4(Root, data)
  191. --[[
  192. UIAnimator/Window
  193. --]]
  194. local tmp = Root:Find("UIAnimator/Window").gameObject
  195. if tolua.getpeer(tmp) == nil then
  196. tolua.setpeer(tmp, {})
  197. end
  198. self.window = tmp
  199. end
  200. ---@private
  201. function UIPveBlessTipsView:InitGenerate__5(Root, data)
  202. --[[
  203. UIAnimator/Window/Bg/CloseBox/BtnClose
  204. --]]
  205. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
  206. if tolua.getpeer(tmp) == nil then
  207. tolua.setpeer(tmp, {})
  208. end
  209. self.btnClose = tmp
  210. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  211. end
  212. ---@private
  213. function UIPveBlessTipsView:InitGenerate__6(Root, data)
  214. --[[
  215. UIAnimator/Window/Bg/TopItem/PveBlessLv
  216. --]]
  217. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv").gameObject
  218. if tolua.getpeer(tmp) == nil then
  219. tolua.setpeer(tmp, {})
  220. end
  221. self.pveBlessLv = tmp
  222. end
  223. ---@private
  224. function UIPveBlessTipsView:InitGenerate__7(Root, data)
  225. --[[
  226. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv0
  227. --]]
  228. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv0").gameObject
  229. if tolua.getpeer(tmp) == nil then
  230. tolua.setpeer(tmp, {})
  231. end
  232. self.pveBlessLv.lv0 = tmp
  233. self.pveBlessLv.lv0:SetActive(false)
  234. end
  235. ---@private
  236. function UIPveBlessTipsView:InitGenerate__8(Root, data)
  237. --[[
  238. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv1
  239. --]]
  240. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv1").gameObject
  241. if tolua.getpeer(tmp) == nil then
  242. tolua.setpeer(tmp, {})
  243. end
  244. self.pveBlessLv.lv1 = tmp
  245. self.pveBlessLv.lv1:SetActive(false)
  246. end
  247. ---@private
  248. function UIPveBlessTipsView:InitGenerate__9(Root, data)
  249. --[[
  250. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv2
  251. --]]
  252. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv2").gameObject
  253. if tolua.getpeer(tmp) == nil then
  254. tolua.setpeer(tmp, {})
  255. end
  256. self.pveBlessLv.lv2 = tmp
  257. self.pveBlessLv.lv2:SetActive(false)
  258. end
  259. ---@private
  260. function UIPveBlessTipsView:InitGenerate__10(Root, data)
  261. --[[
  262. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv3
  263. --]]
  264. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv3").gameObject
  265. if tolua.getpeer(tmp) == nil then
  266. tolua.setpeer(tmp, {})
  267. end
  268. self.pveBlessLv.lv3 = tmp
  269. self.pveBlessLv.lv3:SetActive(false)
  270. end
  271. ---@private
  272. function UIPveBlessTipsView:InitGenerate__11(Root, data)
  273. --[[
  274. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv4
  275. --]]
  276. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv4").gameObject
  277. if tolua.getpeer(tmp) == nil then
  278. tolua.setpeer(tmp, {})
  279. end
  280. self.pveBlessLv.lv4 = tmp
  281. self.pveBlessLv.lv4:SetActive(false)
  282. end
  283. ---@private
  284. function UIPveBlessTipsView:InitGenerate__12(Root, data)
  285. --[[
  286. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv5
  287. --]]
  288. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv5").gameObject
  289. if tolua.getpeer(tmp) == nil then
  290. tolua.setpeer(tmp, {})
  291. end
  292. self.pveBlessLv.lv5 = tmp
  293. self.pveBlessLv.lv5:SetActive(false)
  294. end
  295. ---@private
  296. function UIPveBlessTipsView:InitGenerate__13(Root, data)
  297. --[[
  298. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv6
  299. --]]
  300. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv6").gameObject
  301. if tolua.getpeer(tmp) == nil then
  302. tolua.setpeer(tmp, {})
  303. end
  304. self.pveBlessLv.lv6 = tmp
  305. self.pveBlessLv.lv6:SetActive(false)
  306. end
  307. ---@private
  308. function UIPveBlessTipsView:InitGenerate__14(Root, data)
  309. --[[
  310. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv7
  311. --]]
  312. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv7").gameObject
  313. if tolua.getpeer(tmp) == nil then
  314. tolua.setpeer(tmp, {})
  315. end
  316. self.pveBlessLv.lv7 = tmp
  317. self.pveBlessLv.lv7:SetActive(false)
  318. end
  319. ---@private
  320. function UIPveBlessTipsView:InitGenerate__15(Root, data)
  321. --[[
  322. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv8
  323. --]]
  324. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv8").gameObject
  325. if tolua.getpeer(tmp) == nil then
  326. tolua.setpeer(tmp, {})
  327. end
  328. self.pveBlessLv.lv8 = tmp
  329. self.pveBlessLv.lv8:SetActive(false)
  330. end
  331. ---@private
  332. function UIPveBlessTipsView:InitGenerate__16(Root, data)
  333. --[[
  334. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv9
  335. --]]
  336. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv9").gameObject
  337. if tolua.getpeer(tmp) == nil then
  338. tolua.setpeer(tmp, {})
  339. end
  340. self.pveBlessLv.lv9 = tmp
  341. self.pveBlessLv.lv9:SetActive(false)
  342. end
  343. ---@private
  344. function UIPveBlessTipsView:InitGenerate__17(Root, data)
  345. --[[
  346. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv10
  347. --]]
  348. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv10").gameObject
  349. if tolua.getpeer(tmp) == nil then
  350. tolua.setpeer(tmp, {})
  351. end
  352. self.pveBlessLv.lv10 = tmp
  353. self.pveBlessLv.lv10:SetActive(false)
  354. end
  355. ---@private
  356. function UIPveBlessTipsView:InitGenerate__18(Root, data)
  357. --[[
  358. UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv11
  359. --]]
  360. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/PveBlessLv/Lv11").gameObject
  361. if tolua.getpeer(tmp) == nil then
  362. tolua.setpeer(tmp, {})
  363. end
  364. self.pveBlessLv.lv11 = tmp
  365. self.pveBlessLv.lv11:SetActive(false)
  366. end
  367. ---@private
  368. function UIPveBlessTipsView:InitGenerate__19(Root, data)
  369. --[[
  370. UIAnimator/Window/Bg/CurrentLv
  371. --]]
  372. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv").gameObject
  373. if tolua.getpeer(tmp) == nil then
  374. tolua.setpeer(tmp, {})
  375. end
  376. self.currentLv = tmp
  377. end
  378. ---@private
  379. function UIPveBlessTipsView:InitGenerate__20(Root, data)
  380. --[[
  381. UIAnimator/Window/Bg/CurrentLv/ScrollView
  382. --]]
  383. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/ScrollView").gameObject
  384. if tolua.getpeer(tmp) == nil then
  385. tolua.setpeer(tmp, {})
  386. end
  387. self.currentLv.scrollView = tmp
  388. end
  389. ---@private
  390. function UIPveBlessTipsView:InitGenerate__21(Root, data)
  391. --[[
  392. UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem1
  393. --]]
  394. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem1").gameObject
  395. if tolua.getpeer(tmp) == nil then
  396. tolua.setpeer(tmp, {})
  397. end
  398. self.currentLv.cardBlessAttrItem1 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  399. self.currentLv.cardBlessAttrItem1.prefabName = "CardBlessAttrItem"
  400. end
  401. ---@private
  402. function UIPveBlessTipsView:InitGenerate__22(Root, data)
  403. --[[
  404. UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem2
  405. --]]
  406. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem2").gameObject
  407. if tolua.getpeer(tmp) == nil then
  408. tolua.setpeer(tmp, {})
  409. end
  410. self.currentLv.cardBlessAttrItem2 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  411. self.currentLv.cardBlessAttrItem2.prefabName = "CardBlessAttrItem"
  412. end
  413. ---@private
  414. function UIPveBlessTipsView:InitGenerate__23(Root, data)
  415. --[[
  416. UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem3
  417. --]]
  418. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem3").gameObject
  419. if tolua.getpeer(tmp) == nil then
  420. tolua.setpeer(tmp, {})
  421. end
  422. self.currentLv.cardBlessAttrItem3 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  423. self.currentLv.cardBlessAttrItem3.prefabName = "CardBlessAttrItem"
  424. end
  425. ---@private
  426. function UIPveBlessTipsView:InitGenerate__24(Root, data)
  427. --[[
  428. UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem4
  429. --]]
  430. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem4").gameObject
  431. if tolua.getpeer(tmp) == nil then
  432. tolua.setpeer(tmp, {})
  433. end
  434. self.currentLv.cardBlessAttrItem4 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  435. self.currentLv.cardBlessAttrItem4.prefabName = "CardBlessAttrItem"
  436. end
  437. ---@private
  438. function UIPveBlessTipsView:InitGenerate__25(Root, data)
  439. --[[
  440. UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem5
  441. --]]
  442. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/ScrollView/Viewport/Content/CardBlessAttrItem5").gameObject
  443. if tolua.getpeer(tmp) == nil then
  444. tolua.setpeer(tmp, {})
  445. end
  446. self.currentLv.cardBlessAttrItem5 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  447. self.currentLv.cardBlessAttrItem5.prefabName = "CardBlessAttrItem"
  448. end
  449. ---@private
  450. function UIPveBlessTipsView:InitGenerate__26(Root, data)
  451. --[[
  452. UIAnimator/Window/Bg/CurrentLv/LvBox/UnactivatedState
  453. --]]
  454. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/LvBox/UnactivatedState ").gameObject
  455. if tolua.getpeer(tmp) == nil then
  456. tolua.setpeer(tmp, {})
  457. end
  458. self.currentLv.unactivatedState = tmp
  459. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  460. end
  461. ---@private
  462. function UIPveBlessTipsView:InitGenerate__27(Root, data)
  463. --[[
  464. UIAnimator/Window/Bg/CurrentLv/LvBox/ActivedState
  465. --]]
  466. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/LvBox/ActivedState").gameObject
  467. if tolua.getpeer(tmp) == nil then
  468. tolua.setpeer(tmp, {})
  469. end
  470. self.currentLv.activedState = tmp
  471. self.currentLv.activedState:SetActive(false)
  472. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  473. end
  474. ---@private
  475. function UIPveBlessTipsView:InitGenerate__28(Root, data)
  476. --[[
  477. UIAnimator/Window/Bg/CurrentLv/LvBox/Lv
  478. --]]
  479. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/LvBox/Lv").gameObject
  480. if tolua.getpeer(tmp) == nil then
  481. tolua.setpeer(tmp, {})
  482. end
  483. self.currentLv.lv = tmp
  484. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  485. end
  486. ---@private
  487. function UIPveBlessTipsView:InitGenerate__29(Root, data)
  488. --[[
  489. UIAnimator/Window/Bg/CurrentLv/LvBox/Lv/color
  490. --]]
  491. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/LvBox/Lv/color").gameObject
  492. if tolua.getpeer(tmp) == nil then
  493. tolua.setpeer(tmp, {})
  494. end
  495. self.currentLv.color = tmp
  496. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  497. end
  498. ---@private
  499. function UIPveBlessTipsView:InitGenerate__30(Root, data)
  500. --[[
  501. UIAnimator/Window/Bg/CurrentLv/LvBox/DscAttr
  502. --]]
  503. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/LvBox/DscAttr").gameObject
  504. if tolua.getpeer(tmp) == nil then
  505. tolua.setpeer(tmp, {})
  506. end
  507. self.currentLv.dscAttr = tmp
  508. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  509. end
  510. ---@private
  511. function UIPveBlessTipsView:InitGenerate__31(Root, data)
  512. --[[
  513. UIAnimator/Window/Bg/CurrentLv/LvBox/Count
  514. --]]
  515. local tmp = Root:Find("UIAnimator/Window/Bg/CurrentLv/LvBox/Count").gameObject
  516. if tolua.getpeer(tmp) == nil then
  517. tolua.setpeer(tmp, {})
  518. end
  519. self.currentLv.count = tmp
  520. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  521. end
  522. ---@private
  523. function UIPveBlessTipsView:InitGenerate__32(Root, data)
  524. --[[
  525. UIAnimator/Window/Bg/NextLv
  526. --]]
  527. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv").gameObject
  528. if tolua.getpeer(tmp) == nil then
  529. tolua.setpeer(tmp, {})
  530. end
  531. self.nextLv = tmp
  532. end
  533. ---@private
  534. function UIPveBlessTipsView:InitGenerate__33(Root, data)
  535. --[[
  536. UIAnimator/Window/Bg/NextLv/LvBox/UnactivatedState
  537. --]]
  538. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/LvBox/UnactivatedState ").gameObject
  539. if tolua.getpeer(tmp) == nil then
  540. tolua.setpeer(tmp, {})
  541. end
  542. self.nextLv.unactivatedState = tmp
  543. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  544. end
  545. ---@private
  546. function UIPveBlessTipsView:InitGenerate__34(Root, data)
  547. --[[
  548. UIAnimator/Window/Bg/NextLv/LvBox/ActivedState
  549. --]]
  550. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/LvBox/ActivedState").gameObject
  551. if tolua.getpeer(tmp) == nil then
  552. tolua.setpeer(tmp, {})
  553. end
  554. self.nextLv.activedState = tmp
  555. self.nextLv.activedState:SetActive(false)
  556. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  557. end
  558. ---@private
  559. function UIPveBlessTipsView:InitGenerate__35(Root, data)
  560. --[[
  561. UIAnimator/Window/Bg/NextLv/LvBox/Lv
  562. --]]
  563. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/LvBox/Lv").gameObject
  564. if tolua.getpeer(tmp) == nil then
  565. tolua.setpeer(tmp, {})
  566. end
  567. self.nextLv.lv = tmp
  568. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  569. end
  570. ---@private
  571. function UIPveBlessTipsView:InitGenerate__36(Root, data)
  572. --[[
  573. UIAnimator/Window/Bg/NextLv/LvBox/Lv/color
  574. --]]
  575. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/LvBox/Lv/color").gameObject
  576. if tolua.getpeer(tmp) == nil then
  577. tolua.setpeer(tmp, {})
  578. end
  579. self.nextLv.color = tmp
  580. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  581. end
  582. ---@private
  583. function UIPveBlessTipsView:InitGenerate__37(Root, data)
  584. --[[
  585. UIAnimator/Window/Bg/NextLv/LvBox/DscAttr
  586. --]]
  587. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/LvBox/DscAttr").gameObject
  588. if tolua.getpeer(tmp) == nil then
  589. tolua.setpeer(tmp, {})
  590. end
  591. self.nextLv.dscAttr = tmp
  592. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  593. end
  594. ---@private
  595. function UIPveBlessTipsView:InitGenerate__38(Root, data)
  596. --[[
  597. UIAnimator/Window/Bg/NextLv/LvBox/Count
  598. --]]
  599. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/LvBox/Count").gameObject
  600. if tolua.getpeer(tmp) == nil then
  601. tolua.setpeer(tmp, {})
  602. end
  603. self.nextLv.count = tmp
  604. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  605. end
  606. ---@private
  607. function UIPveBlessTipsView:InitGenerate__39(Root, data)
  608. --[[
  609. UIAnimator/Window/Bg/NextLv/ScrollView
  610. --]]
  611. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/ScrollView").gameObject
  612. if tolua.getpeer(tmp) == nil then
  613. tolua.setpeer(tmp, {})
  614. end
  615. self.nextLv.scrollView = tmp
  616. end
  617. ---@private
  618. function UIPveBlessTipsView:InitGenerate__40(Root, data)
  619. --[[
  620. UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem1
  621. --]]
  622. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem1").gameObject
  623. if tolua.getpeer(tmp) == nil then
  624. tolua.setpeer(tmp, {})
  625. end
  626. self.nextLv.cardBlessAttrItem1 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  627. self.nextLv.cardBlessAttrItem1.prefabName = "CardBlessAttrItem"
  628. end
  629. ---@private
  630. function UIPveBlessTipsView:InitGenerate__41(Root, data)
  631. --[[
  632. UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem2
  633. --]]
  634. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem2").gameObject
  635. if tolua.getpeer(tmp) == nil then
  636. tolua.setpeer(tmp, {})
  637. end
  638. self.nextLv.cardBlessAttrItem2 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  639. self.nextLv.cardBlessAttrItem2.prefabName = "CardBlessAttrItem"
  640. end
  641. ---@private
  642. function UIPveBlessTipsView:InitGenerate__42(Root, data)
  643. --[[
  644. UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem3
  645. --]]
  646. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem3").gameObject
  647. if tolua.getpeer(tmp) == nil then
  648. tolua.setpeer(tmp, {})
  649. end
  650. self.nextLv.cardBlessAttrItem3 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  651. self.nextLv.cardBlessAttrItem3.prefabName = "CardBlessAttrItem"
  652. end
  653. ---@private
  654. function UIPveBlessTipsView:InitGenerate__43(Root, data)
  655. --[[
  656. UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem4
  657. --]]
  658. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem4").gameObject
  659. if tolua.getpeer(tmp) == nil then
  660. tolua.setpeer(tmp, {})
  661. end
  662. self.nextLv.cardBlessAttrItem4 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  663. self.nextLv.cardBlessAttrItem4.prefabName = "CardBlessAttrItem"
  664. end
  665. ---@private
  666. function UIPveBlessTipsView:InitGenerate__44(Root, data)
  667. --[[
  668. UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem5
  669. --]]
  670. local tmp = Root:Find("UIAnimator/Window/Bg/NextLv/ScrollView/Viewport/Content/CardBlessAttrItem5").gameObject
  671. if tolua.getpeer(tmp) == nil then
  672. tolua.setpeer(tmp, {})
  673. end
  674. self.nextLv.cardBlessAttrItem5 = CommonUtil.BindGridViewItem2LuaStatic("CardBlessAttrItem", tmp)
  675. self.nextLv.cardBlessAttrItem5.prefabName = "CardBlessAttrItem"
  676. end
  677. ---@private
  678. function UIPveBlessTipsView:GenerateDestroy()
  679. if self.nextLv.cardBlessAttrItem5.GenerateDestroy ~= nil then
  680. self.nextLv.cardBlessAttrItem5:GenerateDestroy()
  681. end
  682. if tolua.getpeer(self.nextLv.cardBlessAttrItem5) ~= nil then
  683. tolua.setpeer(self.nextLv.cardBlessAttrItem5, nil)
  684. end
  685. if self.nextLv.cardBlessAttrItem4.GenerateDestroy ~= nil then
  686. self.nextLv.cardBlessAttrItem4:GenerateDestroy()
  687. end
  688. if tolua.getpeer(self.nextLv.cardBlessAttrItem4) ~= nil then
  689. tolua.setpeer(self.nextLv.cardBlessAttrItem4, nil)
  690. end
  691. if self.nextLv.cardBlessAttrItem3.GenerateDestroy ~= nil then
  692. self.nextLv.cardBlessAttrItem3:GenerateDestroy()
  693. end
  694. if tolua.getpeer(self.nextLv.cardBlessAttrItem3) ~= nil then
  695. tolua.setpeer(self.nextLv.cardBlessAttrItem3, nil)
  696. end
  697. if self.nextLv.cardBlessAttrItem2.GenerateDestroy ~= nil then
  698. self.nextLv.cardBlessAttrItem2:GenerateDestroy()
  699. end
  700. if tolua.getpeer(self.nextLv.cardBlessAttrItem2) ~= nil then
  701. tolua.setpeer(self.nextLv.cardBlessAttrItem2, nil)
  702. end
  703. if self.nextLv.cardBlessAttrItem1.GenerateDestroy ~= nil then
  704. self.nextLv.cardBlessAttrItem1:GenerateDestroy()
  705. end
  706. if tolua.getpeer(self.nextLv.cardBlessAttrItem1) ~= nil then
  707. tolua.setpeer(self.nextLv.cardBlessAttrItem1, nil)
  708. end
  709. if tolua.getpeer(self.nextLv.scrollView) ~= nil then
  710. tolua.setpeer(self.nextLv.scrollView, nil)
  711. end
  712. if tolua.getpeer(self.nextLv.count) ~= nil then
  713. tolua.setpeer(self.nextLv.count, nil)
  714. end
  715. if tolua.getpeer(self.nextLv.dscAttr) ~= nil then
  716. tolua.setpeer(self.nextLv.dscAttr, nil)
  717. end
  718. if tolua.getpeer(self.nextLv.color) ~= nil then
  719. tolua.setpeer(self.nextLv.color, nil)
  720. end
  721. if tolua.getpeer(self.nextLv.lv) ~= nil then
  722. tolua.setpeer(self.nextLv.lv, nil)
  723. end
  724. if tolua.getpeer(self.nextLv.activedState) ~= nil then
  725. tolua.setpeer(self.nextLv.activedState, nil)
  726. end
  727. if tolua.getpeer(self.nextLv.unactivatedState) ~= nil then
  728. tolua.setpeer(self.nextLv.unactivatedState, nil)
  729. end
  730. if tolua.getpeer(self.currentLv.count) ~= nil then
  731. tolua.setpeer(self.currentLv.count, nil)
  732. end
  733. if tolua.getpeer(self.currentLv.dscAttr) ~= nil then
  734. tolua.setpeer(self.currentLv.dscAttr, nil)
  735. end
  736. if tolua.getpeer(self.currentLv.color) ~= nil then
  737. tolua.setpeer(self.currentLv.color, nil)
  738. end
  739. if tolua.getpeer(self.currentLv.lv) ~= nil then
  740. tolua.setpeer(self.currentLv.lv, nil)
  741. end
  742. if tolua.getpeer(self.currentLv.activedState) ~= nil then
  743. tolua.setpeer(self.currentLv.activedState, nil)
  744. end
  745. if tolua.getpeer(self.currentLv.unactivatedState) ~= nil then
  746. tolua.setpeer(self.currentLv.unactivatedState, nil)
  747. end
  748. if self.currentLv.cardBlessAttrItem5.GenerateDestroy ~= nil then
  749. self.currentLv.cardBlessAttrItem5:GenerateDestroy()
  750. end
  751. if tolua.getpeer(self.currentLv.cardBlessAttrItem5) ~= nil then
  752. tolua.setpeer(self.currentLv.cardBlessAttrItem5, nil)
  753. end
  754. if self.currentLv.cardBlessAttrItem4.GenerateDestroy ~= nil then
  755. self.currentLv.cardBlessAttrItem4:GenerateDestroy()
  756. end
  757. if tolua.getpeer(self.currentLv.cardBlessAttrItem4) ~= nil then
  758. tolua.setpeer(self.currentLv.cardBlessAttrItem4, nil)
  759. end
  760. if self.currentLv.cardBlessAttrItem3.GenerateDestroy ~= nil then
  761. self.currentLv.cardBlessAttrItem3:GenerateDestroy()
  762. end
  763. if tolua.getpeer(self.currentLv.cardBlessAttrItem3) ~= nil then
  764. tolua.setpeer(self.currentLv.cardBlessAttrItem3, nil)
  765. end
  766. if self.currentLv.cardBlessAttrItem2.GenerateDestroy ~= nil then
  767. self.currentLv.cardBlessAttrItem2:GenerateDestroy()
  768. end
  769. if tolua.getpeer(self.currentLv.cardBlessAttrItem2) ~= nil then
  770. tolua.setpeer(self.currentLv.cardBlessAttrItem2, nil)
  771. end
  772. if self.currentLv.cardBlessAttrItem1.GenerateDestroy ~= nil then
  773. self.currentLv.cardBlessAttrItem1:GenerateDestroy()
  774. end
  775. if tolua.getpeer(self.currentLv.cardBlessAttrItem1) ~= nil then
  776. tolua.setpeer(self.currentLv.cardBlessAttrItem1, nil)
  777. end
  778. if tolua.getpeer(self.currentLv.scrollView) ~= nil then
  779. tolua.setpeer(self.currentLv.scrollView, nil)
  780. end
  781. if tolua.getpeer(self.pveBlessLv.lv11) ~= nil then
  782. tolua.setpeer(self.pveBlessLv.lv11, nil)
  783. end
  784. if tolua.getpeer(self.pveBlessLv.lv10) ~= nil then
  785. tolua.setpeer(self.pveBlessLv.lv10, nil)
  786. end
  787. if tolua.getpeer(self.pveBlessLv.lv9) ~= nil then
  788. tolua.setpeer(self.pveBlessLv.lv9, nil)
  789. end
  790. if tolua.getpeer(self.pveBlessLv.lv8) ~= nil then
  791. tolua.setpeer(self.pveBlessLv.lv8, nil)
  792. end
  793. if tolua.getpeer(self.pveBlessLv.lv7) ~= nil then
  794. tolua.setpeer(self.pveBlessLv.lv7, nil)
  795. end
  796. if tolua.getpeer(self.pveBlessLv.lv6) ~= nil then
  797. tolua.setpeer(self.pveBlessLv.lv6, nil)
  798. end
  799. if tolua.getpeer(self.pveBlessLv.lv5) ~= nil then
  800. tolua.setpeer(self.pveBlessLv.lv5, nil)
  801. end
  802. if tolua.getpeer(self.pveBlessLv.lv4) ~= nil then
  803. tolua.setpeer(self.pveBlessLv.lv4, nil)
  804. end
  805. if tolua.getpeer(self.pveBlessLv.lv3) ~= nil then
  806. tolua.setpeer(self.pveBlessLv.lv3, nil)
  807. end
  808. if tolua.getpeer(self.pveBlessLv.lv2) ~= nil then
  809. tolua.setpeer(self.pveBlessLv.lv2, nil)
  810. end
  811. if tolua.getpeer(self.pveBlessLv.lv1) ~= nil then
  812. tolua.setpeer(self.pveBlessLv.lv1, nil)
  813. end
  814. if tolua.getpeer(self.pveBlessLv.lv0) ~= nil then
  815. tolua.setpeer(self.pveBlessLv.lv0, nil)
  816. end
  817. if tolua.getpeer(self.uIAnimator) ~= nil then
  818. tolua.setpeer(self.uIAnimator, nil)
  819. end
  820. self.uIAnimator = nil
  821. if tolua.getpeer(self.AnyBtn) ~= nil then
  822. tolua.setpeer(self.AnyBtn, nil)
  823. end
  824. self.AnyBtn = nil
  825. if tolua.getpeer(self.window) ~= nil then
  826. tolua.setpeer(self.window, nil)
  827. end
  828. self.window = nil
  829. if tolua.getpeer(self.btnClose) ~= nil then
  830. tolua.setpeer(self.btnClose, nil)
  831. end
  832. self.btnClose = nil
  833. if tolua.getpeer(self.pveBlessLv) ~= nil then
  834. tolua.setpeer(self.pveBlessLv, nil)
  835. end
  836. self.pveBlessLv = nil
  837. if tolua.getpeer(self.currentLv) ~= nil then
  838. tolua.setpeer(self.currentLv, nil)
  839. end
  840. self.currentLv = nil
  841. if tolua.getpeer(self.nextLv) ~= nil then
  842. tolua.setpeer(self.nextLv, nil)
  843. end
  844. self.nextLv = nil
  845. self.transform = nil
  846. self.gameObject = nil
  847. self.inited = false
  848. end
  849. return UIPveBlessTipsView