UUserDefinedEnum::GetAuthoredNameStringByIndex

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UEnum::GetAuthoredNameStringByIndex()

UUserDefinedEnum::GetAuthoredNameStringByIndex()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/UserDefinedEnum.h

Include

#include "Engine/UserDefinedEnum.h"

Source

/Engine/Source/Runtime/Engine/Private/UserDefinedEnum.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