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