Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/NetSerialization.h |
Include |
#include "Engine/NetSerialization.h" |
template<typename ValueType>
bool NetSerializeOptionalValue
(
const bool bIsSaving,
FArchive & Ar,
ValueType & Value,
const ValueType & DefaultValue,
class UPackageMap * PackageMap
)
Helper to optionally serialize a value (using the NetSerialize function). A single signal bit indicates whether to serialize, or whether to just use the default value. Returns true if the value was not the default and needed to be serialized.