FCustomVersionRegistration

This class will cause the registration of a custom version number and key with the global [FCustomVersionContainer](API\Runtime\Core\Serialization\FCustomVersionContainer) when instantiated, and unregister when destroyed.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FNoncopyable

FCustomVersionRegistration

FDevVersionRegistration

References

Module

Core

Header

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

Include

#include "Serialization/CustomVersion.h"

Syntax

class FCustomVersionRegistration : private FNoncopyable

Remarks

This class will cause the registration of a custom version number and key with the global FCustomVersionContainer when instantiated, and unregister when destroyed. It should be instantiated as a global variable somewhere in the module which needs a custom version number.

Constructors

Name Description

Public function

FCustomVersionRegistration

(
    FGuid InKey,
    int32 Version,
    const TCHAR InFriendlyName,
    CustomVersionValidatorFunc InValida...
)

Destructors