enet-tutorials v0.1.0 (2014-10-24T15:58:30Z)
Dub
Repo
Connection.registerPacket
connection
Connection
Undocumented in source. Be warned that the author may not have intended to support it.
class
Connection
void
registerPacket
(
P
)
(
PacketHandler
handler
= null
,
string
packetName
=
P.stringof
)
Meta
Source
See Implementation
connection
Connection
functions
createPacket
flush
handlePacket
onConnect
onDisconnect
onPacketReceived
packetId
packetName
printPacketMap
registerPacket
stop
unpackPacket
update
variables
buffer
host
packetArray
packetMap
side