![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RepLayout.h>
Inheritance diagram for FSendingRepState:Public Member Functions | |
| void | CountBytes (FArchive &Ar) const |
| bool | HasAnyPendingRetirements () const |
Static Public Member Functions | |
| static TStaticBitArray< COND_Max > | BuildConditionMapFromRepFlags (const FReplicationFlags InFlags) |
Static Public Attributes | |
| static constexpr int32 | MAX_CHANGE_HISTORY = 32 |
Friends | |
| class | FRepLayout |
Additional Inherited Members | |
Protected Member Functions inherited from FNoncopyable | |
| FNoncopyable () | |
| ~FNoncopyable () | |
Replication State that is only needed when sending properties.
|
inlinestatic |
| bool FSendingRepState::HasAnyPendingRetirements | ( | ) | const |
|
friend |
| bool FSendingRepState::bOpenAckedCalled |
Whether or not FRepLayout::OpenAcked has been called with this 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).
| FRepChangedHistory FSendingRepState::ChangeHistory[MAX_CHANGE_HISTORY] |
Circular buffer of changelists.
| TArray<TSharedPtr<INetDeltaBaseState> > FSendingRepState::CheckpointCustomDeltaState |
Same as RecentCustomDeltaState, but will represent the state at the last checkpoint.
| uint32 FSendingRepState::CustomDeltaChangeIndex = 0 |
Tracking custom delta sends, for comparison against the changelist state.
| int32 FSendingRepState::HistoryEnd |
Index in the buffer where changelist history ends (i.e., the Newest changelist).
| int32 FSendingRepState::HistoryStart |
Index in the buffer where changelist history starts (i.e., the Oldest changelist).
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.
| TBitArray FSendingRepState::InactiveParents |
Cached set of inactive parent commands.
| 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.
The unique list of properties that have changed since the channel was first opened
The maximum number of individual changelists allowed.
| int32 FSendingRepState::NumNaks |
Number of Changelist history entries that have outstanding Naks.
| TArray<FRepChangedHistory> FSendingRepState::PreOpenAckHistory |
List of changelists that were generated before the channel was fully opened.
| TArray<TSharedPtr<INetDeltaBaseState> > FSendingRepState::RecentCustomDeltaState |
This is the delta state we need to compare with when determining what to send to a client for custom delta properties.
| TSharedPtr<FRepChangedPropertyTracker> FSendingRepState::RepChangedPropertyTracker |
| FReplicationFlags FSendingRepState::RepFlags |
| TArray<FPropertyRetirement> FSendingRepState::Retirement |
Array of property retirements that we'll use to track retransmission for Custom Delta Properties.
| TEnumAsByte<ENetRole> FSendingRepState::SavedRemoteRole = ROLE_MAX |
| TEnumAsByte<ENetRole> FSendingRepState::SavedRole = ROLE_MAX |