UIClimbingTowerView_Generate.lua 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417
  1. ---@class UIClimbingTower__Generate_content
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup
  4. ---@class UIClimbingTower__Generate_modeNode
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public loopVerticalScrollRect UnityEngine.UI.LoopVerticalScrollRect
  7. ---@class UIClimbingTower__Generate_towerBgBtn
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public button UnityEngine.UI.Button
  10. ---@class UIClimbingTower__Generate_wjchallengeBtn
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public button UnityEngine.UI.Button
  13. ---@class UIClimbingTower__Generate_center
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public image UnityEngine.UI.Image
  16. ---@class UIClimbingTower__Generate_right
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public image UnityEngine.UI.Image
  19. ---@class UIClimbingTower__Generate_left
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public image UnityEngine.UI.Image
  22. ---@class UIClimbingTower__Generate_levelNum
  23. ---@field public gameObject UnityEngine.GameObject
  24. ---@field public text UnityEngine.UI.Text
  25. ---@class UIClimbingTower__Generate_wjbonusNode_items_item3
  26. ---@field public gameObject UnityEngine.GameObject
  27. ---@field public rectTransform UnityEngine.RectTransform
  28. ---@field public layoutElement UnityEngine.UI.LayoutElement
  29. ---@class UIClimbingTower__Generate_wjbonusNode_items_item2
  30. ---@field public gameObject UnityEngine.GameObject
  31. ---@field public rectTransform UnityEngine.RectTransform
  32. ---@field public layoutElement UnityEngine.UI.LayoutElement
  33. ---@class UIClimbingTower__Generate_wjbonusNode_items_item1
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public rectTransform UnityEngine.RectTransform
  36. ---@field public layoutElement UnityEngine.UI.LayoutElement
  37. ---@class UIClimbingTower__Generate_wjbonusNode_items
  38. ---@field public gameObject UnityEngine.GameObject
  39. ---@field public item1 UIClimbingTower__Generate_wjbonusNode_items_item1
  40. ---@field public item2 UIClimbingTower__Generate_wjbonusNode_items_item2
  41. ---@field public item3 UIClimbingTower__Generate_wjbonusNode_items_item3
  42. ---@class UIClimbingTower__Generate_wjbonusNode
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public items UIClimbingTower__Generate_wjbonusNode_items
  45. ---@class UIClimbingTower__Generate_friendNode
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public button UnityEngine.UI.Button
  48. ---@class UIClimbingTower__Generate_levelInfoBtn
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public button UnityEngine.UI.Button
  51. ---@class UIClimbingTower__Generate_wjnpcList_natureIcon4
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public image UnityEngine.UI.Image
  54. ---@class UIClimbingTower__Generate_wjnpcList_npcLevel4
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public text UnityEngine.UI.Text
  57. ---@class UIClimbingTower__Generate_wjnpcList_npc4
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public rectTransform UnityEngine.RectTransform
  60. ---@field public image UnityEngine.UI.Image
  61. ---@class UIClimbingTower__Generate_wjnpcList_natureIcon3
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public image UnityEngine.UI.Image
  64. ---@class UIClimbingTower__Generate_wjnpcList_npcLevel3
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public text UnityEngine.UI.Text
  67. ---@class UIClimbingTower__Generate_wjnpcList_npc3
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public rectTransform UnityEngine.RectTransform
  70. ---@field public image UnityEngine.UI.Image
  71. ---@class UIClimbingTower__Generate_wjnpcList_natureIcon2
  72. ---@field public gameObject UnityEngine.GameObject
  73. ---@field public image UnityEngine.UI.Image
  74. ---@class UIClimbingTower__Generate_wjnpcList_npcLevel2
  75. ---@field public gameObject UnityEngine.GameObject
  76. ---@field public text UnityEngine.UI.Text
  77. ---@class UIClimbingTower__Generate_wjnpcList_npc2
  78. ---@field public gameObject UnityEngine.GameObject
  79. ---@field public rectTransform UnityEngine.RectTransform
  80. ---@field public image UnityEngine.UI.Image
  81. ---@class UIClimbingTower__Generate_wjnpcList_natureIcon1
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public image UnityEngine.UI.Image
  84. ---@class UIClimbingTower__Generate_wjnpcList_npcLevel1
  85. ---@field public gameObject UnityEngine.GameObject
  86. ---@field public text UnityEngine.UI.Text
  87. ---@class UIClimbingTower__Generate_wjnpcList_npc1
  88. ---@field public gameObject UnityEngine.GameObject
  89. ---@field public rectTransform UnityEngine.RectTransform
  90. ---@field public image UnityEngine.UI.Image
  91. ---@class UIClimbingTower__Generate_wjnpcList
  92. ---@field public gameObject UnityEngine.GameObject
  93. ---@field public npc1 UIClimbingTower__Generate_wjnpcList_npc1
  94. ---@field public npcLevel1 UIClimbingTower__Generate_wjnpcList_npcLevel1
  95. ---@field public natureIcon1 UIClimbingTower__Generate_wjnpcList_natureIcon1
  96. ---@field public npc2 UIClimbingTower__Generate_wjnpcList_npc2
  97. ---@field public npcLevel2 UIClimbingTower__Generate_wjnpcList_npcLevel2
  98. ---@field public natureIcon2 UIClimbingTower__Generate_wjnpcList_natureIcon2
  99. ---@field public npc3 UIClimbingTower__Generate_wjnpcList_npc3
  100. ---@field public npcLevel3 UIClimbingTower__Generate_wjnpcList_npcLevel3
  101. ---@field public natureIcon3 UIClimbingTower__Generate_wjnpcList_natureIcon3
  102. ---@field public npc4 UIClimbingTower__Generate_wjnpcList_npc4
  103. ---@field public npcLevel4 UIClimbingTower__Generate_wjnpcList_npcLevel4
  104. ---@field public natureIcon4 UIClimbingTower__Generate_wjnpcList_natureIcon4
  105. ---@class UIClimbingTower__Generate_bgImage
  106. ---@field public gameObject UnityEngine.GameObject
  107. ---@field public image UnityEngine.UI.Image
  108. ---@class UIClimbingTower__Generate_cover
  109. ---@field public gameObject UnityEngine.GameObject
  110. ---@field public animator UnityEngine.Animator
  111. ---@class UIClimbingTower__Generate_iconGoto
  112. ---@field public gameObject UnityEngine.GameObject
  113. ---@field public image UnityEngine.UI.Image
  114. ---@class UIClimbingTower__Generate_btnInOut
  115. ---@field public gameObject UnityEngine.GameObject
  116. ---@field public button UnityEngine.UI.Button
  117. ---@class UIClimbingTower__Generate_btnGoto
  118. ---@field public gameObject UnityEngine.GameObject
  119. ---@field public button UnityEngine.UI.Button
  120. ---@class UIClimbingTower__Generate_text2
  121. ---@field public gameObject UnityEngine.GameObject
  122. ---@field public uILocalizeScript UILocalizeScript
  123. ---@class UIClimbingTower__Generate_text1
  124. ---@field public gameObject UnityEngine.GameObject
  125. ---@field public uILocalizeScript UILocalizeScript
  126. ---@class UIClimbingTower__Generate_bgGoto
  127. ---@field public gameObject UnityEngine.GameObject
  128. ---@field public animator UnityEngine.Animator
  129. ---@class UIClimbingTower__Generate_playRuleBtn
  130. ---@field public gameObject UnityEngine.GameObject
  131. ---@field public button UnityEngine.UI.Button
  132. ---@class UIClimbingTower__Generate_btnTower
  133. ---@field public gameObject UnityEngine.GameObject
  134. ---@field public button UnityEngine.UI.Button
  135. ---@class UIClimbingTower__Generate_btnTowerTop_lock
  136. ---@field public gameObject UnityEngine.GameObject
  137. ---@field public button UnityEngine.UI.Button
  138. ---@class UIClimbingTower__Generate_btnTowerTop
  139. ---@field public gameObject UnityEngine.GameObject
  140. ---@field public button UnityEngine.UI.Button
  141. ---@class UIClimbingTower__Generate_btnPresent_lock
  142. ---@field public gameObject UnityEngine.GameObject
  143. ---@field public button UnityEngine.UI.Button
  144. ---@class UIClimbingTower__Generate_btnPresent
  145. ---@field public gameObject UnityEngine.GameObject
  146. ---@field public button UnityEngine.UI.Button
  147. ---@class UIClimbingTower__Generate_rankBtn
  148. ---@field public gameObject UnityEngine.GameObject
  149. ---@field public button UnityEngine.UI.Button
  150. ---@class UIClimbingTower__Generate_closeBtn
  151. ---@field public gameObject UnityEngine.GameObject
  152. ---@field public button UnityEngine.UI.Button
  153. ---@class UIClimbingTower__Generate_btnStatistics
  154. ---@field public gameObject UnityEngine.GameObject
  155. ---@field public button UnityEngine.UI.Button
  156. ---@class UIClimbingTower__Generate_boardTitle
  157. ---@field public gameObject UnityEngine.GameObject
  158. ---@field public uILocalizeScript UILocalizeScript
  159. ---@field public text UnityEngine.UI.Text
  160. ---@class UIClimbingTower__Generate_scrollview_content
  161. ---@field public gameObject UnityEngine.GameObject
  162. ---@field public gridLayoutGroup UnityEngine.UI.GridLayoutGroup
  163. ---@class UIClimbingTower__Generate_scrollview
  164. ---@field public gameObject UnityEngine.GameObject
  165. ---@field public loopListView SuperScrollView.LoopListView
  166. ---@field public content UIClimbingTower__Generate_scrollview_content
  167. ---@class UIClimbingTower__Generate_AnyBtn
  168. ---@field public gameObject UnityEngine.GameObject
  169. ---@field public button UnityEngine.UI.Button
  170. ---@class UIClimbingTower__Generate_uIAnimator
  171. ---@field public gameObject UnityEngine.GameObject
  172. ---@field public animator UnityEngine.Animator
  173. ---@class UIClimbingTower__Generate
  174. ---@field private gameObject UnityEngine.GameObject
  175. ---@field private transform UnityEngine.Transform
  176. ---@field private uIAnimator UIClimbingTower__Generate_uIAnimator
  177. ---@field private AnyBtn UIClimbingTower__Generate_AnyBtn
  178. ---@field private scrollview UIClimbingTower__Generate_scrollview
  179. ---@field private climbingTowerLevelItem UnityEngine.GameObject
  180. ---@field private climbingTowerTopItem UnityEngine.GameObject
  181. ---@field private boardTitle UIClimbingTower__Generate_boardTitle
  182. ---@field private btnStatistics UIClimbingTower__Generate_btnStatistics
  183. ---@field private closeBtn UIClimbingTower__Generate_closeBtn
  184. ---@field private rankBtn UIClimbingTower__Generate_rankBtn
  185. ---@field private btnPresent UIClimbingTower__Generate_btnPresent
  186. ---@field private btnPresent_lock UIClimbingTower__Generate_btnPresent_lock
  187. ---@field private btnTowerTop UIClimbingTower__Generate_btnTowerTop
  188. ---@field private btnTowerTop_lock UIClimbingTower__Generate_btnTowerTop_lock
  189. ---@field private btnTower UIClimbingTower__Generate_btnTower
  190. ---@field private playRuleBtn UIClimbingTower__Generate_playRuleBtn
  191. ---@field private uIGoto UnityEngine.GameObject
  192. ---@field private bgGoto UIClimbingTower__Generate_bgGoto
  193. ---@field private light UnityEngine.GameObject
  194. ---@field private text1 UIClimbingTower__Generate_text1
  195. ---@field private text2 UIClimbingTower__Generate_text2
  196. ---@field private btnGoto UIClimbingTower__Generate_btnGoto
  197. ---@field private btnInOut UIClimbingTower__Generate_btnInOut
  198. ---@field private iconGoto UIClimbingTower__Generate_iconGoto
  199. ---@field private cover UIClimbingTower__Generate_cover
  200. ---@field private wJNode UnityEngine.GameObject
  201. ---@field private bgImage UIClimbingTower__Generate_bgImage
  202. ---@field private wjnpcList UIClimbingTower__Generate_wjnpcList
  203. ---@field private wjpassedNode UnityEngine.GameObject
  204. ---@field private levelInfoBtn UIClimbingTower__Generate_levelInfoBtn
  205. ---@field private friendNode UIClimbingTower__Generate_friendNode
  206. ---@field private wjbonusNode UIClimbingTower__Generate_wjbonusNode
  207. ---@field private levelNum UIClimbingTower__Generate_levelNum
  208. ---@field private wjbottomNode UnityEngine.GameObject
  209. ---@field private left UIClimbingTower__Generate_left
  210. ---@field private right UIClimbingTower__Generate_right
  211. ---@field private center UIClimbingTower__Generate_center
  212. ---@field private wjchallengeBtn UIClimbingTower__Generate_wjchallengeBtn
  213. ---@field private wjCover UnityEngine.GameObject
  214. ---@field private towerModes UnityEngine.GameObject
  215. ---@field private towerBgBtn UIClimbingTower__Generate_towerBgBtn
  216. ---@field private modeNode UIClimbingTower__Generate_modeNode
  217. ---@field private content UIClimbingTower__Generate_content
  218. local UIClimbingTowerView = class("UIClimbingTowerView", require("UIViewBase"))
  219. function UIClimbingTowerView:ctor()
  220. end
  221. ---@private
  222. function UIClimbingTowerView:SetActive(result)
  223. self.gameObject:SetActive(result)
  224. end
  225. ---@private
  226. function UIClimbingTowerView:InitGenerate(Root, data)
  227. self.transform = Root
  228. self.inited = true
  229. if self.super.Init then
  230. self.super.Init(self)
  231. end
  232. local tmp
  233. self:InitGenerate__1(Root,data)
  234. self:InitGenerate__2(Root,data)
  235. self:InitGenerate__3(Root,data)
  236. self:InitGenerate__4(Root,data)
  237. self:InitGenerate__5(Root,data)
  238. self:InitGenerate__6(Root,data)
  239. self:InitGenerate__7(Root,data)
  240. self:InitGenerate__8(Root,data)
  241. self:InitGenerate__9(Root,data)
  242. self:InitGenerate__10(Root,data)
  243. self:InitGenerate__11(Root,data)
  244. self:InitGenerate__12(Root,data)
  245. self:InitGenerate__13(Root,data)
  246. self:InitGenerate__14(Root,data)
  247. self:InitGenerate__15(Root,data)
  248. self:InitGenerate__16(Root,data)
  249. self:InitGenerate__17(Root,data)
  250. self:InitGenerate__18(Root,data)
  251. self:InitGenerate__19(Root,data)
  252. self:InitGenerate__20(Root,data)
  253. self:InitGenerate__21(Root,data)
  254. self:InitGenerate__22(Root,data)
  255. self:InitGenerate__23(Root,data)
  256. self:InitGenerate__24(Root,data)
  257. self:InitGenerate__25(Root,data)
  258. self:InitGenerate__26(Root,data)
  259. self:InitGenerate__27(Root,data)
  260. self:InitGenerate__28(Root,data)
  261. self:InitGenerate__29(Root,data)
  262. self:InitGenerate__30(Root,data)
  263. self:InitGenerate__31(Root,data)
  264. self:InitGenerate__32(Root,data)
  265. self:InitGenerate__33(Root,data)
  266. self:InitGenerate__34(Root,data)
  267. self:InitGenerate__35(Root,data)
  268. self:InitGenerate__36(Root,data)
  269. self:InitGenerate__37(Root,data)
  270. self:InitGenerate__38(Root,data)
  271. self:InitGenerate__39(Root,data)
  272. self:InitGenerate__40(Root,data)
  273. self:InitGenerate__41(Root,data)
  274. self:InitGenerate__42(Root,data)
  275. self:InitGenerate__43(Root,data)
  276. self:InitGenerate__44(Root,data)
  277. self:InitGenerate__45(Root,data)
  278. self:InitGenerate__46(Root,data)
  279. self:InitGenerate__47(Root,data)
  280. self:InitGenerate__48(Root,data)
  281. self:InitGenerate__49(Root,data)
  282. self:InitGenerate__50(Root,data)
  283. self:InitGenerate__51(Root,data)
  284. self:InitGenerate__52(Root,data)
  285. self:InitGenerate__53(Root,data)
  286. self:InitGenerate__54(Root,data)
  287. self:InitGenerate__55(Root,data)
  288. self:InitGenerate__56(Root,data)
  289. self:InitGenerate__57(Root,data)
  290. self:InitGenerate__58(Root,data)
  291. self:InitGenerate__59(Root,data)
  292. end
  293. ---@private
  294. function UIClimbingTowerView:InitGenerate__1(Root, data)
  295. --[[
  296. UIAnimator
  297. --]]
  298. local tmp = Root:Find("UIAnimator").gameObject
  299. if tolua.getpeer(tmp) == nil then
  300. tolua.setpeer(tmp, {})
  301. end
  302. self.uIAnimator = tmp
  303. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  304. tmp.animator.logWarnings = false
  305. end
  306. ---@private
  307. function UIClimbingTowerView:InitGenerate__2(Root, data)
  308. --[[
  309. UIAnimator/Alpha
  310. --]]
  311. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  312. if tolua.getpeer(tmp) == nil then
  313. tolua.setpeer(tmp, {})
  314. end
  315. self.AnyBtn = tmp
  316. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  317. end
  318. ---@private
  319. function UIClimbingTowerView:InitGenerate__3(Root, data)
  320. --[[
  321. UIAnimator/Window/scrollview
  322. --]]
  323. local tmp = Root:Find("UIAnimator/Window/scrollview").gameObject
  324. if tolua.getpeer(tmp) == nil then
  325. tolua.setpeer(tmp, {})
  326. end
  327. self.scrollview = tmp
  328. tmp.loopListView = tmp:GetComponent(Enum.TypeInfo.LoopListView)
  329. end
  330. ---@private
  331. function UIClimbingTowerView:InitGenerate__4(Root, data)
  332. --[[
  333. UIAnimator/Window/scrollview/Viewport/Content
  334. --]]
  335. local tmp = Root:Find("UIAnimator/Window/scrollview/Viewport/Content").gameObject
  336. if tolua.getpeer(tmp) == nil then
  337. tolua.setpeer(tmp, {})
  338. end
  339. self.scrollview.content = tmp
  340. tmp.gridLayoutGroup = tmp:GetComponent(Enum.TypeInfo.GridLayoutGroup)
  341. end
  342. ---@private
  343. function UIClimbingTowerView:InitGenerate__5(Root, data)
  344. --[[
  345. UIAnimator/Window/scrollview/Viewport/Content/ClimbingTowerLevelItem
  346. --]]
  347. local tmp = Root:Find("UIAnimator/Window/scrollview/Viewport/Content/ClimbingTowerLevelItem").gameObject
  348. if tolua.getpeer(tmp) == nil then
  349. tolua.setpeer(tmp, {})
  350. end
  351. self.climbingTowerLevelItem = CommonUtil.BindGridViewItem2LuaStatic("ClimbingTowerLevelItem", tmp)
  352. self.climbingTowerLevelItem.prefabName = "ClimbingTowerLevelItem"
  353. end
  354. ---@private
  355. function UIClimbingTowerView:InitGenerate__6(Root, data)
  356. --[[
  357. UIAnimator/Window/scrollview/Viewport/Content/ClimbingTowerTopItem
  358. --]]
  359. local tmp = Root:Find("UIAnimator/Window/scrollview/Viewport/Content/ClimbingTowerTopItem").gameObject
  360. if tolua.getpeer(tmp) == nil then
  361. tolua.setpeer(tmp, {})
  362. end
  363. self.climbingTowerTopItem = CommonUtil.BindGridViewItem2LuaStatic("ClimbingTowerTopItem", tmp)
  364. self.climbingTowerTopItem.prefabName = "ClimbingTowerTopItem"
  365. end
  366. ---@private
  367. function UIClimbingTowerView:InitGenerate__7(Root, data)
  368. --[[
  369. UIAnimator/Window/UITitle/BoardTitle
  370. --]]
  371. local tmp = Root:Find("UIAnimator/Window/UITitle/BoardTitle").gameObject
  372. if tolua.getpeer(tmp) == nil then
  373. tolua.setpeer(tmp, {})
  374. end
  375. self.boardTitle = tmp
  376. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  377. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  378. end
  379. ---@private
  380. function UIClimbingTowerView:InitGenerate__8(Root, data)
  381. --[[
  382. UIAnimator/Window/UITitle/BtnStatistics
  383. --]]
  384. local tmp = Root:Find("UIAnimator/Window/UITitle/BtnStatistics").gameObject
  385. if tolua.getpeer(tmp) == nil then
  386. tolua.setpeer(tmp, {})
  387. end
  388. self.btnStatistics = tmp
  389. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  390. end
  391. ---@private
  392. function UIClimbingTowerView:InitGenerate__9(Root, data)
  393. --[[
  394. UIAnimator/Window/BtnBack
  395. --]]
  396. local tmp = Root:Find("UIAnimator/Window/BtnBack").gameObject
  397. if tolua.getpeer(tmp) == nil then
  398. tolua.setpeer(tmp, {})
  399. end
  400. self.closeBtn = tmp
  401. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  402. end
  403. ---@private
  404. function UIClimbingTowerView:InitGenerate__10(Root, data)
  405. --[[
  406. UIAnimator/Window/RankBtn
  407. --]]
  408. local tmp = Root:Find("UIAnimator/Window/RankBtn").gameObject
  409. if tolua.getpeer(tmp) == nil then
  410. tolua.setpeer(tmp, {})
  411. end
  412. self.rankBtn = tmp
  413. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  414. end
  415. ---@private
  416. function UIClimbingTowerView:InitGenerate__11(Root, data)
  417. --[[
  418. UIAnimator/Window/BtnPresent
  419. --]]
  420. local tmp = Root:Find("UIAnimator/Window/BtnPresent").gameObject
  421. if tolua.getpeer(tmp) == nil then
  422. tolua.setpeer(tmp, {})
  423. end
  424. self.btnPresent = tmp
  425. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  426. end
  427. ---@private
  428. function UIClimbingTowerView:InitGenerate__12(Root, data)
  429. --[[
  430. UIAnimator/Window/BtnPresent_lock
  431. --]]
  432. local tmp = Root:Find("UIAnimator/Window/BtnPresent_lock").gameObject
  433. if tolua.getpeer(tmp) == nil then
  434. tolua.setpeer(tmp, {})
  435. end
  436. self.btnPresent_lock = tmp
  437. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  438. end
  439. ---@private
  440. function UIClimbingTowerView:InitGenerate__13(Root, data)
  441. --[[
  442. UIAnimator/Window/BtnTowerTop
  443. --]]
  444. local tmp = Root:Find("UIAnimator/Window/BtnTowerTop").gameObject
  445. if tolua.getpeer(tmp) == nil then
  446. tolua.setpeer(tmp, {})
  447. end
  448. self.btnTowerTop = tmp
  449. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  450. end
  451. ---@private
  452. function UIClimbingTowerView:InitGenerate__14(Root, data)
  453. --[[
  454. UIAnimator/Window/BtnTowerTop_lock
  455. --]]
  456. local tmp = Root:Find("UIAnimator/Window/BtnTowerTop_lock").gameObject
  457. if tolua.getpeer(tmp) == nil then
  458. tolua.setpeer(tmp, {})
  459. end
  460. self.btnTowerTop_lock = tmp
  461. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  462. end
  463. ---@private
  464. function UIClimbingTowerView:InitGenerate__15(Root, data)
  465. --[[
  466. UIAnimator/Window/BtnTower
  467. --]]
  468. local tmp = Root:Find("UIAnimator/Window/BtnTower").gameObject
  469. if tolua.getpeer(tmp) == nil then
  470. tolua.setpeer(tmp, {})
  471. end
  472. self.btnTower = tmp
  473. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  474. end
  475. ---@private
  476. function UIClimbingTowerView:InitGenerate__16(Root, data)
  477. --[[
  478. UIAnimator/Window/BtnPlayRule
  479. --]]
  480. local tmp = Root:Find("UIAnimator/Window/BtnPlayRule").gameObject
  481. if tolua.getpeer(tmp) == nil then
  482. tolua.setpeer(tmp, {})
  483. end
  484. self.playRuleBtn = tmp
  485. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  486. end
  487. ---@private
  488. function UIClimbingTowerView:InitGenerate__17(Root, data)
  489. --[[
  490. UIAnimator/Window/UIGoto
  491. --]]
  492. local tmp = Root:Find("UIAnimator/Window/UIGoto").gameObject
  493. if tolua.getpeer(tmp) == nil then
  494. tolua.setpeer(tmp, {})
  495. end
  496. self.uIGoto = tmp
  497. end
  498. ---@private
  499. function UIClimbingTowerView:InitGenerate__18(Root, data)
  500. --[[
  501. UIAnimator/Window/UIGoto/BgGoto
  502. --]]
  503. local tmp = Root:Find("UIAnimator/Window/UIGoto/BgGoto").gameObject
  504. if tolua.getpeer(tmp) == nil then
  505. tolua.setpeer(tmp, {})
  506. end
  507. self.bgGoto = tmp
  508. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  509. tmp.animator.logWarnings = false
  510. end
  511. ---@private
  512. function UIClimbingTowerView:InitGenerate__19(Root, data)
  513. --[[
  514. UIAnimator/Window/UIGoto/BgGoto/Light
  515. --]]
  516. local tmp = Root:Find("UIAnimator/Window/UIGoto/BgGoto/Light").gameObject
  517. if tolua.getpeer(tmp) == nil then
  518. tolua.setpeer(tmp, {})
  519. end
  520. self.light = tmp
  521. end
  522. ---@private
  523. function UIClimbingTowerView:InitGenerate__20(Root, data)
  524. --[[
  525. UIAnimator/Window/UIGoto/BgGoto/Text1
  526. --]]
  527. local tmp = Root:Find("UIAnimator/Window/UIGoto/BgGoto/Text1").gameObject
  528. if tolua.getpeer(tmp) == nil then
  529. tolua.setpeer(tmp, {})
  530. end
  531. self.text1 = tmp
  532. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  533. end
  534. ---@private
  535. function UIClimbingTowerView:InitGenerate__21(Root, data)
  536. --[[
  537. UIAnimator/Window/UIGoto/BgGoto/Text2
  538. --]]
  539. local tmp = Root:Find("UIAnimator/Window/UIGoto/BgGoto/Text2").gameObject
  540. if tolua.getpeer(tmp) == nil then
  541. tolua.setpeer(tmp, {})
  542. end
  543. self.text2 = tmp
  544. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  545. end
  546. ---@private
  547. function UIClimbingTowerView:InitGenerate__22(Root, data)
  548. --[[
  549. UIAnimator/Window/UIGoto/BgGoto/BtnGoto
  550. --]]
  551. local tmp = Root:Find("UIAnimator/Window/UIGoto/BgGoto/BtnGoto").gameObject
  552. if tolua.getpeer(tmp) == nil then
  553. tolua.setpeer(tmp, {})
  554. end
  555. self.btnGoto = tmp
  556. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  557. end
  558. ---@private
  559. function UIClimbingTowerView:InitGenerate__23(Root, data)
  560. --[[
  561. UIAnimator/Window/UIGoto/BgGoto/BtnInOut
  562. --]]
  563. local tmp = Root:Find("UIAnimator/Window/UIGoto/BgGoto/BtnInOut").gameObject
  564. if tolua.getpeer(tmp) == nil then
  565. tolua.setpeer(tmp, {})
  566. end
  567. self.btnInOut = tmp
  568. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  569. end
  570. ---@private
  571. function UIClimbingTowerView:InitGenerate__24(Root, data)
  572. --[[
  573. UIAnimator/Window/UIGoto/BgGoto/BtnInOut/IconGoto
  574. --]]
  575. local tmp = Root:Find("UIAnimator/Window/UIGoto/BgGoto/BtnInOut/IconGoto").gameObject
  576. if tolua.getpeer(tmp) == nil then
  577. tolua.setpeer(tmp, {})
  578. end
  579. self.iconGoto = tmp
  580. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  581. end
  582. ---@private
  583. function UIClimbingTowerView:InitGenerate__25(Root, data)
  584. --[[
  585. UIAnimator/Window/Cover
  586. --]]
  587. local tmp = Root:Find("UIAnimator/Window/Cover").gameObject
  588. if tolua.getpeer(tmp) == nil then
  589. tolua.setpeer(tmp, {})
  590. end
  591. self.cover = tmp
  592. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  593. tmp.animator.logWarnings = false
  594. end
  595. ---@private
  596. function UIClimbingTowerView:InitGenerate__26(Root, data)
  597. --[[
  598. UIAnimator/Window/WJNode
  599. --]]
  600. local tmp = Root:Find("UIAnimator/Window/WJNode").gameObject
  601. if tolua.getpeer(tmp) == nil then
  602. tolua.setpeer(tmp, {})
  603. end
  604. self.wJNode = tmp
  605. end
  606. ---@private
  607. function UIClimbingTowerView:InitGenerate__27(Root, data)
  608. --[[
  609. UIAnimator/Window/WJNode/BgImage
  610. --]]
  611. local tmp = Root:Find("UIAnimator/Window/WJNode/BgImage").gameObject
  612. if tolua.getpeer(tmp) == nil then
  613. tolua.setpeer(tmp, {})
  614. end
  615. self.bgImage = tmp
  616. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  617. end
  618. ---@private
  619. function UIClimbingTowerView:InitGenerate__28(Root, data)
  620. --[[
  621. UIAnimator/Window/WJNode/NpcNode
  622. --]]
  623. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode").gameObject
  624. if tolua.getpeer(tmp) == nil then
  625. tolua.setpeer(tmp, {})
  626. end
  627. self.wjnpcList = tmp
  628. end
  629. ---@private
  630. function UIClimbingTowerView:InitGenerate__29(Root, data)
  631. --[[
  632. UIAnimator/Window/WJNode/NpcNode/Slot1/Pos/Npc1
  633. --]]
  634. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot1/Pos/Npc1").gameObject
  635. if tolua.getpeer(tmp) == nil then
  636. tolua.setpeer(tmp, {})
  637. end
  638. self.wjnpcList.npc1 = tmp
  639. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  640. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  641. end
  642. ---@private
  643. function UIClimbingTowerView:InitGenerate__30(Root, data)
  644. --[[
  645. UIAnimator/Window/WJNode/NpcNode/Slot1/Level/NpcLevel
  646. --]]
  647. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot1/Level/NpcLevel").gameObject
  648. if tolua.getpeer(tmp) == nil then
  649. tolua.setpeer(tmp, {})
  650. end
  651. self.wjnpcList.npcLevel1 = tmp
  652. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  653. end
  654. ---@private
  655. function UIClimbingTowerView:InitGenerate__31(Root, data)
  656. --[[
  657. UIAnimator/Window/WJNode/NpcNode/Slot1/Level/icon
  658. --]]
  659. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot1/Level/icon").gameObject
  660. if tolua.getpeer(tmp) == nil then
  661. tolua.setpeer(tmp, {})
  662. end
  663. self.wjnpcList.natureIcon1 = tmp
  664. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  665. end
  666. ---@private
  667. function UIClimbingTowerView:InitGenerate__32(Root, data)
  668. --[[
  669. UIAnimator/Window/WJNode/NpcNode/Slot2/Pos/Npc2
  670. --]]
  671. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot2/Pos/Npc2").gameObject
  672. if tolua.getpeer(tmp) == nil then
  673. tolua.setpeer(tmp, {})
  674. end
  675. self.wjnpcList.npc2 = tmp
  676. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  677. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  678. end
  679. ---@private
  680. function UIClimbingTowerView:InitGenerate__33(Root, data)
  681. --[[
  682. UIAnimator/Window/WJNode/NpcNode/Slot2/Level/NpcLevel
  683. --]]
  684. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot2/Level/NpcLevel").gameObject
  685. if tolua.getpeer(tmp) == nil then
  686. tolua.setpeer(tmp, {})
  687. end
  688. self.wjnpcList.npcLevel2 = tmp
  689. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  690. end
  691. ---@private
  692. function UIClimbingTowerView:InitGenerate__34(Root, data)
  693. --[[
  694. UIAnimator/Window/WJNode/NpcNode/Slot2/Level/icon
  695. --]]
  696. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot2/Level/icon").gameObject
  697. if tolua.getpeer(tmp) == nil then
  698. tolua.setpeer(tmp, {})
  699. end
  700. self.wjnpcList.natureIcon2 = tmp
  701. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  702. end
  703. ---@private
  704. function UIClimbingTowerView:InitGenerate__35(Root, data)
  705. --[[
  706. UIAnimator/Window/WJNode/NpcNode/Slot3/Pos/Npc3
  707. --]]
  708. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot3/Pos/Npc3").gameObject
  709. if tolua.getpeer(tmp) == nil then
  710. tolua.setpeer(tmp, {})
  711. end
  712. self.wjnpcList.npc3 = tmp
  713. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  714. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  715. end
  716. ---@private
  717. function UIClimbingTowerView:InitGenerate__36(Root, data)
  718. --[[
  719. UIAnimator/Window/WJNode/NpcNode/Slot3/Level/NpcLevel
  720. --]]
  721. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot3/Level/NpcLevel").gameObject
  722. if tolua.getpeer(tmp) == nil then
  723. tolua.setpeer(tmp, {})
  724. end
  725. self.wjnpcList.npcLevel3 = tmp
  726. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  727. end
  728. ---@private
  729. function UIClimbingTowerView:InitGenerate__37(Root, data)
  730. --[[
  731. UIAnimator/Window/WJNode/NpcNode/Slot3/Level/icon
  732. --]]
  733. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot3/Level/icon").gameObject
  734. if tolua.getpeer(tmp) == nil then
  735. tolua.setpeer(tmp, {})
  736. end
  737. self.wjnpcList.natureIcon3 = tmp
  738. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  739. end
  740. ---@private
  741. function UIClimbingTowerView:InitGenerate__38(Root, data)
  742. --[[
  743. UIAnimator/Window/WJNode/NpcNode/Slot4/Pos/Npc4
  744. --]]
  745. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot4/Pos/Npc4").gameObject
  746. if tolua.getpeer(tmp) == nil then
  747. tolua.setpeer(tmp, {})
  748. end
  749. self.wjnpcList.npc4 = tmp
  750. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  751. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  752. end
  753. ---@private
  754. function UIClimbingTowerView:InitGenerate__39(Root, data)
  755. --[[
  756. UIAnimator/Window/WJNode/NpcNode/Slot4/Level/NpcLevel
  757. --]]
  758. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot4/Level/NpcLevel").gameObject
  759. if tolua.getpeer(tmp) == nil then
  760. tolua.setpeer(tmp, {})
  761. end
  762. self.wjnpcList.npcLevel4 = tmp
  763. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  764. end
  765. ---@private
  766. function UIClimbingTowerView:InitGenerate__40(Root, data)
  767. --[[
  768. UIAnimator/Window/WJNode/NpcNode/Slot4/Level/icon
  769. --]]
  770. local tmp = Root:Find("UIAnimator/Window/WJNode/NpcNode/Slot4/Level/icon").gameObject
  771. if tolua.getpeer(tmp) == nil then
  772. tolua.setpeer(tmp, {})
  773. end
  774. self.wjnpcList.natureIcon4 = tmp
  775. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  776. end
  777. ---@private
  778. function UIClimbingTowerView:InitGenerate__41(Root, data)
  779. --[[
  780. UIAnimator/Window/WJNode/PassedNode
  781. --]]
  782. local tmp = Root:Find("UIAnimator/Window/WJNode/PassedNode").gameObject
  783. if tolua.getpeer(tmp) == nil then
  784. tolua.setpeer(tmp, {})
  785. end
  786. self.wjpassedNode = tmp
  787. end
  788. ---@private
  789. function UIClimbingTowerView:InitGenerate__42(Root, data)
  790. --[[
  791. UIAnimator/Window/WJNode/BtnBox/LevelInfoBtn
  792. --]]
  793. local tmp = Root:Find("UIAnimator/Window/WJNode/BtnBox/LevelInfoBtn").gameObject
  794. if tolua.getpeer(tmp) == nil then
  795. tolua.setpeer(tmp, {})
  796. end
  797. self.levelInfoBtn = tmp
  798. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  799. end
  800. ---@private
  801. function UIClimbingTowerView:InitGenerate__43(Root, data)
  802. --[[
  803. UIAnimator/Window/WJNode/BtnBox/FriendImg
  804. --]]
  805. local tmp = Root:Find("UIAnimator/Window/WJNode/BtnBox/FriendImg").gameObject
  806. if tolua.getpeer(tmp) == nil then
  807. tolua.setpeer(tmp, {})
  808. end
  809. self.friendNode = tmp
  810. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  811. end
  812. ---@private
  813. function UIClimbingTowerView:InitGenerate__44(Root, data)
  814. --[[
  815. UIAnimator/Window/WJNode/Bonus
  816. --]]
  817. local tmp = Root:Find("UIAnimator/Window/WJNode/Bonus").gameObject
  818. if tolua.getpeer(tmp) == nil then
  819. tolua.setpeer(tmp, {})
  820. end
  821. self.wjbonusNode = tmp
  822. self.wjbonusNode:SetActive(false)
  823. end
  824. ---@private
  825. function UIClimbingTowerView:InitGenerate__45(Root, data)
  826. --[[
  827. UIAnimator/Window/WJNode/Bonus/Items
  828. --]]
  829. local tmp = Root:Find("UIAnimator/Window/WJNode/Bonus/Items").gameObject
  830. if tolua.getpeer(tmp) == nil then
  831. tolua.setpeer(tmp, {})
  832. end
  833. self.wjbonusNode.items = tmp
  834. end
  835. ---@private
  836. function UIClimbingTowerView:InitGenerate__46(Root, data)
  837. --[[
  838. UIAnimator/Window/WJNode/Bonus/Items/item1
  839. --]]
  840. local tmp = Root:Find("UIAnimator/Window/WJNode/Bonus/Items/item1").gameObject
  841. if tolua.getpeer(tmp) == nil then
  842. tolua.setpeer(tmp, {})
  843. end
  844. self.wjbonusNode.items.item1 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  845. self.wjbonusNode.items.item1.prefabName = "IconItem"
  846. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  847. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  848. end
  849. ---@private
  850. function UIClimbingTowerView:InitGenerate__47(Root, data)
  851. --[[
  852. UIAnimator/Window/WJNode/Bonus/Items/item2
  853. --]]
  854. local tmp = Root:Find("UIAnimator/Window/WJNode/Bonus/Items/item2").gameObject
  855. if tolua.getpeer(tmp) == nil then
  856. tolua.setpeer(tmp, {})
  857. end
  858. self.wjbonusNode.items.item2 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  859. self.wjbonusNode.items.item2.prefabName = "IconItem"
  860. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  861. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  862. end
  863. ---@private
  864. function UIClimbingTowerView:InitGenerate__48(Root, data)
  865. --[[
  866. UIAnimator/Window/WJNode/Bonus/Items/item3
  867. --]]
  868. local tmp = Root:Find("UIAnimator/Window/WJNode/Bonus/Items/item3").gameObject
  869. if tolua.getpeer(tmp) == nil then
  870. tolua.setpeer(tmp, {})
  871. end
  872. self.wjbonusNode.items.item3 = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp)
  873. self.wjbonusNode.items.item3.prefabName = "IconItem"
  874. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  875. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  876. end
  877. ---@private
  878. function UIClimbingTowerView:InitGenerate__49(Root, data)
  879. --[[
  880. UIAnimator/Window/WJNode/Top/LevelNumTxt
  881. --]]
  882. local tmp = Root:Find("UIAnimator/Window/WJNode/Top/LevelNumTxt").gameObject
  883. if tolua.getpeer(tmp) == nil then
  884. tolua.setpeer(tmp, {})
  885. end
  886. self.levelNum = tmp
  887. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  888. end
  889. ---@private
  890. function UIClimbingTowerView:InitGenerate__50(Root, data)
  891. --[[
  892. UIAnimator/Window/WJNode/Bottom
  893. --]]
  894. local tmp = Root:Find("UIAnimator/Window/WJNode/Bottom").gameObject
  895. if tolua.getpeer(tmp) == nil then
  896. tolua.setpeer(tmp, {})
  897. end
  898. self.wjbottomNode = tmp
  899. end
  900. ---@private
  901. function UIClimbingTowerView:InitGenerate__51(Root, data)
  902. --[[
  903. UIAnimator/Window/WJNode/Bottom/left
  904. --]]
  905. local tmp = Root:Find("UIAnimator/Window/WJNode/Bottom/left").gameObject
  906. if tolua.getpeer(tmp) == nil then
  907. tolua.setpeer(tmp, {})
  908. end
  909. self.left = tmp
  910. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  911. end
  912. ---@private
  913. function UIClimbingTowerView:InitGenerate__52(Root, data)
  914. --[[
  915. UIAnimator/Window/WJNode/Bottom/right
  916. --]]
  917. local tmp = Root:Find("UIAnimator/Window/WJNode/Bottom/right").gameObject
  918. if tolua.getpeer(tmp) == nil then
  919. tolua.setpeer(tmp, {})
  920. end
  921. self.right = tmp
  922. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  923. end
  924. ---@private
  925. function UIClimbingTowerView:InitGenerate__53(Root, data)
  926. --[[
  927. UIAnimator/Window/WJNode/Bottom/center
  928. --]]
  929. local tmp = Root:Find("UIAnimator/Window/WJNode/Bottom/center").gameObject
  930. if tolua.getpeer(tmp) == nil then
  931. tolua.setpeer(tmp, {})
  932. end
  933. self.center = tmp
  934. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  935. end
  936. ---@private
  937. function UIClimbingTowerView:InitGenerate__54(Root, data)
  938. --[[
  939. UIAnimator/Window/WJNode/ChallengeBtn
  940. --]]
  941. local tmp = Root:Find("UIAnimator/Window/WJNode/ChallengeBtn").gameObject
  942. if tolua.getpeer(tmp) == nil then
  943. tolua.setpeer(tmp, {})
  944. end
  945. self.wjchallengeBtn = tmp
  946. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  947. end
  948. ---@private
  949. function UIClimbingTowerView:InitGenerate__55(Root, data)
  950. --[[
  951. UIAnimator/Window/WJNode/Cover (1)
  952. --]]
  953. local tmp = Root:Find("UIAnimator/Window/WJNode/Cover (1)").gameObject
  954. if tolua.getpeer(tmp) == nil then
  955. tolua.setpeer(tmp, {})
  956. end
  957. self.wjCover = tmp
  958. end
  959. ---@private
  960. function UIClimbingTowerView:InitGenerate__56(Root, data)
  961. --[[
  962. UIAnimator/TowerModes
  963. --]]
  964. local tmp = Root:Find("UIAnimator/TowerModes").gameObject
  965. if tolua.getpeer(tmp) == nil then
  966. tolua.setpeer(tmp, {})
  967. end
  968. self.towerModes = tmp
  969. end
  970. ---@private
  971. function UIClimbingTowerView:InitGenerate__57(Root, data)
  972. --[[
  973. UIAnimator/TowerModes/TowerBgBtn
  974. --]]
  975. local tmp = Root:Find("UIAnimator/TowerModes/TowerBgBtn").gameObject
  976. if tolua.getpeer(tmp) == nil then
  977. tolua.setpeer(tmp, {})
  978. end
  979. self.towerBgBtn = tmp
  980. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  981. end
  982. ---@private
  983. function UIClimbingTowerView:InitGenerate__58(Root, data)
  984. --[[
  985. UIAnimator/TowerModes/ModeNode
  986. --]]
  987. local tmp = Root:Find("UIAnimator/TowerModes/ModeNode").gameObject
  988. if tolua.getpeer(tmp) == nil then
  989. tolua.setpeer(tmp, {})
  990. end
  991. self.modeNode = tmp
  992. tmp.loopVerticalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopVerticalScrollRect)
  993. end
  994. ---@private
  995. function UIClimbingTowerView:InitGenerate__59(Root, data)
  996. --[[
  997. UIAnimator/TowerModes/ModeNode/Viewport/Content
  998. --]]
  999. local tmp = Root:Find("UIAnimator/TowerModes/ModeNode/Viewport/Content").gameObject
  1000. if tolua.getpeer(tmp) == nil then
  1001. tolua.setpeer(tmp, {})
  1002. end
  1003. self.content = tmp
  1004. tmp.verticalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.VerticalLayoutGroup)
  1005. end
  1006. ---@private
  1007. function UIClimbingTowerView:GenerateDestroy()
  1008. if self.wjbonusNode.items.item3.GenerateDestroy ~= nil then
  1009. self.wjbonusNode.items.item3:GenerateDestroy()
  1010. end
  1011. if tolua.getpeer(self.wjbonusNode.items.item3) ~= nil then
  1012. tolua.setpeer(self.wjbonusNode.items.item3, nil)
  1013. end
  1014. if self.wjbonusNode.items.item2.GenerateDestroy ~= nil then
  1015. self.wjbonusNode.items.item2:GenerateDestroy()
  1016. end
  1017. if tolua.getpeer(self.wjbonusNode.items.item2) ~= nil then
  1018. tolua.setpeer(self.wjbonusNode.items.item2, nil)
  1019. end
  1020. if self.wjbonusNode.items.item1.GenerateDestroy ~= nil then
  1021. self.wjbonusNode.items.item1:GenerateDestroy()
  1022. end
  1023. if tolua.getpeer(self.wjbonusNode.items.item1) ~= nil then
  1024. tolua.setpeer(self.wjbonusNode.items.item1, nil)
  1025. end
  1026. if tolua.getpeer(self.wjbonusNode.items) ~= nil then
  1027. tolua.setpeer(self.wjbonusNode.items, nil)
  1028. end
  1029. if tolua.getpeer(self.wjnpcList.natureIcon4) ~= nil then
  1030. tolua.setpeer(self.wjnpcList.natureIcon4, nil)
  1031. end
  1032. if tolua.getpeer(self.wjnpcList.npcLevel4) ~= nil then
  1033. tolua.setpeer(self.wjnpcList.npcLevel4, nil)
  1034. end
  1035. if tolua.getpeer(self.wjnpcList.npc4) ~= nil then
  1036. tolua.setpeer(self.wjnpcList.npc4, nil)
  1037. end
  1038. if tolua.getpeer(self.wjnpcList.natureIcon3) ~= nil then
  1039. tolua.setpeer(self.wjnpcList.natureIcon3, nil)
  1040. end
  1041. if tolua.getpeer(self.wjnpcList.npcLevel3) ~= nil then
  1042. tolua.setpeer(self.wjnpcList.npcLevel3, nil)
  1043. end
  1044. if tolua.getpeer(self.wjnpcList.npc3) ~= nil then
  1045. tolua.setpeer(self.wjnpcList.npc3, nil)
  1046. end
  1047. if tolua.getpeer(self.wjnpcList.natureIcon2) ~= nil then
  1048. tolua.setpeer(self.wjnpcList.natureIcon2, nil)
  1049. end
  1050. if tolua.getpeer(self.wjnpcList.npcLevel2) ~= nil then
  1051. tolua.setpeer(self.wjnpcList.npcLevel2, nil)
  1052. end
  1053. if tolua.getpeer(self.wjnpcList.npc2) ~= nil then
  1054. tolua.setpeer(self.wjnpcList.npc2, nil)
  1055. end
  1056. if tolua.getpeer(self.wjnpcList.natureIcon1) ~= nil then
  1057. tolua.setpeer(self.wjnpcList.natureIcon1, nil)
  1058. end
  1059. if tolua.getpeer(self.wjnpcList.npcLevel1) ~= nil then
  1060. tolua.setpeer(self.wjnpcList.npcLevel1, nil)
  1061. end
  1062. if tolua.getpeer(self.wjnpcList.npc1) ~= nil then
  1063. tolua.setpeer(self.wjnpcList.npc1, nil)
  1064. end
  1065. if tolua.getpeer(self.scrollview.content) ~= nil then
  1066. tolua.setpeer(self.scrollview.content, nil)
  1067. end
  1068. if tolua.getpeer(self.uIAnimator) ~= nil then
  1069. tolua.setpeer(self.uIAnimator, nil)
  1070. end
  1071. self.uIAnimator = nil
  1072. if tolua.getpeer(self.AnyBtn) ~= nil then
  1073. tolua.setpeer(self.AnyBtn, nil)
  1074. end
  1075. self.AnyBtn = nil
  1076. if tolua.getpeer(self.scrollview) ~= nil then
  1077. tolua.setpeer(self.scrollview, nil)
  1078. end
  1079. self.scrollview = nil
  1080. if self.climbingTowerLevelItem.GenerateDestroy ~= nil then
  1081. self.climbingTowerLevelItem:GenerateDestroy()
  1082. end
  1083. if tolua.getpeer(self.climbingTowerLevelItem) ~= nil then
  1084. tolua.setpeer(self.climbingTowerLevelItem, nil)
  1085. end
  1086. self.climbingTowerLevelItem = nil
  1087. if self.climbingTowerTopItem.GenerateDestroy ~= nil then
  1088. self.climbingTowerTopItem:GenerateDestroy()
  1089. end
  1090. if tolua.getpeer(self.climbingTowerTopItem) ~= nil then
  1091. tolua.setpeer(self.climbingTowerTopItem, nil)
  1092. end
  1093. self.climbingTowerTopItem = nil
  1094. if tolua.getpeer(self.boardTitle) ~= nil then
  1095. tolua.setpeer(self.boardTitle, nil)
  1096. end
  1097. self.boardTitle = nil
  1098. if tolua.getpeer(self.btnStatistics) ~= nil then
  1099. tolua.setpeer(self.btnStatistics, nil)
  1100. end
  1101. self.btnStatistics = nil
  1102. if tolua.getpeer(self.closeBtn) ~= nil then
  1103. tolua.setpeer(self.closeBtn, nil)
  1104. end
  1105. self.closeBtn = nil
  1106. if tolua.getpeer(self.rankBtn) ~= nil then
  1107. tolua.setpeer(self.rankBtn, nil)
  1108. end
  1109. self.rankBtn = nil
  1110. if tolua.getpeer(self.btnPresent) ~= nil then
  1111. tolua.setpeer(self.btnPresent, nil)
  1112. end
  1113. self.btnPresent = nil
  1114. if tolua.getpeer(self.btnPresent_lock) ~= nil then
  1115. tolua.setpeer(self.btnPresent_lock, nil)
  1116. end
  1117. self.btnPresent_lock = nil
  1118. if tolua.getpeer(self.btnTowerTop) ~= nil then
  1119. tolua.setpeer(self.btnTowerTop, nil)
  1120. end
  1121. self.btnTowerTop = nil
  1122. if tolua.getpeer(self.btnTowerTop_lock) ~= nil then
  1123. tolua.setpeer(self.btnTowerTop_lock, nil)
  1124. end
  1125. self.btnTowerTop_lock = nil
  1126. if tolua.getpeer(self.btnTower) ~= nil then
  1127. tolua.setpeer(self.btnTower, nil)
  1128. end
  1129. self.btnTower = nil
  1130. if tolua.getpeer(self.playRuleBtn) ~= nil then
  1131. tolua.setpeer(self.playRuleBtn, nil)
  1132. end
  1133. self.playRuleBtn = nil
  1134. if tolua.getpeer(self.uIGoto) ~= nil then
  1135. tolua.setpeer(self.uIGoto, nil)
  1136. end
  1137. self.uIGoto = nil
  1138. if tolua.getpeer(self.bgGoto) ~= nil then
  1139. tolua.setpeer(self.bgGoto, nil)
  1140. end
  1141. self.bgGoto = nil
  1142. if tolua.getpeer(self.light) ~= nil then
  1143. tolua.setpeer(self.light, nil)
  1144. end
  1145. self.light = nil
  1146. if tolua.getpeer(self.text1) ~= nil then
  1147. tolua.setpeer(self.text1, nil)
  1148. end
  1149. self.text1 = nil
  1150. if tolua.getpeer(self.text2) ~= nil then
  1151. tolua.setpeer(self.text2, nil)
  1152. end
  1153. self.text2 = nil
  1154. if tolua.getpeer(self.btnGoto) ~= nil then
  1155. tolua.setpeer(self.btnGoto, nil)
  1156. end
  1157. self.btnGoto = nil
  1158. if tolua.getpeer(self.btnInOut) ~= nil then
  1159. tolua.setpeer(self.btnInOut, nil)
  1160. end
  1161. self.btnInOut = nil
  1162. if tolua.getpeer(self.iconGoto) ~= nil then
  1163. tolua.setpeer(self.iconGoto, nil)
  1164. end
  1165. self.iconGoto = nil
  1166. if tolua.getpeer(self.cover) ~= nil then
  1167. tolua.setpeer(self.cover, nil)
  1168. end
  1169. self.cover = nil
  1170. if tolua.getpeer(self.wJNode) ~= nil then
  1171. tolua.setpeer(self.wJNode, nil)
  1172. end
  1173. self.wJNode = nil
  1174. if tolua.getpeer(self.bgImage) ~= nil then
  1175. tolua.setpeer(self.bgImage, nil)
  1176. end
  1177. self.bgImage = nil
  1178. if tolua.getpeer(self.wjnpcList) ~= nil then
  1179. tolua.setpeer(self.wjnpcList, nil)
  1180. end
  1181. self.wjnpcList = nil
  1182. if tolua.getpeer(self.wjpassedNode) ~= nil then
  1183. tolua.setpeer(self.wjpassedNode, nil)
  1184. end
  1185. self.wjpassedNode = nil
  1186. if tolua.getpeer(self.levelInfoBtn) ~= nil then
  1187. tolua.setpeer(self.levelInfoBtn, nil)
  1188. end
  1189. self.levelInfoBtn = nil
  1190. if tolua.getpeer(self.friendNode) ~= nil then
  1191. tolua.setpeer(self.friendNode, nil)
  1192. end
  1193. self.friendNode = nil
  1194. if tolua.getpeer(self.wjbonusNode) ~= nil then
  1195. tolua.setpeer(self.wjbonusNode, nil)
  1196. end
  1197. self.wjbonusNode = nil
  1198. if tolua.getpeer(self.levelNum) ~= nil then
  1199. tolua.setpeer(self.levelNum, nil)
  1200. end
  1201. self.levelNum = nil
  1202. if tolua.getpeer(self.wjbottomNode) ~= nil then
  1203. tolua.setpeer(self.wjbottomNode, nil)
  1204. end
  1205. self.wjbottomNode = nil
  1206. if tolua.getpeer(self.left) ~= nil then
  1207. tolua.setpeer(self.left, nil)
  1208. end
  1209. self.left = nil
  1210. if tolua.getpeer(self.right) ~= nil then
  1211. tolua.setpeer(self.right, nil)
  1212. end
  1213. self.right = nil
  1214. if tolua.getpeer(self.center) ~= nil then
  1215. tolua.setpeer(self.center, nil)
  1216. end
  1217. self.center = nil
  1218. if tolua.getpeer(self.wjchallengeBtn) ~= nil then
  1219. tolua.setpeer(self.wjchallengeBtn, nil)
  1220. end
  1221. self.wjchallengeBtn = nil
  1222. if tolua.getpeer(self.wjCover) ~= nil then
  1223. tolua.setpeer(self.wjCover, nil)
  1224. end
  1225. self.wjCover = nil
  1226. if tolua.getpeer(self.towerModes) ~= nil then
  1227. tolua.setpeer(self.towerModes, nil)
  1228. end
  1229. self.towerModes = nil
  1230. if tolua.getpeer(self.towerBgBtn) ~= nil then
  1231. tolua.setpeer(self.towerBgBtn, nil)
  1232. end
  1233. self.towerBgBtn = nil
  1234. if tolua.getpeer(self.modeNode) ~= nil then
  1235. tolua.setpeer(self.modeNode, nil)
  1236. end
  1237. self.modeNode = nil
  1238. if tolua.getpeer(self.content) ~= nil then
  1239. tolua.setpeer(self.content, nil)
  1240. end
  1241. self.content = nil
  1242. self.transform = nil
  1243. self.gameObject = nil
  1244. self.inited = false
  1245. end
  1246. return UIClimbingTowerView