UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRepChangedHistory Class Reference

#include <RepLayout.h>

Public Member Functions

 FRepChangedHistory ()
 
void CountBytes (FArchive &Ar) const
 
bool WasSent () const
 
void Reset ()
 

Public Attributes

FPacketIdRange OutPacketIdRange
 
TArray< uint16Changed
 
bool Resend = false
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FRepChangedHistory()

FRepChangedHistory::FRepChangedHistory ( )
inline

Member Function Documentation

◆ CountBytes()

void FRepChangedHistory::CountBytes ( FArchive Ar) const
inline

◆ Reset()

void FRepChangedHistory::Reset ( )
inline

◆ WasSent()

bool FRepChangedHistory::WasSent ( ) const
inline

Member Data Documentation

◆ Changed

TArray<uint16> FRepChangedHistory::Changed

List of Property Command Handles that changed in this changelist.

◆ OutPacketIdRange

FPacketIdRange FRepChangedHistory::OutPacketIdRange

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

◆ Resend

bool FRepChangedHistory::Resend = false

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


The documentation for this class was generated from the following file: