engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FCustomVersionContainer类 参考

Container for all available/serialized custom versions. 更多...

#include <CustomVersion.h>

Public 成员函数

void Empty ()
 Empties the custom version container.
 
FORCEINLINE const FCustomVersionArray & GetAllVersions () const
 Gets available custom versions in this container.
 
const FName GetFriendlyName (FGuid CustomKey) const
 Gets a custom version friendly name from the container. 更多...
 
const FCustomVersion * GetVersion (FGuid CustomKey) const
 Gets a custom version from the container. 更多...
 
void Serialize (FArchive &Ar, ECustomVersionSerializationFormat::Type Format=ECustomVersionSerializationFormat::Latest)
 Serialization.
 
void SetVersion (FGuid CustomKey, int32 Version, FName FriendlyName)
 Sets a specific custom version in the container. 更多...
 
void SortByKey ()
 Sorts the custom version container by key.
 
FString ToString (const FString &Indent) const
 Return a string representation of custom versions. 更多...
 

静态 Public 成员函数

static const FCustomVersionContainer & GetRegistered ()
 Gets a singleton with the registered versions. 更多...
 

详细描述

Container for all available/serialized custom versions.

成员函数说明

◆ GetFriendlyName()

const FName FCustomVersionContainer::GetFriendlyName ( FGuid  CustomKey) const

Gets a custom version friendly name from the container.

参数
CustomKeyCustom key for which to retrieve the version.
返回
The friendly name for the specified custom key, or NAME_None if the key doesn't exist in the container.

◆ GetRegistered()

static const FCustomVersionContainer & FCustomVersionContainer::GetRegistered ( )
static

Gets a singleton with the registered versions.

返回
The registered version container.

◆ GetVersion()

const FCustomVersion * FCustomVersionContainer::GetVersion ( FGuid  CustomKey) const

Gets a custom version from the container.

参数
CustomKeyCustom key for which to retrieve the version.
返回
The FCustomVersion for the specified custom key, or nullptr if the key doesn't exist in the container.

◆ SetVersion()

void FCustomVersionContainer::SetVersion ( FGuid  CustomKey,
int32  Version,
FName  FriendlyName 
)

Sets a specific custom version in the container.

参数
CustomKeyCustom key for which to retrieve the version.
VersionThe version number for the specified custom key
FriendlyNameA friendly name to assign to this version

◆ ToString()

FString FCustomVersionContainer::ToString ( const FString &  Indent) const

Return a string representation of custom versions.

Used for debug.


该类的文档由以下文件生成: