AcediaDocumentation

raknet.remove_receive_hook

Removes a matching receive packet callback.

Removes one matching registration in the current game generation.

raknet.remove_receive_hook(callback: function): ()

Parameters

ParameterTypeDescription
callbackfunctionSame callback passed to the registration function.

Aliases: raknet.removereceivehook, transport.remove_receive_hook.

On this page