FSendingRepState

Replication State that is only needed when sending properties.

Windows
MacOS
Linux

Inheritance Hierarchy

FNoncopyable

FSendingRepState

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/RepLayout.h

Include

#include "Net/RepLayout.h"

Syntax

class FSendingRepState : public FNoncopyable

Remarks

Replication State that is only needed when sending properties.

Variables

Name Description

Public variable

bool

 

bOpenAckedCalled

Whether or not FRepLayout::OpenAcked has been called with this FRepState.

Public variable

TArray< TShared...

 

CDOCustomDeltaState

Same as RecentCustomDeltaState, but this will always remain as the initial CDO version.

Public variable

FRepChangedHist...

 

ChangeHistory

Circular buffer of changelists.

Public variable

TArray< TShared...

 

CheckpointCustomDeltaState

Same as RecentCustomDeltaState, but will represent the state at the last checkpoint.

Public variable

int32

 

HistoryEnd

Index in the buffer where changelist history ends (i.e., the Newest changelist).

Public variable

int32

 

HistoryStart

Index in the buffer where changelist history starts (i.e., the Oldest changelist).

Public variable

TArray< uint16 ...

 

InactiveChangelist

Properties which are inactive through conditions have their changes stored here, so they can be applied if/when the property becomes active.

Public variable

TBitArray

 

InactiveParents

Cached set of inactive parent commands.

Public variable

int32

 

LastChangelistIndex

The last change list history item we replicated from FRepChangelistState.

Public variable

int32

 

LastCompareIndex

Tracks the last time this RepState actually replicated data.

Public variable

TArray< uint16 ...

 

LifetimeChangelist

The unique list of properties that have changed since the channel was first opened

Public variable

int32

 

NumNaks

Number of Changelist history entries that have outstanding Naks.

Public variable

TArray< FRepCha...

 

PreOpenAckHistory

List of changelists that were generated before the channel was fully opened.

Public variable

TArray< TShared...

 

RecentCustomDeltaState

This is the delta state we need to compare with when determining what to send to a client for custom delta properties.

Public variable

TSharedPtr< FRe...

 

RepChangedPropertyTracker

Public variable

FReplicationFla...

 

RepFlags

Public variable

TArray< FProper...

 

Retirement

Array of property retirements that we'll use to track retransmission for Custom Delta Properties.

Public variable

TEnumAsByte< EN...

 

SavedRemoteRole

Cache off the RemoteRole and Role per connection to avoid issues with FScopedRoleDowngrade.

Public variable

TEnumAsByte< EN...

 

SavedRole

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Static

TStaticBitAr...

 

BuildConditionMapFromRepFlags

(
    const FReplicationFlags InFlags
)

Builds a new ConditionMap given the input RepFlags.

Public function Const

void

 

CountBytes

(
    FArchive& Ar
)

Constants

Name

Description

MAX_CHANGE_HISTORY

The maximum number of individual changelists allowed.

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