feat(gvg): 激战期数据补充、排行榜等

This commit is contained in:
luying
2023-02-18 14:44:48 +08:00
parent f33ec1aff8
commit 77d04cb04b
11 changed files with 151 additions and 46 deletions

View File

@@ -604,16 +604,24 @@ export class GVGCityMapInfo {
guardLeagueCode: string; // 驻守城池的联军id
guardLeagueName: string; // 驻守这个城池的联军
guardLeagueIcon: number; // 驻守这个城池的联军的icon
teamCnt: number; // 我方队伍数量
teamCnt: number; // 我方人数
score: number;
constructor(city: GVGCityType, teamCnt: number) {
constructor(city: GVGCityType) {
if(!city) return;
this.cityId = city.cityId;
this.guardLeagueCode = city.guardLeague;
this.guardLeagueName = city.guardLeagueName;
this.guardLeagueIcon = city.guardLeagueIcon;
}
setTeamCnt(teamCnt: number) {
this.teamCnt = teamCnt;
}
setScore(score: number) {
this.score = score;
}
}
export class GVGTeamSpineInMap {