UEnum::GetAuthoredNameStringByIndex

Returns the unlocalized logical name originally assigned to the enum at creation.

Windows
MacOS
Linux

Override Hierarchy

UEnum::GetAuthoredNameStringByIndex()

UUserDefinedEnum::GetAuthoredNameStringByIndex()

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h

Include

#include "UObject/Class.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Enum.cpp

Syntax

virtual FString GetAuthoredNameStringByIndex
(
    int32 InIndex
) const

Remarks

Returns the unlocalized logical name originally assigned to the enum at creation. By default this is the same as the short name but it is overridden in child classes with different internal name storage. This name is consistent in cooked and editor builds and is useful for things like external data import/export.

Returns

The author-specified name, or an empty string if Index is invalid

Parameters

Parameter

Description

InIndex

Index of the enum value to get Display Name for

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss