排行榜:添加总榜头像

This commit is contained in:
luying
2021-04-26 19:23:34 +08:00
parent 76a2823aab
commit 329645143a

View File

@@ -292,6 +292,9 @@ export class GeneralRankParamBattle {
skinId: number = 0;
num: number;
received: number[];
head: number;
frame: number;
spine: number;
constructor(type: number, rankInfo: RoleRankInfo, hero: HeroUpdate, received: number[]) {
this.type = type;
@@ -299,6 +302,9 @@ export class GeneralRankParamBattle {
this.roleName = rankInfo.roleName;
this.guildName = rankInfo.guildName;
this.num = rankInfo.num;
this.head = rankInfo.head;
this.frame = rankInfo.frame;
this.spine = rankInfo.spine;
if(hero) {
this.hid = hero.hid;
let curSkin = hero.skins.find(cur => cur.enable);