FOutPacketTraits

Includes

Windows
MacOS
Linux

References

Module

PacketHandler

Header

/Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/PacketTraits.h

Include

#include "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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback