Navigation
API > API/Runtime > API/Runtime/NetCommon
Contains metadata and flags, which provide information on the traits of a packet - what it contains and how to process it.
| Name | FOutPacketTraits |
| Type | struct |
| Header File | /Engine/Source/Runtime/Net/Common/Public/Net/Common/Packets/PacketTraits.h |
| Include Path | #include "Net/Common/Packets/PacketTraits.h" |
Syntax
struct FOutPacketTraits
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowCompression | bool | Flags - may trigger modification of packet and traits Whether or not the packet can/should be compressed | Net/Common/Packets/PacketTraits.h | |
| bIsCompressed | bool | Whether or not the packet has been compressed | Net/Common/Packets/PacketTraits.h | |
| bIsKeepAlive | bool | Whether or not this is a keepalive packet | Net/Common/Packets/PacketTraits.h | |
| NumAckBits | uint32 | Traits The number of ack bits in the packet - reflecting UNetConnection.NumAckBits | Net/Common/Packets/PacketTraits.h | |
| NumBunchBits | uint32 | The number of bunch bits in the packet - reflecting UNetConnection.NumBunchBits | Net/Common/Packets/PacketTraits.h |