UIArtifactNotesTipsView_Generate.lua 12 KB

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