Navigation
Unreal Engine C++ API Reference > Plugins > DataRegistry
References
Module | DataRegistry |
Header | /Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/SoftDataRegistryOrTable.h |
Include | #include "SoftDataRegistryOrTable.h" |
Syntax
USTRUCT ()
struct FSoftDataRegistryOrTable
Remarks
Defines a DataRegistry or a DataTable with a common interface to both
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | bUseDataRegistry | |
![]() ![]() ![]() |
FDataRegistryType | RegistryType | Data Registry |
![]() ![]() ![]() |
TSoftObjectPtr< UDataTable > | Table | Data Table |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FSoftDataRegistryOrTable
(
const UDataTable* InDataTable, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ForEachItem
(
const FString& ContextString, |
|
![]() ![]() |
void | GetAllItems
(
const FString& ContextString, |
This function returns an array of all items in the given registry or data table |
![]() ![]() |
void | GetItemNames
(
TArray< FName >& ItemNames |
This function returns an array of all item names in the given registry or data table |
![]() ![]() |
void | GetItems
(
const TCHAR* ContextString, |
This function returns an array of all items in the given registry or data table |
![]() ![]() |
FString | GetName () |
|
![]() ![]() |
FDataRegistryOrTableRow | GetRegistryOrTableRow
(
FName RowName |
Method to get a FDataRegistryOrTableRow from the given row name |
![]() ![]() |
bool | IsLoaded () |
Returns whether or not the registry or table is loaded |
![]() ![]() |
bool | IsValid () |
Method to check validity of this struct (Checks that the registry or data table is set) |
![]() |
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. |
![]() ![]() |
bool | Matches
(
const UDataTable* InTable |
Method to check if the given table matches the value in this struct |
![]() ![]() |
bool | Matches
(
const UDataRegistry* InRegistry |
Method to check if the given registry matches the value in this struct |
![]() ![]() |
bool | Matches
(
const FDataRegistryOrTableRow& RegistryOrTableId |
Method to check if the given FDataRegistryOrTableRow matches the value in this struct |
![]() |
bool | Serialize
(
FArchive& Ar |
|
![]() |
bool | SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
Used to upgrade a SoftObjectPtr to a FSoftDataRegistryOrTable |