RakNet
RakNet.remove_send_hook
Removes a send hook previously registered with the same callback closure. The function returns no values whether or not a matching hook was present.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Removes a send hook previously registered with the same callback closure. The function returns no values whether or not a matching hook was present.
RakNet.remove_send_hook(callback: function)
raknet.remove_send_hooklocal function onSend(packet)
print(packet.Size)
end
if raknet.is_enabled then
raknet.add_send_hook(onSend)
raknet.remove_send_hook(onSend)
end