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

#include <PrimaryAssetId.h>

Public Member Functions

 FPrimaryAssetType ()=default
 
 FPrimaryAssetType (FName InName)
 
 FPrimaryAssetType (EName InName)
 
 FPrimaryAssetType (const WIDECHAR *InName)
 
 FPrimaryAssetType (const ANSICHAR *InName)
 
 FPrimaryAssetType (const FPrimaryAssetType &)=default
 
 FPrimaryAssetType (FPrimaryAssetType &&)=default
 
FPrimaryAssetTypeoperator= (const FPrimaryAssetType &)=default
 
FPrimaryAssetTypeoperator= (FPrimaryAssetType &&)=default
 
 operator FName & ()
 
 operator const FName & () const
 
FName GetName () const
 
bool operator== (const FPrimaryAssetType &Other) const
 
bool operator!= (const FPrimaryAssetType &Other) const
 
bool IsValid () const
 
FString ToString () const
 
void AppendString (FStringBuilderBase &Builder) const
 
bool ExportTextItem (FString &ValueStr, FPrimaryAssetType const &DefaultValue, UObject *Parent, int32 PortFlags, UObject *ExportRootScope) const
 
bool ImportTextItem (const TCHAR *&Buffer, int32 PortFlags, UObject *Parent, FOutputDevice *ErrorText)
 
bool SerializeFromMismatchedTag (struct FPropertyTag const &Tag, FStructuredArchive::FSlot Slot)
 
bool LexicalLess (const FPrimaryAssetType &Other) const
 
bool FastLess (const FPrimaryAssetType &Other) const
 

Friends

uint32 GetTypeHash (const FPrimaryAssetType &Key)
 

Detailed Description

A primary asset type, represented as an FName internally and implicitly convertible back and forth This exists so the blueprint API can understand it's not a normal FName

Constructor & Destructor Documentation

◆ FPrimaryAssetType() [1/7]

FPrimaryAssetType::FPrimaryAssetType ( )
default

Convert from FName

◆ FPrimaryAssetType() [2/7]

FPrimaryAssetType::FPrimaryAssetType ( FName  InName)
inline

◆ FPrimaryAssetType() [3/7]

FPrimaryAssetType::FPrimaryAssetType ( EName  InName)
inline

◆ FPrimaryAssetType() [4/7]

FPrimaryAssetType::FPrimaryAssetType ( const WIDECHAR InName)
inline

◆ FPrimaryAssetType() [5/7]

FPrimaryAssetType::FPrimaryAssetType ( const ANSICHAR InName)
inline

◆ FPrimaryAssetType() [6/7]

FPrimaryAssetType::FPrimaryAssetType ( const FPrimaryAssetType )
default

◆ FPrimaryAssetType() [7/7]

FPrimaryAssetType::FPrimaryAssetType ( FPrimaryAssetType &&  )
default

Member Function Documentation

◆ AppendString()

void FPrimaryAssetType::AppendString ( FStringBuilderBase Builder) const
inline

Appends to the given builder the string version of this Type

◆ ExportTextItem()

bool FPrimaryAssetType::ExportTextItem ( FString &  ValueStr,
FPrimaryAssetType const &  DefaultValue,
UObject Parent,
int32  PortFlags,
UObject ExportRootScope 
) const

UStruct Overrides

◆ FastLess()

bool FPrimaryAssetType::FastLess ( const FPrimaryAssetType Other) const
inline

◆ GetName()

FName FPrimaryAssetType::GetName ( ) const
inline

Returns internal Name explicitly, not normally needed

◆ ImportTextItem()

bool FPrimaryAssetType::ImportTextItem ( const TCHAR *&  Buffer,
int32  PortFlags,
UObject Parent,
FOutputDevice ErrorText 
)

◆ IsValid()

bool FPrimaryAssetType::IsValid ( ) const
inline

Returns true if this is a valid Type

◆ LexicalLess()

bool FPrimaryAssetType::LexicalLess ( const FPrimaryAssetType Other) const
inline

◆ operator const FName &()

FPrimaryAssetType::operator const FName & ( ) const
inline

◆ operator FName &()

FPrimaryAssetType::operator FName & ( )
inline

Convert to FName

◆ operator!=()

bool FPrimaryAssetType::operator!= ( const FPrimaryAssetType Other) const
inline

◆ operator=() [1/2]

FPrimaryAssetType & FPrimaryAssetType::operator= ( const FPrimaryAssetType )
default

◆ operator=() [2/2]

FPrimaryAssetType & FPrimaryAssetType::operator= ( FPrimaryAssetType &&  )
default

◆ operator==()

bool FPrimaryAssetType::operator== ( const FPrimaryAssetType Other) const
inline

◆ SerializeFromMismatchedTag()

bool FPrimaryAssetType::SerializeFromMismatchedTag ( struct FPropertyTag const &  Tag,
FStructuredArchive::FSlot  Slot 
)

◆ ToString()

FString FPrimaryAssetType::ToString ( ) const
inline

Returns string version of this Type

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FPrimaryAssetType Key)
friend

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