FDataRegistryId

Identifier for a specific DataRegistryItem, provides the user with a Tag or dropdown-based UI for selecting based on the available index info

Windows
MacOS
Linux

References

Module

DataRegistry

Header

/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistryId.h

Include

#include "DataRegistryId.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FDataRegistryId

Remarks

Identifier for a specific DataRegistryItem, provides the user with a Tag or dropdown-based UI for selecting based on the available index info

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite SaveGame

FName

 

ItemName

The name of this object, may be a leaf gameplay tag or a raw name depending on the type

Public variable UProperty Category, EditAnywhere BlueprintReadWrite SaveGame

FDataRegistryTy...

 

RegistryType

The type of this item, used to look up the correct registry

Constructors

Name Description

Public function

FDataRegistryId()

Explicit constructors

Public function

FDataRegistryId

(
    const FString& TypeAndName
)

Parses out the Type:Name format

Public function

FDataRegistryId

(
    const FName& InRegistryType,
    const FName& InItemName
)

Construct from two names, will also work with FDataRegistryType due to the implicit cast

Functions

Name Description

Public function Const

bool

 

ExportTextItem

(
    FString& ValueStr,
    FDataRegistryId const& DefaultValu...,
    UObject* Parent,
    int32 PortFlags,
    UObject* ExportRootScope
)

UStruct Overrides

Public function

bool

 

ImportTextItem

(
    const TCHAR*& Buffer,
    int32 PortFlags,
    UObject* Parent,
    FOutputDevice* ErrorText
)

Public function Const

bool

 

IsValid()

True if this represents an actual registry item

Public function Static

FDataRegistr...

 

ParseTypeAndName

(
    FName TypeAndName
)

Public function Static

FDataRegistr...

 

ParseTypeAndName

(
    const FString& TypeAndName
)

Public function Static

FDataRegistr...

 

ParseTypeAndName

(
    const TCHAR* TypeAndName,
    uint32 Len
)

Convert from Type:Name strings, these are inline to avoid linker errors for constructor

Public function

bool

 

SerializeFromMismatchedTag

(
    FPropertyTag const& Tag,
    FStructuredArchive::FSlot Slot
)

Public function Const

FString

 

ToString()

Returns string version of this identifier in Type:Name format

Public function Const

FText

 

ToText()

Returns Text description of string

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FDataRegistryId& Other
)

Public function

FDataRegistr...

 

operator=

(
    const FDataRegistryId& Other
)

Public function Const

bool

 

operator==

(
    const FDataRegistryId& Other
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss