Navigation
API > API/Plugins > API/Plugins/DataRegistry
Defines a DataRegistry or a DataTable with a common interface to both
| Name | FSoftDataRegistryOrTable |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/SoftDataRegistryOrTable.h |
| Include Path | #include "SoftDataRegistryOrTable.h" |
Syntax
USTRUCT (BlueprintType )
struct FSoftDataRegistryOrTable
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSoftDataRegistryOrTable
(
const UDataTable* InDataTable, |
SoftDataRegistryOrTable.h | ||
| SoftDataRegistryOrTable.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseDataRegistry | bool | SoftDataRegistryOrTable.h |
|
|
| RegistryType | FDataRegistryType | Data Registry | SoftDataRegistryOrTable.h |
|
| Table | TSoftObjectPtr< UDataTable > | Data Table | SoftDataRegistryOrTable.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForEachItem
(
const FString& ContextString, |
SoftDataRegistryOrTable.h | ||
| This function returns an array of all items in the given registry or data table | SoftDataRegistryOrTable.h | ||
| This function returns an array of all item names in the given registry or data table | SoftDataRegistryOrTable.h | ||
void GetItems
(
const TCHAR* ContextString, |
This function returns an array of all items in the given registry or data table | SoftDataRegistryOrTable.h | |
FString GetName() |
SoftDataRegistryOrTable.h | ||
FDataRegistryOrTableRow GetRegistryOrTableRow
(
FName RowName |
Method to get a FDataRegistryOrTableRow from the given row name | SoftDataRegistryOrTable.h | |
bool IsLoaded() |
Returns whether or not the registry or table is loaded | SoftDataRegistryOrTable.h | |
bool IsValid() |
Method to check validity of this struct (Checks that the registry or data table is set) | SoftDataRegistryOrTable.h | |
void LoadAsync
(
FStreamableDelegate DelegateToCall |
Requests an async load of a data table using the StreamableManager and then execute the callback, which will happen even if the load fails. | SoftDataRegistryOrTable.h | |
bool Matches
(
const UDataRegistry* InRegistry |
Method to check if the given registry matches the value in this struct | SoftDataRegistryOrTable.h | |
bool Matches
(
const UDataTable* InTable |
Method to check if the given table matches the value in this struct | SoftDataRegistryOrTable.h | |
bool Matches
(
const FDataRegistryOrTableRow& RegistryOrTableId |
Method to check if the given FDataRegistryOrTableRow matches the value in this struct | SoftDataRegistryOrTable.h | |
bool Serialize
(
FArchive& Ar |
SoftDataRegistryOrTable.h | ||
bool SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
Used to upgrade a SoftObjectPtr to a FSoftDataRegistryOrTable | SoftDataRegistryOrTable.h |