Navigation
API > API/Plugins > API/Plugins/DataRegistry
Inheritance Hierarchy
- UObject
- UDataRegistrySource
- UDataRegistrySource_CurveTable
References
| Module | DataRegistry |
| Header | /Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistrySource_CurveTable.h |
| Include | #include "DataRegistrySource_CurveTable.h" |
Syntax
UCLASS (Meta=(DisplayName="CurveTable Source"))
class UDataRegistrySource_CurveTable : public UDataRegistrySource
Remarks
Data source that loads from a specific curve table asset
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInvalidSourceTable | This is set if the table fails to load or could never load | |
| TObjectPtr< UCurveTable > | CachedTable | Hard ref to loaded table | |
| float | LastAccessTime | Last time this was accessed | |
| TSharedPtr< FStreamableHandle > | LoadingTableHandle | Handle for in progress load | |
| TArray< FDataRegistrySourceAcquireRequest > | PendingAcquires | List of requests to resolve when table is loaded | |
| TObjectPtr< UCurveTable > | PreloadTable | Preload table ref, will be set if this is a hard source | |
| TSoftObjectPtr< UCurveTable > | SourceTable | What table to load from | |
| FDataRegistrySource_DataTableRules | TableRules | Access rules |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clears cached table pointer so it can be GCd | ||
| void | Tells it to go through each pending acquire | ||
| void | |||
| void | Callback after table loads | ||
| void | PostLoad () |
||
| void | PreSave
(
FObjectPreSaveContext ObjectSaveContext |
||
| void | SetCachedTable
(
bool bForceLoad |
Tells it to set CachedTable if possible | |
| void | SetSourceTable
(
const TSoftObjectPtr< UCurveTable >& InSourceTable, |
Update source table and rules, meant to be called from a meta source |
Overridden from UDataRegistrySource
| Type | Name | Description | |
|---|---|---|---|
| bool | AcquireItem
(
FDataRegistrySourceAcquireRequest&& Request |
Call to start an acquire request | |
| void | Called on editor-defined states to check to check a source is still valid after major changes | ||
| FString | Return a useful debug name for this source | ||
| EDataRegistryAvailability | GetItemAvailability
(
const FName& ResolvedName, |
Returns availability of individual item, also get raw memory address if available | |
| void | GetResolvedNames
(
TArray< FName >& Names |
Fills in set of all names provided by this source | |
| FSoftObjectPath | Returns the path to the underlying source asset (data table, curve table, etc.) if there is one | ||
| EDataRegistryAvailability | Returns how available this data is generally | ||
| bool | Initialize () |
Called on editor-defined sources to initialize this source so it is ready to take requests | |
| void | Called on runtime sources to reset caches and related state because game has ended or registry settings have changed | ||
| void | TimerUpdate
(
float CurrentTime, |
Called by owning source as periodic update, can release resources or refresh connections |