15 lines
378 B
TypeScript
15 lines
378 B
TypeScript
import {VoiceClient} from "tc-shared/voice/VoiceClient";
|
|
import {WebVoicePlayer} from "./VoicePlayer";
|
|
|
|
export class VoiceClientController extends WebVoicePlayer implements VoiceClient {
|
|
private readonly clientId: number;
|
|
|
|
constructor(clientId) {
|
|
super();
|
|
this.clientId = clientId;
|
|
}
|
|
|
|
getClientId(): number {
|
|
return this.clientId;
|
|
}
|
|
} |