Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/NetSerialization.h |
Include |
#include "Engine/NetSerialization.h" |
template<typename Type, typename SerializerType>
struct TFastArraySerializeHelper
Helper struct that contains common methods / logic for standard Fast Array serialization and Delta Struct Fast Array serialization.
Name | Description | ||
---|---|---|---|
|
SerializerType ... |
ArraySerializer |
The actual FFastArraySerializer struct we're serializing. |
|
TArray< Type > ... |
Items |
Set of array elements we're serializing. |
|
Parms |
Cached DeltaSerialize params. |
|
|
UScriptStruct &... |
Struct |
Array element type struct. |
Name | Description | ||
---|---|---|---|
|
BuildChangedAndDeletedBuffers |
Iterates over the current set of properties, comparing their keys with our old state, to figure out which have changed and need to be serialized. |
|
|
CalcNumItemsForConsideration() |
Calculates the number of Items that actually need to be written. |
|
|
ConditionalCreateNewDeltaState |
Checks to see if the ArrayReplicationKey has changed, and if so creates a new DeltaState that is passed out to the caller. |
|
|
ConditionalLogSerializerState |
Conditionally logs the important state of the serializer. For debug purposes only. |
|
|
ConditionalRebuildItemMap() |
Conditionally rebuilds the ID to Index map for items. |
|
|
PostReceiveCleanup ( |
Manages any cleanup work that needs to be done after receiving elements, such as looking for items that were implicitly deleted, removing all deleted items, firing off any PostReceive / PostDeleted events, etc. |
|
|
ReadDeltaHeader ( |
Reads in a FFastArraySerializerHeader |
|
|
WriteDeltaHeader ( |
Writes out a FFastArraySerializerHeader |