/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h
Searches the list of all enum value names for the specified name
The value the specified name represents if found, otherwise INDEX_NONE
static int64 LookupEnumName ( [FName](API\Runtime\Core\UObject\FName) PackageName, [FName](API\Runtime\Core\UObject\FName) TestName, EFindFirstObjectOptions Options, [UEnum](API\Runtime\CoreUObject\UObject\UEnum) ** OutFoundEnum )