Information about this client's account.
The packet interface for this client.
The map which the client is currently connected to,
or undefined
if the client is not connected.
The object id of this client when connected,
and undefined
if the client is not connected.
An array of all players which are visible to the client.
The current position of this client when connected,
and undefined
if the client is not connected
A proxy to route game traffic through.
The stat data of this client when it is connected, and undefined
if the client is not connected.
The last server that this client was connected to.
Attaches the client to the Socket
.
The socket to attach to.
Detaches this client from its socket.
Disconnects the client from the current server.
Generated using TypeDoc
An extended Client class that provides player tracking functionality by exposing a
players
array and an event emitter forenter
andleave
events.