Yuari
Documentation
Docs/RakNet/raknet.desync

raknet.desync

Controls RakNet desync behavior.

Syntax

raknet.desync(enabled: any) -> nil

Parameters

ParameterTypeDescription
enabledanyThe enabled value used by the call.

Returns

TypeDescription
nilThis 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.