UIVoyageView_Generate.lua 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097
  1. ---@class UIVoyage__Generate_btnInfo
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIVoyage__Generate_btnAdd
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UIVoyage__Generate_remindNumTxt
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UIVoyage__Generate_backBtn
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public button UnityEngine.UI.Button
  13. ---@class UIVoyage__Generate_btnChat
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public button UnityEngine.UI.Button
  16. ---@class UIVoyage__Generate_rewardBtn_text
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public text TMPro.TextMeshProUGUI
  19. ---@class UIVoyage__Generate_rewardBtn
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public button UnityEngine.UI.Button
  22. ---@field public text UIVoyage__Generate_rewardBtn_text
  23. ---@class UIVoyage__Generate_voyageBtn_text
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public text TMPro.TextMeshProUGUI
  26. ---@class UIVoyage__Generate_voyageBtn
  27. ---@field public gameObject UnityEngine.GameObject
  28. ---@field public button UnityEngine.UI.Button
  29. ---@field public text UIVoyage__Generate_voyageBtn_text
  30. ---@class UIVoyage__Generate_btnLog
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public button UnityEngine.UI.Button
  33. ---@class UIVoyage__Generate_btnShop
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public button UnityEngine.UI.Button
  36. ---@class UIVoyage__Generate_btnRank
  37. ---@field public gameObject UnityEngine.GameObject
  38. ---@field public button UnityEngine.UI.Button
  39. ---@class UIVoyage__Generate_race10
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public start UnityEngine.GameObject
  42. ---@field public finsh UnityEngine.GameObject
  43. ---@class UIVoyage__Generate_race9
  44. ---@field public gameObject UnityEngine.GameObject
  45. ---@field public start UnityEngine.GameObject
  46. ---@field public finsh UnityEngine.GameObject
  47. ---@class UIVoyage__Generate_race8
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public start UnityEngine.GameObject
  50. ---@field public finsh UnityEngine.GameObject
  51. ---@class UIVoyage__Generate_race7
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public start UnityEngine.GameObject
  54. ---@field public finsh UnityEngine.GameObject
  55. ---@class UIVoyage__Generate_race6
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public start UnityEngine.GameObject
  58. ---@field public finsh UnityEngine.GameObject
  59. ---@class UIVoyage__Generate_race5
  60. ---@field public gameObject UnityEngine.GameObject
  61. ---@field public start UnityEngine.GameObject
  62. ---@field public finsh UnityEngine.GameObject
  63. ---@class UIVoyage__Generate_race4
  64. ---@field public gameObject UnityEngine.GameObject
  65. ---@field public start UnityEngine.GameObject
  66. ---@field public finsh UnityEngine.GameObject
  67. ---@class UIVoyage__Generate_race3
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public start UnityEngine.GameObject
  70. ---@field public finsh UnityEngine.GameObject
  71. ---@class UIVoyage__Generate_race2
  72. ---@field public gameObject UnityEngine.GameObject
  73. ---@field public start UnityEngine.GameObject
  74. ---@field public finsh UnityEngine.GameObject
  75. ---@class UIVoyage__Generate_race1
  76. ---@field public gameObject UnityEngine.GameObject
  77. ---@field public start UnityEngine.GameObject
  78. ---@field public finsh UnityEngine.GameObject
  79. ---@class UIVoyage__Generate_traceGroup
  80. ---@field public gameObject UnityEngine.GameObject
  81. ---@field public scrollRect UnityEngine.UI.ScrollRect
  82. ---@class UIVoyage__Generate_AnyBtn
  83. ---@field public gameObject UnityEngine.GameObject
  84. ---@field public button UnityEngine.UI.Button
  85. ---@class UIVoyage__Generate
  86. ---@field private gameObject UnityEngine.GameObject
  87. ---@field private transform UnityEngine.Transform
  88. ---@field private AnyBtn UIVoyage__Generate_AnyBtn
  89. ---@field private traceGroup UIVoyage__Generate_traceGroup
  90. ---@field private race1 UIVoyage__Generate_race1
  91. ---@field private race2 UIVoyage__Generate_race2
  92. ---@field private race3 UIVoyage__Generate_race3
  93. ---@field private race4 UIVoyage__Generate_race4
  94. ---@field private race5 UIVoyage__Generate_race5
  95. ---@field private race6 UIVoyage__Generate_race6
  96. ---@field private race7 UIVoyage__Generate_race7
  97. ---@field private race8 UIVoyage__Generate_race8
  98. ---@field private race9 UIVoyage__Generate_race9
  99. ---@field private race10 UIVoyage__Generate_race10
  100. ---@field private airShipRoot1 UnityEngine.GameObject
  101. ---@field private airShipRoot2 UnityEngine.GameObject
  102. ---@field private airShipRoot3 UnityEngine.GameObject
  103. ---@field private airShipRoot4 UnityEngine.GameObject
  104. ---@field private airShipRoot5 UnityEngine.GameObject
  105. ---@field private airShipRoot6 UnityEngine.GameObject
  106. ---@field private airShipRoot7 UnityEngine.GameObject
  107. ---@field private airShipRoot8 UnityEngine.GameObject
  108. ---@field private airShipRoot9 UnityEngine.GameObject
  109. ---@field private airShipRoot10 UnityEngine.GameObject
  110. ---@field private btnRank UIVoyage__Generate_btnRank
  111. ---@field private btnShop UIVoyage__Generate_btnShop
  112. ---@field private btnLog UIVoyage__Generate_btnLog
  113. ---@field private voyageBtn UIVoyage__Generate_voyageBtn
  114. ---@field private rewardBtn UIVoyage__Generate_rewardBtn
  115. ---@field private btnChat UIVoyage__Generate_btnChat
  116. ---@field private backBtn UIVoyage__Generate_backBtn
  117. ---@field private remindNumTxt UIVoyage__Generate_remindNumTxt
  118. ---@field private btnAdd UIVoyage__Generate_btnAdd
  119. ---@field private btnInfo UIVoyage__Generate_btnInfo
  120. local UIVoyageView = class("UIVoyageView", require("UIViewBase"))
  121. function UIVoyageView:ctor()
  122. end
  123. ---@private
  124. function UIVoyageView:SetActive(result)
  125. self.gameObject:SetActive(result)
  126. end
  127. ---@private
  128. function UIVoyageView:InitGenerate(Root, data)
  129. self.transform = Root
  130. self.inited = true
  131. if self.super.Init then
  132. self.super.Init(self)
  133. end
  134. local tmp
  135. self:InitGenerate__1(Root,data)
  136. self:InitGenerate__2(Root,data)
  137. self:InitGenerate__3(Root,data)
  138. self:InitGenerate__4(Root,data)
  139. self:InitGenerate__5(Root,data)
  140. self:InitGenerate__6(Root,data)
  141. self:InitGenerate__7(Root,data)
  142. self:InitGenerate__8(Root,data)
  143. self:InitGenerate__9(Root,data)
  144. self:InitGenerate__10(Root,data)
  145. self:InitGenerate__11(Root,data)
  146. self:InitGenerate__12(Root,data)
  147. self:InitGenerate__13(Root,data)
  148. self:InitGenerate__14(Root,data)
  149. self:InitGenerate__15(Root,data)
  150. self:InitGenerate__16(Root,data)
  151. self:InitGenerate__17(Root,data)
  152. self:InitGenerate__18(Root,data)
  153. self:InitGenerate__19(Root,data)
  154. self:InitGenerate__20(Root,data)
  155. self:InitGenerate__21(Root,data)
  156. self:InitGenerate__22(Root,data)
  157. self:InitGenerate__23(Root,data)
  158. self:InitGenerate__24(Root,data)
  159. self:InitGenerate__25(Root,data)
  160. self:InitGenerate__26(Root,data)
  161. self:InitGenerate__27(Root,data)
  162. self:InitGenerate__28(Root,data)
  163. self:InitGenerate__29(Root,data)
  164. self:InitGenerate__30(Root,data)
  165. self:InitGenerate__31(Root,data)
  166. self:InitGenerate__32(Root,data)
  167. self:InitGenerate__33(Root,data)
  168. self:InitGenerate__34(Root,data)
  169. self:InitGenerate__35(Root,data)
  170. self:InitGenerate__36(Root,data)
  171. self:InitGenerate__37(Root,data)
  172. self:InitGenerate__38(Root,data)
  173. self:InitGenerate__39(Root,data)
  174. self:InitGenerate__40(Root,data)
  175. self:InitGenerate__41(Root,data)
  176. self:InitGenerate__42(Root,data)
  177. self:InitGenerate__43(Root,data)
  178. self:InitGenerate__44(Root,data)
  179. self:InitGenerate__45(Root,data)
  180. self:InitGenerate__46(Root,data)
  181. self:InitGenerate__47(Root,data)
  182. self:InitGenerate__48(Root,data)
  183. self:InitGenerate__49(Root,data)
  184. self:InitGenerate__50(Root,data)
  185. self:InitGenerate__51(Root,data)
  186. self:InitGenerate__52(Root,data)
  187. self:InitGenerate__53(Root,data)
  188. self:InitGenerate__54(Root,data)
  189. end
  190. ---@private
  191. function UIVoyageView:InitGenerate__1(Root, data)
  192. --[[
  193. UIAnimator/Alpha
  194. --]]
  195. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  196. if tolua.getpeer(tmp) == nil then
  197. tolua.setpeer(tmp, {})
  198. end
  199. self.AnyBtn = tmp
  200. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  201. end
  202. ---@private
  203. function UIVoyageView:InitGenerate__2(Root, data)
  204. --[[
  205. UIAnimator/Window/TraceGroup
  206. --]]
  207. local tmp = Root:Find("UIAnimator/Window/TraceGroup").gameObject
  208. if tolua.getpeer(tmp) == nil then
  209. tolua.setpeer(tmp, {})
  210. end
  211. self.traceGroup = tmp
  212. tmp.scrollRect = tmp:GetComponent(Enum.TypeInfo.ScrollRect)
  213. end
  214. ---@private
  215. function UIVoyageView:InitGenerate__3(Root, data)
  216. --[[
  217. UIAnimator/Window/TraceGroup/Viewport/Content/Race1
  218. --]]
  219. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race1").gameObject
  220. if tolua.getpeer(tmp) == nil then
  221. tolua.setpeer(tmp, {})
  222. end
  223. self.race1 = tmp
  224. end
  225. ---@private
  226. function UIVoyageView:InitGenerate__4(Root, data)
  227. --[[
  228. UIAnimator/Window/TraceGroup/Viewport/Content/Race1/Start
  229. --]]
  230. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race1/Start").gameObject
  231. if tolua.getpeer(tmp) == nil then
  232. tolua.setpeer(tmp, {})
  233. end
  234. self.race1.start = tmp
  235. end
  236. ---@private
  237. function UIVoyageView:InitGenerate__5(Root, data)
  238. --[[
  239. UIAnimator/Window/TraceGroup/Viewport/Content/Race1/Finsh
  240. --]]
  241. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race1/Finsh").gameObject
  242. if tolua.getpeer(tmp) == nil then
  243. tolua.setpeer(tmp, {})
  244. end
  245. self.race1.finsh = tmp
  246. end
  247. ---@private
  248. function UIVoyageView:InitGenerate__6(Root, data)
  249. --[[
  250. UIAnimator/Window/TraceGroup/Viewport/Content/Race2
  251. --]]
  252. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race2").gameObject
  253. if tolua.getpeer(tmp) == nil then
  254. tolua.setpeer(tmp, {})
  255. end
  256. self.race2 = tmp
  257. end
  258. ---@private
  259. function UIVoyageView:InitGenerate__7(Root, data)
  260. --[[
  261. UIAnimator/Window/TraceGroup/Viewport/Content/Race2/Start
  262. --]]
  263. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race2/Start").gameObject
  264. if tolua.getpeer(tmp) == nil then
  265. tolua.setpeer(tmp, {})
  266. end
  267. self.race2.start = tmp
  268. end
  269. ---@private
  270. function UIVoyageView:InitGenerate__8(Root, data)
  271. --[[
  272. UIAnimator/Window/TraceGroup/Viewport/Content/Race2/Finsh
  273. --]]
  274. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race2/Finsh").gameObject
  275. if tolua.getpeer(tmp) == nil then
  276. tolua.setpeer(tmp, {})
  277. end
  278. self.race2.finsh = tmp
  279. end
  280. ---@private
  281. function UIVoyageView:InitGenerate__9(Root, data)
  282. --[[
  283. UIAnimator/Window/TraceGroup/Viewport/Content/Race3
  284. --]]
  285. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race3").gameObject
  286. if tolua.getpeer(tmp) == nil then
  287. tolua.setpeer(tmp, {})
  288. end
  289. self.race3 = tmp
  290. end
  291. ---@private
  292. function UIVoyageView:InitGenerate__10(Root, data)
  293. --[[
  294. UIAnimator/Window/TraceGroup/Viewport/Content/Race3/Start
  295. --]]
  296. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race3/Start").gameObject
  297. if tolua.getpeer(tmp) == nil then
  298. tolua.setpeer(tmp, {})
  299. end
  300. self.race3.start = tmp
  301. end
  302. ---@private
  303. function UIVoyageView:InitGenerate__11(Root, data)
  304. --[[
  305. UIAnimator/Window/TraceGroup/Viewport/Content/Race3/Finsh
  306. --]]
  307. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race3/Finsh").gameObject
  308. if tolua.getpeer(tmp) == nil then
  309. tolua.setpeer(tmp, {})
  310. end
  311. self.race3.finsh = tmp
  312. end
  313. ---@private
  314. function UIVoyageView:InitGenerate__12(Root, data)
  315. --[[
  316. UIAnimator/Window/TraceGroup/Viewport/Content/Race4
  317. --]]
  318. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race4").gameObject
  319. if tolua.getpeer(tmp) == nil then
  320. tolua.setpeer(tmp, {})
  321. end
  322. self.race4 = tmp
  323. end
  324. ---@private
  325. function UIVoyageView:InitGenerate__13(Root, data)
  326. --[[
  327. UIAnimator/Window/TraceGroup/Viewport/Content/Race4/Start
  328. --]]
  329. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race4/Start").gameObject
  330. if tolua.getpeer(tmp) == nil then
  331. tolua.setpeer(tmp, {})
  332. end
  333. self.race4.start = tmp
  334. end
  335. ---@private
  336. function UIVoyageView:InitGenerate__14(Root, data)
  337. --[[
  338. UIAnimator/Window/TraceGroup/Viewport/Content/Race4/Finsh
  339. --]]
  340. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race4/Finsh").gameObject
  341. if tolua.getpeer(tmp) == nil then
  342. tolua.setpeer(tmp, {})
  343. end
  344. self.race4.finsh = tmp
  345. end
  346. ---@private
  347. function UIVoyageView:InitGenerate__15(Root, data)
  348. --[[
  349. UIAnimator/Window/TraceGroup/Viewport/Content/Race5
  350. --]]
  351. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race5").gameObject
  352. if tolua.getpeer(tmp) == nil then
  353. tolua.setpeer(tmp, {})
  354. end
  355. self.race5 = tmp
  356. end
  357. ---@private
  358. function UIVoyageView:InitGenerate__16(Root, data)
  359. --[[
  360. UIAnimator/Window/TraceGroup/Viewport/Content/Race5/Start
  361. --]]
  362. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race5/Start").gameObject
  363. if tolua.getpeer(tmp) == nil then
  364. tolua.setpeer(tmp, {})
  365. end
  366. self.race5.start = tmp
  367. end
  368. ---@private
  369. function UIVoyageView:InitGenerate__17(Root, data)
  370. --[[
  371. UIAnimator/Window/TraceGroup/Viewport/Content/Race5/Finsh
  372. --]]
  373. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race5/Finsh").gameObject
  374. if tolua.getpeer(tmp) == nil then
  375. tolua.setpeer(tmp, {})
  376. end
  377. self.race5.finsh = tmp
  378. end
  379. ---@private
  380. function UIVoyageView:InitGenerate__18(Root, data)
  381. --[[
  382. UIAnimator/Window/TraceGroup/Viewport/Content/Race6
  383. --]]
  384. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race6").gameObject
  385. if tolua.getpeer(tmp) == nil then
  386. tolua.setpeer(tmp, {})
  387. end
  388. self.race6 = tmp
  389. end
  390. ---@private
  391. function UIVoyageView:InitGenerate__19(Root, data)
  392. --[[
  393. UIAnimator/Window/TraceGroup/Viewport/Content/Race6/Start
  394. --]]
  395. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race6/Start").gameObject
  396. if tolua.getpeer(tmp) == nil then
  397. tolua.setpeer(tmp, {})
  398. end
  399. self.race6.start = tmp
  400. end
  401. ---@private
  402. function UIVoyageView:InitGenerate__20(Root, data)
  403. --[[
  404. UIAnimator/Window/TraceGroup/Viewport/Content/Race6/Finsh
  405. --]]
  406. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race6/Finsh").gameObject
  407. if tolua.getpeer(tmp) == nil then
  408. tolua.setpeer(tmp, {})
  409. end
  410. self.race6.finsh = tmp
  411. end
  412. ---@private
  413. function UIVoyageView:InitGenerate__21(Root, data)
  414. --[[
  415. UIAnimator/Window/TraceGroup/Viewport/Content/Race7
  416. --]]
  417. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race7").gameObject
  418. if tolua.getpeer(tmp) == nil then
  419. tolua.setpeer(tmp, {})
  420. end
  421. self.race7 = tmp
  422. end
  423. ---@private
  424. function UIVoyageView:InitGenerate__22(Root, data)
  425. --[[
  426. UIAnimator/Window/TraceGroup/Viewport/Content/Race7/Start
  427. --]]
  428. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race7/Start").gameObject
  429. if tolua.getpeer(tmp) == nil then
  430. tolua.setpeer(tmp, {})
  431. end
  432. self.race7.start = tmp
  433. end
  434. ---@private
  435. function UIVoyageView:InitGenerate__23(Root, data)
  436. --[[
  437. UIAnimator/Window/TraceGroup/Viewport/Content/Race7/Finsh
  438. --]]
  439. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race7/Finsh").gameObject
  440. if tolua.getpeer(tmp) == nil then
  441. tolua.setpeer(tmp, {})
  442. end
  443. self.race7.finsh = tmp
  444. end
  445. ---@private
  446. function UIVoyageView:InitGenerate__24(Root, data)
  447. --[[
  448. UIAnimator/Window/TraceGroup/Viewport/Content/Race8
  449. --]]
  450. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race8").gameObject
  451. if tolua.getpeer(tmp) == nil then
  452. tolua.setpeer(tmp, {})
  453. end
  454. self.race8 = tmp
  455. end
  456. ---@private
  457. function UIVoyageView:InitGenerate__25(Root, data)
  458. --[[
  459. UIAnimator/Window/TraceGroup/Viewport/Content/Race8/Start
  460. --]]
  461. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race8/Start").gameObject
  462. if tolua.getpeer(tmp) == nil then
  463. tolua.setpeer(tmp, {})
  464. end
  465. self.race8.start = tmp
  466. end
  467. ---@private
  468. function UIVoyageView:InitGenerate__26(Root, data)
  469. --[[
  470. UIAnimator/Window/TraceGroup/Viewport/Content/Race8/Finsh
  471. --]]
  472. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race8/Finsh").gameObject
  473. if tolua.getpeer(tmp) == nil then
  474. tolua.setpeer(tmp, {})
  475. end
  476. self.race8.finsh = tmp
  477. end
  478. ---@private
  479. function UIVoyageView:InitGenerate__27(Root, data)
  480. --[[
  481. UIAnimator/Window/TraceGroup/Viewport/Content/Race9
  482. --]]
  483. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race9").gameObject
  484. if tolua.getpeer(tmp) == nil then
  485. tolua.setpeer(tmp, {})
  486. end
  487. self.race9 = tmp
  488. end
  489. ---@private
  490. function UIVoyageView:InitGenerate__28(Root, data)
  491. --[[
  492. UIAnimator/Window/TraceGroup/Viewport/Content/Race9/Start
  493. --]]
  494. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race9/Start").gameObject
  495. if tolua.getpeer(tmp) == nil then
  496. tolua.setpeer(tmp, {})
  497. end
  498. self.race9.start = tmp
  499. end
  500. ---@private
  501. function UIVoyageView:InitGenerate__29(Root, data)
  502. --[[
  503. UIAnimator/Window/TraceGroup/Viewport/Content/Race9/Finsh
  504. --]]
  505. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race9/Finsh").gameObject
  506. if tolua.getpeer(tmp) == nil then
  507. tolua.setpeer(tmp, {})
  508. end
  509. self.race9.finsh = tmp
  510. end
  511. ---@private
  512. function UIVoyageView:InitGenerate__30(Root, data)
  513. --[[
  514. UIAnimator/Window/TraceGroup/Viewport/Content/Race10
  515. --]]
  516. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race10").gameObject
  517. if tolua.getpeer(tmp) == nil then
  518. tolua.setpeer(tmp, {})
  519. end
  520. self.race10 = tmp
  521. end
  522. ---@private
  523. function UIVoyageView:InitGenerate__31(Root, data)
  524. --[[
  525. UIAnimator/Window/TraceGroup/Viewport/Content/Race10/Start
  526. --]]
  527. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race10/Start").gameObject
  528. if tolua.getpeer(tmp) == nil then
  529. tolua.setpeer(tmp, {})
  530. end
  531. self.race10.start = tmp
  532. end
  533. ---@private
  534. function UIVoyageView:InitGenerate__32(Root, data)
  535. --[[
  536. UIAnimator/Window/TraceGroup/Viewport/Content/Race10/Finsh
  537. --]]
  538. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/Race10/Finsh").gameObject
  539. if tolua.getpeer(tmp) == nil then
  540. tolua.setpeer(tmp, {})
  541. end
  542. self.race10.finsh = tmp
  543. end
  544. ---@private
  545. function UIVoyageView:InitGenerate__33(Root, data)
  546. --[[
  547. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot1
  548. --]]
  549. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot1").gameObject
  550. if tolua.getpeer(tmp) == nil then
  551. tolua.setpeer(tmp, {})
  552. end
  553. self.airShipRoot1 = tmp
  554. end
  555. ---@private
  556. function UIVoyageView:InitGenerate__34(Root, data)
  557. --[[
  558. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot2
  559. --]]
  560. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot2").gameObject
  561. if tolua.getpeer(tmp) == nil then
  562. tolua.setpeer(tmp, {})
  563. end
  564. self.airShipRoot2 = tmp
  565. end
  566. ---@private
  567. function UIVoyageView:InitGenerate__35(Root, data)
  568. --[[
  569. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot3
  570. --]]
  571. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot3").gameObject
  572. if tolua.getpeer(tmp) == nil then
  573. tolua.setpeer(tmp, {})
  574. end
  575. self.airShipRoot3 = tmp
  576. end
  577. ---@private
  578. function UIVoyageView:InitGenerate__36(Root, data)
  579. --[[
  580. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot4
  581. --]]
  582. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot4").gameObject
  583. if tolua.getpeer(tmp) == nil then
  584. tolua.setpeer(tmp, {})
  585. end
  586. self.airShipRoot4 = tmp
  587. end
  588. ---@private
  589. function UIVoyageView:InitGenerate__37(Root, data)
  590. --[[
  591. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot5
  592. --]]
  593. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot5").gameObject
  594. if tolua.getpeer(tmp) == nil then
  595. tolua.setpeer(tmp, {})
  596. end
  597. self.airShipRoot5 = tmp
  598. end
  599. ---@private
  600. function UIVoyageView:InitGenerate__38(Root, data)
  601. --[[
  602. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot6
  603. --]]
  604. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot6").gameObject
  605. if tolua.getpeer(tmp) == nil then
  606. tolua.setpeer(tmp, {})
  607. end
  608. self.airShipRoot6 = tmp
  609. end
  610. ---@private
  611. function UIVoyageView:InitGenerate__39(Root, data)
  612. --[[
  613. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot7
  614. --]]
  615. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot7").gameObject
  616. if tolua.getpeer(tmp) == nil then
  617. tolua.setpeer(tmp, {})
  618. end
  619. self.airShipRoot7 = tmp
  620. end
  621. ---@private
  622. function UIVoyageView:InitGenerate__40(Root, data)
  623. --[[
  624. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot8
  625. --]]
  626. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot8").gameObject
  627. if tolua.getpeer(tmp) == nil then
  628. tolua.setpeer(tmp, {})
  629. end
  630. self.airShipRoot8 = tmp
  631. end
  632. ---@private
  633. function UIVoyageView:InitGenerate__41(Root, data)
  634. --[[
  635. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot9
  636. --]]
  637. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot9").gameObject
  638. if tolua.getpeer(tmp) == nil then
  639. tolua.setpeer(tmp, {})
  640. end
  641. self.airShipRoot9 = tmp
  642. end
  643. ---@private
  644. function UIVoyageView:InitGenerate__42(Root, data)
  645. --[[
  646. UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot10
  647. --]]
  648. local tmp = Root:Find("UIAnimator/Window/TraceGroup/Viewport/Content/AirShipRoot10").gameObject
  649. if tolua.getpeer(tmp) == nil then
  650. tolua.setpeer(tmp, {})
  651. end
  652. self.airShipRoot10 = tmp
  653. end
  654. ---@private
  655. function UIVoyageView:InitGenerate__43(Root, data)
  656. --[[
  657. UIAnimator/Window/UITitle/Top/BtnGroup/BtnRank
  658. --]]
  659. local tmp = Root:Find("UIAnimator/Window/UITitle/Top/BtnGroup/BtnRank").gameObject
  660. if tolua.getpeer(tmp) == nil then
  661. tolua.setpeer(tmp, {})
  662. end
  663. self.btnRank = tmp
  664. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  665. end
  666. ---@private
  667. function UIVoyageView:InitGenerate__44(Root, data)
  668. --[[
  669. UIAnimator/Window/UITitle/Top/BtnGroup/BtnShop
  670. --]]
  671. local tmp = Root:Find("UIAnimator/Window/UITitle/Top/BtnGroup/BtnShop").gameObject
  672. if tolua.getpeer(tmp) == nil then
  673. tolua.setpeer(tmp, {})
  674. end
  675. self.btnShop = tmp
  676. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  677. end
  678. ---@private
  679. function UIVoyageView:InitGenerate__45(Root, data)
  680. --[[
  681. UIAnimator/Window/UITitle/Top/BtnGroup/BtnLog
  682. --]]
  683. local tmp = Root:Find("UIAnimator/Window/UITitle/Top/BtnGroup/BtnLog").gameObject
  684. if tolua.getpeer(tmp) == nil then
  685. tolua.setpeer(tmp, {})
  686. end
  687. self.btnLog = tmp
  688. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  689. end
  690. ---@private
  691. function UIVoyageView:InitGenerate__46(Root, data)
  692. --[[
  693. UIAnimator/Window/BottomView/VoyageBtn
  694. --]]
  695. local tmp = Root:Find("UIAnimator/Window/BottomView/VoyageBtn").gameObject
  696. if tolua.getpeer(tmp) == nil then
  697. tolua.setpeer(tmp, {})
  698. end
  699. self.voyageBtn = tmp
  700. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  701. end
  702. ---@private
  703. function UIVoyageView:InitGenerate__47(Root, data)
  704. --[[
  705. UIAnimator/Window/BottomView/VoyageBtn/Text
  706. --]]
  707. local tmp = Root:Find("UIAnimator/Window/BottomView/VoyageBtn/Text").gameObject
  708. if tolua.getpeer(tmp) == nil then
  709. tolua.setpeer(tmp, {})
  710. end
  711. self.voyageBtn.text = tmp
  712. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  713. end
  714. ---@private
  715. function UIVoyageView:InitGenerate__48(Root, data)
  716. --[[
  717. UIAnimator/Window/BottomView/RewardBtn
  718. --]]
  719. local tmp = Root:Find("UIAnimator/Window/BottomView/RewardBtn").gameObject
  720. if tolua.getpeer(tmp) == nil then
  721. tolua.setpeer(tmp, {})
  722. end
  723. self.rewardBtn = tmp
  724. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  725. end
  726. ---@private
  727. function UIVoyageView:InitGenerate__49(Root, data)
  728. --[[
  729. UIAnimator/Window/BottomView/RewardBtn/Text
  730. --]]
  731. local tmp = Root:Find("UIAnimator/Window/BottomView/RewardBtn/Text").gameObject
  732. if tolua.getpeer(tmp) == nil then
  733. tolua.setpeer(tmp, {})
  734. end
  735. self.rewardBtn.text = tmp
  736. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  737. end
  738. ---@private
  739. function UIVoyageView:InitGenerate__50(Root, data)
  740. --[[
  741. UIAnimator/Window/BottomView/BtnChat
  742. --]]
  743. local tmp = Root:Find("UIAnimator/Window/BottomView/BtnChat").gameObject
  744. if tolua.getpeer(tmp) == nil then
  745. tolua.setpeer(tmp, {})
  746. end
  747. self.btnChat = tmp
  748. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  749. end
  750. ---@private
  751. function UIVoyageView:InitGenerate__51(Root, data)
  752. --[[
  753. UIAnimator/Window/BtnBack
  754. --]]
  755. local tmp = Root:Find("UIAnimator/Window/BtnBack").gameObject
  756. if tolua.getpeer(tmp) == nil then
  757. tolua.setpeer(tmp, {})
  758. end
  759. self.backBtn = tmp
  760. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  761. end
  762. ---@private
  763. function UIVoyageView:InitGenerate__52(Root, data)
  764. --[[
  765. UIAnimator/Window/Times/RemindNumTxt
  766. --]]
  767. local tmp = Root:Find("UIAnimator/Window/Times/RemindNumTxt").gameObject
  768. if tolua.getpeer(tmp) == nil then
  769. tolua.setpeer(tmp, {})
  770. end
  771. self.remindNumTxt = tmp
  772. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  773. end
  774. ---@private
  775. function UIVoyageView:InitGenerate__53(Root, data)
  776. --[[
  777. UIAnimator/Window/Times/BtnAdd
  778. --]]
  779. local tmp = Root:Find("UIAnimator/Window/Times/BtnAdd").gameObject
  780. if tolua.getpeer(tmp) == nil then
  781. tolua.setpeer(tmp, {})
  782. end
  783. self.btnAdd = tmp
  784. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  785. end
  786. ---@private
  787. function UIVoyageView:InitGenerate__54(Root, data)
  788. --[[
  789. UIAnimator/Window/BtnInfo
  790. --]]
  791. local tmp = Root:Find("UIAnimator/Window/BtnInfo").gameObject
  792. if tolua.getpeer(tmp) == nil then
  793. tolua.setpeer(tmp, {})
  794. end
  795. self.btnInfo = tmp
  796. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  797. end
  798. ---@private
  799. function UIVoyageView:GenerateDestroy()
  800. if tolua.getpeer(self.rewardBtn.text) ~= nil then
  801. tolua.setpeer(self.rewardBtn.text, nil)
  802. end
  803. if tolua.getpeer(self.voyageBtn.text) ~= nil then
  804. tolua.setpeer(self.voyageBtn.text, nil)
  805. end
  806. if tolua.getpeer(self.race10.finsh) ~= nil then
  807. tolua.setpeer(self.race10.finsh, nil)
  808. end
  809. if tolua.getpeer(self.race10.start) ~= nil then
  810. tolua.setpeer(self.race10.start, nil)
  811. end
  812. if tolua.getpeer(self.race9.finsh) ~= nil then
  813. tolua.setpeer(self.race9.finsh, nil)
  814. end
  815. if tolua.getpeer(self.race9.start) ~= nil then
  816. tolua.setpeer(self.race9.start, nil)
  817. end
  818. if tolua.getpeer(self.race8.finsh) ~= nil then
  819. tolua.setpeer(self.race8.finsh, nil)
  820. end
  821. if tolua.getpeer(self.race8.start) ~= nil then
  822. tolua.setpeer(self.race8.start, nil)
  823. end
  824. if tolua.getpeer(self.race7.finsh) ~= nil then
  825. tolua.setpeer(self.race7.finsh, nil)
  826. end
  827. if tolua.getpeer(self.race7.start) ~= nil then
  828. tolua.setpeer(self.race7.start, nil)
  829. end
  830. if tolua.getpeer(self.race6.finsh) ~= nil then
  831. tolua.setpeer(self.race6.finsh, nil)
  832. end
  833. if tolua.getpeer(self.race6.start) ~= nil then
  834. tolua.setpeer(self.race6.start, nil)
  835. end
  836. if tolua.getpeer(self.race5.finsh) ~= nil then
  837. tolua.setpeer(self.race5.finsh, nil)
  838. end
  839. if tolua.getpeer(self.race5.start) ~= nil then
  840. tolua.setpeer(self.race5.start, nil)
  841. end
  842. if tolua.getpeer(self.race4.finsh) ~= nil then
  843. tolua.setpeer(self.race4.finsh, nil)
  844. end
  845. if tolua.getpeer(self.race4.start) ~= nil then
  846. tolua.setpeer(self.race4.start, nil)
  847. end
  848. if tolua.getpeer(self.race3.finsh) ~= nil then
  849. tolua.setpeer(self.race3.finsh, nil)
  850. end
  851. if tolua.getpeer(self.race3.start) ~= nil then
  852. tolua.setpeer(self.race3.start, nil)
  853. end
  854. if tolua.getpeer(self.race2.finsh) ~= nil then
  855. tolua.setpeer(self.race2.finsh, nil)
  856. end
  857. if tolua.getpeer(self.race2.start) ~= nil then
  858. tolua.setpeer(self.race2.start, nil)
  859. end
  860. if tolua.getpeer(self.race1.finsh) ~= nil then
  861. tolua.setpeer(self.race1.finsh, nil)
  862. end
  863. if tolua.getpeer(self.race1.start) ~= nil then
  864. tolua.setpeer(self.race1.start, nil)
  865. end
  866. if tolua.getpeer(self.AnyBtn) ~= nil then
  867. tolua.setpeer(self.AnyBtn, nil)
  868. end
  869. self.AnyBtn = nil
  870. if tolua.getpeer(self.traceGroup) ~= nil then
  871. tolua.setpeer(self.traceGroup, nil)
  872. end
  873. self.traceGroup = nil
  874. if tolua.getpeer(self.race1) ~= nil then
  875. tolua.setpeer(self.race1, nil)
  876. end
  877. self.race1 = nil
  878. if tolua.getpeer(self.race2) ~= nil then
  879. tolua.setpeer(self.race2, nil)
  880. end
  881. self.race2 = nil
  882. if tolua.getpeer(self.race3) ~= nil then
  883. tolua.setpeer(self.race3, nil)
  884. end
  885. self.race3 = nil
  886. if tolua.getpeer(self.race4) ~= nil then
  887. tolua.setpeer(self.race4, nil)
  888. end
  889. self.race4 = nil
  890. if tolua.getpeer(self.race5) ~= nil then
  891. tolua.setpeer(self.race5, nil)
  892. end
  893. self.race5 = nil
  894. if tolua.getpeer(self.race6) ~= nil then
  895. tolua.setpeer(self.race6, nil)
  896. end
  897. self.race6 = nil
  898. if tolua.getpeer(self.race7) ~= nil then
  899. tolua.setpeer(self.race7, nil)
  900. end
  901. self.race7 = nil
  902. if tolua.getpeer(self.race8) ~= nil then
  903. tolua.setpeer(self.race8, nil)
  904. end
  905. self.race8 = nil
  906. if tolua.getpeer(self.race9) ~= nil then
  907. tolua.setpeer(self.race9, nil)
  908. end
  909. self.race9 = nil
  910. if tolua.getpeer(self.race10) ~= nil then
  911. tolua.setpeer(self.race10, nil)
  912. end
  913. self.race10 = nil
  914. if tolua.getpeer(self.airShipRoot1) ~= nil then
  915. tolua.setpeer(self.airShipRoot1, nil)
  916. end
  917. self.airShipRoot1 = nil
  918. if tolua.getpeer(self.airShipRoot2) ~= nil then
  919. tolua.setpeer(self.airShipRoot2, nil)
  920. end
  921. self.airShipRoot2 = nil
  922. if tolua.getpeer(self.airShipRoot3) ~= nil then
  923. tolua.setpeer(self.airShipRoot3, nil)
  924. end
  925. self.airShipRoot3 = nil
  926. if tolua.getpeer(self.airShipRoot4) ~= nil then
  927. tolua.setpeer(self.airShipRoot4, nil)
  928. end
  929. self.airShipRoot4 = nil
  930. if tolua.getpeer(self.airShipRoot5) ~= nil then
  931. tolua.setpeer(self.airShipRoot5, nil)
  932. end
  933. self.airShipRoot5 = nil
  934. if tolua.getpeer(self.airShipRoot6) ~= nil then
  935. tolua.setpeer(self.airShipRoot6, nil)
  936. end
  937. self.airShipRoot6 = nil
  938. if tolua.getpeer(self.airShipRoot7) ~= nil then
  939. tolua.setpeer(self.airShipRoot7, nil)
  940. end
  941. self.airShipRoot7 = nil
  942. if tolua.getpeer(self.airShipRoot8) ~= nil then
  943. tolua.setpeer(self.airShipRoot8, nil)
  944. end
  945. self.airShipRoot8 = nil
  946. if tolua.getpeer(self.airShipRoot9) ~= nil then
  947. tolua.setpeer(self.airShipRoot9, nil)
  948. end
  949. self.airShipRoot9 = nil
  950. if tolua.getpeer(self.airShipRoot10) ~= nil then
  951. tolua.setpeer(self.airShipRoot10, nil)
  952. end
  953. self.airShipRoot10 = nil
  954. if tolua.getpeer(self.btnRank) ~= nil then
  955. tolua.setpeer(self.btnRank, nil)
  956. end
  957. self.btnRank = nil
  958. if tolua.getpeer(self.btnShop) ~= nil then
  959. tolua.setpeer(self.btnShop, nil)
  960. end
  961. self.btnShop = nil
  962. if tolua.getpeer(self.btnLog) ~= nil then
  963. tolua.setpeer(self.btnLog, nil)
  964. end
  965. self.btnLog = nil
  966. if tolua.getpeer(self.voyageBtn) ~= nil then
  967. tolua.setpeer(self.voyageBtn, nil)
  968. end
  969. self.voyageBtn = nil
  970. if tolua.getpeer(self.rewardBtn) ~= nil then
  971. tolua.setpeer(self.rewardBtn, nil)
  972. end
  973. self.rewardBtn = nil
  974. if tolua.getpeer(self.btnChat) ~= nil then
  975. tolua.setpeer(self.btnChat, nil)
  976. end
  977. self.btnChat = nil
  978. if tolua.getpeer(self.backBtn) ~= nil then
  979. tolua.setpeer(self.backBtn, nil)
  980. end
  981. self.backBtn = nil
  982. if tolua.getpeer(self.remindNumTxt) ~= nil then
  983. tolua.setpeer(self.remindNumTxt, nil)
  984. end
  985. self.remindNumTxt = nil
  986. if tolua.getpeer(self.btnAdd) ~= nil then
  987. tolua.setpeer(self.btnAdd, nil)
  988. end
  989. self.btnAdd = nil
  990. if tolua.getpeer(self.btnInfo) ~= nil then
  991. tolua.setpeer(self.btnInfo, nil)
  992. end
  993. self.btnInfo = nil
  994. self.transform = nil
  995. self.gameObject = nil
  996. self.inited = false
  997. end
  998. return UIVoyageView