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 FDataRegistryCacheGetResult
Remarks
Information about success and usage safety of cache queries
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructors, represents a failed get | |||
FDataRegistryCacheGetResult
(
const FDataRegistryCacheGetResult& Other |
|||
FDataRegistryCacheGetResult
(
EDataRegistryCacheGetStatus InStatus, |
Explicit constructor for successful get |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Returns the cache version number | ||
| EDataRegistryCacheGetStatus | Returns the success/failure status | ||
| EDataRegistryCacheVersionSource | Returns the version source, which is used to validate | ||
| bool | IsPersistent () |
Returns true if this cached value is safe to persist | |
| bool | IsValidForVersion
(
EDataRegistryCacheVersionSource InVersionSource, |
Returns true if this cached value is safe to use given the version number | |
| bool | WasFound () |
Return true if get was successful |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator! () |
||
| FDataRegistryCacheGetResult & | operator=
(
const FDataRegistryCacheGetResult& Other |