BedrockClient

Undocumented in source.

Constructors

this
this(string name)
Undocumented in source.
this
this()
Undocumented in source.

Members

Aliases

Clientbound
alias Clientbound = FilterPackets!("CLIENTBOUND", Play.Packets)
Undocumented in source.
Serverbound
alias Serverbound = FilterPackets!("SERVERBOUND", Play.Packets)
Undocumented in source.

Functions

connectImpl
Stream connectImpl(Address address, string ip, ushort port, Duration timeout, IHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
pingImpl
Server pingImpl(Address address, string ip, ushort port, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
rawPingImpl
string rawPingImpl(Address address, string ip, ushort port, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

defaultPort
ushort defaultPort [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

randomUsername
string randomUsername()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Client

name
string name;

Client's username used to connect to the server.

defaultPort
ushort defaultPort [@property getter]

Gets the game's default port.

ping
const(Server) ping(Address address, Duration timeout)
const(Server) ping(string ip, ushort port, Duration timeout)
const(Server) ping(string ip, Duration timeout)

Pings a server to retrieve basic informations like MOTD, protocol used and online players.

pingImpl
Server pingImpl(Address address, string ip, ushort port, Duration timeout)
Undocumented in source.
rawPing
string rawPing(Address address, Duration timeout)
string rawPing(string ip, ushort port, Duration timeout)
string rawPing(string ip, Duration timeout)

Pings a server and returns the obtained data without parsing it.

rawPingImpl
string rawPingImpl(Address address, string ip, ushort port, Duration timeout)
Undocumented in source.
connect
Stream connect(Address address, IHandler handler, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
Stream connect(string ip, ushort port, IHandler handler, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
Stream connect(string ip, IHandler handler, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
connectImpl
Stream connectImpl(Address address, string ip, ushort port, Duration timeout, IHandler hanlder)
Undocumented in source.

Meta