"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ClientBase {
    constructor(data, ws) {
        this.ws = ws;
        this.data = data;
        this.id = data.user_id;
        this.channel = null;
    }
    getData() {
        return this.data;
    }
    type() {
        return this.data.client_type;
    }
    connectToChannel(channel) {
        this.channel = channel;
    }
}
;
exports.default = ClientBase;
//# sourceMappingURL=Base.js.map