hunt-blacklist-frontend/app/classes/blacklistItem.ts

21 lines
609 B
TypeScript

export class BlacklistItem {
link: string;
nicknames: string[];
comments: string[];
afk: boolean;
cheater: boolean;
griefer: boolean;
toxic: boolean;
useless: boolean;
constructor(link: string, nicknames: string[], comments: string[], afk: boolean, cheater: boolean, griefer: boolean, toxic: boolean, useless: boolean) {
this.link = link;
this.nicknames = nicknames;
this.comments = comments;
this.afk = afk;
this.cheater = cheater;
this.griefer = griefer;
this.toxic = toxic;
this.useless = useless;
}
}