#include <CustomVersion.h>
Container for all available/serialized custom versions.
Definition at line 103 of file CustomVersion.h.
◆ Empty()
void FCustomVersionContainer::Empty |
( |
| ) |
|
Empties the custom version container.
◆ GetAllVersions()
Gets available custom versions in this container.
Definition at line 109 of file CustomVersion.h.
◆ GetFriendlyName()
const FName FCustomVersionContainer::GetFriendlyName |
( |
FGuid | CustomKey | ) |
const |
Gets a custom version friendly name from the container.
- Parameters
-
CustomKey | Custom key for which to retrieve the version. |
- Returns
- The friendly name for the specified custom key, or NAME_None if the key doesn't exist in the container.
◆ GetRegistered()
Gets a singleton with the registered versions.
- Returns
- The registered version container.
◆ GetVersion()
Gets a custom version from the container.
- Parameters
-
CustomKey | Custom key for which to retrieve the version. |
- Returns
- The FCustomVersion for the specified custom key, or nullptr if the key doesn't exist in the container.
◆ Serialize() [1/2]
void FCustomVersionContainer::Serialize |
( |
FArchive & | Ar, |
|
|
ECustomVersionSerializationFormat::Type | Format = ECustomVersionSerializationFormat::Latest ) |
◆ Serialize() [2/2]
void FCustomVersionContainer::Serialize |
( |
FStructuredArchive::FSlot | Slot, |
|
|
ECustomVersionSerializationFormat::Type | Format = ECustomVersionSerializationFormat::Latest ) |
◆ SetVersion()
void FCustomVersionContainer::SetVersion |
( |
FGuid | CustomKey, |
|
|
int32 | Version, |
|
|
FName | FriendlyName ) |
Sets a specific custom version in the container.
- Parameters
-
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 |
◆ SortByKey()
void FCustomVersionContainer::SortByKey |
( |
| ) |
|
Sorts the custom version container by key.
◆ ToString()
Return a string representation of custom versions. Used for debug.
◆ FStaticCustomVersionRegistry
◆ Versions
The documentation for this class was generated from the following file:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASA/AsaApi/AsaApi/Core/Public/API/UE/Serialization/CustomVersion.h