raknet.desync
Controls RakNet desync behavior.
Syntax
raknet.desync(enabled: any) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
enabled | any | The enabled value used by the call. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
raknet.desync is part of the RakNet library. RakNet helpers expose the client's network stream: packet hooks, capture controls and bitstream serialization.
The operation is performed immediately using the arguments supplied at the call site.
The aliases desyncping(enabled) resolve to the same implementation.
Example
raknet.desync(true)
raknet.desyncping(true)
Notes
- Aliases:
desyncping(enabled). - Packet hooks run on the network path and should return quickly.