Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FArchiveState
Description
If set true, UsingCurrentVersion will not query the version registry to get the latest version data for the key if the version key is already set in the local container. Querying the version registry is not cheap, and the look up time increases as more custom versions are registered, therefore if you don't change the registered custom version data once is set in the archive Setting this to true should improve serialization performance by skipping the step entirely.
| Name | SetShouldSkipUpdateCustomVersion |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/Archive.h |
| Include Path | #include "Serialization/Archive.h" |
| Source | /Engine/Source/Runtime/Core/Private/Serialization/Archive.cpp |
void SetShouldSkipUpdateCustomVersion
(
bool bShouldSkip
)
Parameters
| Name | Remarks |
|---|---|
| bShouldSkip | Whether we should skip the checking the version registry for new version data if the version key is already set |