Navigation
API > API/Runtime > API/Runtime/NetCore > API/Runtime/NetCore/FFastArraySerializer
Description
Helper function for FastArrayDeltaSerialize to consolidate the logic of whether to consider writing an item in a fast TArray during network serialization. For client replay recording, we don't want to write any items that have been added to the array predictively.
| Name | ShouldWriteFastArrayItem |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Core/Classes/Net/Serialization/FastArraySerializer.h |
| Include Path | #include "Net/Serialization/FastArraySerializer.h" |
template<typename Type, typename SerializerType>
bool ShouldWriteFastArrayItem
(
const Type & Item,
const bool bIsWritingOnClient
) const