Navigation
API > API/Plugins > API/Plugins/DataRegistry
Result struct for acquiring, this should never be stored long term and the memory is only valid in the current stack frame
| Name | FDataRegistryAcquireResult |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistryTypes.h |
| Include Path | #include "DataRegistryTypes.h" |
Syntax
struct FDataRegistryAcquireResult
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| It is not safe to copy or store this struct as the memory may not be valid outside this stack frame | DataRegistryTypes.h | ||
FDataRegistryAcquireResult
(
const FDataRegistryId& InItemId, |
DataRegistryTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ItemId | FDataRegistryId | The identifier this item corresponds to, the same struct can have multiple ids to refer to it | DataRegistryTypes.h | |
| ItemMemory | const uint8 * | Memory of struct, this will either be null, or a totally valid struct | DataRegistryTypes.h | |
| ItemStruct | const UScriptStruct * | Type of the data acquired | DataRegistryTypes.h | |
| ResolvedLookup | FDataRegistryLookup | The lookup this was resolved to, can use this to get item out of cache later without re-resolving | DataRegistryTypes.h | |
| Status | EDataRegistryAcquireStatus | Result of query | DataRegistryTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const T * GetItem() |
Checks type and returns valid struct if it exists | DataRegistryTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void UpdateAcquireStatus
(
EDataRegistryAcquireStatus& CurrentStatus, |
Modifies acquire status based on new information, will advance status but not override error results | DataRegistryTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDataRegistryAcquireResult & operator=
(
const FDataRegistryAcquireResult& |
DataRegistryTypes.h |