RakNet
Read, change, block and send the game's own network packets.
22 functions
| Function | Summary |
|---|---|
raknet.addreceivehookraknet.add_receive_hook | Registers a callback for incoming packet snapshots. |
raknet.addsendhookraknet.add_send_hook | Registers a callback for outgoing packets. |
raknet.diagnosticsraknet.stats | Returns a snapshot of packet-library status and counters. |
raknet.is_enabled | Reports whether RakNet functionality is enabled for this session. |
raknet.receive | Hands a packet to the receive hooks as if it had arrived. |
raknet.removereceivehookraknet.remove_receive_hook | Removes a registered incoming packet callback. |
raknet.removesendhookraknet.remove_send_hook | Removes a registered outgoing packet callback. |
raknet.send | Sends packet bytes through the current supported game connection. |
RakNetPacket.AsArray | Reads a new byte array containing integers from 0 through 255. |
RakNetPacket.AsBuffer | Reads a new buffer copy of the packet bytes. |
RakNetPacket.AsStringRakNetPacket.data | Reads packet bytes as a binary string. |
RakNetPacket.Broadcast | Reads whether the outgoing packet was marked for broadcast. |
RakNetPacket.DirectionRakNetPacket.direction | Reads outgoing or Incoming. |
RakNetPacket.ItemId | Reads second packet byte, or zero when the byte is absent. |
RakNetPacket.OrderingChannelRakNetPacket.Channel | Reads outgoing ordering channel. |
RakNetPacket.PacketIdRakNetPacket.Id | Reads first packet byte, or zero when the byte is absent. |
RakNetPacket.Priority | Reads outgoing transport priority. |
RakNetPacket.Receipt | Reads transport receipt identifier. |
RakNetPacket.Reliability | Reads outgoing reliability mode. |
RakNetPacket.SizeRakNetPacket.LengthRakNetPacket.length | Reads current packet length in bytes. |
RakNetPacket:BlockRakNetPacket:DropRakNetPacket:Ignore | Prevents the current outgoing packet from being sent. |
RakNetPacket:SetData | Replaces the bytes of a live outgoing packet. |
No function in RakNet matches that filter.
