c514df75-6a88-49f7-b7f8-cc0a8c72c88d.js.map
1.28 KB
{"version":3,"sources":["assets/script/cooperation/script/CCGameCenterBtn.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAgC;AAChC,iFAA0E;AAC1E,sDAAmD;AACnD,2DAAoD;AAEpD;;GAEG;AACH,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC;AAG5C;IAAA,IAAqB,eAAe,GAApC,MAAqB,eAAgB,SAAQ,EAAE,CAAC,SAAS;QAErD,MAAM;QACN,CAAC;QAED,OAAO;YACH,2BAAiB,CAAC,WAAW,EAAE,CAAC,kBAAkB,EAAE,CAAC;YACrD,yBAAW,CAAC,0BAA0B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAClD,IAAI,2BAAiB,CAAC,QAAQ,IAAI,CAAC,EAAE;gBACjC,eAAG,CAAC,kBAAkB,EAAE,CAAC;aAC5B;QACL,CAAC;KACJ,CAAA;IAZoB,eAAe;QADnC,OAAO;OACa,eAAe,CAYnC;IAAD,sBAAC;KAAA;kBAZoB,eAAe","file":"","sourceRoot":"/","sourcesContent":["import { SDK } from \"simba-sdk\";\nimport MainViewPresenter from \"../../game/ui/presenter/MainViewPresenter\";\nimport { EventCenter } from \"../event/EventCenter\";\nimport CooperationDotMgr from \"./CooperationDotMgr\";\n\n/**\n * 游戏中心按钮脚本\n */\nconst { ccclass, property } = cc._decorator;\n\n@ccclass\nexport default class CCGameCenterBtn extends cc.Component {\n\n onLoad() {\n }\n\n onClick() {\n CooperationDotMgr.getInstance().dotClickGameCenter();\n EventCenter.SHOW_GAME_CENTER_LIST_VIEW.emit(true);\n if (MainViewPresenter.tabIndex == 3) {\n SDK.hideGameClubButton();\n }\n }\n}\n"]}