Navigation
API > API/Runtime > API/Runtime/Core
Structure to hold unique custom key with its version.
| Name | FCustomVersion |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/CustomVersion.h |
| Include Path | #include "Serialization/CustomVersion.h" |
Syntax
struct FCustomVersion
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Constructor. | Serialization/CustomVersion.h | ||
FCustomVersion
(
FGuid InKey, |
Helper constructor. | Serialization/CustomVersion.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Key | FGuid | Unique custom key. | Serialization/CustomVersion.h | |
| ReferenceCount | int32 | Number of times this GUID has been registered | Serialization/CustomVersion.h | |
| Validator | CustomVersionValidatorFunc | An optional validator that will be called if a package has a given version that can prevent it from loading | Serialization/CustomVersion.h | |
| Version | int32 | Custom version. | Serialization/CustomVersion.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FriendlyName | FName | Friendly name for error messages or whatever. Lazy initialized for serialized versions | Serialization/CustomVersion.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FName GetFriendlyName() |
Gets the friendly name for error messages or whatever | Serialization/CustomVersion.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
FGuid InKey |
Inequality comparison operator for Key | Serialization/CustomVersion.h | |
bool operator==
(
FGuid InKey |
Equality comparison operator for Key | Serialization/CustomVersion.h |