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.
|
overridevirtual |
Manually set whether or not Property should be marked inactive.
This will change the Active status for all connections.
| OwningObject | The object that we're tracking. |
| RepIndex | Replication index for the Property. |
| bIsActive | The new Active state. |
|
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.
| Src | Memory containing the external data. |
| NumBits | Size of the memory, in bits. |