Navigation
API > API/Plugins > API/Plugins/DataRegistry
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
| Type | Name | Description | |
|---|---|---|---|
| FDataRegistryId | ItemId | The identifier this item corresponds to, the same struct can have multiple ids to refer to it | |
| const uint8 * | ItemMemory | Memory of struct, this will either be null, or a totally valid struct | |
| const UScriptStruct * | ItemStruct | Type of the data acquired | |
| FDataRegistryLookup | ResolvedLookup | The lookup this was resolved to, can use this to get item out of cache later without re-resolving | |
| EDataRegistryAcquireStatus | Status | Result of query |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| It is not safe to copy or store this struct as the memory may not be valid outside this stack frame | |||
FDataRegistryAcquireResult
(
const FDataRegistryId& InItemId, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const T * | GetItem () |
Checks type and returns valid struct if it exists | |
| void | UpdateAcquireStatus
(
EDataRegistryAcquireStatus& CurrentStatus, |
Modifies acquire status based on new information, will advance status but not override error results |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FDataRegistryAcquireResult & | operator=
(
const FDataRegistryAcquireResult& |