形象:头像相框形象字段

This commit is contained in:
luying
2021-03-11 19:29:50 +08:00
parent b2566f3fb6
commit 09a7a8b89b
30 changed files with 290 additions and 166 deletions
+9 -6
View File
@@ -1,8 +1,9 @@
import { PvpEnemies, PvpOtherHeroes } from "../../domain/dbGeneral";
import { PvpEnemies, PvpOtherHeroes, WarStar } from "../../domain/dbGeneral";
import { GuildType } from "../../db/Guild";
import { RoleType, WarStar } from "../../db/Role";
import { RoleType } from "../../db/Role";
import { WAR_TYPE } from "../../consts/consts";
import { gameData } from "../../pubUtils/data";
import { FIGURE } from "../../pubUtils/dicParam";
export class PlayerDetailHero {
actorId: number;
@@ -49,8 +50,9 @@ export class PlayerDetail {
roleName: string;
lv: number;
title?: number = 1;
sHid?: number = 19;
headHid?: number = 19;
head?: number = FIGURE.DEFAULT_HEAD;
frame?: number = FIGURE.DEFAULT_FRAME;
spine?: number = FIGURE.DEFAULT_SPINE;
score?: number = 0;
pLv?: number = 1;
@@ -66,8 +68,9 @@ export class PlayerDetail {
if(detail.roleName) this.roleName = detail.roleName;
if(detail.lv) this.lv = detail.lv;
if(detail.title) this.title = detail.title;
if(detail.sHid) this.sHid = detail.sHid;
if(detail.headHid) this.headHid = detail.headHid;
if(detail.head) this.head = detail.head;
if(detail.frame) this.frame = detail.frame;
if(detail.spine) this.spine = detail.spine;
if(detail.score) this.score = detail.score;
if(detail.pLv) this.pLv = detail.pLv;
if(detail.defCe) this.defCe = detail.defCe;