Navigation
Unreal Engine C++ API Reference > Plugins > ConcertSyncCore > FConcertDataStore
References
Module | ConcertSyncCore |
Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertDataStore.h |
Include | #include "ConcertDataStore.h" |
Source | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Private/ConcertDataStore.cpp |
FConcertDataStoreResult Fetch
&40;
const FName & Key,
const FName & TypeName
&41; const
Remarks
Looks up the specified key, if found and types match, fetches the corresponding value. If the key is not found or the requested type doesn't match the stored type, the operation fails. The operation result. The possible result codes are:
- EConcertDataStoreResultCode::Fetched if the key value was retrieved. The result holds a pointer on the fetched value.
- EConcertDataStoreResultCode::NotFound if the key could not be found. The result holds a null pointer.
- EConcertDataStoreResultCode::TypeMismatch if the key was found, but the requested type did not match the stored type. The result holds a null pointer.
Parameters
Name | Description |
---|---|
Key | The value name to lookup. |
TypeName | The value type name as returned by TConcertDataStoreType::GetFName(). |