![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ReplicationConditionals.h>
Classes | |
| struct | FConditionalsMask |
Public Types | |
| using | FSubObjectsToReplicateArray = TArray< FInternalNetRefIndex, TInlineAllocator< 32 > > |
NOTE: Almost everything in this class is for backward compatibility mode only. As such some functions are fairly slow. For declared replication states this overhead will be eliminated because the state itself can do all the relevant tracking locally. The one thing that will possibly remain is the unmasking of changemasks. The unmasking could then either be done on the sending side, CPU vs bandwidth trade-off, or on the receiving side, not so CPU costly as there's typically one connection and maybe tens of objects. The unmasking is then likely to move to protocol operations.
| using UE::Net::Private::FReplicationConditionals::FSubObjectsToReplicateArray = TArray<FInternalNetRefIndex, TInlineAllocator<32> > |
| UE::Net::Private::FReplicationConditionals::FReplicationConditionals | ( | ) |
| bool UE::Net::Private::FReplicationConditionals::ApplyConditionalsToChangeMask | ( | uint32 | ReplicatingConnectionId, |
| bool | bIsInitialState, | ||
| FInternalNetRefIndex | ParentObjectIndex, | ||
| FInternalNetRefIndex | ObjectIndex, | ||
| uint32 * | ChangeMaskData, | ||
| const uint32 * | ConditionalChangeMaskData, | ||
| const FReplicationProtocol * | Protocol | ||
| ) |
| void UE::Net::Private::FReplicationConditionals::GetSubObjectsToReplicate | ( | uint32 | ReplicationConnectionId, |
| FInternalNetRefIndex | ParentObjectIndex, | ||
| FSubObjectsToReplicateArray & | OutSubObjectsToReplicate | ||
| ) |
| void UE::Net::Private::FReplicationConditionals::Init | ( | FReplicationConditionalsInitParams & | Params | ) |
| void UE::Net::Private::FReplicationConditionals::InitPropertyCustomConditions | ( | FInternalNetRefIndex | ObjectIndex | ) |
| void UE::Net::Private::FReplicationConditionals::MarkLifeTimeConditionalsDirtyForObjectsInGroup | ( | FNetObjectGroupHandle | GroupHandle | ) |
| void UE::Net::Private::FReplicationConditionals::MarkPropertyDirty | ( | FInternalNetRefIndex | ObjectIndex, |
| uint16 | RepIndex | ||
| ) |
Unconditionally marks a property as dirty, causing it to replicate with the object at the earliest convenience.
| void UE::Net::Private::FReplicationConditionals::OnInternalNetRefIndicesFreed | ( | const TConstArrayView< FInternalNetRefIndex > & | FreedIndices | ) |
Called when when one or more NetRefInternalIndices have been freed and can be re-assigned to new objects.
| void UE::Net::Private::FReplicationConditionals::OnMaxInternalNetRefIndexIncreased | ( | FInternalNetRefIndex | NewMaxInternalIndex | ) |
Called when the maximum InternalNetRefIndex increased and we need to realloc our lists
| bool UE::Net::Private::FReplicationConditionals::SetCondition | ( | FInternalNetRefIndex | ObjectIndex, |
| EReplicationCondition | Condition, | ||
| bool | bEnable | ||
| ) |
| bool UE::Net::Private::FReplicationConditionals::SetConditionConnectionFilter | ( | FInternalNetRefIndex | ObjectIndex, |
| EReplicationCondition | Condition, | ||
| uint32 | ConnectionId, | ||
| bool | bEnable | ||
| ) |
| void UE::Net::Private::FReplicationConditionals::SetOwningConnection | ( | FInternalNetRefIndex | ObjectIndex, |
| uint32 | ConnectionId | ||
| ) |
| bool UE::Net::Private::FReplicationConditionals::SetPropertyCustomCondition | ( | FInternalNetRefIndex | ObjectIndex, |
| const void * | Owner, | ||
| uint16 | RepIndex, | ||
| bool | bIsActive | ||
| ) |
| bool UE::Net::Private::FReplicationConditionals::SetPropertyDynamicCondition | ( | FInternalNetRefIndex | ObjectIndex, |
| const void * | Owner, | ||
| uint16 | RepIndex, | ||
| ELifetimeCondition | Condition | ||
| ) |
| void UE::Net::Private::FReplicationConditionals::Update | ( | ) |