- compressPackets
ubyte[][] compressPackets(ubyte[][] packets)
Undocumented in source. Be warned that the author may not have intended to support it.
- createDisconnect
ubyte[] createDisconnect(string message)
Undocumented in source.
- directSend
void directSend(ubyte[] payload)
Undocumented in source. Be warned that the author may not have intended to support it.
- disconnectImpl
void disconnectImpl(string message, bool translation, string[] params)
Undocumented in source. Be warned that the author may not have intended to support it.
- handle
void handle(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
- parseClientData
void parseClientData(JSONValue[string] json)
Undocumented in source. Be warned that the author may not have intended to support it.
- send
void send(ubyte[] packet)
Sends a game packet to the client.
- sendData
void sendData(ubyte[][] packets)
Undocumented in source. Be warned that the author may not have intended to support it.
- startThreads
void startThreads()
Undocumented in source. Be warned that the author may not have intended to support it.
- stopThreads
void stopThreads()
- compression
Tid compression;
Undocumented in source. Be warned that the author may not have intended to support it.
- BEDROCK
enum ubyte BEDROCK;
Undocumented in source.
- JAVA
enum ubyte JAVA;
Undocumented in source.
- VERSION_MINECRAFT
enum VERSION_MINECRAFT;
Undocumented in source.
- VERSION_JAVA
enum VERSION_JAVA;
Undocumented in source.
- VERSION_EDU
enum VERSION_EDU;
Undocumented in source.
- id
uint id;
Undocumented in source.
- type
ubyte type;
Undocumented in source.
- protocol
uint protocol;
Undocumented in source.
- gameName
string gameName;
Undocumented in source.
- gameVersion
string gameVersion;
Undocumented in source.
- game
string game;
Undocumented in source.
- serverIp
string serverIp;
Undocumented in source.
- serverPort
ushort serverPort;
Undocumented in source.
- skinName
string skinName;
Undocumented in source.
- skinData
immutable(ubyte)[] skinData;
Undocumented in source.
- skinGeometryName
string skinGeometryName;
Undocumented in source.
- skinGeometryData
immutable(ubyte)[] skinGeometryData;
Undocumented in source.
- skinCape
immutable(ubyte)[] skinCape;
Undocumented in source.
- inputMode
InputMode inputMode;
Undocumented in source.
- language
string language;
Undocumented in source.
- gameData
JSONValue gameData;
Undocumented in source.
- handler
void delegate(ubyte[]) handler;
Undocumented in source.
- address
Address address [@property getter]
Gets the client's address. May be either an ipv4 or ipv6, depending on
the address where the server is binded to.
- username
string username [@property getter]
Gets the client's username.
- uuid
UUID uuid [@property getter]
- send
void send(ubyte[] packet)
Undocumented in source.
- directSend
void directSend(ubyte[] payload)
Undocumented in source.
- disconnect
void disconnect(string message, bool translation, string[] params)
Undocumented in source. Be warned that the author may not have intended to support it.
- disconnect
void disconnect(string message, string[] params)
Undocumented in source. Be warned that the author may not have intended to support it.
- disconnectImpl
void disconnectImpl(string message, bool translation, string[] params)
Undocumented in source.
- toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.