FArchiveState::CustomVer

Queries a custom version from the archive.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/Archive.h

Include

#include "Serialization/Archive.h"

Source

/Engine/Source/Runtime/Core/Private/Serialization/Archive.cpp

Syntax

int32 CustomVer
(
    const struct FGuid & Key
) const

Remarks

Queries a custom version from the archive. If the archive is being used to write, the custom version must have already been registered.

Returns

The version number, or 0 if the custom tag isn't stored in the archive.

Parameters

Parameter

Description

Key

The guid of the custom version to query.