✨ feat(gvg): 激战期数据补充、排行榜等
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user