Navigation
Unreal Engine C++ API Reference > Plugins > DataRegistry
References
Module | DataRegistry |
Header | /Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistryTypes.h |
Include | #include "DataRegistryTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FDataRegistryLookup
Remarks
A resolved unique id for a specific source, explains how to look it up. This type is opaque in blueprints and cannot be saved across runs
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< TTuple< uint8, FName >, TInlineAllocator< 1 > > | SourceLookups | TODO can be more efficient, probably best option is pack it into the num field of the FName, no one really names entries Foo_2147483646. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddEntry
(
uint8 Index, |
Adds a new entry to lookup |
![]() ![]() |
bool | GetEntry
(
uint8& OutIndex, |
Gets a name and num |
![]() ![]() |
int32 | GetNum () |
Get number of lookups |
![]() ![]() |
bool | IsValid () |
True if this lookup could work |
![]() |
void | Reset () |
Resets to default |
![]() ![]() |
FString | ToString () |
Generate a debug string |