Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > UEnum
- UEnum::SetEnums()
- UUserDefinedEnum::SetEnums()
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 |
virtual bool SetEnums
&40;
TArray< TPair< FName, int64 >> & InNames,
ECppForm InCppForm,
EEnumFlags InFlags,
bool bAddMaxKeyIfMissing
&41;
Remarks
Sets the array of enums. true unless the MAX enum already exists and isn't the last enum.
Parameters
Name | Description |
---|---|
InNames | List of enum names. |
InCppForm | The form of enum. |
bAddMaxKeyIfMissing | Should a default Max item be added. |