{
  "code": "import { WindowManager, WindowType } from \"./WindowManager\";\r\nimport JionTool from \"../W_Rank/JionTool\";\r\nimport { ui } from \"../ui/layaMaxUI\";\r\nexport class RankWindow extends ui.Window.RankWindowUI {\r\n    constructor() {\r\n        super();\r\n        RankWindow.instance = this;\r\n    }\r\n    static get Instance() {\r\n        return RankWindow.instance;\r\n    }\r\n    OnOpen(_data = null) {\r\n        console.log(\"排行榜界面打开了----\");\r\n        JionTool.showShareCanvas();\r\n        JionTool.showFriendRank(\"stage\");\r\n        this.closeBtn.clickHandler = Laya.Handler.create(this, this.OnCloseRank);\r\n        this.uppageBtn.clickHandler = Laya.Handler.create(this, this.OnUpPage, null, false);\r\n        this.nextpageBtn.clickHandler = Laya.Handler.create(this, this.OnNextPage, null, false);\r\n        this.height = Laya.stage.height;\r\n    }\r\n    OnUpPage() {\r\n        JionTool.upPage();\r\n    }\r\n    OnNextPage() {\r\n        JionTool.nextPage();\r\n    }\r\n    OnCloseRank() {\r\n        JionTool.hideShareCanvas();\r\n        WindowManager.Instance.ShowWindow(WindowType.HomeWindow);\r\n    }\r\n    OnHide() {\r\n    }\r\n}\r\n",
  "references": [
    "C:/Users/admin/Desktop/runner/src/Window/Component/IWindow.ts",
    "C:/Users/admin/Desktop/runner/src/Window/WindowManager.ts",
    "C:/Users/admin/Desktop/runner/src/W_Rank/JionTool.ts",
    "C:/Users/admin/Desktop/runner/src/ui/layaMaxUI.ts"
  ]
}
