diff --git a/assets/script/game/common/SingletonModuleComp.ts b/assets/script/game/common/SingletonModuleComp.ts index 3984f891..c65fced1 100644 --- a/assets/script/game/common/SingletonModuleComp.ts +++ b/assets/script/game/common/SingletonModuleComp.ts @@ -218,11 +218,6 @@ export class SingletonModuleComp extends ecs.Comp { isWxClient(): boolean { return gameDataSync.isWxClient(); } - - finishGuide(index:number){ - smc.guides[index]=1 - //存储到远程服务器 后续再添加 - } updateCloudData(){ return gameDataSync.updateCloudData(); @@ -279,13 +274,6 @@ export class SingletonModuleComp extends ecs.Comp { }; return data; } - addHero(hero_uuid:number){ - if(this.heros.indexOf(hero_uuid)==-1){ - this.heros.push(hero_uuid) - gameDataSync.markDataDirty(); - } - return true - } updateGold(gold:number, is_sync: boolean = true){ this.vmdata.gold += gold; @@ -295,11 +283,6 @@ export class SingletonModuleComp extends ecs.Comp { oops.message.dispatchEvent(GameEvent.GOLD_UPDATE) return true } - - error(){ - oops.gui.toast("数据处理异常,请重试或重新登录") - } - } export var smc: SingletonModuleComp = ecs.getSingleton(SingletonModuleComp); diff --git a/assets/script/hearthstone-battlegrounds.md b/assets/script/game/common/config/hearthstone-battlegrounds.md similarity index 100% rename from assets/script/hearthstone-battlegrounds.md rename to assets/script/game/common/config/hearthstone-battlegrounds.md