JavaClient

Undocumented in source.

Constructors

this
this(uint protocol, Stream stream, string username, UUID uuid)
Undocumented in source.

Members

Functions

directSend
void directSend(ubyte[] payload)

Sends a raw packet, without performing eventual compression or 0-padding.

disconnectImpl
void disconnectImpl(string message, bool translation, string[] params)
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.

start
void start(JavaServer server)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Client

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]

Gets the client's UUID.

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.

Meta