FCustomVersionContainer

Container for all available/serialized custom versions.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Serialization/CustomVersion.h"

Syntax

class FCustomVersionContainer

Remarks

Container for all available/serialized custom versions.

Functions

Name Description

Public function

void

 

Empty()

Empties the custom version container.

Public function Const

const FCusto...

 

GetAllVersions()

Gets available custom versions in this container.

Public function Const

const FName

 

GetFriendlyName

(
    FGuid CustomKey
)

Gets a custom version friendly name from the container.

Public function Const

const FCusto...

 

GetVersion

(
    FGuid CustomKey
)

Gets a custom version from the container.

Public function

void

 

Serialize

Serialization.

Public function

void

 

Serialize

Serialization.

Public function

void

 

SetVersion

(
    FGuid CustomKey,
    int32 Version,
    FName FriendlyName
)

Sets a specific custom version in the container.

Public function

void

 

SortByKey()

Sorts the custom version container by key.

Public function Const

FString

 

ToString

(
    const FString& Indent
)

Return a string representation of custom versions. Used for debug.

Deprecated Functions

Name Description

Public function Static

const FCusto...

 

GetRegistered()

Use one of the thread-safe FCurrentCustomVersions methods instead