UIVoyageView_Generate.lua 29 KB

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