Module |
|
Header |
/Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/PacketHandler.h |
Include |
#include "PacketHandler.h" |
const ProcessedPacket Outgoing
(
uint8 * Packet,
int32 CountBits,
FOutPacketTraits & Traits
)
Processes outgoing packets at the PacketHandler level, after all UNetConnection processing.
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 |
CountBits |
The size of the packet data in bits |
Traits |
Traits for the packet, passed down from the NetConnection |