佛系的一天

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-24 01:38:58 +08:00
parent f129aed752
commit 8e644c583c
4 changed files with 15 additions and 7 deletions

View File

@@ -26,12 +26,12 @@ import { JAPI, JAPIConfig } from "../../extensions/ngame/assets/ngame/util/JAPI"
import { AppData } from "./AppData";
import AppAction from "./AppAction";
// let APIPath = `http://localhost:8080`
// let WsPath = `ws://localhost:8080/websocket`
let APIPath = `http://localhost:8080`
let WsPath = `ws://localhost:8080/websocket`
// let APIPath = `http://192.168.1.23:8080`
// let WsPath = `ws://192.168.1.23:8080/websocket`
let APIPath = `http://192.168.0.170:8080`
let WsPath = `ws://192.168.0.170:8080/websocket`
// let APIPath = `http://192.168.0.170:8080`
// let WsPath = `ws://192.168.0.170:8080/websocket`
// let APIPath = `https://api.pet.jisol.cn`
// let WsPath = `wss://api.pet.jisol.cn/websocket`

View File

@@ -51,6 +51,7 @@ export default class PVPAction extends BaseAction {
//开始PVP
onModePVPStart(info:GPVPStart){
console.log("开始PVP",info);
app.layer.Close(GUI.PVPModeMatchView);
GBattleModeManager.getIns().Open(BattleMode.PVP,true,info);
}