Navigation
API > API/Plugins > API/Plugins/DataRegistry
References
| Module | DataRegistry |
| Header | /Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistryTypes.h |
| Include | #include "DataRegistryTypes.h" |
Syntax
struct FDataRegistryResolverScope
Remarks
Scope object to set a temporary resolver, or register a global one
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDataRegistryResolverScope
(
const TSharedPtr< FDataRegistryResolver >& ScopeResolver |
Creates a temporary resolver scope, will use the passed in resolver until scope returns. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Clears scope |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Returns true if there are any volatile resolvers on the stack | ||
| void | RegisterGlobalResolver
(
const TSharedPtr< FDataRegistryResolver >& ScopeResolver |
Static function to register a global scope | |
| TSharedPtr< FDataRegistryResolver > | ResolveIdToName
(
FName& OutResolvedName, |
Use the stack to resolve an ID, will return the resolver used if found | |
| void | UnregisterGlobalResolver
(
const TSharedPtr< FDataRegistryResolver >& ScopeResolver |
Unregister a global scope, must have been registered already |
Constants
| Name | Description |
|---|---|
| ResolverStack | Global and temporary resolver stack, will go from last added back to 0. |