Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Engine > API/Runtime/Engine/Engine/UUserDefinedEnum
- 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 |
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. |