engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
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. 更多...

#include <RepLayout.h>

继承自 IRepChangedPropertyTracker .

Public 成员函数

virtual bool IsReplay () const override
 Whether or not this is being used for a replay (may be recording or playback).
 
virtual void SetCustomIsActiveOverride (UObject *OwningObject, const uint16 RepIndex, const bool bIsActive) override
 Manually set whether or not Property should be marked inactive. 更多...
 
virtual void SetExternalData (const uint8 *Src, const int32 NumBits) override
 Sets (or resets) the External Data. 更多...
 

Public 属性

bool bIsClientReplayRecording
 Whether or not this is being used for a client replay recording.
 
bool bIsReplay
 Whether or not this is being used for a replay (may be recording or playback).
 
TArray< FRepChangedParent > Parents
 Activation data for top level Properties on the given Actor / Object.
 

详细描述

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.

成员函数说明

◆ SetCustomIsActiveOverride()

virtual void FRepChangedPropertyTracker::SetCustomIsActiveOverride ( UObject *  OwningObject,
const uint16  RepIndex,
const bool  bIsActive 
)
overridevirtual

Manually set whether or not Property should be marked inactive.

This will change the Active status for all connections.

参见
DOREPLIFETIME_ACTIVE_OVERRIDE
参数
OwningObjectThe object that we're tracking.
RepIndexReplication index for the Property.
bIsActiveThe new Active state.

◆ SetExternalData()

virtual void FRepChangedPropertyTracker::SetExternalData ( const uint8 *  Src,
const int32  NumBits 
)
overridevirtual

Sets (or resets) the External Data.

External Data is primarily used for Replays, and is used to track additional non-replicated data or state about an object.

参数
SrcMemory containing the external data.
NumBitsSize of the memory, in bits.

该类的文档由以下文件生成: