Game

Indicates a game and informations about its accepted protocols.

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

CONSOLE
enum ubyte CONSOLE;
Undocumented in source.
FIELDS
enum string[] FIELDS;
Undocumented in source.
MINECRAFT
enum ubyte MINECRAFT;
Undocumented in source.
POCKET
enum ubyte POCKET;
Undocumented in source.
protocols
uint[] protocols;

Protocols accepted by the server for the game. They should be ordered from oldest to newest.

type
ubyte type;

Identifier of the game.

Meta