- handleMessagePacket
void handleMessagePacket(ubyte[] packetData, UserId peer)
Undocumented in source. Be warned that the author may not have intended to support it.
- handleSessionInfoPacket
void handleSessionInfoPacket(ubyte[] packetData, UserId peer)
Undocumented in source. Be warned that the author may not have intended to support it.
- handleUserLoggedInPacket
void handleUserLoggedInPacket(ubyte[] packetData, UserId peer)
Undocumented in source. Be warned that the author may not have intended to support it.
- handleUserLoggedOutPacket
void handleUserLoggedOutPacket(ubyte[] packetData, UserId peer)
Undocumented in source. Be warned that the author may not have intended to support it.
- onConnect
void onConnect(ENetEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- onDisconnect
void onDisconnect(ENetEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- send
void send(ubyte[] data, ubyte channel)
Undocumented in source. Be warned that the author may not have intended to support it.
- start
void start(string address, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
- stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
- userName
string userName(UserId userId)
Undocumented in source. Be warned that the author may not have intended to support it.
- host
ENetHost* host;
Undocumented in source.
- packetArray
PacketInfo[] packetArray;
Undocumented in source.
- packetMap
PacketInfo[TypeInfo] packetMap;
Undocumented in source.
- buffer
ubyte[] buffer;
Undocumented in source.
- side
string side;
Undocumented in source.
- packetId
size_t packetId()
Undocumented in source. Be warned that the author may not have intended to support it.
- packetName
string packetName(size_t packetId)
Undocumented in source. Be warned that the author may not have intended to support it.
- registerPacket
void registerPacket(PacketHandler handler, string packetName)
Undocumented in source. Be warned that the author may not have intended to support it.
- handlePacket
bool handlePacket(size_t packetId, ubyte[] packetData, UserId peerInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
- createPacket
ubyte[] createPacket(P packet)
Undocumented in source. Be warned that the author may not have intended to support it.
- unpackPacket
P unpackPacket(ubyte[] packetData)
Undocumented in source. Be warned that the author may not have intended to support it.
- printPacketMap
void printPacketMap()
Undocumented in source. Be warned that the author may not have intended to support it.
- flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
- stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
- update
void update(uint msecs)
Undocumented in source. Be warned that the author may not have intended to support it.
- onConnect
void onConnect(ENetEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- onPacketReceived
void onPacketReceived(ENetEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- onDisconnect
void onDisconnect(ENetEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.