FDataRegistryAcquireResult

Result struct for acquiring, this should never be stored long term and the memory is only valid in the current stack frame

Windows
MacOS
Linux

References

Module

DataRegistry

Header

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

Include

#include "DataRegistryTypes.h"

Syntax

struct FDataRegistryAcquireResult

Remarks

Result struct for acquiring, this should never be stored long term and the memory is only valid in the current stack frame

Variables

Name Description

Public variable

FDataRegistryId

 

ItemId

The identifier this item corresponds to, the same struct can have multiple ids to refer to it

Public variable

const uint8 ...

 

ItemMemory

Memory of struct, this will either be null, or a totally valid struct

Public variable

const UScriptSt...

 

ItemStruct

Type of the data acquired

Public variable

FDataRegistryLo...

 

ResolvedLookup

The lookup this was resolved to, can use this to get item out of cache later without re-resolving

Public variable

EDataRegistryAc...

 

Status

Result of query

Constructors

Name Description

Public function

FDataRegistryAcquireResult

(
    const FDataRegistryAcquireResult&
)

It is not safe to copy or store this struct as the memory may not be valid outside this stack frame

Public function

FDataRegistryAcquireResult

(
    const FDataRegistryId& InItemId,
    const FDataRegistryLookup& InResol...,
    EDataRegistryAcquireStatus InStatus,
    const UScriptStruct* InItemStr...,
    const uint8* inItemMemory
)

Functions

Name Description

Public function Const

const T *...

 

GetItem()

Checks type and returns valid struct if it exists

Public function Static

void

 

UpdateAcquireStatus

(
    EDataRegistryAcquireStatus& Curren...,
    EDataRegistryAcquireStatus NewStatu...
)

Modifies acquire status based on new information, will advance status but not override error results

Operators

Name Description

Public function

FDataRegistr...

 

operator=

(
    const FDataRegistryAcquireResult&
)

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