FFastArraySerializer::FastArrayDeltaSerialize

Performs "standard" delta serialization on the items in the FastArraySerializer.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetSerialization.h

Include

#include "Engine/NetSerialization.h"

Syntax

template<typename Type, typename SerializerType>
static bool FastArrayDeltaSerialize
(
    TArray< Type > & Items,
    FNetDeltaSerializeInfo & Parms,
    SerializerType & ArraySerializer
)

Remarks

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

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss