Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/NetSerialization.h |
Include |
#include "Engine/NetSerialization.h" |
template<typename Type, typename SerializerType>
static bool FastArrayDeltaSerialize
(
TArray< Type > & Items,
FNetDeltaSerializeInfo & Parms,
SerializerType & ArraySerializer
)
Performs "standard" delta serialization on the items in the FastArraySerializer. This method relies more on the INetSerializeCB interface and custom logic and sends all properties that aren't marked as SkipRep, regardless of whether or not they've changed. This will be less CPU intensive, but require more bandwidth.
The function that implements Fast TArray Replication
Parameter |
Description |
---|---|
Items |
Array of items owned by ArraySerializer. |
Parms |
Set of parms that dictate what serialization will do / return. |
ArraySerializer |
The typed subclass of FFastArraySerializer that we're serializing. |