Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Net/Core/Classes/Net/Serialization/FastArraySerializer.h |
Include |
#include "Net/Serialization/FastArraySerializer.h" |
struct FFastArraySerializer
Base struct for wrapping the array used in Fast TArray Replication
Name | Description | ||
---|---|---|---|
|
ArrayReplicationKey |
Counter used to track array replication. |
|
|
GuidReferencesMap |
List of items that need to be re-serialized when the referenced objects are mapped |
|
|
GuidReferencesMap_StructDelta |
List of items that need to be re-serialized when the referenced objects are mapped. |
|
|
IDCounter |
Counter used to assign IDs to new elements. |
|
|
ItemMap |
Maps Element ReplicationID to Array Index. |
Name | Description | |
---|---|---|
|
FFastArraySerializer() |
Name | Description | |
---|---|---|
|
~FFastArraySerializer() |
Name | Description | ||
---|---|---|---|
|
FastArrayDeltaSerialize ( |
Performs "standard" delta serialization on the items in the FastArraySerializer. |
|
|
const EFastA... |
GetDeltaSerializationFlags() |
|
|
const int32 |
GetMaxNumberOfAllowedChangesPerUpdate() |
|
|
const int32 |
GetMaxNumberOfAllowedDeletionsPerUpdate() |
|
|
IncrementArrayReplicationKey() |
||
|
MarkArrayDirty() |
This must be called if you just remove something from the array |
|
|
MarkItemDirty ( |
This must be called if you add or change an item in the array |
|
|
PostReplicatedAdd ( |
Called after adding all new elements and after the elements themselves are notified. |
|
|
PostReplicatedChange ( |
Called after updating all existing elements with new data and after the elements themselves are notified. |
|
|
PreReplicatedRemove ( |
Called before removing elements and after the elements themselves are notified. |
|
|
SetDeltaSerializationEnabled ( |
||
|
ShouldWriteFastArrayItem ( |
Helper function for FastArrayDeltaSerialize to consolidate the logic of whether to consider writing an item in a fast TArray during network serialization. |
Name |
Description |
|
---|---|---|
|
CPostReplicatedReceiveFuncable |
Concept used to detect if PostReplicatedReceive is defined or not. |
|
FPostReplicatedReceiveParameters |
If a function with the signature void PostReplicatedReceive(const FFastArraySerializer::FPostReplicatedReceiveParameters& Parameters) is defined in the derived struct It will be called after each call to NetDeltaSerialize on the receiving end, including if we have mapped some unmapped objects |