排行榜:添加总榜头像
This commit is contained in:
@@ -292,6 +292,9 @@ export class GeneralRankParamBattle {
|
|||||||
skinId: number = 0;
|
skinId: number = 0;
|
||||||
num: number;
|
num: number;
|
||||||
received: number[];
|
received: number[];
|
||||||
|
head: number;
|
||||||
|
frame: number;
|
||||||
|
spine: number;
|
||||||
|
|
||||||
constructor(type: number, rankInfo: RoleRankInfo, hero: HeroUpdate, received: number[]) {
|
constructor(type: number, rankInfo: RoleRankInfo, hero: HeroUpdate, received: number[]) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
@@ -299,6 +302,9 @@ export class GeneralRankParamBattle {
|
|||||||
this.roleName = rankInfo.roleName;
|
this.roleName = rankInfo.roleName;
|
||||||
this.guildName = rankInfo.guildName;
|
this.guildName = rankInfo.guildName;
|
||||||
this.num = rankInfo.num;
|
this.num = rankInfo.num;
|
||||||
|
this.head = rankInfo.head;
|
||||||
|
this.frame = rankInfo.frame;
|
||||||
|
this.spine = rankInfo.spine;
|
||||||
if(hero) {
|
if(hero) {
|
||||||
this.hid = hero.hid;
|
this.hid = hero.hid;
|
||||||
let curSkin = hero.skins.find(cur => cur.enable);
|
let curSkin = hero.skins.find(cur => cur.enable);
|
||||||
|
|||||||
Reference in New Issue
Block a user