UUserDefinedEnum::SetEnums

Sets the array of enums.

Windows
MacOS
Linux

Override Hierarchy

UEnum::SetEnums()

UUserDefinedEnum::SetEnums()

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 bool SetEnums
(
    TArray< TPair< FName, int64 >> & InNames,
    ECppForm InCppForm,
    bool bAddMaxKeyIfMissing
)

Remarks

Sets the array of enums.

Returns

true unless the MAX enum already exists and isn't the last enum.

Parameters

Parameter

Description

InNames

List of enum names.

InCppForm

The form of enum.

bAddMaxKeyIfMissing

Should a default Max item be added.

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