pvp排行榜展示
This commit is contained in:
@@ -143,7 +143,7 @@ export class PlayerDetail {
|
||||
defCe?: number = 0;
|
||||
|
||||
heroes: PlayerDetailHero[];
|
||||
|
||||
rank?:number = 0;
|
||||
constructor(detail: PlayerDetail) {
|
||||
if(detail.roleId) this.roleId = detail.roleId;
|
||||
if(detail.roleName) this.roleName = detail.roleName;
|
||||
@@ -155,5 +155,6 @@ export class PlayerDetail {
|
||||
if(detail.pLv) this.pLv = detail.pLv;
|
||||
if(detail.defCe) this.defCe = reduceCe(detail.defCe);
|
||||
if(detail.heroes) this.heroes = detail.heroes;
|
||||
if(detail.rank) this.rank = detail.rank;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user