The serenity instance to handle incoming packets with
Optional
properties: Partial<NetworkProperties>Optional
raknetProperties: Partial<RaknetServerProperties>Optional
handlers: typeof NetworkHandler[]The handlers to register to the network
Readonly
connectionsThe current connections that are being handled by the network
Readonly
handlersThe registered handlers that are being used to handle incoming packets
Readonly
loggerThe logger that is being used to log network events
Readonly
propertiesThe properties that are being used for the network
Readonly
raknetThe raknet instance that is being used to handle incoming packets
Readonly
serenityThe serenity instance that is being used to handle incoming packets
The current compression method that is being used for the network
The current compression method that is being used for the network
The current compression threshold that is being used for the network
The current compression threshold that is being used for the network
The current packets per frame that is being used for the network
The current packets per frame that is being used for the network
Deflates a buffer using the zlib compression algorithm
The buffer to deflate
The deflated buffer
Inflates a snappy compressed buffer
The inflated buffer
Inflates a zlib compressed buffer
The zlib compressed buffer to inflate
The inflated buffer
Handles all incoming connections from the raknet server
The connection that is being established
Handles all disconnections from the raknet server
The connection that is being disconnected
Handles all incoming packet traffic from the raknet server
The raknet connection the data is coming from
The data buffers that are being sent from the connection
Registers a new handler to the network
The handler to register to the network
Send a batch of packets to a connection with a specified priority
The connection to send the packets to
The priority of the packets being sent
The packets to send to the connection
Sends a batch of packets to a connection with immediate priority
The connection to send the packets to immediately
The packets to send to the connection
Sends a batch of packets to a connection with normal priority
The connection to send the packets to with normal priority
The packets to send to the connection
Unregisters a handler from the network
The handler to unregister from the network
Creates a new network handler for a raknet server