UIPvpSuppressTipsView_Generate.lua 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. ---@class UIPvpSuppressTips__Generate_dsc
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIPvpSuppressTips__Generate_cardBlessLv
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public lv0 UnityEngine.GameObject
  7. ---@field public lv1 UnityEngine.GameObject
  8. ---@field public lv2 UnityEngine.GameObject
  9. ---@field public lv3 UnityEngine.GameObject
  10. ---@field public lv4 UnityEngine.GameObject
  11. ---@field public lv5 UnityEngine.GameObject
  12. ---@field public lv6 UnityEngine.GameObject
  13. ---@field public lv7 UnityEngine.GameObject
  14. ---@field public lv8 UnityEngine.GameObject
  15. ---@field public lv9 UnityEngine.GameObject
  16. ---@field public lv10 UnityEngine.GameObject
  17. ---@field public lv11 UnityEngine.GameObject
  18. ---@class UIPvpSuppressTips__Generate_text
  19. ---@field public gameObject UnityEngine.GameObject
  20. ---@field public text UnityEngine.UI.Text
  21. ---@class UIPvpSuppressTips__Generate_AnyBtn
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public button UnityEngine.UI.Button
  24. ---@class UIPvpSuppressTips__Generate_uIAnimator
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public animator UnityEngine.Animator
  27. ---@class UIPvpSuppressTips__Generate
  28. ---@field private gameObject UnityEngine.GameObject
  29. ---@field private transform UnityEngine.Transform
  30. ---@field private uIAnimator UIPvpSuppressTips__Generate_uIAnimator
  31. ---@field private AnyBtn UIPvpSuppressTips__Generate_AnyBtn
  32. ---@field private window UnityEngine.GameObject
  33. ---@field private text UIPvpSuppressTips__Generate_text
  34. ---@field private cardBlessLv UIPvpSuppressTips__Generate_cardBlessLv
  35. ---@field private dsc UIPvpSuppressTips__Generate_dsc
  36. local UIPvpSuppressTipsView = class("UIPvpSuppressTipsView", require("UIViewBase"))
  37. function UIPvpSuppressTipsView:ctor()
  38. end
  39. ---@private
  40. function UIPvpSuppressTipsView:SetActive(result)
  41. self.gameObject:SetActive(result)
  42. end
  43. ---@private
  44. function UIPvpSuppressTipsView:InitGenerate(Root, data)
  45. self.transform = Root
  46. self.inited = true
  47. if self.super.Init then
  48. self.super.Init(self)
  49. end
  50. local tmp
  51. self:InitGenerate__1(Root,data)
  52. self:InitGenerate__2(Root,data)
  53. self:InitGenerate__3(Root,data)
  54. self:InitGenerate__4(Root,data)
  55. self:InitGenerate__5(Root,data)
  56. self:InitGenerate__6(Root,data)
  57. self:InitGenerate__7(Root,data)
  58. self:InitGenerate__8(Root,data)
  59. self:InitGenerate__9(Root,data)
  60. self:InitGenerate__10(Root,data)
  61. self:InitGenerate__11(Root,data)
  62. self:InitGenerate__12(Root,data)
  63. self:InitGenerate__13(Root,data)
  64. self:InitGenerate__14(Root,data)
  65. self:InitGenerate__15(Root,data)
  66. self:InitGenerate__16(Root,data)
  67. self:InitGenerate__17(Root,data)
  68. self:InitGenerate__18(Root,data)
  69. self:InitGenerate__19(Root,data)
  70. end
  71. ---@private
  72. function UIPvpSuppressTipsView:InitGenerate__1(Root, data)
  73. --[[
  74. Root
  75. --]]
  76. end
  77. ---@private
  78. function UIPvpSuppressTipsView:InitGenerate__2(Root, data)
  79. --[[
  80. UIAnimator
  81. --]]
  82. local tmp = Root:Find("UIAnimator").gameObject
  83. if tolua.getpeer(tmp) == nil then
  84. tolua.setpeer(tmp, {})
  85. end
  86. self.uIAnimator = tmp
  87. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  88. tmp.animator.logWarnings = false
  89. end
  90. ---@private
  91. function UIPvpSuppressTipsView:InitGenerate__3(Root, data)
  92. --[[
  93. UIAnimator/Alpha
  94. --]]
  95. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  96. if tolua.getpeer(tmp) == nil then
  97. tolua.setpeer(tmp, {})
  98. end
  99. self.AnyBtn = tmp
  100. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  101. end
  102. ---@private
  103. function UIPvpSuppressTipsView:InitGenerate__4(Root, data)
  104. --[[
  105. UIAnimator/Window
  106. --]]
  107. local tmp = Root:Find("UIAnimator/Window").gameObject
  108. if tolua.getpeer(tmp) == nil then
  109. tolua.setpeer(tmp, {})
  110. end
  111. self.window = tmp
  112. end
  113. ---@private
  114. function UIPvpSuppressTipsView:InitGenerate__5(Root, data)
  115. --[[
  116. UIAnimator/Window/Bg/TopItem/Text
  117. --]]
  118. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/Text").gameObject
  119. if tolua.getpeer(tmp) == nil then
  120. tolua.setpeer(tmp, {})
  121. end
  122. self.text = tmp
  123. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  124. end
  125. ---@private
  126. function UIPvpSuppressTipsView:InitGenerate__6(Root, data)
  127. --[[
  128. UIAnimator/Window/Bg/TopItem/CardBlessLv
  129. --]]
  130. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv").gameObject
  131. if tolua.getpeer(tmp) == nil then
  132. tolua.setpeer(tmp, {})
  133. end
  134. self.cardBlessLv = tmp
  135. end
  136. ---@private
  137. function UIPvpSuppressTipsView:InitGenerate__7(Root, data)
  138. --[[
  139. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv0
  140. --]]
  141. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv0").gameObject
  142. if tolua.getpeer(tmp) == nil then
  143. tolua.setpeer(tmp, {})
  144. end
  145. self.cardBlessLv.lv0 = tmp
  146. self.cardBlessLv.lv0:SetActive(false)
  147. end
  148. ---@private
  149. function UIPvpSuppressTipsView:InitGenerate__8(Root, data)
  150. --[[
  151. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv1
  152. --]]
  153. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv1").gameObject
  154. if tolua.getpeer(tmp) == nil then
  155. tolua.setpeer(tmp, {})
  156. end
  157. self.cardBlessLv.lv1 = tmp
  158. self.cardBlessLv.lv1:SetActive(false)
  159. end
  160. ---@private
  161. function UIPvpSuppressTipsView:InitGenerate__9(Root, data)
  162. --[[
  163. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv2
  164. --]]
  165. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv2").gameObject
  166. if tolua.getpeer(tmp) == nil then
  167. tolua.setpeer(tmp, {})
  168. end
  169. self.cardBlessLv.lv2 = tmp
  170. self.cardBlessLv.lv2:SetActive(false)
  171. end
  172. ---@private
  173. function UIPvpSuppressTipsView:InitGenerate__10(Root, data)
  174. --[[
  175. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv3
  176. --]]
  177. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv3").gameObject
  178. if tolua.getpeer(tmp) == nil then
  179. tolua.setpeer(tmp, {})
  180. end
  181. self.cardBlessLv.lv3 = tmp
  182. self.cardBlessLv.lv3:SetActive(false)
  183. end
  184. ---@private
  185. function UIPvpSuppressTipsView:InitGenerate__11(Root, data)
  186. --[[
  187. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv4
  188. --]]
  189. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv4").gameObject
  190. if tolua.getpeer(tmp) == nil then
  191. tolua.setpeer(tmp, {})
  192. end
  193. self.cardBlessLv.lv4 = tmp
  194. self.cardBlessLv.lv4:SetActive(false)
  195. end
  196. ---@private
  197. function UIPvpSuppressTipsView:InitGenerate__12(Root, data)
  198. --[[
  199. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv5
  200. --]]
  201. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv5").gameObject
  202. if tolua.getpeer(tmp) == nil then
  203. tolua.setpeer(tmp, {})
  204. end
  205. self.cardBlessLv.lv5 = tmp
  206. self.cardBlessLv.lv5:SetActive(false)
  207. end
  208. ---@private
  209. function UIPvpSuppressTipsView:InitGenerate__13(Root, data)
  210. --[[
  211. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv6
  212. --]]
  213. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv6").gameObject
  214. if tolua.getpeer(tmp) == nil then
  215. tolua.setpeer(tmp, {})
  216. end
  217. self.cardBlessLv.lv6 = tmp
  218. self.cardBlessLv.lv6:SetActive(false)
  219. end
  220. ---@private
  221. function UIPvpSuppressTipsView:InitGenerate__14(Root, data)
  222. --[[
  223. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv7
  224. --]]
  225. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv7").gameObject
  226. if tolua.getpeer(tmp) == nil then
  227. tolua.setpeer(tmp, {})
  228. end
  229. self.cardBlessLv.lv7 = tmp
  230. self.cardBlessLv.lv7:SetActive(false)
  231. end
  232. ---@private
  233. function UIPvpSuppressTipsView:InitGenerate__15(Root, data)
  234. --[[
  235. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv8
  236. --]]
  237. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv8").gameObject
  238. if tolua.getpeer(tmp) == nil then
  239. tolua.setpeer(tmp, {})
  240. end
  241. self.cardBlessLv.lv8 = tmp
  242. self.cardBlessLv.lv8:SetActive(false)
  243. end
  244. ---@private
  245. function UIPvpSuppressTipsView:InitGenerate__16(Root, data)
  246. --[[
  247. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv9
  248. --]]
  249. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv9").gameObject
  250. if tolua.getpeer(tmp) == nil then
  251. tolua.setpeer(tmp, {})
  252. end
  253. self.cardBlessLv.lv9 = tmp
  254. self.cardBlessLv.lv9:SetActive(false)
  255. end
  256. ---@private
  257. function UIPvpSuppressTipsView:InitGenerate__17(Root, data)
  258. --[[
  259. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv10
  260. --]]
  261. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv10").gameObject
  262. if tolua.getpeer(tmp) == nil then
  263. tolua.setpeer(tmp, {})
  264. end
  265. self.cardBlessLv.lv10 = tmp
  266. self.cardBlessLv.lv10:SetActive(false)
  267. end
  268. ---@private
  269. function UIPvpSuppressTipsView:InitGenerate__18(Root, data)
  270. --[[
  271. UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv11
  272. --]]
  273. local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/CardBlessLv/Lv11").gameObject
  274. if tolua.getpeer(tmp) == nil then
  275. tolua.setpeer(tmp, {})
  276. end
  277. self.cardBlessLv.lv11 = tmp
  278. self.cardBlessLv.lv11:SetActive(false)
  279. end
  280. ---@private
  281. function UIPvpSuppressTipsView:InitGenerate__19(Root, data)
  282. --[[
  283. UIAnimator/Window/Bg/Dsc
  284. --]]
  285. local tmp = Root:Find("UIAnimator/Window/Bg/Dsc").gameObject
  286. if tolua.getpeer(tmp) == nil then
  287. tolua.setpeer(tmp, {})
  288. end
  289. self.dsc = tmp
  290. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  291. end
  292. ---@private
  293. function UIPvpSuppressTipsView:GenerateDestroy()
  294. if tolua.getpeer(self.cardBlessLv.lv11) ~= nil then
  295. tolua.setpeer(self.cardBlessLv.lv11, nil)
  296. end
  297. if tolua.getpeer(self.cardBlessLv.lv10) ~= nil then
  298. tolua.setpeer(self.cardBlessLv.lv10, nil)
  299. end
  300. if tolua.getpeer(self.cardBlessLv.lv9) ~= nil then
  301. tolua.setpeer(self.cardBlessLv.lv9, nil)
  302. end
  303. if tolua.getpeer(self.cardBlessLv.lv8) ~= nil then
  304. tolua.setpeer(self.cardBlessLv.lv8, nil)
  305. end
  306. if tolua.getpeer(self.cardBlessLv.lv7) ~= nil then
  307. tolua.setpeer(self.cardBlessLv.lv7, nil)
  308. end
  309. if tolua.getpeer(self.cardBlessLv.lv6) ~= nil then
  310. tolua.setpeer(self.cardBlessLv.lv6, nil)
  311. end
  312. if tolua.getpeer(self.cardBlessLv.lv5) ~= nil then
  313. tolua.setpeer(self.cardBlessLv.lv5, nil)
  314. end
  315. if tolua.getpeer(self.cardBlessLv.lv4) ~= nil then
  316. tolua.setpeer(self.cardBlessLv.lv4, nil)
  317. end
  318. if tolua.getpeer(self.cardBlessLv.lv3) ~= nil then
  319. tolua.setpeer(self.cardBlessLv.lv3, nil)
  320. end
  321. if tolua.getpeer(self.cardBlessLv.lv2) ~= nil then
  322. tolua.setpeer(self.cardBlessLv.lv2, nil)
  323. end
  324. if tolua.getpeer(self.cardBlessLv.lv1) ~= nil then
  325. tolua.setpeer(self.cardBlessLv.lv1, nil)
  326. end
  327. if tolua.getpeer(self.cardBlessLv.lv0) ~= nil then
  328. tolua.setpeer(self.cardBlessLv.lv0, nil)
  329. end
  330. if tolua.getpeer(self.uIAnimator) ~= nil then
  331. tolua.setpeer(self.uIAnimator, nil)
  332. end
  333. self.uIAnimator = nil
  334. if tolua.getpeer(self.AnyBtn) ~= nil then
  335. tolua.setpeer(self.AnyBtn, nil)
  336. end
  337. self.AnyBtn = nil
  338. if tolua.getpeer(self.window) ~= nil then
  339. tolua.setpeer(self.window, nil)
  340. end
  341. self.window = nil
  342. if tolua.getpeer(self.text) ~= nil then
  343. tolua.setpeer(self.text, nil)
  344. end
  345. self.text = nil
  346. if tolua.getpeer(self.cardBlessLv) ~= nil then
  347. tolua.setpeer(self.cardBlessLv, nil)
  348. end
  349. self.cardBlessLv = nil
  350. if tolua.getpeer(self.dsc) ~= nil then
  351. tolua.setpeer(self.dsc, nil)
  352. end
  353. self.dsc = nil
  354. self.transform = nil
  355. self.gameObject = nil
  356. self.inited = false
  357. end
  358. return UIPvpSuppressTipsView