Syntax
Aliases
raknet.add_send_hook
Registers a callback for observed outgoing RakNet packets. The callback receives one RakNetPacket while the packet is valid. Registering the same closure again replaces its stored reference. The function returns the callback it was given.
raknet.add_send_hook