Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UEnum
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int64 LookupEnumName
(
FName TestName, |
Searches the list of all enum value names for the specified name | UObject/Class.h | |
static int64 LookupEnumName
(
FName PackageName, |
Searches the list of all enum value names for the specified name | UObject/Class.h |
LookupEnumName(FName, UEnum **)
Description
Searches the list of all enum value names for the specified name
| Name | LookupEnumName |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
static int64 LookupEnumName
(
FName TestName,
UEnum ** FoundEnum
)
the value the specified name represents if found, otherwise INDEX_NONE
LookupEnumName(FName, FName, EFindFirstObjectOptions, UEnum **)
Description
Searches the list of all enum value names for the specified name
| Name | LookupEnumName |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Enum.cpp |
static int64 LookupEnumName
(
FName PackageName,
FName TestName,
EFindFirstObjectOptions Options,
UEnum ** OutFoundEnum
)
The value the specified name represents if found, otherwise INDEX_NONE
Parameters
| Name | Remarks |
|---|---|
| PackageName | Package where the enum was defined (/Script/ModuleName or uasset package name in case of script defined enums). If an empty (None) name is specified the function will look through all enums to find a match |
| TestName | Fully qualified enum value name (EEnumName::ValueName) @Param Options Optional options that may limit search results or define ambiguous search result behavior |
| OutFoundEnum | Optional address of a variable where the resulting UEnum object should be stored |