好友:添加区服信息

This commit is contained in:
luying
2021-02-04 17:26:34 +08:00
parent 5da64b7377
commit 96f01f4a77
6 changed files with 115 additions and 21 deletions
+7 -1
View File
@@ -1,7 +1,6 @@
import { RoleType } from "../../db/Role";
import { FriendShipType } from "../../db/FriendShip";
import * as friendUtil from '../../pubUtils/friendUtil'
import { Relation } from "../../db/FriendRelation";
export class FriendParams {
roleId: string;
@@ -11,6 +10,8 @@ export class FriendParams {
sHid: number;
ce: number;
title: number;
serverId: number;
serverName: string;
constructor(role: RoleType) {
this.roleId = role.roleId;
@@ -21,6 +22,11 @@ export class FriendParams {
this.ce = role.ce;
this.title = role.title;
}
setServerName(serverId: number, serverName: string) {
this.serverId = serverId;
this.serverName = serverName;
}
}
export class FriendRecommendParams extends FriendParams {