✨ feat(gvg): 激战期挑战相关接口整理
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user