服务器数据清理
This commit is contained in:
parent
245a5887b0
commit
09b66ba3b7
|
@ -17,6 +17,6 @@ export const GameServerListFileURL = '';//'http://192.168.0.104:7456/web-mobile/
|
||||||
export const GameServerURLs = [
|
export const GameServerURLs = [
|
||||||
// 'wss://chengchennet.cn:15005',//wss远程链接
|
// 'wss://chengchennet.cn:15005',//wss远程链接
|
||||||
// 'ws://118.195.174.30:3001',//ws远程连接
|
// 'ws://118.195.174.30:3001',//ws远程连接
|
||||||
//'ws://127.0.0.1:3002',//ws本地连接
|
'ws://127.0.0.1:3003',//ws本地连接
|
||||||
'wss://squidgameserver.gryphon.fun'
|
//'wss://squidgameserver.gryphon.fun'
|
||||||
];
|
];
|
|
@ -454,6 +454,8 @@ export class RoomArean extends Room {
|
||||||
|
|
||||||
gameBattle() {
|
gameBattle() {
|
||||||
this.broadcastMsg("arean/AreanGameStatusPush", this.gameStatus);
|
this.broadcastMsg("arean/AreanGameStatusPush", this.gameStatus);
|
||||||
|
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.updateGameStatus(stage.career, Number(this.parameterCfg?.getItemCfg('selectJobTime').params))
|
this.updateGameStatus(stage.career, Number(this.parameterCfg?.getItemCfg('selectJobTime').params))
|
||||||
let battleTime = 3;
|
let battleTime = 3;
|
||||||
|
@ -546,7 +548,10 @@ export class RoomArean extends Room {
|
||||||
|
|
||||||
this.broadcastMsg('arean/AreanGameDataPush', { gameData: this._gameData });
|
this.broadcastMsg('arean/AreanGameDataPush', { gameData: this._gameData });
|
||||||
if (stage == GameStage.GameBattle) {
|
if (stage == GameStage.GameBattle) {
|
||||||
this.gameBattle();
|
|
||||||
|
|
||||||
|
//关卡逻辑
|
||||||
|
//this.gameBattle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue