UEnum::GenerateEnumPrefix

Find the longest common prefix of all items in the enumeration.

Windows
MacOS
Linux

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

FString GenerateEnumPrefix() const

Remarks

Find the longest common prefix of all items in the enumeration.

Returns

the longest common prefix between all items in the enum. If a common prefix cannot be found, returns the full name of the enum.

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