UIVoyagePrepareView_Generate.lua 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274
  1. ---@class UIVoyagePrepare__Generate_currency2_num
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIVoyagePrepare__Generate_currency2_icon
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public image UnityEngine.UI.Image
  7. ---@class UIVoyagePrepare__Generate_currency2
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public icon UIVoyagePrepare__Generate_currency2_icon
  10. ---@field public num UIVoyagePrepare__Generate_currency2_num
  11. ---@class UIVoyagePrepare__Generate_currency1_num
  12. ---@field public gameObject UnityEngine.GameObject
  13. ---@field public text UnityEngine.UI.Text
  14. ---@class UIVoyagePrepare__Generate_currency1_icon
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public image UnityEngine.UI.Image
  17. ---@class UIVoyagePrepare__Generate_currency1
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public icon UIVoyagePrepare__Generate_currency1_icon
  20. ---@field public num UIVoyagePrepare__Generate_currency1_num
  21. ---@class UIVoyagePrepare__Generate_closeTipsToggle
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public toggle UnityEngine.UI.Toggle
  24. ---@class UIVoyagePrepare__Generate_btnUpOne_cost_num
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public text UnityEngine.UI.Text
  27. ---@class UIVoyagePrepare__Generate_btnUpOne_cost_icon
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public image UnityEngine.UI.Image
  30. ---@class UIVoyagePrepare__Generate_btnUpOne_cost
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public icon UIVoyagePrepare__Generate_btnUpOne_cost_icon
  33. ---@field public num UIVoyagePrepare__Generate_btnUpOne_cost_num
  34. ---@class UIVoyagePrepare__Generate_btnUpOne
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public button UnityEngine.UI.Button
  37. ---@field public cost UIVoyagePrepare__Generate_btnUpOne_cost
  38. ---@class UIVoyagePrepare__Generate_btnUpMax_cost_num
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public text UnityEngine.UI.Text
  41. ---@class UIVoyagePrepare__Generate_btnUpMax_cost_icon
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public image UnityEngine.UI.Image
  44. ---@class UIVoyagePrepare__Generate_btnUpMax_cost
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public icon UIVoyagePrepare__Generate_btnUpMax_cost_icon
  47. ---@field public num UIVoyagePrepare__Generate_btnUpMax_cost_num
  48. ---@class UIVoyagePrepare__Generate_btnUpMax
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public button UnityEngine.UI.Button
  51. ---@field public cost UIVoyagePrepare__Generate_btnUpMax_cost
  52. ---@class UIVoyagePrepare__Generate_ship1_rewardGroup
  53. ---@field public gameObject UnityEngine.GameObject
  54. ---@field public loopGridView SuperScrollView.LoopGridView
  55. ---@class UIVoyagePrepare__Generate_ship1_shipTitle
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public text TMPro.TextMeshProUGUI
  58. ---@class UIVoyagePrepare__Generate_ship1_airShipItem
  59. ---@field public gameObject UnityEngine.GameObject
  60. ---@field public animator UnityEngine.Animator
  61. ---@class UIVoyagePrepare__Generate_ship1_time
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public text UnityEngine.UI.Text
  64. ---@class UIVoyagePrepare__Generate_ship1_btnSetSail
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public button UnityEngine.UI.Button
  67. ---@class UIVoyagePrepare__Generate_ship1
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public off UnityEngine.GameObject
  70. ---@field public on UnityEngine.GameObject
  71. ---@field public btnSetSail UIVoyagePrepare__Generate_ship1_btnSetSail
  72. ---@field public time UIVoyagePrepare__Generate_ship1_time
  73. ---@field public airShipItem UIVoyagePrepare__Generate_ship1_airShipItem
  74. ---@field public shipTitle UIVoyagePrepare__Generate_ship1_shipTitle
  75. ---@field public rewardGroup UIVoyagePrepare__Generate_ship1_rewardGroup
  76. ---@class UIVoyagePrepare__Generate_ship2_rewardGroup
  77. ---@field public gameObject UnityEngine.GameObject
  78. ---@field public loopGridView SuperScrollView.LoopGridView
  79. ---@class UIVoyagePrepare__Generate_ship2_shipTitle
  80. ---@field public gameObject UnityEngine.GameObject
  81. ---@field public text TMPro.TextMeshProUGUI
  82. ---@class UIVoyagePrepare__Generate_ship2_airShipItem
  83. ---@field public gameObject UnityEngine.GameObject
  84. ---@field public animator UnityEngine.Animator
  85. ---@class UIVoyagePrepare__Generate_ship2_time
  86. ---@field public gameObject UnityEngine.GameObject
  87. ---@field public text UnityEngine.UI.Text
  88. ---@class UIVoyagePrepare__Generate_ship2_btnSetSail
  89. ---@field public gameObject UnityEngine.GameObject
  90. ---@field public button UnityEngine.UI.Button
  91. ---@class UIVoyagePrepare__Generate_ship2
  92. ---@field public gameObject UnityEngine.GameObject
  93. ---@field public off UnityEngine.GameObject
  94. ---@field public on UnityEngine.GameObject
  95. ---@field public btnSetSail UIVoyagePrepare__Generate_ship2_btnSetSail
  96. ---@field public time UIVoyagePrepare__Generate_ship2_time
  97. ---@field public airShipItem UIVoyagePrepare__Generate_ship2_airShipItem
  98. ---@field public shipTitle UIVoyagePrepare__Generate_ship2_shipTitle
  99. ---@field public rewardGroup UIVoyagePrepare__Generate_ship2_rewardGroup
  100. ---@class UIVoyagePrepare__Generate_ship3_rewardGroup
  101. ---@field public gameObject UnityEngine.GameObject
  102. ---@field public loopGridView SuperScrollView.LoopGridView
  103. ---@class UIVoyagePrepare__Generate_ship3_shipTitle
  104. ---@field public gameObject UnityEngine.GameObject
  105. ---@field public text TMPro.TextMeshProUGUI
  106. ---@class UIVoyagePrepare__Generate_ship3_airShipItem
  107. ---@field public gameObject UnityEngine.GameObject
  108. ---@field public animator UnityEngine.Animator
  109. ---@class UIVoyagePrepare__Generate_ship3_time
  110. ---@field public gameObject UnityEngine.GameObject
  111. ---@field public text UnityEngine.UI.Text
  112. ---@class UIVoyagePrepare__Generate_ship3_btnSetSail
  113. ---@field public gameObject UnityEngine.GameObject
  114. ---@field public button UnityEngine.UI.Button
  115. ---@class UIVoyagePrepare__Generate_ship3
  116. ---@field public gameObject UnityEngine.GameObject
  117. ---@field public off UnityEngine.GameObject
  118. ---@field public on UnityEngine.GameObject
  119. ---@field public btnSetSail UIVoyagePrepare__Generate_ship3_btnSetSail
  120. ---@field public time UIVoyagePrepare__Generate_ship3_time
  121. ---@field public airShipItem UIVoyagePrepare__Generate_ship3_airShipItem
  122. ---@field public shipTitle UIVoyagePrepare__Generate_ship3_shipTitle
  123. ---@field public rewardGroup UIVoyagePrepare__Generate_ship3_rewardGroup
  124. ---@class UIVoyagePrepare__Generate_ship4_rewardGroup
  125. ---@field public gameObject UnityEngine.GameObject
  126. ---@field public loopGridView SuperScrollView.LoopGridView
  127. ---@class UIVoyagePrepare__Generate_ship4_shipTitle
  128. ---@field public gameObject UnityEngine.GameObject
  129. ---@field public text TMPro.TextMeshProUGUI
  130. ---@class UIVoyagePrepare__Generate_ship4_airShipItem
  131. ---@field public gameObject UnityEngine.GameObject
  132. ---@field public animator UnityEngine.Animator
  133. ---@class UIVoyagePrepare__Generate_ship4_time
  134. ---@field public gameObject UnityEngine.GameObject
  135. ---@field public text UnityEngine.UI.Text
  136. ---@class UIVoyagePrepare__Generate_ship4_btnSetSail
  137. ---@field public gameObject UnityEngine.GameObject
  138. ---@field public button UnityEngine.UI.Button
  139. ---@class UIVoyagePrepare__Generate_ship4
  140. ---@field public gameObject UnityEngine.GameObject
  141. ---@field public off UnityEngine.GameObject
  142. ---@field public on UnityEngine.GameObject
  143. ---@field public btnSetSail UIVoyagePrepare__Generate_ship4_btnSetSail
  144. ---@field public time UIVoyagePrepare__Generate_ship4_time
  145. ---@field public airShipItem UIVoyagePrepare__Generate_ship4_airShipItem
  146. ---@field public shipTitle UIVoyagePrepare__Generate_ship4_shipTitle
  147. ---@field public rewardGroup UIVoyagePrepare__Generate_ship4_rewardGroup
  148. ---@class UIVoyagePrepare__Generate_ship5_rewardGroup
  149. ---@field public gameObject UnityEngine.GameObject
  150. ---@field public loopGridView SuperScrollView.LoopGridView
  151. ---@class UIVoyagePrepare__Generate_ship5_shipTitle
  152. ---@field public gameObject UnityEngine.GameObject
  153. ---@field public text TMPro.TextMeshProUGUI
  154. ---@class UIVoyagePrepare__Generate_ship5_airShipItem
  155. ---@field public gameObject UnityEngine.GameObject
  156. ---@field public animator UnityEngine.Animator
  157. ---@class UIVoyagePrepare__Generate_ship5_time
  158. ---@field public gameObject UnityEngine.GameObject
  159. ---@field public text UnityEngine.UI.Text
  160. ---@class UIVoyagePrepare__Generate_ship5_btnSetSail
  161. ---@field public gameObject UnityEngine.GameObject
  162. ---@field public button UnityEngine.UI.Button
  163. ---@class UIVoyagePrepare__Generate_ship5
  164. ---@field public gameObject UnityEngine.GameObject
  165. ---@field public off UnityEngine.GameObject
  166. ---@field public on UnityEngine.GameObject
  167. ---@field public btnSetSail UIVoyagePrepare__Generate_ship5_btnSetSail
  168. ---@field public time UIVoyagePrepare__Generate_ship5_time
  169. ---@field public airShipItem UIVoyagePrepare__Generate_ship5_airShipItem
  170. ---@field public shipTitle UIVoyagePrepare__Generate_ship5_shipTitle
  171. ---@field public rewardGroup UIVoyagePrepare__Generate_ship5_rewardGroup
  172. ---@class UIVoyagePrepare__Generate_btnClose
  173. ---@field public gameObject UnityEngine.GameObject
  174. ---@field public button UnityEngine.UI.Button
  175. ---@class UIVoyagePrepare__Generate_AnyBtn
  176. ---@field public gameObject UnityEngine.GameObject
  177. ---@field public button UnityEngine.UI.Button
  178. ---@class UIVoyagePrepare__Generate
  179. ---@field private gameObject UnityEngine.GameObject
  180. ---@field private transform UnityEngine.Transform
  181. ---@field private AnyBtn UIVoyagePrepare__Generate_AnyBtn
  182. ---@field private btnClose UIVoyagePrepare__Generate_btnClose
  183. ---@field private ship5 UIVoyagePrepare__Generate_ship5
  184. ---@field private ship4 UIVoyagePrepare__Generate_ship4
  185. ---@field private ship3 UIVoyagePrepare__Generate_ship3
  186. ---@field private ship2 UIVoyagePrepare__Generate_ship2
  187. ---@field private ship1 UIVoyagePrepare__Generate_ship1
  188. ---@field private btnUpMax UIVoyagePrepare__Generate_btnUpMax
  189. ---@field private btnUpOne UIVoyagePrepare__Generate_btnUpOne
  190. ---@field private closeTipsToggle UIVoyagePrepare__Generate_closeTipsToggle
  191. ---@field private currency1 UIVoyagePrepare__Generate_currency1
  192. ---@field private currency2 UIVoyagePrepare__Generate_currency2
  193. local UIVoyagePrepareView = class("UIVoyagePrepareView", require("UIViewBase"))
  194. function UIVoyagePrepareView:ctor()
  195. end
  196. ---@private
  197. function UIVoyagePrepareView:SetActive(result)
  198. self.gameObject:SetActive(result)
  199. end
  200. ---@private
  201. function UIVoyagePrepareView:InitGenerate(Root, data)
  202. self.transform = Root
  203. self.inited = true
  204. if self.super.Init then
  205. self.super.Init(self)
  206. end
  207. local tmp
  208. self:InitGenerate__1(Root,data)
  209. self:InitGenerate__2(Root,data)
  210. self:InitGenerate__3(Root,data)
  211. self:InitGenerate__4(Root,data)
  212. self:InitGenerate__5(Root,data)
  213. self:InitGenerate__6(Root,data)
  214. self:InitGenerate__7(Root,data)
  215. self:InitGenerate__8(Root,data)
  216. self:InitGenerate__9(Root,data)
  217. self:InitGenerate__10(Root,data)
  218. self:InitGenerate__11(Root,data)
  219. self:InitGenerate__12(Root,data)
  220. self:InitGenerate__13(Root,data)
  221. self:InitGenerate__14(Root,data)
  222. self:InitGenerate__15(Root,data)
  223. self:InitGenerate__16(Root,data)
  224. self:InitGenerate__17(Root,data)
  225. self:InitGenerate__18(Root,data)
  226. self:InitGenerate__19(Root,data)
  227. self:InitGenerate__20(Root,data)
  228. self:InitGenerate__21(Root,data)
  229. self:InitGenerate__22(Root,data)
  230. self:InitGenerate__23(Root,data)
  231. self:InitGenerate__24(Root,data)
  232. self:InitGenerate__25(Root,data)
  233. self:InitGenerate__26(Root,data)
  234. self:InitGenerate__27(Root,data)
  235. self:InitGenerate__28(Root,data)
  236. self:InitGenerate__29(Root,data)
  237. self:InitGenerate__30(Root,data)
  238. self:InitGenerate__31(Root,data)
  239. self:InitGenerate__32(Root,data)
  240. self:InitGenerate__33(Root,data)
  241. self:InitGenerate__34(Root,data)
  242. self:InitGenerate__35(Root,data)
  243. self:InitGenerate__36(Root,data)
  244. self:InitGenerate__37(Root,data)
  245. self:InitGenerate__38(Root,data)
  246. self:InitGenerate__39(Root,data)
  247. self:InitGenerate__40(Root,data)
  248. self:InitGenerate__41(Root,data)
  249. self:InitGenerate__42(Root,data)
  250. self:InitGenerate__43(Root,data)
  251. self:InitGenerate__44(Root,data)
  252. self:InitGenerate__45(Root,data)
  253. self:InitGenerate__46(Root,data)
  254. self:InitGenerate__47(Root,data)
  255. self:InitGenerate__48(Root,data)
  256. self:InitGenerate__49(Root,data)
  257. self:InitGenerate__50(Root,data)
  258. self:InitGenerate__51(Root,data)
  259. self:InitGenerate__52(Root,data)
  260. self:InitGenerate__53(Root,data)
  261. self:InitGenerate__54(Root,data)
  262. self:InitGenerate__55(Root,data)
  263. self:InitGenerate__56(Root,data)
  264. self:InitGenerate__57(Root,data)
  265. end
  266. ---@private
  267. function UIVoyagePrepareView:InitGenerate__1(Root, data)
  268. --[[
  269. UIAnimator/Alpha
  270. --]]
  271. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  272. if tolua.getpeer(tmp) == nil then
  273. tolua.setpeer(tmp, {})
  274. end
  275. self.AnyBtn = tmp
  276. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  277. end
  278. ---@private
  279. function UIVoyagePrepareView:InitGenerate__2(Root, data)
  280. --[[
  281. UIAnimator/Window/BtnClose
  282. --]]
  283. local tmp = Root:Find("UIAnimator/Window/BtnClose").gameObject
  284. if tolua.getpeer(tmp) == nil then
  285. tolua.setpeer(tmp, {})
  286. end
  287. self.btnClose = tmp
  288. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  289. end
  290. ---@private
  291. function UIVoyagePrepareView:InitGenerate__3(Root, data)
  292. --[[
  293. UIAnimator/Window/ShipList/Ship5
  294. --]]
  295. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship5").gameObject
  296. if tolua.getpeer(tmp) == nil then
  297. tolua.setpeer(tmp, {})
  298. end
  299. self.ship5 = tmp
  300. end
  301. ---@private
  302. function UIVoyagePrepareView:InitGenerate__4(Root, data)
  303. --[[
  304. UIAnimator/Window/ShipList/Ship5/Off
  305. --]]
  306. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship5/Off").gameObject
  307. if tolua.getpeer(tmp) == nil then
  308. tolua.setpeer(tmp, {})
  309. end
  310. self.ship5.off = tmp
  311. end
  312. ---@private
  313. function UIVoyagePrepareView:InitGenerate__5(Root, data)
  314. --[[
  315. UIAnimator/Window/ShipList/Ship5/On
  316. --]]
  317. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship5/On").gameObject
  318. if tolua.getpeer(tmp) == nil then
  319. tolua.setpeer(tmp, {})
  320. end
  321. self.ship5.on = tmp
  322. end
  323. ---@private
  324. function UIVoyagePrepareView:InitGenerate__6(Root, data)
  325. --[[
  326. UIAnimator/Window/ShipList/Ship5/On/BtnSetSail
  327. --]]
  328. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship5/On/BtnSetSail").gameObject
  329. if tolua.getpeer(tmp) == nil then
  330. tolua.setpeer(tmp, {})
  331. end
  332. self.ship5.btnSetSail = tmp
  333. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  334. end
  335. ---@private
  336. function UIVoyagePrepareView:InitGenerate__7(Root, data)
  337. --[[
  338. UIAnimator/Window/ShipList/Ship5/On/Time
  339. --]]
  340. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship5/On/Time").gameObject
  341. if tolua.getpeer(tmp) == nil then
  342. tolua.setpeer(tmp, {})
  343. end
  344. self.ship5.time = tmp
  345. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  346. end
  347. ---@private
  348. function UIVoyagePrepareView:InitGenerate__8(Root, data)
  349. --[[
  350. UIAnimator/Window/ShipList/Ship5/Content/AirShip/AirShipItem
  351. --]]
  352. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship5/Content/AirShip/AirShipItem").gameObject
  353. if tolua.getpeer(tmp) == nil then
  354. tolua.setpeer(tmp, {})
  355. end
  356. self.ship5.airShipItem = tmp
  357. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  358. tmp.animator.logWarnings = false
  359. end
  360. ---@private
  361. function UIVoyagePrepareView:InitGenerate__9(Root, data)
  362. --[[
  363. UIAnimator/Window/ShipList/Ship5/Content/Title/ShipTitle
  364. --]]
  365. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship5/Content/Title/ShipTitle").gameObject
  366. if tolua.getpeer(tmp) == nil then
  367. tolua.setpeer(tmp, {})
  368. end
  369. self.ship5.shipTitle = tmp
  370. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  371. end
  372. ---@private
  373. function UIVoyagePrepareView:InitGenerate__10(Root, data)
  374. --[[
  375. UIAnimator/Window/ShipList/Ship5/Content/RewardGroup
  376. --]]
  377. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship5/Content/RewardGroup").gameObject
  378. if tolua.getpeer(tmp) == nil then
  379. tolua.setpeer(tmp, {})
  380. end
  381. self.ship5.rewardGroup = tmp
  382. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  383. end
  384. ---@private
  385. function UIVoyagePrepareView:InitGenerate__11(Root, data)
  386. --[[
  387. UIAnimator/Window/ShipList/Ship4
  388. --]]
  389. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship4").gameObject
  390. if tolua.getpeer(tmp) == nil then
  391. tolua.setpeer(tmp, {})
  392. end
  393. self.ship4 = tmp
  394. end
  395. ---@private
  396. function UIVoyagePrepareView:InitGenerate__12(Root, data)
  397. --[[
  398. UIAnimator/Window/ShipList/Ship4/Off
  399. --]]
  400. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship4/Off").gameObject
  401. if tolua.getpeer(tmp) == nil then
  402. tolua.setpeer(tmp, {})
  403. end
  404. self.ship4.off = tmp
  405. end
  406. ---@private
  407. function UIVoyagePrepareView:InitGenerate__13(Root, data)
  408. --[[
  409. UIAnimator/Window/ShipList/Ship4/On
  410. --]]
  411. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship4/On").gameObject
  412. if tolua.getpeer(tmp) == nil then
  413. tolua.setpeer(tmp, {})
  414. end
  415. self.ship4.on = tmp
  416. end
  417. ---@private
  418. function UIVoyagePrepareView:InitGenerate__14(Root, data)
  419. --[[
  420. UIAnimator/Window/ShipList/Ship4/On/BtnSetSail
  421. --]]
  422. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship4/On/BtnSetSail").gameObject
  423. if tolua.getpeer(tmp) == nil then
  424. tolua.setpeer(tmp, {})
  425. end
  426. self.ship4.btnSetSail = tmp
  427. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  428. end
  429. ---@private
  430. function UIVoyagePrepareView:InitGenerate__15(Root, data)
  431. --[[
  432. UIAnimator/Window/ShipList/Ship4/On/Time
  433. --]]
  434. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship4/On/Time").gameObject
  435. if tolua.getpeer(tmp) == nil then
  436. tolua.setpeer(tmp, {})
  437. end
  438. self.ship4.time = tmp
  439. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  440. end
  441. ---@private
  442. function UIVoyagePrepareView:InitGenerate__16(Root, data)
  443. --[[
  444. UIAnimator/Window/ShipList/Ship4/Content/AirShip/AirShipItem
  445. --]]
  446. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship4/Content/AirShip/AirShipItem").gameObject
  447. if tolua.getpeer(tmp) == nil then
  448. tolua.setpeer(tmp, {})
  449. end
  450. self.ship4.airShipItem = tmp
  451. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  452. tmp.animator.logWarnings = false
  453. end
  454. ---@private
  455. function UIVoyagePrepareView:InitGenerate__17(Root, data)
  456. --[[
  457. UIAnimator/Window/ShipList/Ship4/Content/Title/ShipTitle
  458. --]]
  459. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship4/Content/Title/ShipTitle").gameObject
  460. if tolua.getpeer(tmp) == nil then
  461. tolua.setpeer(tmp, {})
  462. end
  463. self.ship4.shipTitle = tmp
  464. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  465. end
  466. ---@private
  467. function UIVoyagePrepareView:InitGenerate__18(Root, data)
  468. --[[
  469. UIAnimator/Window/ShipList/Ship4/Content/RewardGroup
  470. --]]
  471. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship4/Content/RewardGroup").gameObject
  472. if tolua.getpeer(tmp) == nil then
  473. tolua.setpeer(tmp, {})
  474. end
  475. self.ship4.rewardGroup = tmp
  476. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  477. end
  478. ---@private
  479. function UIVoyagePrepareView:InitGenerate__19(Root, data)
  480. --[[
  481. UIAnimator/Window/ShipList/Ship3
  482. --]]
  483. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship3").gameObject
  484. if tolua.getpeer(tmp) == nil then
  485. tolua.setpeer(tmp, {})
  486. end
  487. self.ship3 = tmp
  488. end
  489. ---@private
  490. function UIVoyagePrepareView:InitGenerate__20(Root, data)
  491. --[[
  492. UIAnimator/Window/ShipList/Ship3/Off
  493. --]]
  494. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship3/Off").gameObject
  495. if tolua.getpeer(tmp) == nil then
  496. tolua.setpeer(tmp, {})
  497. end
  498. self.ship3.off = tmp
  499. end
  500. ---@private
  501. function UIVoyagePrepareView:InitGenerate__21(Root, data)
  502. --[[
  503. UIAnimator/Window/ShipList/Ship3/On
  504. --]]
  505. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship3/On").gameObject
  506. if tolua.getpeer(tmp) == nil then
  507. tolua.setpeer(tmp, {})
  508. end
  509. self.ship3.on = tmp
  510. end
  511. ---@private
  512. function UIVoyagePrepareView:InitGenerate__22(Root, data)
  513. --[[
  514. UIAnimator/Window/ShipList/Ship3/On/BtnSetSail
  515. --]]
  516. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship3/On/BtnSetSail").gameObject
  517. if tolua.getpeer(tmp) == nil then
  518. tolua.setpeer(tmp, {})
  519. end
  520. self.ship3.btnSetSail = tmp
  521. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  522. end
  523. ---@private
  524. function UIVoyagePrepareView:InitGenerate__23(Root, data)
  525. --[[
  526. UIAnimator/Window/ShipList/Ship3/On/Time
  527. --]]
  528. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship3/On/Time").gameObject
  529. if tolua.getpeer(tmp) == nil then
  530. tolua.setpeer(tmp, {})
  531. end
  532. self.ship3.time = tmp
  533. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  534. end
  535. ---@private
  536. function UIVoyagePrepareView:InitGenerate__24(Root, data)
  537. --[[
  538. UIAnimator/Window/ShipList/Ship3/Content/AirShip/AirShipItem
  539. --]]
  540. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship3/Content/AirShip/AirShipItem").gameObject
  541. if tolua.getpeer(tmp) == nil then
  542. tolua.setpeer(tmp, {})
  543. end
  544. self.ship3.airShipItem = tmp
  545. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  546. tmp.animator.logWarnings = false
  547. end
  548. ---@private
  549. function UIVoyagePrepareView:InitGenerate__25(Root, data)
  550. --[[
  551. UIAnimator/Window/ShipList/Ship3/Content/Title/ShipTitle
  552. --]]
  553. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship3/Content/Title/ShipTitle").gameObject
  554. if tolua.getpeer(tmp) == nil then
  555. tolua.setpeer(tmp, {})
  556. end
  557. self.ship3.shipTitle = tmp
  558. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  559. end
  560. ---@private
  561. function UIVoyagePrepareView:InitGenerate__26(Root, data)
  562. --[[
  563. UIAnimator/Window/ShipList/Ship3/Content/RewardGroup
  564. --]]
  565. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship3/Content/RewardGroup").gameObject
  566. if tolua.getpeer(tmp) == nil then
  567. tolua.setpeer(tmp, {})
  568. end
  569. self.ship3.rewardGroup = tmp
  570. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  571. end
  572. ---@private
  573. function UIVoyagePrepareView:InitGenerate__27(Root, data)
  574. --[[
  575. UIAnimator/Window/ShipList/Ship2
  576. --]]
  577. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship2").gameObject
  578. if tolua.getpeer(tmp) == nil then
  579. tolua.setpeer(tmp, {})
  580. end
  581. self.ship2 = tmp
  582. end
  583. ---@private
  584. function UIVoyagePrepareView:InitGenerate__28(Root, data)
  585. --[[
  586. UIAnimator/Window/ShipList/Ship2/Off
  587. --]]
  588. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship2/Off").gameObject
  589. if tolua.getpeer(tmp) == nil then
  590. tolua.setpeer(tmp, {})
  591. end
  592. self.ship2.off = tmp
  593. end
  594. ---@private
  595. function UIVoyagePrepareView:InitGenerate__29(Root, data)
  596. --[[
  597. UIAnimator/Window/ShipList/Ship2/On
  598. --]]
  599. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship2/On").gameObject
  600. if tolua.getpeer(tmp) == nil then
  601. tolua.setpeer(tmp, {})
  602. end
  603. self.ship2.on = tmp
  604. end
  605. ---@private
  606. function UIVoyagePrepareView:InitGenerate__30(Root, data)
  607. --[[
  608. UIAnimator/Window/ShipList/Ship2/On/BtnSetSail
  609. --]]
  610. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship2/On/BtnSetSail").gameObject
  611. if tolua.getpeer(tmp) == nil then
  612. tolua.setpeer(tmp, {})
  613. end
  614. self.ship2.btnSetSail = tmp
  615. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  616. end
  617. ---@private
  618. function UIVoyagePrepareView:InitGenerate__31(Root, data)
  619. --[[
  620. UIAnimator/Window/ShipList/Ship2/On/Time
  621. --]]
  622. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship2/On/Time").gameObject
  623. if tolua.getpeer(tmp) == nil then
  624. tolua.setpeer(tmp, {})
  625. end
  626. self.ship2.time = tmp
  627. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  628. end
  629. ---@private
  630. function UIVoyagePrepareView:InitGenerate__32(Root, data)
  631. --[[
  632. UIAnimator/Window/ShipList/Ship2/Content/AirShip/AirShipItem
  633. --]]
  634. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship2/Content/AirShip/AirShipItem").gameObject
  635. if tolua.getpeer(tmp) == nil then
  636. tolua.setpeer(tmp, {})
  637. end
  638. self.ship2.airShipItem = tmp
  639. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  640. tmp.animator.logWarnings = false
  641. end
  642. ---@private
  643. function UIVoyagePrepareView:InitGenerate__33(Root, data)
  644. --[[
  645. UIAnimator/Window/ShipList/Ship2/Content/Title/ShipTitle
  646. --]]
  647. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship2/Content/Title/ShipTitle").gameObject
  648. if tolua.getpeer(tmp) == nil then
  649. tolua.setpeer(tmp, {})
  650. end
  651. self.ship2.shipTitle = tmp
  652. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  653. end
  654. ---@private
  655. function UIVoyagePrepareView:InitGenerate__34(Root, data)
  656. --[[
  657. UIAnimator/Window/ShipList/Ship2/Content/RewardGroup
  658. --]]
  659. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship2/Content/RewardGroup").gameObject
  660. if tolua.getpeer(tmp) == nil then
  661. tolua.setpeer(tmp, {})
  662. end
  663. self.ship2.rewardGroup = tmp
  664. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  665. end
  666. ---@private
  667. function UIVoyagePrepareView:InitGenerate__35(Root, data)
  668. --[[
  669. UIAnimator/Window/ShipList/Ship1
  670. --]]
  671. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship1").gameObject
  672. if tolua.getpeer(tmp) == nil then
  673. tolua.setpeer(tmp, {})
  674. end
  675. self.ship1 = tmp
  676. end
  677. ---@private
  678. function UIVoyagePrepareView:InitGenerate__36(Root, data)
  679. --[[
  680. UIAnimator/Window/ShipList/Ship1/Off
  681. --]]
  682. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship1/Off").gameObject
  683. if tolua.getpeer(tmp) == nil then
  684. tolua.setpeer(tmp, {})
  685. end
  686. self.ship1.off = tmp
  687. end
  688. ---@private
  689. function UIVoyagePrepareView:InitGenerate__37(Root, data)
  690. --[[
  691. UIAnimator/Window/ShipList/Ship1/On
  692. --]]
  693. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship1/On").gameObject
  694. if tolua.getpeer(tmp) == nil then
  695. tolua.setpeer(tmp, {})
  696. end
  697. self.ship1.on = tmp
  698. end
  699. ---@private
  700. function UIVoyagePrepareView:InitGenerate__38(Root, data)
  701. --[[
  702. UIAnimator/Window/ShipList/Ship1/On/BtnSetSail
  703. --]]
  704. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship1/On/BtnSetSail").gameObject
  705. if tolua.getpeer(tmp) == nil then
  706. tolua.setpeer(tmp, {})
  707. end
  708. self.ship1.btnSetSail = tmp
  709. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  710. end
  711. ---@private
  712. function UIVoyagePrepareView:InitGenerate__39(Root, data)
  713. --[[
  714. UIAnimator/Window/ShipList/Ship1/On/Time
  715. --]]
  716. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship1/On/Time").gameObject
  717. if tolua.getpeer(tmp) == nil then
  718. tolua.setpeer(tmp, {})
  719. end
  720. self.ship1.time = tmp
  721. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  722. end
  723. ---@private
  724. function UIVoyagePrepareView:InitGenerate__40(Root, data)
  725. --[[
  726. UIAnimator/Window/ShipList/Ship1/Content/AirShip/AirShipItem
  727. --]]
  728. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship1/Content/AirShip/AirShipItem").gameObject
  729. if tolua.getpeer(tmp) == nil then
  730. tolua.setpeer(tmp, {})
  731. end
  732. self.ship1.airShipItem = tmp
  733. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  734. tmp.animator.logWarnings = false
  735. end
  736. ---@private
  737. function UIVoyagePrepareView:InitGenerate__41(Root, data)
  738. --[[
  739. UIAnimator/Window/ShipList/Ship1/Content/Title/ShipTitle
  740. --]]
  741. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship1/Content/Title/ShipTitle").gameObject
  742. if tolua.getpeer(tmp) == nil then
  743. tolua.setpeer(tmp, {})
  744. end
  745. self.ship1.shipTitle = tmp
  746. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  747. end
  748. ---@private
  749. function UIVoyagePrepareView:InitGenerate__42(Root, data)
  750. --[[
  751. UIAnimator/Window/ShipList/Ship1/Content/RewardGroup
  752. --]]
  753. local tmp = Root:Find("UIAnimator/Window/ShipList/Ship1/Content/RewardGroup").gameObject
  754. if tolua.getpeer(tmp) == nil then
  755. tolua.setpeer(tmp, {})
  756. end
  757. self.ship1.rewardGroup = tmp
  758. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  759. end
  760. ---@private
  761. function UIVoyagePrepareView:InitGenerate__43(Root, data)
  762. --[[
  763. UIAnimator/Window/Bottom/BtnUpMax
  764. --]]
  765. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpMax").gameObject
  766. if tolua.getpeer(tmp) == nil then
  767. tolua.setpeer(tmp, {})
  768. end
  769. self.btnUpMax = tmp
  770. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  771. end
  772. ---@private
  773. function UIVoyagePrepareView:InitGenerate__44(Root, data)
  774. --[[
  775. UIAnimator/Window/Bottom/BtnUpMax/Content/Cost
  776. --]]
  777. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpMax/Content/Cost").gameObject
  778. if tolua.getpeer(tmp) == nil then
  779. tolua.setpeer(tmp, {})
  780. end
  781. self.btnUpMax.cost = tmp
  782. end
  783. ---@private
  784. function UIVoyagePrepareView:InitGenerate__45(Root, data)
  785. --[[
  786. UIAnimator/Window/Bottom/BtnUpMax/Content/Cost/Icon
  787. --]]
  788. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpMax/Content/Cost/Icon").gameObject
  789. if tolua.getpeer(tmp) == nil then
  790. tolua.setpeer(tmp, {})
  791. end
  792. self.btnUpMax.cost.icon = tmp
  793. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  794. end
  795. ---@private
  796. function UIVoyagePrepareView:InitGenerate__46(Root, data)
  797. --[[
  798. UIAnimator/Window/Bottom/BtnUpMax/Content/Cost/Num
  799. --]]
  800. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpMax/Content/Cost/Num").gameObject
  801. if tolua.getpeer(tmp) == nil then
  802. tolua.setpeer(tmp, {})
  803. end
  804. self.btnUpMax.cost.num = tmp
  805. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  806. end
  807. ---@private
  808. function UIVoyagePrepareView:InitGenerate__47(Root, data)
  809. --[[
  810. UIAnimator/Window/Bottom/BtnUpOne
  811. --]]
  812. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpOne").gameObject
  813. if tolua.getpeer(tmp) == nil then
  814. tolua.setpeer(tmp, {})
  815. end
  816. self.btnUpOne = tmp
  817. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  818. end
  819. ---@private
  820. function UIVoyagePrepareView:InitGenerate__48(Root, data)
  821. --[[
  822. UIAnimator/Window/Bottom/BtnUpOne/Content/Cost
  823. --]]
  824. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpOne/Content/Cost").gameObject
  825. if tolua.getpeer(tmp) == nil then
  826. tolua.setpeer(tmp, {})
  827. end
  828. self.btnUpOne.cost = tmp
  829. end
  830. ---@private
  831. function UIVoyagePrepareView:InitGenerate__49(Root, data)
  832. --[[
  833. UIAnimator/Window/Bottom/BtnUpOne/Content/Cost/Icon
  834. --]]
  835. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpOne/Content/Cost/Icon").gameObject
  836. if tolua.getpeer(tmp) == nil then
  837. tolua.setpeer(tmp, {})
  838. end
  839. self.btnUpOne.cost.icon = tmp
  840. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  841. end
  842. ---@private
  843. function UIVoyagePrepareView:InitGenerate__50(Root, data)
  844. --[[
  845. UIAnimator/Window/Bottom/BtnUpOne/Content/Cost/Num
  846. --]]
  847. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnUpOne/Content/Cost/Num").gameObject
  848. if tolua.getpeer(tmp) == nil then
  849. tolua.setpeer(tmp, {})
  850. end
  851. self.btnUpOne.cost.num = tmp
  852. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  853. end
  854. ---@private
  855. function UIVoyagePrepareView:InitGenerate__51(Root, data)
  856. --[[
  857. UIAnimator/Window/Bottom/CloseTipsToggle
  858. --]]
  859. local tmp = Root:Find("UIAnimator/Window/Bottom/CloseTipsToggle").gameObject
  860. if tolua.getpeer(tmp) == nil then
  861. tolua.setpeer(tmp, {})
  862. end
  863. self.closeTipsToggle = tmp
  864. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  865. end
  866. ---@private
  867. function UIVoyagePrepareView:InitGenerate__52(Root, data)
  868. --[[
  869. UIAnimator/Window/Currencys/Currency1
  870. --]]
  871. local tmp = Root:Find("UIAnimator/Window/Currencys/Currency1").gameObject
  872. if tolua.getpeer(tmp) == nil then
  873. tolua.setpeer(tmp, {})
  874. end
  875. self.currency1 = tmp
  876. end
  877. ---@private
  878. function UIVoyagePrepareView:InitGenerate__53(Root, data)
  879. --[[
  880. UIAnimator/Window/Currencys/Currency1/Icon
  881. --]]
  882. local tmp = Root:Find("UIAnimator/Window/Currencys/Currency1/Icon").gameObject
  883. if tolua.getpeer(tmp) == nil then
  884. tolua.setpeer(tmp, {})
  885. end
  886. self.currency1.icon = tmp
  887. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  888. end
  889. ---@private
  890. function UIVoyagePrepareView:InitGenerate__54(Root, data)
  891. --[[
  892. UIAnimator/Window/Currencys/Currency1/Num
  893. --]]
  894. local tmp = Root:Find("UIAnimator/Window/Currencys/Currency1/Num").gameObject
  895. if tolua.getpeer(tmp) == nil then
  896. tolua.setpeer(tmp, {})
  897. end
  898. self.currency1.num = tmp
  899. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  900. end
  901. ---@private
  902. function UIVoyagePrepareView:InitGenerate__55(Root, data)
  903. --[[
  904. UIAnimator/Window/Currencys/Currency2
  905. --]]
  906. local tmp = Root:Find("UIAnimator/Window/Currencys/Currency2").gameObject
  907. if tolua.getpeer(tmp) == nil then
  908. tolua.setpeer(tmp, {})
  909. end
  910. self.currency2 = tmp
  911. end
  912. ---@private
  913. function UIVoyagePrepareView:InitGenerate__56(Root, data)
  914. --[[
  915. UIAnimator/Window/Currencys/Currency2/Icon
  916. --]]
  917. local tmp = Root:Find("UIAnimator/Window/Currencys/Currency2/Icon").gameObject
  918. if tolua.getpeer(tmp) == nil then
  919. tolua.setpeer(tmp, {})
  920. end
  921. self.currency2.icon = tmp
  922. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  923. end
  924. ---@private
  925. function UIVoyagePrepareView:InitGenerate__57(Root, data)
  926. --[[
  927. UIAnimator/Window/Currencys/Currency2/Num
  928. --]]
  929. local tmp = Root:Find("UIAnimator/Window/Currencys/Currency2/Num").gameObject
  930. if tolua.getpeer(tmp) == nil then
  931. tolua.setpeer(tmp, {})
  932. end
  933. self.currency2.num = tmp
  934. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  935. end
  936. ---@private
  937. function UIVoyagePrepareView:GenerateDestroy()
  938. if tolua.getpeer(self.currency2.num) ~= nil then
  939. tolua.setpeer(self.currency2.num, nil)
  940. end
  941. if tolua.getpeer(self.currency2.icon) ~= nil then
  942. tolua.setpeer(self.currency2.icon, nil)
  943. end
  944. if tolua.getpeer(self.currency1.num) ~= nil then
  945. tolua.setpeer(self.currency1.num, nil)
  946. end
  947. if tolua.getpeer(self.currency1.icon) ~= nil then
  948. tolua.setpeer(self.currency1.icon, nil)
  949. end
  950. if tolua.getpeer(self.btnUpOne.cost.num) ~= nil then
  951. tolua.setpeer(self.btnUpOne.cost.num, nil)
  952. end
  953. if tolua.getpeer(self.btnUpOne.cost.icon) ~= nil then
  954. tolua.setpeer(self.btnUpOne.cost.icon, nil)
  955. end
  956. if tolua.getpeer(self.btnUpOne.cost) ~= nil then
  957. tolua.setpeer(self.btnUpOne.cost, nil)
  958. end
  959. if tolua.getpeer(self.btnUpMax.cost.num) ~= nil then
  960. tolua.setpeer(self.btnUpMax.cost.num, nil)
  961. end
  962. if tolua.getpeer(self.btnUpMax.cost.icon) ~= nil then
  963. tolua.setpeer(self.btnUpMax.cost.icon, nil)
  964. end
  965. if tolua.getpeer(self.btnUpMax.cost) ~= nil then
  966. tolua.setpeer(self.btnUpMax.cost, nil)
  967. end
  968. if tolua.getpeer(self.ship1.rewardGroup) ~= nil then
  969. tolua.setpeer(self.ship1.rewardGroup, nil)
  970. end
  971. if tolua.getpeer(self.ship1.shipTitle) ~= nil then
  972. tolua.setpeer(self.ship1.shipTitle, nil)
  973. end
  974. if tolua.getpeer(self.ship1.airShipItem) ~= nil then
  975. tolua.setpeer(self.ship1.airShipItem, nil)
  976. end
  977. if tolua.getpeer(self.ship1.time) ~= nil then
  978. tolua.setpeer(self.ship1.time, nil)
  979. end
  980. if tolua.getpeer(self.ship1.btnSetSail) ~= nil then
  981. tolua.setpeer(self.ship1.btnSetSail, nil)
  982. end
  983. if tolua.getpeer(self.ship1.on) ~= nil then
  984. tolua.setpeer(self.ship1.on, nil)
  985. end
  986. if tolua.getpeer(self.ship1.off) ~= nil then
  987. tolua.setpeer(self.ship1.off, nil)
  988. end
  989. if tolua.getpeer(self.ship2.rewardGroup) ~= nil then
  990. tolua.setpeer(self.ship2.rewardGroup, nil)
  991. end
  992. if tolua.getpeer(self.ship2.shipTitle) ~= nil then
  993. tolua.setpeer(self.ship2.shipTitle, nil)
  994. end
  995. if tolua.getpeer(self.ship2.airShipItem) ~= nil then
  996. tolua.setpeer(self.ship2.airShipItem, nil)
  997. end
  998. if tolua.getpeer(self.ship2.time) ~= nil then
  999. tolua.setpeer(self.ship2.time, nil)
  1000. end
  1001. if tolua.getpeer(self.ship2.btnSetSail) ~= nil then
  1002. tolua.setpeer(self.ship2.btnSetSail, nil)
  1003. end
  1004. if tolua.getpeer(self.ship2.on) ~= nil then
  1005. tolua.setpeer(self.ship2.on, nil)
  1006. end
  1007. if tolua.getpeer(self.ship2.off) ~= nil then
  1008. tolua.setpeer(self.ship2.off, nil)
  1009. end
  1010. if tolua.getpeer(self.ship3.rewardGroup) ~= nil then
  1011. tolua.setpeer(self.ship3.rewardGroup, nil)
  1012. end
  1013. if tolua.getpeer(self.ship3.shipTitle) ~= nil then
  1014. tolua.setpeer(self.ship3.shipTitle, nil)
  1015. end
  1016. if tolua.getpeer(self.ship3.airShipItem) ~= nil then
  1017. tolua.setpeer(self.ship3.airShipItem, nil)
  1018. end
  1019. if tolua.getpeer(self.ship3.time) ~= nil then
  1020. tolua.setpeer(self.ship3.time, nil)
  1021. end
  1022. if tolua.getpeer(self.ship3.btnSetSail) ~= nil then
  1023. tolua.setpeer(self.ship3.btnSetSail, nil)
  1024. end
  1025. if tolua.getpeer(self.ship3.on) ~= nil then
  1026. tolua.setpeer(self.ship3.on, nil)
  1027. end
  1028. if tolua.getpeer(self.ship3.off) ~= nil then
  1029. tolua.setpeer(self.ship3.off, nil)
  1030. end
  1031. if tolua.getpeer(self.ship4.rewardGroup) ~= nil then
  1032. tolua.setpeer(self.ship4.rewardGroup, nil)
  1033. end
  1034. if tolua.getpeer(self.ship4.shipTitle) ~= nil then
  1035. tolua.setpeer(self.ship4.shipTitle, nil)
  1036. end
  1037. if tolua.getpeer(self.ship4.airShipItem) ~= nil then
  1038. tolua.setpeer(self.ship4.airShipItem, nil)
  1039. end
  1040. if tolua.getpeer(self.ship4.time) ~= nil then
  1041. tolua.setpeer(self.ship4.time, nil)
  1042. end
  1043. if tolua.getpeer(self.ship4.btnSetSail) ~= nil then
  1044. tolua.setpeer(self.ship4.btnSetSail, nil)
  1045. end
  1046. if tolua.getpeer(self.ship4.on) ~= nil then
  1047. tolua.setpeer(self.ship4.on, nil)
  1048. end
  1049. if tolua.getpeer(self.ship4.off) ~= nil then
  1050. tolua.setpeer(self.ship4.off, nil)
  1051. end
  1052. if tolua.getpeer(self.ship5.rewardGroup) ~= nil then
  1053. tolua.setpeer(self.ship5.rewardGroup, nil)
  1054. end
  1055. if tolua.getpeer(self.ship5.shipTitle) ~= nil then
  1056. tolua.setpeer(self.ship5.shipTitle, nil)
  1057. end
  1058. if tolua.getpeer(self.ship5.airShipItem) ~= nil then
  1059. tolua.setpeer(self.ship5.airShipItem, nil)
  1060. end
  1061. if tolua.getpeer(self.ship5.time) ~= nil then
  1062. tolua.setpeer(self.ship5.time, nil)
  1063. end
  1064. if tolua.getpeer(self.ship5.btnSetSail) ~= nil then
  1065. tolua.setpeer(self.ship5.btnSetSail, nil)
  1066. end
  1067. if tolua.getpeer(self.ship5.on) ~= nil then
  1068. tolua.setpeer(self.ship5.on, nil)
  1069. end
  1070. if tolua.getpeer(self.ship5.off) ~= nil then
  1071. tolua.setpeer(self.ship5.off, nil)
  1072. end
  1073. if tolua.getpeer(self.AnyBtn) ~= nil then
  1074. tolua.setpeer(self.AnyBtn, nil)
  1075. end
  1076. self.AnyBtn = nil
  1077. if tolua.getpeer(self.btnClose) ~= nil then
  1078. tolua.setpeer(self.btnClose, nil)
  1079. end
  1080. self.btnClose = nil
  1081. if tolua.getpeer(self.ship5) ~= nil then
  1082. tolua.setpeer(self.ship5, nil)
  1083. end
  1084. self.ship5 = nil
  1085. if tolua.getpeer(self.ship4) ~= nil then
  1086. tolua.setpeer(self.ship4, nil)
  1087. end
  1088. self.ship4 = nil
  1089. if tolua.getpeer(self.ship3) ~= nil then
  1090. tolua.setpeer(self.ship3, nil)
  1091. end
  1092. self.ship3 = nil
  1093. if tolua.getpeer(self.ship2) ~= nil then
  1094. tolua.setpeer(self.ship2, nil)
  1095. end
  1096. self.ship2 = nil
  1097. if tolua.getpeer(self.ship1) ~= nil then
  1098. tolua.setpeer(self.ship1, nil)
  1099. end
  1100. self.ship1 = nil
  1101. if tolua.getpeer(self.btnUpMax) ~= nil then
  1102. tolua.setpeer(self.btnUpMax, nil)
  1103. end
  1104. self.btnUpMax = nil
  1105. if tolua.getpeer(self.btnUpOne) ~= nil then
  1106. tolua.setpeer(self.btnUpOne, nil)
  1107. end
  1108. self.btnUpOne = nil
  1109. if tolua.getpeer(self.closeTipsToggle) ~= nil then
  1110. tolua.setpeer(self.closeTipsToggle, nil)
  1111. end
  1112. self.closeTipsToggle = nil
  1113. if tolua.getpeer(self.currency1) ~= nil then
  1114. tolua.setpeer(self.currency1, nil)
  1115. end
  1116. self.currency1 = nil
  1117. if tolua.getpeer(self.currency2) ~= nil then
  1118. tolua.setpeer(self.currency2, nil)
  1119. end
  1120. self.currency2 = nil
  1121. self.transform = nil
  1122. self.gameObject = nil
  1123. self.inited = false
  1124. end
  1125. return UIVoyagePrepareView