- disconnectAll
void disconnectAll()
- sendTo
void sendTo(R clients, ubyte[] data, ubyte channel)
void sendTo(R clients, const(P) packet, ubyte channel)
void sendTo(R clients, ENetPacket* packet, ubyte channel)
Sends packet to specified clients.
- sendToAll
void sendToAll(P packet, ubyte channel)
void sendToAll(ubyte[] data, ubyte channel)
void sendToAll(ENetPacket* packet, ubyte channel)
Sends packet to all clients.
- sendToAllExcept
void sendToAllExcept(SessionId exceptClient, const(P) packet, ubyte channel)
void sendToAllExcept(SessionId exceptClient, ubyte[] data, ubyte channel)
void sendToAllExcept(SessionId exceptClient, ENetPacket* packet, ubyte channel)
Sends packet to all clients except one.
- start
void start(ConnectionSettings settings, uint hostAddr, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
- update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.