Files
teamspeak-obs-overlay/js/objects.js
2022-10-25 18:27:02 +02:00

26 lines
429 B
JavaScript

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}`);
}
}