FFastArraySerializer::TFastArraySerializeHelper::ConditionalCreateNewDeltaState

Checks to see if the ArrayReplicationKey has changed, and if so creates a new DeltaState that is passed out to the caller.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/NetSerialization.h"

Syntax

bool ConditionalCreateNewDeltaState
(
    const TMap< int32, int32 > & OldIDToKeyMap,
    const int32 BaseReplicationKey
)

Remarks

Checks to see if the ArrayReplicationKey has changed, and if so creates a new DeltaState that is passed out to the caller. Note, this state may just be a copy of a previous state, or a brand new state.

Returns

True if the keys were different and a state was created. False if the keys were the same, and we can skip serialization.

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