UILanuchView_Generate.lua 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. ---@class UILanuch__Generate_scrollbar
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public scrollbar UnityEngine.UI.Scrollbar
  4. ---@class UILanuch__Generate_numberText
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text UnityEngine.UI.Text
  7. ---@class UILanuch__Generate_text
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UILanuch__Generate_vkSheQunBtn
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public button UnityEngine.UI.Button
  13. ---@class UILanuch__Generate_vkSheQuBtn
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public button UnityEngine.UI.Button
  16. ---@class UILanuch__Generate_kfBtn
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public button UnityEngine.UI.Button
  19. ---@class UILanuch__Generate_sDKLink
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public text TMPro.TextMeshProUGUI
  22. ---@field public button UnityEngine.UI.Button
  23. ---@class UILanuch__Generate_editionTxt
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public text TMPro.TextMeshProUGUI
  26. ---@class UILanuch__Generate_resVol_contentTxt
  27. ---@field public gameObject UnityEngine.GameObject
  28. ---@field public text TMPro.TextMeshProUGUI
  29. ---@class UILanuch__Generate_resVol
  30. ---@field public gameObject UnityEngine.GameObject
  31. ---@field public contentTxt UILanuch__Generate_resVol_contentTxt
  32. ---@class UILanuch__Generate_appVol_contentTxt
  33. ---@field public gameObject UnityEngine.GameObject
  34. ---@field public text TMPro.TextMeshProUGUI
  35. ---@class UILanuch__Generate_appVol
  36. ---@field public gameObject UnityEngine.GameObject
  37. ---@field public contentTxt UILanuch__Generate_appVol_contentTxt
  38. ---@class UILanuch__Generate_btnCADPA
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public button UnityEngine.UI.Button
  41. ---@class UILanuch__Generate_agreement_toggle
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public toggle UnityEngine.UI.Toggle
  44. ---@class UILanuch__Generate_agreement_text
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public text TMPro.TextMeshProUGUI
  47. ---@field public button UnityEngine.UI.Button
  48. ---@class UILanuch__Generate_agreement
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public text UILanuch__Generate_agreement_text
  51. ---@field public toggle UILanuch__Generate_agreement_toggle
  52. ---@class UILanuch__Generate_btnNotice
  53. ---@field public gameObject UnityEngine.GameObject
  54. ---@field public button UnityEngine.UI.Button
  55. ---@class UILanuch__Generate_serverText
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public text UnityEngine.UI.Text
  58. ---@class UILanuch__Generate_btnServer
  59. ---@field public gameObject UnityEngine.GameObject
  60. ---@field public button UnityEngine.UI.Button
  61. ---@class UILanuch__Generate_serverRoot
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public animator UnityEngine.Animator
  64. ---@class UILanuch__Generate_btnEnter
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public button UnityEngine.UI.Button
  67. ---@class UILanuch__Generate_createRoleImg
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public image UnityEngine.UI.Image
  70. ---@class UILanuch__Generate_loginAnim
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public animator UnityEngine.Animator
  73. ---@class UILanuch__Generate
  74. ---@field private gameObject UnityEngine.GameObject
  75. ---@field private transform UnityEngine.Transform
  76. ---@field private loginAnim UILanuch__Generate_loginAnim
  77. ---@field private loginBG UnityEngine.GameObject
  78. ---@field private createRoleImg UILanuch__Generate_createRoleImg
  79. ---@field private logo UnityEngine.GameObject
  80. ---@field private mask UnityEngine.GameObject
  81. ---@field private loginRoot UnityEngine.GameObject
  82. ---@field private btnEnter UILanuch__Generate_btnEnter
  83. ---@field private serverRoot UILanuch__Generate_serverRoot
  84. ---@field private btnServer UILanuch__Generate_btnServer
  85. ---@field private serverText UILanuch__Generate_serverText
  86. ---@field private loadingServer UnityEngine.GameObject
  87. ---@field private btnNotice UILanuch__Generate_btnNotice
  88. ---@field private bg UnityEngine.GameObject
  89. ---@field private agreement UILanuch__Generate_agreement
  90. ---@field private btnCADPA UILanuch__Generate_btnCADPA
  91. ---@field private appVol UILanuch__Generate_appVol
  92. ---@field private resVol UILanuch__Generate_resVol
  93. ---@field private editionTxt UILanuch__Generate_editionTxt
  94. ---@field private sDKLink UILanuch__Generate_sDKLink
  95. ---@field private sDKBtnNode UnityEngine.GameObject
  96. ---@field private kfBtn UILanuch__Generate_kfBtn
  97. ---@field private vkSheQuBtn UILanuch__Generate_vkSheQuBtn
  98. ---@field private vkSheQunBtn UILanuch__Generate_vkSheQunBtn
  99. ---@field private loadingRoot UnityEngine.GameObject
  100. ---@field private text UILanuch__Generate_text
  101. ---@field private numberText UILanuch__Generate_numberText
  102. ---@field private scrollbar UILanuch__Generate_scrollbar
  103. local UILanuchView = class("UILanuchView", require("UIViewBase"))
  104. function UILanuchView:ctor()
  105. end
  106. ---@private
  107. function UILanuchView:SetActive(result)
  108. self.gameObject:SetActive(result)
  109. end
  110. ---@private
  111. function UILanuchView:InitGenerate(Root, data)
  112. self.transform = Root
  113. self.inited = true
  114. if self.super.Init then
  115. self.super.Init(self)
  116. end
  117. local tmp
  118. self:InitGenerate__1(Root,data)
  119. self:InitGenerate__2(Root,data)
  120. self:InitGenerate__3(Root,data)
  121. self:InitGenerate__4(Root,data)
  122. self:InitGenerate__5(Root,data)
  123. self:InitGenerate__6(Root,data)
  124. self:InitGenerate__7(Root,data)
  125. self:InitGenerate__8(Root,data)
  126. self:InitGenerate__9(Root,data)
  127. self:InitGenerate__10(Root,data)
  128. self:InitGenerate__11(Root,data)
  129. self:InitGenerate__12(Root,data)
  130. self:InitGenerate__13(Root,data)
  131. self:InitGenerate__14(Root,data)
  132. self:InitGenerate__15(Root,data)
  133. self:InitGenerate__16(Root,data)
  134. self:InitGenerate__17(Root,data)
  135. self:InitGenerate__18(Root,data)
  136. self:InitGenerate__19(Root,data)
  137. self:InitGenerate__20(Root,data)
  138. self:InitGenerate__21(Root,data)
  139. self:InitGenerate__22(Root,data)
  140. self:InitGenerate__23(Root,data)
  141. self:InitGenerate__24(Root,data)
  142. self:InitGenerate__25(Root,data)
  143. self:InitGenerate__26(Root,data)
  144. self:InitGenerate__27(Root,data)
  145. self:InitGenerate__28(Root,data)
  146. self:InitGenerate__29(Root,data)
  147. self:InitGenerate__30(Root,data)
  148. self:InitGenerate__31(Root,data)
  149. end
  150. ---@private
  151. function UILanuchView:InitGenerate__1(Root, data)
  152. --[[
  153. LoginAnim
  154. --]]
  155. local tmp = Root:Find("LoginAnim").gameObject
  156. if tolua.getpeer(tmp) == nil then
  157. tolua.setpeer(tmp, {})
  158. end
  159. self.loginAnim = tmp
  160. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  161. tmp.animator.logWarnings = false
  162. end
  163. ---@private
  164. function UILanuchView:InitGenerate__2(Root, data)
  165. --[[
  166. LoginAnim/LoginBG
  167. --]]
  168. local tmp = Root:Find("LoginAnim/LoginBG").gameObject
  169. if tolua.getpeer(tmp) == nil then
  170. tolua.setpeer(tmp, {})
  171. end
  172. self.loginBG = tmp
  173. end
  174. ---@private
  175. function UILanuchView:InitGenerate__3(Root, data)
  176. --[[
  177. LoginAnim/LoginBG/CreateRoleImg
  178. --]]
  179. local tmp = Root:Find("LoginAnim/LoginBG/CreateRoleImg").gameObject
  180. if tolua.getpeer(tmp) == nil then
  181. tolua.setpeer(tmp, {})
  182. end
  183. self.createRoleImg = tmp
  184. self.createRoleImg:SetActive(false)
  185. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  186. end
  187. ---@private
  188. function UILanuchView:InitGenerate__4(Root, data)
  189. --[[
  190. LoginAnim/Logo
  191. --]]
  192. local tmp = Root:Find("LoginAnim/Logo").gameObject
  193. if tolua.getpeer(tmp) == nil then
  194. tolua.setpeer(tmp, {})
  195. end
  196. self.logo = tmp
  197. end
  198. ---@private
  199. function UILanuchView:InitGenerate__5(Root, data)
  200. --[[
  201. LoginAnim/Logo/Mask
  202. --]]
  203. local tmp = Root:Find("LoginAnim/Logo/Mask").gameObject
  204. if tolua.getpeer(tmp) == nil then
  205. tolua.setpeer(tmp, {})
  206. end
  207. self.mask = tmp
  208. end
  209. ---@private
  210. function UILanuchView:InitGenerate__6(Root, data)
  211. --[[
  212. LoginAnim/LoginRoot
  213. --]]
  214. local tmp = Root:Find("LoginAnim/LoginRoot").gameObject
  215. if tolua.getpeer(tmp) == nil then
  216. tolua.setpeer(tmp, {})
  217. end
  218. self.loginRoot = tmp
  219. end
  220. ---@private
  221. function UILanuchView:InitGenerate__7(Root, data)
  222. --[[
  223. LoginAnim/LoginRoot/BtnEnter
  224. --]]
  225. local tmp = Root:Find("LoginAnim/LoginRoot/BtnEnter").gameObject
  226. if tolua.getpeer(tmp) == nil then
  227. tolua.setpeer(tmp, {})
  228. end
  229. self.btnEnter = tmp
  230. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  231. end
  232. ---@private
  233. function UILanuchView:InitGenerate__8(Root, data)
  234. --[[
  235. LoginAnim/LoginRoot/ServerRoot
  236. --]]
  237. local tmp = Root:Find("LoginAnim/LoginRoot/ServerRoot").gameObject
  238. if tolua.getpeer(tmp) == nil then
  239. tolua.setpeer(tmp, {})
  240. end
  241. self.serverRoot = tmp
  242. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  243. tmp.animator.logWarnings = false
  244. end
  245. ---@private
  246. function UILanuchView:InitGenerate__9(Root, data)
  247. --[[
  248. LoginAnim/LoginRoot/ServerRoot/BtnServer
  249. --]]
  250. local tmp = Root:Find("LoginAnim/LoginRoot/ServerRoot/BtnServer").gameObject
  251. if tolua.getpeer(tmp) == nil then
  252. tolua.setpeer(tmp, {})
  253. end
  254. self.btnServer = tmp
  255. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  256. end
  257. ---@private
  258. function UILanuchView:InitGenerate__10(Root, data)
  259. --[[
  260. LoginAnim/LoginRoot/ServerRoot/BtnServer/blue/ServerText
  261. --]]
  262. local tmp = Root:Find("LoginAnim/LoginRoot/ServerRoot/BtnServer/blue/ServerText").gameObject
  263. if tolua.getpeer(tmp) == nil then
  264. tolua.setpeer(tmp, {})
  265. end
  266. self.serverText = tmp
  267. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  268. end
  269. ---@private
  270. function UILanuchView:InitGenerate__11(Root, data)
  271. --[[
  272. LoginAnim/LoginRoot/ServerRoot/LoadingServer
  273. --]]
  274. local tmp = Root:Find("LoginAnim/LoginRoot/ServerRoot/LoadingServer").gameObject
  275. if tolua.getpeer(tmp) == nil then
  276. tolua.setpeer(tmp, {})
  277. end
  278. self.loadingServer = tmp
  279. end
  280. ---@private
  281. function UILanuchView:InitGenerate__12(Root, data)
  282. --[[
  283. LoginAnim/LoginRoot/BtnNotice
  284. --]]
  285. local tmp = Root:Find("LoginAnim/LoginRoot/BtnNotice").gameObject
  286. if tolua.getpeer(tmp) == nil then
  287. tolua.setpeer(tmp, {})
  288. end
  289. self.btnNotice = tmp
  290. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  291. end
  292. ---@private
  293. function UILanuchView:InitGenerate__13(Root, data)
  294. --[[
  295. LoginAnim/LoginRoot/BtnNotice/bg
  296. --]]
  297. local tmp = Root:Find("LoginAnim/LoginRoot/BtnNotice/bg").gameObject
  298. if tolua.getpeer(tmp) == nil then
  299. tolua.setpeer(tmp, {})
  300. end
  301. self.bg = tmp
  302. end
  303. ---@private
  304. function UILanuchView:InitGenerate__14(Root, data)
  305. --[[
  306. LoginAnim/LoginRoot/Agreement
  307. --]]
  308. local tmp = Root:Find("LoginAnim/LoginRoot/Agreement").gameObject
  309. if tolua.getpeer(tmp) == nil then
  310. tolua.setpeer(tmp, {})
  311. end
  312. self.agreement = tmp
  313. end
  314. ---@private
  315. function UILanuchView:InitGenerate__15(Root, data)
  316. --[[
  317. LoginAnim/LoginRoot/Agreement/Text
  318. --]]
  319. local tmp = Root:Find("LoginAnim/LoginRoot/Agreement/Text").gameObject
  320. if tolua.getpeer(tmp) == nil then
  321. tolua.setpeer(tmp, {})
  322. end
  323. self.agreement.text = tmp
  324. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  325. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  326. end
  327. ---@private
  328. function UILanuchView:InitGenerate__16(Root, data)
  329. --[[
  330. LoginAnim/LoginRoot/Agreement/Toggle
  331. --]]
  332. local tmp = Root:Find("LoginAnim/LoginRoot/Agreement/Toggle").gameObject
  333. if tolua.getpeer(tmp) == nil then
  334. tolua.setpeer(tmp, {})
  335. end
  336. self.agreement.toggle = tmp
  337. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  338. end
  339. ---@private
  340. function UILanuchView:InitGenerate__17(Root, data)
  341. --[[
  342. LoginAnim/LoginRoot/BtnCADPA
  343. --]]
  344. local tmp = Root:Find("LoginAnim/LoginRoot/BtnCADPA").gameObject
  345. if tolua.getpeer(tmp) == nil then
  346. tolua.setpeer(tmp, {})
  347. end
  348. self.btnCADPA = tmp
  349. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  350. end
  351. ---@private
  352. function UILanuchView:InitGenerate__18(Root, data)
  353. --[[
  354. LoginAnim/Common/AppVol
  355. --]]
  356. local tmp = Root:Find("LoginAnim/Common/AppVol").gameObject
  357. if tolua.getpeer(tmp) == nil then
  358. tolua.setpeer(tmp, {})
  359. end
  360. self.appVol = tmp
  361. end
  362. ---@private
  363. function UILanuchView:InitGenerate__19(Root, data)
  364. --[[
  365. LoginAnim/Common/AppVol/ContentTxt
  366. --]]
  367. local tmp = Root:Find("LoginAnim/Common/AppVol/ContentTxt").gameObject
  368. if tolua.getpeer(tmp) == nil then
  369. tolua.setpeer(tmp, {})
  370. end
  371. self.appVol.contentTxt = tmp
  372. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  373. end
  374. ---@private
  375. function UILanuchView:InitGenerate__20(Root, data)
  376. --[[
  377. LoginAnim/Common/ResVol
  378. --]]
  379. local tmp = Root:Find("LoginAnim/Common/ResVol").gameObject
  380. if tolua.getpeer(tmp) == nil then
  381. tolua.setpeer(tmp, {})
  382. end
  383. self.resVol = tmp
  384. end
  385. ---@private
  386. function UILanuchView:InitGenerate__21(Root, data)
  387. --[[
  388. LoginAnim/Common/ResVol/ContentTxt
  389. --]]
  390. local tmp = Root:Find("LoginAnim/Common/ResVol/ContentTxt").gameObject
  391. if tolua.getpeer(tmp) == nil then
  392. tolua.setpeer(tmp, {})
  393. end
  394. self.resVol.contentTxt = tmp
  395. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  396. end
  397. ---@private
  398. function UILanuchView:InitGenerate__22(Root, data)
  399. --[[
  400. LoginAnim/Common/EditionTxt
  401. --]]
  402. local tmp = Root:Find("LoginAnim/Common/EditionTxt").gameObject
  403. if tolua.getpeer(tmp) == nil then
  404. tolua.setpeer(tmp, {})
  405. end
  406. self.editionTxt = tmp
  407. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  408. end
  409. ---@private
  410. function UILanuchView:InitGenerate__23(Root, data)
  411. --[[
  412. LoginAnim/Common/SDKLink
  413. --]]
  414. local tmp = Root:Find("LoginAnim/Common/SDKLink").gameObject
  415. if tolua.getpeer(tmp) == nil then
  416. tolua.setpeer(tmp, {})
  417. end
  418. self.sDKLink = tmp
  419. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  420. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  421. end
  422. ---@private
  423. function UILanuchView:InitGenerate__24(Root, data)
  424. --[[
  425. LoginAnim/Common/SDKBtnNode
  426. --]]
  427. local tmp = nil
  428. local tfm = Root:Find("LoginAnim/Common/SDKBtnNode")
  429. if tfm == nil then
  430. return
  431. else
  432. tmp = tfm.gameObject
  433. end
  434. if tolua.getpeer(tmp) == nil then
  435. tolua.setpeer(tmp, {})
  436. end
  437. self.sDKBtnNode = tmp
  438. end
  439. ---@private
  440. function UILanuchView:InitGenerate__25(Root, data)
  441. --[[
  442. LoginAnim/Common/SDKBtnNode/KfBtn
  443. --]]
  444. local tmp = nil
  445. local tfm = Root:Find("LoginAnim/Common/SDKBtnNode/KfBtn")
  446. if tfm == nil then
  447. return
  448. else
  449. tmp = tfm.gameObject
  450. end
  451. if tolua.getpeer(tmp) == nil then
  452. tolua.setpeer(tmp, {})
  453. end
  454. self.kfBtn = tmp
  455. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  456. end
  457. ---@private
  458. function UILanuchView:InitGenerate__26(Root, data)
  459. --[[
  460. LoginAnim/Common/SDKBtnNode/VkSheQuBtn
  461. --]]
  462. local tmp = nil
  463. local tfm = Root:Find("LoginAnim/Common/SDKBtnNode/VkSheQuBtn")
  464. if tfm == nil then
  465. return
  466. else
  467. tmp = tfm.gameObject
  468. end
  469. if tolua.getpeer(tmp) == nil then
  470. tolua.setpeer(tmp, {})
  471. end
  472. self.vkSheQuBtn = tmp
  473. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  474. end
  475. ---@private
  476. function UILanuchView:InitGenerate__27(Root, data)
  477. --[[
  478. LoginAnim/Common/SDKBtnNode/VkSheQunBtn
  479. --]]
  480. local tmp = nil
  481. local tfm = Root:Find("LoginAnim/Common/SDKBtnNode/VkSheQunBtn")
  482. if tfm == nil then
  483. return
  484. else
  485. tmp = tfm.gameObject
  486. end
  487. if tolua.getpeer(tmp) == nil then
  488. tolua.setpeer(tmp, {})
  489. end
  490. self.vkSheQunBtn = tmp
  491. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  492. end
  493. ---@private
  494. function UILanuchView:InitGenerate__28(Root, data)
  495. --[[
  496. LoginAnim/LoadingRoot
  497. --]]
  498. local tmp = Root:Find("LoginAnim/LoadingRoot").gameObject
  499. if tolua.getpeer(tmp) == nil then
  500. tolua.setpeer(tmp, {})
  501. end
  502. self.loadingRoot = tmp
  503. end
  504. ---@private
  505. function UILanuchView:InitGenerate__29(Root, data)
  506. --[[
  507. LoginAnim/LoadingRoot/LoadingBar/Text
  508. --]]
  509. local tmp = Root:Find("LoginAnim/LoadingRoot/LoadingBar/Text").gameObject
  510. if tolua.getpeer(tmp) == nil then
  511. tolua.setpeer(tmp, {})
  512. end
  513. self.text = tmp
  514. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  515. end
  516. ---@private
  517. function UILanuchView:InitGenerate__30(Root, data)
  518. --[[
  519. LoginAnim/LoadingRoot/LoadingBar/NumberText
  520. --]]
  521. local tmp = Root:Find("LoginAnim/LoadingRoot/LoadingBar/NumberText").gameObject
  522. if tolua.getpeer(tmp) == nil then
  523. tolua.setpeer(tmp, {})
  524. end
  525. self.numberText = tmp
  526. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  527. end
  528. ---@private
  529. function UILanuchView:InitGenerate__31(Root, data)
  530. --[[
  531. LoginAnim/LoadingRoot/LoadingBar/Scrollbar
  532. --]]
  533. local tmp = Root:Find("LoginAnim/LoadingRoot/LoadingBar/Scrollbar").gameObject
  534. if tolua.getpeer(tmp) == nil then
  535. tolua.setpeer(tmp, {})
  536. end
  537. self.scrollbar = tmp
  538. tmp.scrollbar = tmp:GetComponent(Enum.TypeInfo.Scrollbar)
  539. end
  540. ---@private
  541. function UILanuchView:GenerateDestroy()
  542. if tolua.getpeer(self.resVol.contentTxt) ~= nil then
  543. tolua.setpeer(self.resVol.contentTxt, nil)
  544. end
  545. if tolua.getpeer(self.appVol.contentTxt) ~= nil then
  546. tolua.setpeer(self.appVol.contentTxt, nil)
  547. end
  548. if tolua.getpeer(self.agreement.toggle) ~= nil then
  549. tolua.setpeer(self.agreement.toggle, nil)
  550. end
  551. if tolua.getpeer(self.agreement.text) ~= nil then
  552. tolua.setpeer(self.agreement.text, nil)
  553. end
  554. if tolua.getpeer(self.loginAnim) ~= nil then
  555. tolua.setpeer(self.loginAnim, nil)
  556. end
  557. self.loginAnim = nil
  558. if tolua.getpeer(self.loginBG) ~= nil then
  559. tolua.setpeer(self.loginBG, nil)
  560. end
  561. self.loginBG = nil
  562. if tolua.getpeer(self.createRoleImg) ~= nil then
  563. tolua.setpeer(self.createRoleImg, nil)
  564. end
  565. self.createRoleImg = nil
  566. if tolua.getpeer(self.logo) ~= nil then
  567. tolua.setpeer(self.logo, nil)
  568. end
  569. self.logo = nil
  570. if tolua.getpeer(self.mask) ~= nil then
  571. tolua.setpeer(self.mask, nil)
  572. end
  573. self.mask = nil
  574. if tolua.getpeer(self.loginRoot) ~= nil then
  575. tolua.setpeer(self.loginRoot, nil)
  576. end
  577. self.loginRoot = nil
  578. if tolua.getpeer(self.btnEnter) ~= nil then
  579. tolua.setpeer(self.btnEnter, nil)
  580. end
  581. self.btnEnter = nil
  582. if tolua.getpeer(self.serverRoot) ~= nil then
  583. tolua.setpeer(self.serverRoot, nil)
  584. end
  585. self.serverRoot = nil
  586. if tolua.getpeer(self.btnServer) ~= nil then
  587. tolua.setpeer(self.btnServer, nil)
  588. end
  589. self.btnServer = nil
  590. if tolua.getpeer(self.serverText) ~= nil then
  591. tolua.setpeer(self.serverText, nil)
  592. end
  593. self.serverText = nil
  594. if tolua.getpeer(self.loadingServer) ~= nil then
  595. tolua.setpeer(self.loadingServer, nil)
  596. end
  597. self.loadingServer = nil
  598. if tolua.getpeer(self.btnNotice) ~= nil then
  599. tolua.setpeer(self.btnNotice, nil)
  600. end
  601. self.btnNotice = nil
  602. if tolua.getpeer(self.bg) ~= nil then
  603. tolua.setpeer(self.bg, nil)
  604. end
  605. self.bg = nil
  606. if tolua.getpeer(self.agreement) ~= nil then
  607. tolua.setpeer(self.agreement, nil)
  608. end
  609. self.agreement = nil
  610. if tolua.getpeer(self.btnCADPA) ~= nil then
  611. tolua.setpeer(self.btnCADPA, nil)
  612. end
  613. self.btnCADPA = nil
  614. if tolua.getpeer(self.appVol) ~= nil then
  615. tolua.setpeer(self.appVol, nil)
  616. end
  617. self.appVol = nil
  618. if tolua.getpeer(self.resVol) ~= nil then
  619. tolua.setpeer(self.resVol, nil)
  620. end
  621. self.resVol = nil
  622. if tolua.getpeer(self.editionTxt) ~= nil then
  623. tolua.setpeer(self.editionTxt, nil)
  624. end
  625. self.editionTxt = nil
  626. if tolua.getpeer(self.sDKLink) ~= nil then
  627. tolua.setpeer(self.sDKLink, nil)
  628. end
  629. self.sDKLink = nil
  630. if tolua.getpeer(self.sDKBtnNode) ~= nil then
  631. tolua.setpeer(self.sDKBtnNode, nil)
  632. end
  633. self.sDKBtnNode = nil
  634. if tolua.getpeer(self.kfBtn) ~= nil then
  635. tolua.setpeer(self.kfBtn, nil)
  636. end
  637. self.kfBtn = nil
  638. if tolua.getpeer(self.vkSheQuBtn) ~= nil then
  639. tolua.setpeer(self.vkSheQuBtn, nil)
  640. end
  641. self.vkSheQuBtn = nil
  642. if tolua.getpeer(self.vkSheQunBtn) ~= nil then
  643. tolua.setpeer(self.vkSheQunBtn, nil)
  644. end
  645. self.vkSheQunBtn = nil
  646. if tolua.getpeer(self.loadingRoot) ~= nil then
  647. tolua.setpeer(self.loadingRoot, nil)
  648. end
  649. self.loadingRoot = nil
  650. if tolua.getpeer(self.text) ~= nil then
  651. tolua.setpeer(self.text, nil)
  652. end
  653. self.text = nil
  654. if tolua.getpeer(self.numberText) ~= nil then
  655. tolua.setpeer(self.numberText, nil)
  656. end
  657. self.numberText = nil
  658. if tolua.getpeer(self.scrollbar) ~= nil then
  659. tolua.setpeer(self.scrollbar, nil)
  660. end
  661. self.scrollbar = nil
  662. self.transform = nil
  663. self.gameObject = nil
  664. self.inited = false
  665. end
  666. return UILanuchView