UIClimbingTowerRankView_Generate.lua 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. ---@class UIClimbingTowerRank__Generate_selfRank_serverName
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIClimbingTowerRank__Generate_selfRank_blockNum
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text UnityEngine.UI.Text
  7. ---@class UIClimbingTowerRank__Generate_selfRank_blockNumTitle
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public uILocalizeScript UILocalizeScript
  10. ---@class UIClimbingTowerRank__Generate_selfRank_passedTime
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public text UnityEngine.UI.Text
  13. ---@class UIClimbingTowerRank__Generate_selfRank_passedTimeTips
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public text UnityEngine.UI.Text
  16. ---@class UIClimbingTowerRank__Generate_selfRank_levelNum
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public text UnityEngine.UI.Text
  19. ---@class UIClimbingTowerRank__Generate_selfRank_levelNumTips
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public text UnityEngine.UI.Text
  22. ---@class UIClimbingTowerRank__Generate_selfRank_playerNode_fighterPower
  23. ---@field public gameObject UnityEngine.GameObject
  24. ---@field public text UnityEngine.UI.Text
  25. ---@class UIClimbingTowerRank__Generate_selfRank_vipIcon
  26. ---@field public gameObject UnityEngine.GameObject
  27. ---@field public image UnityEngine.UI.Image
  28. ---@class UIClimbingTowerRank__Generate_selfRank_playerNode_playerName
  29. ---@field public gameObject UnityEngine.GameObject
  30. ---@field public text UnityEngine.UI.Text
  31. ---@class UIClimbingTowerRank__Generate_selfRank_playerNode_headItem
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public layoutElement UnityEngine.UI.LayoutElement
  34. ---@class UIClimbingTowerRank__Generate_selfRank_playerNode
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public headItem UIClimbingTowerRank__Generate_selfRank_playerNode_headItem
  37. ---@field public playerName UIClimbingTowerRank__Generate_selfRank_playerNode_playerName
  38. ---@field public fighterPower UIClimbingTowerRank__Generate_selfRank_playerNode_fighterPower
  39. ---@class UIClimbingTowerRank__Generate_selfRank_rankImg
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public image UnityEngine.UI.Image
  42. ---@field public switchSprite SwitchSprite
  43. ---@class UIClimbingTowerRank__Generate_selfRank_rank
  44. ---@field public gameObject UnityEngine.GameObject
  45. ---@field public text UnityEngine.UI.Text
  46. ---@class UIClimbingTowerRank__Generate_selfRank
  47. ---@field public gameObject UnityEngine.GameObject
  48. ---@field public rank UIClimbingTowerRank__Generate_selfRank_rank
  49. ---@field public rankImg UIClimbingTowerRank__Generate_selfRank_rankImg
  50. ---@field public playerNode UIClimbingTowerRank__Generate_selfRank_playerNode
  51. ---@field public vipIcon UIClimbingTowerRank__Generate_selfRank_vipIcon
  52. ---@field public levelNumTips UIClimbingTowerRank__Generate_selfRank_levelNumTips
  53. ---@field public levelNum UIClimbingTowerRank__Generate_selfRank_levelNum
  54. ---@field public passedTimeTips UIClimbingTowerRank__Generate_selfRank_passedTimeTips
  55. ---@field public passedTime UIClimbingTowerRank__Generate_selfRank_passedTime
  56. ---@field public blockNumTitle UIClimbingTowerRank__Generate_selfRank_blockNumTitle
  57. ---@field public blockNum UIClimbingTowerRank__Generate_selfRank_blockNum
  58. ---@field public serverName UIClimbingTowerRank__Generate_selfRank_serverName
  59. ---@class UIClimbingTowerRank__Generate_rankContent
  60. ---@field public gameObject UnityEngine.GameObject
  61. ---@field public gridLayoutGroup UnityEngine.UI.GridLayoutGroup
  62. ---@class UIClimbingTowerRank__Generate_rankScroll
  63. ---@field public gameObject UnityEngine.GameObject
  64. ---@field public loopVerticalScrollRect UnityEngine.UI.LoopVerticalScrollRect
  65. ---@class UIClimbingTowerRank__Generate_closeBtn
  66. ---@field public gameObject UnityEngine.GameObject
  67. ---@field public button UnityEngine.UI.Button
  68. ---@class UIClimbingTowerRank__Generate_AnyBtn
  69. ---@field public gameObject UnityEngine.GameObject
  70. ---@field public button UnityEngine.UI.Button
  71. ---@class UIClimbingTowerRank__Generate_uIAnimator
  72. ---@field public gameObject UnityEngine.GameObject
  73. ---@field public animator UnityEngine.Animator
  74. ---@class UIClimbingTowerRank__Generate
  75. ---@field private gameObject UnityEngine.GameObject
  76. ---@field private transform UnityEngine.Transform
  77. ---@field private uIAnimator UIClimbingTowerRank__Generate_uIAnimator
  78. ---@field private AnyBtn UIClimbingTowerRank__Generate_AnyBtn
  79. ---@field private closeBtn UIClimbingTowerRank__Generate_closeBtn
  80. ---@field private rankScroll UIClimbingTowerRank__Generate_rankScroll
  81. ---@field private rankContent UIClimbingTowerRank__Generate_rankContent
  82. ---@field private emptyNode UnityEngine.GameObject
  83. ---@field private selfRank UIClimbingTowerRank__Generate_selfRank
  84. local UIClimbingTowerRankView = class("UIClimbingTowerRankView", require("UIViewBase"))
  85. function UIClimbingTowerRankView:ctor()
  86. end
  87. ---@private
  88. function UIClimbingTowerRankView:SetActive(result)
  89. self.gameObject:SetActive(result)
  90. end
  91. ---@private
  92. function UIClimbingTowerRankView:InitGenerate(Root, data)
  93. self.transform = Root
  94. self.inited = true
  95. if self.super.Init then
  96. self.super.Init(self)
  97. end
  98. local tmp
  99. self:InitGenerate__1(Root,data)
  100. self:InitGenerate__2(Root,data)
  101. self:InitGenerate__3(Root,data)
  102. self:InitGenerate__4(Root,data)
  103. self:InitGenerate__5(Root,data)
  104. self:InitGenerate__6(Root,data)
  105. self:InitGenerate__7(Root,data)
  106. self:InitGenerate__8(Root,data)
  107. self:InitGenerate__9(Root,data)
  108. self:InitGenerate__10(Root,data)
  109. self:InitGenerate__11(Root,data)
  110. self:InitGenerate__12(Root,data)
  111. self:InitGenerate__13(Root,data)
  112. self:InitGenerate__14(Root,data)
  113. self:InitGenerate__15(Root,data)
  114. self:InitGenerate__16(Root,data)
  115. self:InitGenerate__17(Root,data)
  116. self:InitGenerate__18(Root,data)
  117. self:InitGenerate__19(Root,data)
  118. self:InitGenerate__20(Root,data)
  119. self:InitGenerate__21(Root,data)
  120. self:InitGenerate__22(Root,data)
  121. end
  122. ---@private
  123. function UIClimbingTowerRankView:InitGenerate__1(Root, data)
  124. --[[
  125. Root
  126. --]]
  127. end
  128. ---@private
  129. function UIClimbingTowerRankView:InitGenerate__2(Root, data)
  130. --[[
  131. UIAnimator
  132. --]]
  133. local tmp = Root:Find("UIAnimator").gameObject
  134. if tolua.getpeer(tmp) == nil then
  135. tolua.setpeer(tmp, {})
  136. end
  137. self.uIAnimator = tmp
  138. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  139. tmp.animator.logWarnings = false
  140. end
  141. ---@private
  142. function UIClimbingTowerRankView:InitGenerate__3(Root, data)
  143. --[[
  144. UIAnimator/Alpha
  145. --]]
  146. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  147. if tolua.getpeer(tmp) == nil then
  148. tolua.setpeer(tmp, {})
  149. end
  150. self.AnyBtn = tmp
  151. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  152. end
  153. ---@private
  154. function UIClimbingTowerRankView:InitGenerate__4(Root, data)
  155. --[[
  156. UIAnimator/Window/Bg/CloseBox/BtnClose
  157. --]]
  158. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
  159. if tolua.getpeer(tmp) == nil then
  160. tolua.setpeer(tmp, {})
  161. end
  162. self.closeBtn = tmp
  163. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  164. end
  165. ---@private
  166. function UIClimbingTowerRankView:InitGenerate__5(Root, data)
  167. --[[
  168. UIAnimator/Window/Bg/CenterView/PlayerScroll
  169. --]]
  170. local tmp = Root:Find("UIAnimator/Window/Bg/CenterView/PlayerScroll").gameObject
  171. if tolua.getpeer(tmp) == nil then
  172. tolua.setpeer(tmp, {})
  173. end
  174. self.rankScroll = tmp
  175. tmp.loopVerticalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopVerticalScrollRect)
  176. end
  177. ---@private
  178. function UIClimbingTowerRankView:InitGenerate__6(Root, data)
  179. --[[
  180. UIAnimator/Window/Bg/CenterView/PlayerScroll/Viewport/Content
  181. --]]
  182. local tmp = Root:Find("UIAnimator/Window/Bg/CenterView/PlayerScroll/Viewport/Content").gameObject
  183. if tolua.getpeer(tmp) == nil then
  184. tolua.setpeer(tmp, {})
  185. end
  186. self.rankContent = tmp
  187. tmp.gridLayoutGroup = tmp:GetComponent(Enum.TypeInfo.GridLayoutGroup)
  188. end
  189. ---@private
  190. function UIClimbingTowerRankView:InitGenerate__7(Root, data)
  191. --[[
  192. UIAnimator/Window/Bg/CenterView/Empty
  193. --]]
  194. local tmp = Root:Find("UIAnimator/Window/Bg/CenterView/Empty").gameObject
  195. if tolua.getpeer(tmp) == nil then
  196. tolua.setpeer(tmp, {})
  197. end
  198. self.emptyNode = tmp
  199. end
  200. ---@private
  201. function UIClimbingTowerRankView:InitGenerate__8(Root, data)
  202. --[[
  203. UIAnimator/Window/Bg/BottomView/SelfRank
  204. --]]
  205. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank").gameObject
  206. if tolua.getpeer(tmp) == nil then
  207. tolua.setpeer(tmp, {})
  208. end
  209. self.selfRank = tmp
  210. end
  211. ---@private
  212. function UIClimbingTowerRankView:InitGenerate__9(Root, data)
  213. --[[
  214. UIAnimator/Window/Bg/BottomView/SelfRank/Rank
  215. --]]
  216. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/Rank").gameObject
  217. if tolua.getpeer(tmp) == nil then
  218. tolua.setpeer(tmp, {})
  219. end
  220. self.selfRank.rank = tmp
  221. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  222. end
  223. ---@private
  224. function UIClimbingTowerRankView:InitGenerate__10(Root, data)
  225. --[[
  226. UIAnimator/Window/Bg/BottomView/SelfRank/Madel01
  227. --]]
  228. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/Madel01").gameObject
  229. if tolua.getpeer(tmp) == nil then
  230. tolua.setpeer(tmp, {})
  231. end
  232. self.selfRank.rankImg = tmp
  233. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  234. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  235. end
  236. ---@private
  237. function UIClimbingTowerRankView:InitGenerate__11(Root, data)
  238. --[[
  239. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode
  240. --]]
  241. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode").gameObject
  242. if tolua.getpeer(tmp) == nil then
  243. tolua.setpeer(tmp, {})
  244. end
  245. self.selfRank.playerNode = tmp
  246. end
  247. ---@private
  248. function UIClimbingTowerRankView:InitGenerate__12(Root, data)
  249. --[[
  250. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/Head/HeadItem
  251. --]]
  252. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/Head/HeadItem").gameObject
  253. if tolua.getpeer(tmp) == nil then
  254. tolua.setpeer(tmp, {})
  255. end
  256. self.selfRank.playerNode.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  257. self.selfRank.playerNode.headItem.prefabName = "HeadItem"
  258. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  259. end
  260. ---@private
  261. function UIClimbingTowerRankView:InitGenerate__13(Root, data)
  262. --[[
  263. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/NameText
  264. --]]
  265. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/NameText").gameObject
  266. if tolua.getpeer(tmp) == nil then
  267. tolua.setpeer(tmp, {})
  268. end
  269. self.selfRank.playerNode.playerName = tmp
  270. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  271. end
  272. ---@private
  273. function UIClimbingTowerRankView:InitGenerate__14(Root, data)
  274. --[[
  275. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/VipIcon
  276. --]]
  277. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/VipIcon").gameObject
  278. if tolua.getpeer(tmp) == nil then
  279. tolua.setpeer(tmp, {})
  280. end
  281. self.selfRank.vipIcon = tmp
  282. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  283. end
  284. ---@private
  285. function UIClimbingTowerRankView:InitGenerate__15(Root, data)
  286. --[[
  287. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/fighterPowerVal
  288. --]]
  289. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/fighterPowerVal").gameObject
  290. if tolua.getpeer(tmp) == nil then
  291. tolua.setpeer(tmp, {})
  292. end
  293. self.selfRank.playerNode.fighterPower = tmp
  294. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  295. end
  296. ---@private
  297. function UIClimbingTowerRankView:InitGenerate__16(Root, data)
  298. --[[
  299. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/LevelNumTips
  300. --]]
  301. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/LevelNumTips").gameObject
  302. if tolua.getpeer(tmp) == nil then
  303. tolua.setpeer(tmp, {})
  304. end
  305. self.selfRank.levelNumTips = tmp
  306. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  307. end
  308. ---@private
  309. function UIClimbingTowerRankView:InitGenerate__17(Root, data)
  310. --[[
  311. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/LevelNum
  312. --]]
  313. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/LevelNum").gameObject
  314. if tolua.getpeer(tmp) == nil then
  315. tolua.setpeer(tmp, {})
  316. end
  317. self.selfRank.levelNum = tmp
  318. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  319. end
  320. ---@private
  321. function UIClimbingTowerRankView:InitGenerate__18(Root, data)
  322. --[[
  323. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/passedTimeTips
  324. --]]
  325. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/passedTimeTips").gameObject
  326. if tolua.getpeer(tmp) == nil then
  327. tolua.setpeer(tmp, {})
  328. end
  329. self.selfRank.passedTimeTips = tmp
  330. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  331. end
  332. ---@private
  333. function UIClimbingTowerRankView:InitGenerate__19(Root, data)
  334. --[[
  335. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/passedTime
  336. --]]
  337. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/passedTime").gameObject
  338. if tolua.getpeer(tmp) == nil then
  339. tolua.setpeer(tmp, {})
  340. end
  341. self.selfRank.passedTime = tmp
  342. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  343. end
  344. ---@private
  345. function UIClimbingTowerRankView:InitGenerate__20(Root, data)
  346. --[[
  347. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/BlockNumTitle
  348. --]]
  349. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/BlockNumTitle").gameObject
  350. if tolua.getpeer(tmp) == nil then
  351. tolua.setpeer(tmp, {})
  352. end
  353. self.selfRank.blockNumTitle = tmp
  354. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  355. end
  356. ---@private
  357. function UIClimbingTowerRankView:InitGenerate__21(Root, data)
  358. --[[
  359. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/BlockNum
  360. --]]
  361. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/BlockNum").gameObject
  362. if tolua.getpeer(tmp) == nil then
  363. tolua.setpeer(tmp, {})
  364. end
  365. self.selfRank.blockNum = tmp
  366. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  367. end
  368. ---@private
  369. function UIClimbingTowerRankView:InitGenerate__22(Root, data)
  370. --[[
  371. UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/ServerName
  372. --]]
  373. local tmp = Root:Find("UIAnimator/Window/Bg/BottomView/SelfRank/PlayerNode/ServerName").gameObject
  374. if tolua.getpeer(tmp) == nil then
  375. tolua.setpeer(tmp, {})
  376. end
  377. self.selfRank.serverName = tmp
  378. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  379. end
  380. ---@private
  381. function UIClimbingTowerRankView:GenerateDestroy()
  382. if tolua.getpeer(self.selfRank.serverName) ~= nil then
  383. tolua.setpeer(self.selfRank.serverName, nil)
  384. end
  385. if tolua.getpeer(self.selfRank.blockNum) ~= nil then
  386. tolua.setpeer(self.selfRank.blockNum, nil)
  387. end
  388. if tolua.getpeer(self.selfRank.blockNumTitle) ~= nil then
  389. tolua.setpeer(self.selfRank.blockNumTitle, nil)
  390. end
  391. if tolua.getpeer(self.selfRank.passedTime) ~= nil then
  392. tolua.setpeer(self.selfRank.passedTime, nil)
  393. end
  394. if tolua.getpeer(self.selfRank.passedTimeTips) ~= nil then
  395. tolua.setpeer(self.selfRank.passedTimeTips, nil)
  396. end
  397. if tolua.getpeer(self.selfRank.levelNum) ~= nil then
  398. tolua.setpeer(self.selfRank.levelNum, nil)
  399. end
  400. if tolua.getpeer(self.selfRank.levelNumTips) ~= nil then
  401. tolua.setpeer(self.selfRank.levelNumTips, nil)
  402. end
  403. if tolua.getpeer(self.selfRank.playerNode.fighterPower) ~= nil then
  404. tolua.setpeer(self.selfRank.playerNode.fighterPower, nil)
  405. end
  406. if tolua.getpeer(self.selfRank.vipIcon) ~= nil then
  407. tolua.setpeer(self.selfRank.vipIcon, nil)
  408. end
  409. if tolua.getpeer(self.selfRank.playerNode.playerName) ~= nil then
  410. tolua.setpeer(self.selfRank.playerNode.playerName, nil)
  411. end
  412. if self.selfRank.playerNode.headItem.GenerateDestroy ~= nil then
  413. self.selfRank.playerNode.headItem:GenerateDestroy()
  414. end
  415. if tolua.getpeer(self.selfRank.playerNode.headItem) ~= nil then
  416. tolua.setpeer(self.selfRank.playerNode.headItem, nil)
  417. end
  418. if tolua.getpeer(self.selfRank.playerNode) ~= nil then
  419. tolua.setpeer(self.selfRank.playerNode, nil)
  420. end
  421. if tolua.getpeer(self.selfRank.rankImg) ~= nil then
  422. tolua.setpeer(self.selfRank.rankImg, nil)
  423. end
  424. if tolua.getpeer(self.selfRank.rank) ~= nil then
  425. tolua.setpeer(self.selfRank.rank, nil)
  426. end
  427. if tolua.getpeer(self.uIAnimator) ~= nil then
  428. tolua.setpeer(self.uIAnimator, nil)
  429. end
  430. self.uIAnimator = nil
  431. if tolua.getpeer(self.AnyBtn) ~= nil then
  432. tolua.setpeer(self.AnyBtn, nil)
  433. end
  434. self.AnyBtn = nil
  435. if tolua.getpeer(self.closeBtn) ~= nil then
  436. tolua.setpeer(self.closeBtn, nil)
  437. end
  438. self.closeBtn = nil
  439. if tolua.getpeer(self.rankScroll) ~= nil then
  440. tolua.setpeer(self.rankScroll, nil)
  441. end
  442. self.rankScroll = nil
  443. if tolua.getpeer(self.rankContent) ~= nil then
  444. tolua.setpeer(self.rankContent, nil)
  445. end
  446. self.rankContent = nil
  447. if tolua.getpeer(self.emptyNode) ~= nil then
  448. tolua.setpeer(self.emptyNode, nil)
  449. end
  450. self.emptyNode = nil
  451. if tolua.getpeer(self.selfRank) ~= nil then
  452. tolua.setpeer(self.selfRank, nil)
  453. end
  454. self.selfRank = nil
  455. self.transform = nil
  456. self.gameObject = nil
  457. self.inited = false
  458. end
  459. return UIClimbingTowerRankView