好友:拉黑
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user