FCustomVersion

Structure to hold unique custom key with its version.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Serialization/CustomVersion.h"

Syntax

struct FCustomVersion

Remarks

Structure to hold unique custom key with its version.

Variables

Name Description

Public variable

FGuid

 

Key

Unique custom key.

Public variable

int32

 

ReferenceCount

Number of times this GUID has been registered

Public variable

CustomVersionVa...

 

Validator

An optional validator that will be called if a package has a given version that can prevent it from loading

Public variable

int32

 

Version

Custom version.

Constructors

Name Description

Public function

FCustomVersion()

Constructor.

Public function

FCustomVersion

(
    FGuid InKey,
    int32 InVersion,
    FName InFriendlyName,
    CustomVersionValidatorFunc InValida...
)

Helper constructor.

Functions

Name Description

Public function Const

const FName

 

GetFriendlyName()

Gets the friendly name for error messages or whatever

Operators

Name Description

Public function Const

bool

 

operator!=

(
    FGuid InKey
)

Inequality comparison operator for Key

Public function Const

bool

 

operator==

(
    FGuid InKey
)

Equality comparison operator for Key

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