fix pvp刷新对手时保存数据
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { RoleType } from "../db/Role";
|
||||
import { Robot } from "../db/PvpDefense";
|
||||
import { reduceCe } from "./util";
|
||||
import { PvpHeroInfo, PvpEnemies } from "../db/generalField";
|
||||
|
||||
export interface RewardInter {
|
||||
id: number;
|
||||
@@ -121,13 +122,22 @@ export class RankParam {
|
||||
}
|
||||
}
|
||||
|
||||
export interface PlayerDetailHero {
|
||||
export class PlayerDetailHero {
|
||||
actorId: number;
|
||||
lv: number;
|
||||
star: number;
|
||||
colorStar: number;
|
||||
quality: number;
|
||||
score: number;
|
||||
|
||||
setPvpHeroInfo?(hero: PvpEnemies) {
|
||||
this.actorId = hero.actorId;
|
||||
this.lv = hero.lv;
|
||||
this.star = hero.star;
|
||||
this.colorStar = hero.colorStar;
|
||||
this.quality = hero.quality;
|
||||
this.score = hero.score;
|
||||
}
|
||||
}
|
||||
|
||||
export class PlayerDetail {
|
||||
|
||||
Reference in New Issue
Block a user