FRepChangedHistory

Represents a single changelist, tracking changed properties.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Net/RepLayout.h"

Syntax

class FRepChangedHistory

Remarks

Represents a single changelist, tracking changed properties.

Properties are tracked via Relative Property Command Handles. Valid handles are 1-based, and 0 is reserved as a terminator.

Arrays are tracked as a special case inline, where the first entry is the number of array elements, followed by handles for each array element, and ending with their own 0 terminator.

Arrays may be nested by continually applying that pattern.

Variables

Name Description

Public variable

TArray< uint16 ...

 

Changed

List of Property Command Handles that changed in this changelist.

Public variable

FPacketIdRange

 

OutPacketIdRange

Range of the Packets that this changelist was last sent with. Used to track acknowledgments.

Public variable

bool

 

Resend

Whether or not this Changelist should be resent due to a Nak.

Constructors

Name Description

Public function

FRepChangedHistory()

Functions

Name Description

Public function Const

void

 

CountBytes

(
    FArchive& Ar
)

Public function

void

 

Reset()

Public function Const

bool

 

WasSent()

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