GameInfo

Indicates a game and informations about it.

Members

Functions

decode
void decode(Buffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
encode
void encode(Buffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

FIELDS
enum string[] FIELDS;
Undocumented in source.
game
sul.protocol.hncom2.types.Game game;

Informations about the the game and the protocols used.

motd
string motd;

"Message of the day" which is displayed in the game's server list. It may contain Minecraft formatting codes.

onlineMode
bool onlineMode;

Indicates whether the players are authenticated using the games' official authentication services and their identity should be trusted.

port
ushort port;

Port, or main port if the server allows the connection from multiple ports, where the socket is listening for connections.

Meta