mirror of
https://github.com/WorldEditAxe/eaglerproxy.git
synced 2024-11-08 14:56:05 -08:00
15 lines
401 B
TypeScript
15 lines
401 B
TypeScript
|
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
|
||
|
}
|