排行榜:军团信息
This commit is contained in:
@@ -397,8 +397,16 @@ export class GeneralRankParam {
|
||||
this.userInfo = pick(rankInfo, ['roleId', 'roleName', 'head', 'frame', 'spine', 'guildName', 'ce', 'title', 'lv', 'topLineupCe']);
|
||||
this.hasUser = true;
|
||||
}
|
||||
if(rankInfo instanceof GuildRankInfo) {
|
||||
|
||||
let leaderInfo = pick(rankInfo.leader, ['roleId', 'roleName', 'head', 'frame', 'spine', 'ce', 'title', 'lv']);
|
||||
this.userInfo = {
|
||||
...leaderInfo, guildName: rankInfo.name, ce: rankInfo.guildCe, topLineupCe: rankInfo.guildCe
|
||||
}
|
||||
this.hasUser = true;
|
||||
}
|
||||
}
|
||||
this.num = rankInfo?.num||0;
|
||||
this.received = received;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user