UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EnumProperty.cpp File Reference
#include "UObject/EnumProperty.h"
#include "Algo/Find.h"
#include "Hash/Blake3.h"
#include "UObject/PropertyHelper.h"
#include "UObject/UnrealTypePrivate.h"
#include "UObject/UObjectThreadContext.h"

Namespaces

namespace  UE
 
namespace  UE::CoreUObject
 
namespace  UE::CoreUObject::Private
 

Functions

template<typename OldIntType >
void UE::CoreUObject::Private::ConvertIntValueToEnumProperty (OldIntType OldValue, FEnumProperty *EnumProp, FNumericProperty *UnderlyingProp, UEnum *Enum, void *Obj)
 
template<typename OldIntType >
void UE::CoreUObject::Private::ConvertIntToEnumProperty (FStructuredArchive::FSlot Slot, FEnumProperty *EnumProp, FNumericProperty *UnderlyingProp, UEnum *Enum, void *Obj)
 
const TCHARUE::CoreUObject::Private::ImportEnumFromBuffer (UEnum *Enum, const FProperty *PropertyToSet, const FNumericProperty *UnderlyingProp, const TCHAR *PropertyClassName, const TCHAR *Buffer, void *ContainerOrPropertyPtr, EPropertyPointerType PropertyPointerType, FOutputDevice *ErrorText)
 
void UE::CoreUObject::Private::ExportEnumToBuffer (const UEnum *Enum, const FProperty *Prop, const FNumericProperty *NumericProp, FString &ValueStr, const void *PropertyValueOrContainer, EPropertyPointerType PropertyPointerType, const void *DefaultValue, UObject *Parent, int32 PortFlags, UObject *ExportRootScope)
 
bool TryLoadEnumValueByName (FStructuredArchive::FSlot Slot, FArchive &UnderlyingArchive, UEnum *Enum, FName &OutEnumValueName, int64 &OutEnumValue)
 

Function Documentation

◆ TryLoadEnumValueByName()

bool TryLoadEnumValueByName ( FStructuredArchive::FSlot  Slot,
FArchive UnderlyingArchive,
UEnum Enum,
FName OutEnumValueName,
int64 OutEnumValue 
)