raknet.capturepaused
Pauses or resumes capture.
Syntax
raknet.capturepaused(paused: any) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
paused | any | The paused value used by the call. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
raknet.capturepaused 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.
Example
raknet.capturepaused(true)
raknet.capturepaused(false)
Notes
- Packet hooks run on the network path and should return quickly.