229880ad-dd96-4ad6-b591-fbc3274a1898.js.map
1.7 KB
{"version":3,"sources":["assets/script/cooperation/event/EventCenter.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAqC;AAErC,IAAiB,WAAW,CAkB3B;AAlBD,WAAiB,WAAW;IACxB,IAAI,OAAO,GAAG,IAAI,kBAAO,EAAE,CAAC;IAC5B,0BAA0B;IACb,6CAAiC,GAAG,OAAO,CAAC,WAAW,EAA8B,CAAC;IACnG,kBAAkB;IACL,6CAAiC,GAAG,OAAO,CAAC,WAAW,EAAc,CAAC;IACnF,aAAa;IACA,gCAAoB,GAAG,OAAO,CAAC,WAAW,EAA6B,CAAC;IACrF,kBAAkB;IACL,sCAA0B,GAAG,OAAO,CAAC,WAAW,EAA2B,CAAC;IACzF,aAAa;IACA,iCAAqB,GAAG,OAAO,CAAC,WAAW,EAAc,CAAC;IACvE,oBAAoB;IACP,iCAAqB,GAAG,OAAO,CAAC,WAAW,EAA2B,CAAC;IAEnF,kBAAkB;IACL,qBAAS,GAAG,OAAO,CAAC,WAAW,EAAc,CAAC;AAEhE,CAAC,EAlBgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAkB3B","file":"","sourceRoot":"/","sourcesContent":["import { Emitter } from \"./EventKit\";\n\nexport namespace EventCenter {\n let emitter = new Emitter();\n /**发起从oss上获取游戏中心配置数据的请求 */\n export const REQUEST_COOPERATION_DATA_FROM_OSS = emitter.createEvent<(release: boolean) => void>();\n /**游戏中心配置数据下载成功 */\n export const COOPERATION_DATA_DOWNLOAD_SUCCEED = emitter.createEvent<() => void>();\n /**快速开始子游戏 */\n export const QUICK_START_SUB_GAME = emitter.createEvent<(random: boolean) => void>();\n /**控制游戏中心列表是否展示 */\n export const SHOW_GAME_CENTER_LIST_VIEW = emitter.createEvent<(show: boolean) => void>();\n /**刷新子游戏列表 */\n export const REFRESH_SUB_GAME_LIST = emitter.createEvent<() => void>();\n /**根据子游戏ID打开指定小游戏 */\n export const OPEN_SUBGAME_BY_APPID = emitter.createEvent<(appId: string) => void>();\n\n /**检查热更后游戏初始化事件 */\n export const GameStart = emitter.createEvent<() => void>();\n \n}"]}