FOutPacketTraits

Includes

Windows
MacOS
Linux

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

Name Description

Public variable

bool

 

bAllowCompression

Flags - may trigger modification of packet and traits Whether or not the packet can/should be compressed

Public variable

bool

 

bIsCompressed

Whether or not the packet has been compressed

Public variable

bool

 

bIsKeepAlive

Whether or not this is a keepalive packet

Public variable

uint32

 

NumAckBits

Traits The number of ack bits in the packet - reflecting [UNetConnection.NumAckBits](API\Runtime\Engine\Engine\UNetConnection\NumAckBits)

Public variable

uint32

 

NumBunchBits

The number of bunch bits in the packet - reflecting [UNetConnection.NumBunchBits](API\Runtime\Engine\Engine\UNetConnection\NumBunchBits)

Constructors

Name Description

Public function

FOutPacketTraits()

Default constructor

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss