- 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.