HubInfo

Hub's informations.

Members

Mixins

__anonymous
mixin Make
Undocumented in source.

Structs

GameInfo
struct GameInfo
Undocumented in source.

Variables

ID
enum ubyte ID;
Undocumented in source.
UNLIMITED
enum int UNLIMITED;
Undocumented in source.
acceptedLanguages
string[] acceptedLanguages;

Languages accepted by the server in format ISO 639.1 (language code) underscore ISO 3166 (country code), e.g. en_US. The list must contain at least one element.

additionalJSON
string additionalJSON;

Optional informations about the server's software, social accounts, system and options.

displayName
string displayName;

Unformatted name of the server as indicated in the hub's configuration file.

gamesInfo
GameInfo[ubyte] gamesInfo;

Informations about the games supported by the hub.

max
int max;

Number of maximum players that can connect to the server (that is the sum of the max players of the nodes already connected). The number may change after the current node connects.

online
uint online;

Number of players currently online and connected to other nodes.

reservedUUIDs
ulong reservedUUIDs;

First number of the 4,294,967,296 (2^32) reserved by the hub to create the node's UUIDs. Every UUID generated by the node is formed by the server's id (most signicant) and the next reserved uuid (least significant). This way every UUID in the hub and in the connected nodes is always different.

serverId
ulong serverId;

Server's id, either given by a snoop system or randomly generated at runtime.

webAdmin
bool webAdmin;

Indicates whether the web admin protocol is active on the hub. If it is the node should send the port where it will listen for connections in its info packet.

Mixed In Members

From mixin Make

__anonymous
mixin xpacket.maker.Make
Undocumented in source.
fromBuffer
typeof(this) fromBuffer(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta