Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistrySubsystem.h |
Include |
#include "DataRegistrySubsystem.h" |
UCLASS(NotBlueprintType)
class UDataRegistrySubsystem : public UEngineSubsystem
Singleton manager that provides synchronous and asynchronous access to data registries
Name | Description | ||
---|---|---|---|
|
AssetScanPaths |
Paths that will be scanned for registries. |
|
|
bFullyInitialized |
True if initialization has finished and registries were scanned, will be false if not config enabled. |
|
|
bReadyForInitialization |
True if initialization is ready to start, will be true even if config disabled. |
|
|
PreregisterAssetMap |
||
|
TSortedMap< FNa... |
RegistryMap |
|
|
RegistryPathsToIgnore |
Specific registries to avoid registering, may be in memory but will not be registered. |
|
|
RegistryPathsToLoad |
Specific registries to load, will be added to AssetScanPaths at scan time. |
Name | Description | ||
---|---|---|---|
|
AcquireItem ( |
Start an async load of an item, delegate will be called on success or failure of acquire. |
|
|
AcquireItemBP ( |
Starts an asynchronous acquire of a data registry item that may not yet be cached. |
|
|
AddReferencedObjects ( |
||
|
ApplyPreregisterMap ( |
||
|
AreRegistriesInitialized() |
True if all registries should have been initialized |
|
|
Conv_DataRegistryIdToString ( |
Converts a Data Registry Id to a string. |
|
|
Conv_DataRegistryTypeToString ( |
Converts a Data Registry Type to a string. |
|
|
DeinitializeAllRegistries() |
De-initializes all loaded registries |
|
|
DumpCachedItems |
Dumps out a text representation of every item in the registry |
|
|
DumpRegistryTypeSummary() |
Outputs all registered types and some info |
|
|
EndPIE ( |
||
|
EqualEqual_DataRegistryId ( |
Returns true if the values are equal (A == B) |
|
|
EqualEqual_DataRegistryType ( |
Returns true if the values are equal (A == B) |
|
|
FDataRegistr... |
EvaluateCachedCurve ( |
Computes an evaluated curve value, as well as the actual curve if it is found. |
|
EvaluateDataRegistryCurve ( |
Attempts to evaluate a curve stored in a DataRegistry cache using a specific input value |
|
|
FindCachedItemBP ( |
Attempts to get cached structure data stored in a DataRegistry, modifying OutItem if the item is available (EXPERIMENTAL) this version has an output param and enum result |
|
|
UDataRegistr... |
Get() |
Returns the global subsystem instance |
|
GetAllRegistries ( |
Gets list of all registries, useful for iterating in UI or utilities |
|
|
const T *... |
GetCachedItem ( |
Returns a cached item of specified struct type. |
|
GetCachedItemBP ( |
Attempts to get cached structure data stored in a DataRegistry, modifying OutItem if the item is available (EXPERIMENTAL) this version has an input param and simple bool return |
|
|
GetCachedItemFromLookupBP ( |
Attempts to get structure data stored in a DataRegistry cache after an async acquire, modifying OutItem if the item is available |
|
|
FDataRegistr... |
GetCachedItemRaw ( |
Gets the cached or precached data and struct type. |
|
FDataRegistr... |
GetCachedItemRawFromLookup ( |
Gets the cached or precached data and struct type using an async acquire result. |
|
GetDisplayTextForId ( |
Returns proper display text for an id, using the correct id format |
|
|
UDataRegistr... |
GetRegistryForType ( |
Finds the right registry for a type name |
|
IgnoreRegistryPath ( |
Removes specific data registry asset from the registration map, can be undone with LoadRegistryPath |
|
|
InitializeAllRegistries ( |
Initializes all loaded registries and prepares them for queries |
|
|
IsConfigEnabled ( |
Returns true if the system is enabled via any config scan settings, will optionally warn if not enabled |
|
|
IsValidDataRegistryId ( |
Returns true if this is a non-empty item identifier, does not check if it is currently registered |
|
|
IsValidDataRegistryType ( |
Returns true if this is a non-empty type, does not check if it is currently registered |
|
|
LoadAllRegistries() |
Loads all registry assets and initializes them, this is called early in startup |
|
|
LoadRegistryPath ( |
Load and initialize a specific registry, useful for plugins. |
|
|
NotEqual_DataRegistryId ( |
Returns true if the values are not equal (A != B) |
|
|
NotEqual_DataRegistryType ( |
Returns true if the values are not equal (A != B) |
|
|
PostAssetManager() |
||
|
PostEngineInit() |
Initialization order, need to wait for other early-load systems to initialize. |
|
|
PostGameplayTags() |
||
|
PreBeginPIE ( |
||
|
PreregisterSpecificAssets ( |
Schedules registration of assets by path, this will happen immediately or will be queued if the data registries don't exist yet |
|
|
RefreshRegistryMap() |
Refreshes the active registry map based on what's in memory |
|
|
RegisterSpecificAsset ( |
Attempt to register a specified asset with all active sources that allow dynamic registration, returning true if anything changed. |
|
|
ReinitializeFromConfig() |
Handles changes to DataRegistrySettings while engine is running |
|
|
ResetRuntimeState() |
Resets state for all registries, call when gameplay has concluded to destroy caches |
|
|
UnregisterAssetsWithPriority ( |
Unregisters all previously registered assets in a specific registry with a specific priority, can be used as a batch reset. |
|
|
UnregisterSpecificAsset ( |
Removes references to a specific asset, returns bool if it was removed |
Name | Description | ||
---|---|---|---|
|
Deinitialize() |
Implement this for deinitialization of instances of the system |
|
|
Initialize ( |
Implement this for initialization of instances of the system |
Name |
Description |
---|---|
FPreregisterAsset |
List of assets to attempt to register when data registries come online. |
FRegistryMapPair |