好友:拉黑

This commit is contained in:
luying
2021-02-03 11:49:37 +08:00
parent 585a741be5
commit 2d2c9907ab
7 changed files with 194 additions and 14 deletions

View File

@@ -77,4 +77,21 @@ export class FriendListParam extends FriendParams {
setCanSend(canSend: boolean) {
this.canSend = canSend;
}
}
export class BlackListParam extends FriendParams {
guildName: string = "";
isOnline: boolean = false;
quitTime: number = 0;
constructor(role: RoleType) {
super(role);
if(role.guildName) this.guildName = role.guildName;
this.quitTime = role.quitTime;
}
setOnline(isOnline: boolean) {
this.isOnline = isOnline;
}
}