Binato/server/objects/Channel.ts
2022-11-19 01:06:03 +00:00

20 lines
No EOL
459 B
TypeScript

import { DataStream } from "./DataStream";
export class Channel {
public name:string;
public description:string;
public userCount:number = 0;
private stream:DataStream;
private forceJoin:boolean;
public constructor(name:string, description:string, stream:DataStream, forceJoin:boolean = false) {
this.name = name;
this.description = description;
this.stream = stream;
this.forceJoin = forceJoin;
}
public SendMessage(message:string) {
}
}