mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 15:30:43 +00:00
14 lines
274 B
TypeScript
14 lines
274 B
TypeScript
import WebSocket from 'ws';
|
|
import { ClientID } from '../core/Schemas';
|
|
|
|
|
|
export class Client {
|
|
|
|
public lastPing: number
|
|
|
|
constructor(
|
|
public readonly id: ClientID,
|
|
public readonly ip: string | null,
|
|
public readonly ws: WebSocket,
|
|
) { }
|
|
} |