Replication State that is only needed when sending properties. 更多...
#include <RepLayout.h>
类 FSendingRepState 继承关系图:静态 Public 成员函数 | |
| static TStaticBitArray< COND_Max > | BuildConditionMapFromRepFlags (const FReplicationFlags InFlags) |
| Builds a new ConditionMap given the input RepFlags. 更多... | |
Public 属性 | |
| bool | bOpenAckedCalled |
| Whether or not FRepLayout::OpenAcked has been called with this FRepState. | |
| TArray< TSharedPtr< INetDeltaBaseState > > | CDOCustomDeltaState |
| Same as RecentCustomDeltaState, but this will always remain as the initial CDO version. 更多... | |
| FRepChangedHistory | ChangeHistory [MAX_CHANGE_HISTORY] |
| Circular buffer of changelists. | |
| TArray< TSharedPtr< INetDeltaBaseState > > | CheckpointCustomDeltaState |
| Same as RecentCustomDeltaState, but will represent the state at the last checkpoint. | |
| int32 | HistoryEnd |
| Index in the buffer where changelist history ends (i.e., the Newest changelist). | |
| int32 | HistoryStart |
| Index in the buffer where changelist history starts (i.e., the Oldest changelist). | |
| TArray< uint16 > | InactiveChangelist |
| Properties which are inactive through conditions have their changes stored here, so they can be applied if/when the property becomes active. 更多... | |
| TBitArray | InactiveParents |
| Cached set of inactive parent commands. | |
| int32 | LastChangelistIndex |
| The last change list history item we replicated from FRepChangelistState. 更多... | |
| int32 | LastCompareIndex |
| Tracks the last time this RepState actually replicated data. 更多... | |
| TArray< uint16 > | LifetimeChangelist |
| The unique list of properties that have changed since the channel was first opened | |
| int32 | NumNaks |
| Number of Changelist history entries that have outstanding Naks. | |
| TArray< FRepChangedHistory > | PreOpenAckHistory |
| List of changelists that were generated before the channel was fully opened. | |
| TArray< TSharedPtr< INetDeltaBaseState > > | RecentCustomDeltaState |
| This is the delta state we need to compare with when determining what to send to a client for custom delta properties. | |
| TArray< FPropertyRetirement > | Retirement |
| Array of property retirements that we'll use to track retransmission for Custom Delta Properties. | |
静态 Public 属性 | |
| static constexpr int32 | MAX_CHANGE_HISTORY = 32 |
| The maximum number of individual changelists allowed. | |
友元 | |
| class | FRepLayout |
Replication State that is only needed when sending properties.
|
static |
Builds a new ConditionMap given the input RepFlags.
This can be used to determine whether or not a given property should be considered enabled / disabled based on ELifetimeCondition.
TODO: This doesn't have to be part of FRepState.
| TArray<TSharedPtr<INetDeltaBaseState> > FSendingRepState::CDOCustomDeltaState |
Same as RecentCustomDeltaState, but this will always remain as the initial CDO version.
We use this to send all properties since channel was first opened (for bResendAllDataSinceOpen).
| TArray<uint16> FSendingRepState::InactiveChangelist |
Properties which are inactive through conditions have their changes stored here, so they can be applied if/when the property becomes active.
This should always be a valid changelist, even if no properties are inactive.
| int32 FSendingRepState::LastChangelistIndex |
The last change list history item we replicated from FRepChangelistState.
(If we are caught up to FRepChangelistState::HistoryEnd, there are no new changelists to replicate).
| int32 FSendingRepState::LastCompareIndex |
Tracks the last time this RepState actually replicated data.
If this matches FRepChangelistState::CompareIndex, then there is definitely no new information since the last time we checked.
Note, we can't solely rely on on LastChangelistIndex, since changelists are stored in circular buffers.