FFastArraySerializer::TFastArraySerializeHelper::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.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/NetSerialization.h"

Syntax

void BuildChangedAndDeletedBuffers
(
    TMap< int32, int32 > & NewIDToKeyMap,
    const TMap< int32, int32 > * OldIDToKeyMap,
    TArray< FFastArraySerializer_FastArrayDeltaSerialize_FIdxIDPair, TInlineAllocator< 8 >> & ChangedElements,
    TArray< int32, TInlineAllocator< 8 >> & DeletedElements
)

Remarks

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. Also populates a list of elements that are no longer in our list (by ID).

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