Navigation
API > API/Runtime > API/Runtime/IrisCore
Utility methods to behave similar to FastArraySerializer
| Name | FFastArrayReplicationFragmentHelper |
| Type | struct |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h |
| Include Path | #include "Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h" |
Syntax
struct FFastArrayReplicationFragmentHelper
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ApplyReplicatedState
(
FastArrayType* DstFastArray, |
Apply received state and try to behave like current FastArrays | Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h | |
static TEnableIf< TModels_V< FFastArraySerializer::CPostReplicatedReceiveFuncable, FastArrayType, constFFastArraySerializer::FPostReplicatedReceiveParameters & >, void >::Type CallPostReplicatedReceiveOrNot
(
FastArrayType& ArraySerializer, |
Conditionally invoke PostReplicatedReceive method depending on if it is defined or not We only want to do this for FastArrays that define PostReplicatedReceive since it might require extra work to calculate the required parameters | Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h | |
static TEnableIfFFastArraySerializer::CPostReplicatedReceiveFuncable, FastArrayType, constFFastArraySerializer::FPostReplicatedReceiveParameters & >, void >::Type CallPostReplicatedReceiveOrNot
(
FastArrayType& ArraySerializer, |
Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h | ||
static void ConditionalRebuildItemMap
(
FastArrayType& ArraySerializer, |
Rebuild IndexMap for FastArrraySerializer | Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h | |
static uint32 GetFastArrayStructItemArrayMemberIndex
(
const FReplicationStateDescriptor* StructDescriptor |
Find the member index of the FastArrayIteArray, used to support FastArrayNetSerializers with extra properties | Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h | |
static void InternalApplyArrayElement
(
const FReplicationStateDescriptor* ArrayElementDescriptor, |
Apply array element, only replicated items will be applied, using the serializers' Apply function if present | Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h | |
static bool InternalCompareArrayElement
(
const FReplicationStateDescriptor* ArrayElementDescriptor, |
Compare array element, only replicated items will be compared | Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h | |
static void InternalCopyArrayElement
(
const FReplicationStateDescriptor* ArrayElementDescriptor, |
Copy array element, only replicated items will be copied | Iris/ReplicationSystem/Private/FastArrayReplicationFragmentInternal.h |