✨ feat(gvg): 激战期挑战相关接口整理

This commit is contained in:
luying
2023-02-17 10:59:38 +08:00
parent c0cc85ae0a
commit a838aba8e5
12 changed files with 316 additions and 129 deletions
+25
View File
@@ -8,6 +8,7 @@ import { gameData } from "../../pubUtils/data";
import { EXTERIOR, GVG } from "../../pubUtils/dicParam";
import { DicGVGVestige } from "../../pubUtils/dictionary/DicGVGVestige";
import { DicWarJson } from "../../pubUtils/dictionary/DicWarJson";
import { LineupHero } from "../roleField/hero";
export class OppPlayerHeroInfo {
@prop({ required: true })
@@ -246,4 +247,28 @@ export class OppDetailData{
let hero = this.heroes.find(cur => cur.actorId == hid);
if(hero) hero.setAttribute(attribute);
}
}
export interface SaveTeamParam {
index: number;
head: number;
frame: number;
spine: number;
lineup?: LineupHero[];
}
export interface SaveTeamUpdateParam extends SaveTeamParam {
lineupCe?: number;
configId: number;
groupId: number;
serverType: number;
}
export interface InitTeamParam {
roleName: string;
serverId: number;
leagueCode: string;
leagueName: string;
durability: number;
maxDurability: number;
}