GenericGameServer

A generic server that only contains a ServerInfo, the supported protocols and the mothods to start it.

Constructors

this
this(ServerInfo info, uint[] protocols, uint[] supported, Handler handler)
Undocumented in source.

Members

Functions

onClientJoin
void onClientJoin(Client client)
Undocumented in source. Be warned that the author may not have intended to support it.
onClientLeft
void onClientLeft(Client client)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

protocols
immutable(uint)[] protocols [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
protocols
uint[] protocols [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_protocols
immutable(uint)[] _protocols;
Undocumented in source.
handler
Handler handler;
Undocumented in source.

Inherited Members

From GenericServer

info
ServerInfo info;
Undocumented in source.
start
void start(Address address, Query query)
void start(string ip, ushort port, Query query)
void start(string ip, Query query)

Starts the server on the given address. The server can be started using an ip/port combination (if the port is not given the game's default one will be used), and an optional handler (for the management of the players) and a query.

startImpl
void startImpl(Address address, Query query)
Undocumented in source.
defaultPort
ushort defaultPort [@property getter]

Gets the server's default port for the hosted game.

Meta