/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h
Gets index of name in enum, returns INDEX_NONE and optionally errors when name is not found. This is faster than ByNameString if theFNameis exact, but will fall back if needed
int32 GetIndexByName ( [FName](API\Runtime\Core\UObject\FName) InName, EGetByNameFlags Flags ) const