![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IrisFastArraySerializer.h>
Inheritance diagram for FIrisFastArraySerializer:Public Types | |
| enum | { IrisFastArrayChangeMaskBits = 63U } |
| enum | { IrisFastArrayChangeMaskBitOffset = 1U } |
| enum | { IrisFastArrayPropertyBitIndex = 0U } |
Additional Inherited Members | |
Static Public Member Functions inherited from FFastArraySerializer | |
| template<typename Type , typename SerializerType > | |
| static bool | FastArrayDeltaSerialize (TArray< Type > &Items, FNetDeltaSerializeInfo &Parms, SerializerType &ArraySerializer) |
| static const int32 | GetMaxNumberOfAllowedChangesPerUpdate () |
| static const int32 | GetMaxNumberOfAllowedDeletionsPerUpdate () |
Public Attributes inherited from FFastArraySerializer | |
| TMap< int32, int32 > | ItemMap |
| int32 | IDCounter |
| int32 | ArrayReplicationKey |
| TMap< int32, FFastArraySerializerGuidReferences > | GuidReferencesMap |
| TMap< int32, FGuidReferencesMap > | GuidReferencesMap_StructDelta |
Specialization of FFastArraySerializer in order to add state tracking support for Iris Current usage is to inherit from this struct instead of FFastArraySerializer, backwards compatible with existing system as it simply forwards calls to MarkDirty/MarkItemDirty This class could be named FFastArrayReplicationState, but kept the FIrisFastArraySerializer to match old naming for the time being
NOTE: IrisFastArraySerializer, does not support having local not replicated items in the array. If ShouldWriteFastArrayItem is overridden and filters out items, an ensure will be triggered. Logic should still work, but extra elements will be replicated and filtered out on receiving end.
| FIrisFastArraySerializer::FIrisFastArraySerializer | ( | ) |
|
default |
| FIrisFastArraySerializer::FIrisFastArraySerializer | ( | const FIrisFastArraySerializer & | Other | ) |
Will not copy replication state header
| FIrisFastArraySerializer::FIrisFastArraySerializer | ( | const FIrisFastArraySerializer && | Other | ) |
Will not copy replication state header
|
inline |
Override MarkArrayDirty in order to mark object as dirty in the DirtyNetObjectTracker
|
inline |
Override MarkItemDirty in order to mark object as dirty in the DirtyNetObjectTracker
| FIrisFastArraySerializer & FIrisFastArraySerializer::operator= | ( | const FIrisFastArraySerializer & | Other | ) |
We must make sure that we do not copy replication state header and must update dirtiness if bound
| FIrisFastArraySerializer & FIrisFastArraySerializer::operator= | ( | FIrisFastArraySerializer && | Other | ) |
We must make sure that we do not move replication state header and must update dirtiness if bound