Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UEnum
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool SetEnums
(
TArray< TPair< FName, int64 > >& InNames, |
UObject/Class.h | ||
virtual bool SetEnums
(
TArray< TPair< FName, int64 > >& InNames, |
Sets the array of enums. | UObject/Class.h |
SetEnums(TArray< TPair< FName, int64 > > &, ECppForm, EEnumFlags, bool)
| Name | SetEnums |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Enum.cpp |
virtual bool SetEnums
(
TArray < TPair< FName , int64 > > & InNames,
ECppForm InCppForm,
EEnumFlags InFlags,
bool bAddMaxKeyIfMissing
)
SetEnums(TArray< TPair< FName, int64 > > &, ECppForm, EUnderlyingType, EEnumFlags, EAddMaxKeyIfMissing)
Description
Sets the array of enums.
| Name | SetEnums |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Enum.cpp |
virtual bool SetEnums
(
TArray < TPair< FName , int64 > > & InNames,
ECppForm InCppForm,
EUnderlyingType InUnderlyingType,
EEnumFlags InFlags,
EAddMaxKeyIfMissing AddMaxKeyIfMissing
)
true unless the MAX enum already exists and isn't the last enum.
Parameters
| Name | Remarks |
|---|---|
| InNames | List of enum names. |
| InCppForm | The form of enum. |
| InUnderlyingType | The underlying type of enum. |
| AddMaxKeyIfMissing | Should a default Max item be added. |