✨ feat(好友): 查看其他玩家天晶属性
This commit is contained in:
@@ -3,7 +3,7 @@ import { FriendShipType } from "../../db/FriendShip";
|
|||||||
import * as friendUtil from '../../pubUtils/friendUtil'
|
import * as friendUtil from '../../pubUtils/friendUtil'
|
||||||
import { FRIEND_RELATION_TYPE } from "../../consts";
|
import { FRIEND_RELATION_TYPE } from "../../consts";
|
||||||
import { Connect, EPlace, HeroType, Stone, Talent } from "../../db/Hero";
|
import { Connect, EPlace, HeroType, Stone, Talent } from "../../db/Hero";
|
||||||
import { JewelType, RandSe } from "../../db/Jewel";
|
import { JewelSe, JewelType } from "../../db/Jewel";
|
||||||
import { ArtifactModelType } from "../../db/Artifact";
|
import { ArtifactModelType } from "../../db/Artifact";
|
||||||
|
|
||||||
export class FriendParams {
|
export class FriendParams {
|
||||||
@@ -130,7 +130,7 @@ export class HeroDetailJewelRandSeParam {
|
|||||||
seid: number;
|
seid: number;
|
||||||
rand: number;
|
rand: number;
|
||||||
|
|
||||||
constructor(randSe: RandSe) {
|
constructor(randSe: JewelSe) {
|
||||||
this.id = randSe.id;
|
this.id = randSe.id;
|
||||||
this.seid = randSe.seid;
|
this.seid = randSe.seid;
|
||||||
this.rand = randSe.rand;
|
this.rand = randSe.rand;
|
||||||
@@ -141,6 +141,7 @@ export class HeroDetailJewelParam {
|
|||||||
seqId: number;
|
seqId: number;
|
||||||
id: number;
|
id: number;
|
||||||
randSe: HeroDetailJewelRandSeParam[] = [];
|
randSe: HeroDetailJewelRandSeParam[] = [];
|
||||||
|
rareSe: HeroDetailJewelRandSeParam[] = [];
|
||||||
|
|
||||||
constructor(jewel: JewelType) {
|
constructor(jewel: JewelType) {
|
||||||
this.seqId = jewel.seqId;
|
this.seqId = jewel.seqId;
|
||||||
@@ -148,6 +149,9 @@ export class HeroDetailJewelParam {
|
|||||||
for(let randSe of jewel.randSe) {
|
for(let randSe of jewel.randSe) {
|
||||||
this.randSe.push(new HeroDetailJewelRandSeParam(randSe));
|
this.randSe.push(new HeroDetailJewelRandSeParam(randSe));
|
||||||
}
|
}
|
||||||
|
for(let rareSe of jewel.rareSe) {
|
||||||
|
this.rareSe.push(new HeroDetailJewelRandSeParam(rareSe));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user