UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FValueOrBBKey_Enum Struct Reference

#include <ValueOrBBKey.h>

+ Inheritance diagram for FValueOrBBKey_Enum:

Public Member Functions

 FValueOrBBKey_Enum ()=default
 
template<typename T >
 FValueOrBBKey_Enum (T Default)
 
template<typename T >
GetValue (const UBehaviorTreeComponent &BehaviorComp) const
 
AIMODULE_API uint8 GetValue (const UBehaviorTreeComponent &BehaviorComp) const
 
AIMODULE_API uint8 GetValue (const UBehaviorTreeComponent *BehaviorComp) const
 
AIMODULE_API uint8 GetValue (const UBlackboardComponent &Blackboard) const
 
AIMODULE_API uint8 GetValue (const UBlackboardComponent *Blackboard) const
 
bool SerializeFromMismatchedTag (const FPropertyTag &Tag, FStructuredArchive::FSlot Slot)
 
AIMODULE_API FString ToString () const
 
 operator uint8 () const
 
AIMODULE_API void SetEnumType (UEnum *NewEnumType)
 
- Public Member Functions inherited from FValueOrBlackboardKeyBase
const FNameGetKey () const
 
void SetKey (FName NewKey)
 
AIMODULE_API FBlackboard::FKey GetKeyId (const UBehaviorTreeComponent &OwnerComp) const
 

Protected Attributes

uint8 DefaultValue = 0
 
TObjectPtr< UEnumEnumType = nullptr
 
FString NativeEnumTypeName = TEXT("")
 
- Protected Attributes inherited from FValueOrBlackboardKeyBase
FName Key
 
FBlackboard::FKey KeyId = FBlackboard::InvalidKey
 

Friends

class FValueOrBBKeyDetails_Enum
 

Additional Inherited Members

- Public Attributes inherited from FValueOrBlackboardKeyBase
friend FValueOrBBKeyDetails
 
- Protected Member Functions inherited from FValueOrBlackboardKeyBase
template<typename T >
FString ToStringInternal (const T &DefaultValue) const
 
AIMODULE_API FString ToStringKeyName () const
 

Constructor & Destructor Documentation

◆ FValueOrBBKey_Enum() [1/2]

FValueOrBBKey_Enum::FValueOrBBKey_Enum ( )
default

◆ FValueOrBBKey_Enum() [2/2]

template<typename T >
FValueOrBBKey_Enum::FValueOrBBKey_Enum ( Default)
inline

Member Function Documentation

◆ GetValue() [1/5]

template<typename T >
T FValueOrBBKey_Enum::GetValue ( const UBehaviorTreeComponent BehaviorComp) const
inline

◆ GetValue() [2/5]

uint8 FValueOrBBKey_Enum::GetValue ( const UBehaviorTreeComponent BehaviorComp) const

◆ GetValue() [3/5]

uint8 FValueOrBBKey_Enum::GetValue ( const UBehaviorTreeComponent BehaviorComp) const

◆ GetValue() [4/5]

uint8 FValueOrBBKey_Enum::GetValue ( const UBlackboardComponent &  Blackboard) const

◆ GetValue() [5/5]

uint8 FValueOrBBKey_Enum::GetValue ( const UBlackboardComponent *  Blackboard) const

◆ operator uint8()

FValueOrBBKey_Enum::operator uint8 ( ) const
inline

◆ SerializeFromMismatchedTag()

bool FValueOrBBKey_Enum::SerializeFromMismatchedTag ( const FPropertyTag Tag,
FStructuredArchive::FSlot  Slot 
)

◆ SetEnumType()

void FValueOrBBKey_Enum::SetEnumType ( UEnum NewEnumType)

◆ ToString()

FString FValueOrBBKey_Enum::ToString ( ) const

Friends And Related Symbol Documentation

◆ FValueOrBBKeyDetails_Enum

friend class FValueOrBBKeyDetails_Enum
friend

Member Data Documentation

◆ DefaultValue

uint8 FValueOrBBKey_Enum::DefaultValue = 0
protected

◆ EnumType

TObjectPtr<UEnum> FValueOrBBKey_Enum::EnumType = nullptr
protected

◆ NativeEnumTypeName

FString FValueOrBBKey_Enum::NativeEnumTypeName = TEXT("")
protected

Name of enum type defined in C++ code, will take priority over asset from EnumType property


The documentation for this struct was generated from the following files: