q13x-eaglerproxy/classes.ts

15 lines
401 B
TypeScript
Raw Normal View History

2022-12-18 05:39:38 -08:00
import { Client } from "minecraft-protocol"
import { WebSocket } from "ws"
import { State } from "./types.js"
export class ProxiedPlayer {
public username: string
public uuid: string
public clientBrand: string
public state: State
public ws: WebSocket
public ip: string
public remotePort: number
public remoteConnection: Client
public compressionThreshold: number
}