first commit

This commit is contained in:
Janis
2022-10-25 18:27:02 +02:00
commit 1315c39ae1
13 changed files with 297 additions and 0 deletions

25
js/objects.js Normal file
View File

@@ -0,0 +1,25 @@
class Channel {
constructor(id, name) {
this.id = id;
this.name = name;
}
}
class Client {
constructor(
id,
channel,
name,
inputMuted = false,
outputMuted = false,
talkStatus = 0
) {
this.id = id;
this.channel = channel;
this.name = name;
this.inputMuted = inputMuted;
this.outputMuted = outputMuted;
this.talkStatus = talkStatus;
console.log(`Client created: ${this.id} - ${this.name}`);
}
}