军团:减少getGuildMember的返回数据
This commit is contained in:
@@ -7,6 +7,7 @@ import { EXTERIOR } from "../../pubUtils/dicParam";
|
||||
import { HeroType } from "../../db/Hero";
|
||||
import { PvpDefenseType } from "../../db/PvpDefense";
|
||||
import { PvpHistoryOppType } from "../../db/PvpHistoryOpp";
|
||||
import { UserGuildType } from "../../db/UserGuild";
|
||||
|
||||
export class PlayerDetailHero {
|
||||
actorId: number;
|
||||
@@ -185,3 +186,42 @@ export class GuildListInfo extends GuildMainInfo {
|
||||
this.hasApply = hasApply;
|
||||
}
|
||||
}
|
||||
|
||||
export class GuildMemberParam {
|
||||
roleId: string;
|
||||
roleName: string;
|
||||
ce: number;
|
||||
head: number = EXTERIOR.EXTERIOR_FACE;
|
||||
frame: number = EXTERIOR.EXTERIOR_FACECASE;
|
||||
spine: number = EXTERIOR.EXTERIOR_APPEARANCE;
|
||||
lv: number;
|
||||
title: number = 1;
|
||||
job: number;
|
||||
quitTime: number;
|
||||
isOnline: boolean;
|
||||
|
||||
auth?: number;
|
||||
activeWeekly?: number;
|
||||
activeUpdateTime?: number;
|
||||
|
||||
constructor(userGuild: UserGuildType, role: RoleType) {
|
||||
this.roleId = role.roleId;
|
||||
this.roleName = role.roleName;
|
||||
this.ce = role.ce;
|
||||
this.head = role.head;
|
||||
this.frame = role.frame;
|
||||
this.spine = role.spine;
|
||||
this.lv = role.lv;
|
||||
this.title = role.title;
|
||||
this.quitTime = role.quitTime;
|
||||
|
||||
this.job = userGuild.job;
|
||||
this.auth = userGuild.auth;
|
||||
this.activeWeekly = userGuild.activeWeekly;
|
||||
this.activeUpdateTime = userGuild.activeUpdateTime;
|
||||
}
|
||||
|
||||
setOnline(isOnline: boolean) {
|
||||
this.isOnline = isOnline;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user