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.

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss