| 1234567891011121314151617181920212223 |
- "use strict";
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.default = void 0;
- /** @typedef {import("../Server.js").ClientConnection} ClientConnection */
- // base class that users should extend if they are making their own
- // server implementation
- class BaseServer {
- /**
- * @param {import("../Server.js").default} server server
- */
- constructor(server) {
- /** @type {import("../Server.js").default} */
- this.server = server;
- /** @type {ClientConnection[]} */
- this.clients = [];
- }
- }
- exports.default = BaseServer;
|