Module |
|
Header |
/Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/PacketHandler.h |
Include |
#include "PacketHandler.h" |
const ProcessedPacket Incoming
(
uint8 * Packet,
int32 CountBytes
)
Processes incoming packets at the PacketHandler level, before any UNetConnection processing takes place on the packet.
Use this for more complex changes to packets, such as compression/encryption, but be aware that compatibility problems with other HandlerComponent's are more likely.
Returns the final packet
Parameter |
Description |
---|---|
Packet |
The packet data to be processed |
CountBytes |
The size of the packet data in bytes |