Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/UserDefinedEnum.h |
Include |
#include "Engine/UserDefinedEnum.h" |
class UUserDefinedEnum : public UEnum
User defined enumerations:
EnumType is always UEnum::ECppForm::Namespaced (to comfortable handle names collisions)
always have the last '_MAX' enumerator, that cannot be changed by user
Full enumerator name has form: '<enumeration path>="">::<short, user defined enumerator name>' An Enumeration is a list of named values.
Name | Description | ||
---|---|---|---|
|
DisplayNameMap |
De-facto display names for enum entries mapped against their raw enum name (UEnum::GetNameByIndex). |
|
|
EnumDescription |
Shows up in the content browser when the enum asset is hovered |
|
|
UniqueNameIndex |
Name | Description | |
---|---|---|
|
UUserDefinedEnum ( |
Name | Description | ||
---|---|---|---|
|
GenerateNewEnumeratorName() |
Name | Description | ||
---|---|---|---|
|
GenerateFullEnumName ( |
Generates full enum name give enum name. |
|
|
GetAuthoredNameStringByIndex ( |
Returns the unlocalized logical name originally assigned to the enum at creation. |
|
|
GetDisplayNameTextByIndex ( |
Overridden to read DisplayNameMap |
|
|
ResolveEnumerator |
Try to update value in enum variable after an enum's change. |
|
|
SetEnums |
Sets the array of enums. |
Name | Description | ||
---|---|---|---|
|
GetAssetRegistryTags ( |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects |
|
|
PostDuplicate ( |
Called after duplication & serialization and before PostLoad. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostEditUndo() |
Called after applying a transaction to the object. |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Rename ( |
Rename this object to a unique name, or change its outer. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |