FRepChangedPropertyTracker

This class is used to store meta data about properties that is shared between connections, including whether or not a given property is Conditional, Active, and any external data that may be needed for Replays.

Windows
MacOS
Linux

Inheritance Hierarchy

IRepChangedPropertyTracker

FRepChangedPropertyTracker

References

Module

Engine

Header

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

Include

#include "Net/RepLayout.h"

Syntax

class FRepChangedPropertyTracker : public IRepChangedPropertyTracker

Remarks

This class is used to store meta data about properties that is shared between connections, including whether or not a given property is Conditional, Active, and any external data that may be needed for Replays.

TODO: This class (and arguably IRepChangedPropertyTracker) should be renamed to reflect what they actually do now.

Variables

Name Description

Public variable

bool

 

bIsClientReplayRecording

Whether or not this is being used for a client replay recording.

Public variable

bool

 

bIsReplay

Whether or not this is being used for a replay (may be recording or playback).

Public variable

TArray< uint8 >

 

ExternalData

Public variable

uint32

 

ExternalDataNumBits

Public variable

TArray< FRepCha...

 

Parents

Activation data for top level Properties on the given Actor / Object.

Constructors

Name Description

Public function

FRepChangedPropertyTracker

(
    const bool InbIsReplay,
    const bool InbIsClientReplayRecordi...
)

Destructors

Overridden from IRepChangedPropertyTracker

Name Description

Public function Virtual Const

void

 

CountBytes

(
    FArchive& Ar
)

Used when tracking memory to gather the total size of a given instance.

Public function Virtual Const

bool

 

IsReplay()

Whether or not this is being used for a replay (may be recording or playback).

Public function Virtual

void

 

SetCustomIsActiveOverride

(
    const uint16 RepIndex,
    const bool bIsActive
)

Manually set whether or not Property should be marked inactive.

Public function Virtual

void

 

SetExternalData

(
    const uint8* Src,
    const int32 NumBits
)

Sets (or resets) the External Data.

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