![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CustomVersion.h>
Public Member Functions | |
| UE_FORCEINLINE_HINT const FCustomVersionArray & | GetAllVersions () const |
| CORE_API const FCustomVersion * | GetVersion (FGuid CustomKey) const |
| CORE_API const FName | GetFriendlyName (FGuid CustomKey) const |
| CORE_API void | SetVersion (FGuid CustomKey, int32 Version, FName FriendlyName) |
| CORE_API void | SetVersionUsingRegistry (FGuid CustomKey, ESetCustomVersionFlags Options=ESetCustomVersionFlags::None) |
| CORE_API void | Serialize (FArchive &Ar, ECustomVersionSerializationFormat Format=ECustomVersionSerializationFormat::Latest) |
| CORE_API void | Serialize (FStructuredArchive::FSlot Slot, ECustomVersionSerializationFormat Format=ECustomVersionSerializationFormat::Latest) |
| CORE_API void | Empty () |
| CORE_API void | SortByKey () |
| CORE_API FString | ToString (const FString &Indent) const |
Static Public Member Functions | |
| static CORE_API const FCustomVersionContainer & | GetRegistered () |
Friends | |
| struct | FStaticCustomVersionRegistry |
Container for all available/serialized custom versions.
| void FCustomVersionContainer::Empty | ( | ) |
Empties the custom version container.
|
inline |
Gets available custom versions in this container.
Gets a custom version friendly name from the container.
| CustomKey | Custom key for which to retrieve the version. |
|
static |
Gets a singleton with the registered versions.
| const FCustomVersion * FCustomVersionContainer::GetVersion | ( | FGuid | CustomKey | ) | const |
Gets a custom version from the container.
| CustomKey | Custom key for which to retrieve the version. |
| void FCustomVersionContainer::Serialize | ( | FArchive & | Ar, |
| ECustomVersionSerializationFormat | Format = ECustomVersionSerializationFormat::Latest |
||
| ) |
Serialization.
| void FCustomVersionContainer::Serialize | ( | FStructuredArchive::FSlot | Slot, |
| ECustomVersionSerializationFormat | Format = ECustomVersionSerializationFormat::Latest |
||
| ) |
Sets a specific custom version in the container.
| CustomKey | Custom key for which to retrieve the version. |
| Version | The version number for the specified custom key |
| FriendlyName | A friendly name to assign to this version |
| void FCustomVersionContainer::SetVersionUsingRegistry | ( | FGuid | CustomKey, |
| ESetCustomVersionFlags | Options = ESetCustomVersionFlags::None |
||
| ) |
Sets a specific custom version in the container. It queries the versions registry to get the version data for the provided key
| CustomKey | Custom key for which to retrieve the version. |
| Options | Optional flags used to alter the behavior of this method |
| void FCustomVersionContainer::SortByKey | ( | ) |
Sorts the custom version container by key.
| FString FCustomVersionContainer::ToString | ( | const FString & | Indent | ) | const |
Return a string representation of custom versions. Used for debug.