Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore
Wraps the weakly typed result of a Concert data store operation into a strongly typed result. Type checking occurs during the transaction with the store and as long as the result is valid, the stored value can be read safely.
| Name | TConcertDataStoreResult |
| Type | class |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertDataStoreMessages.h |
| Include Path | #include "ConcertDataStoreMessages.h" |
Syntax
template<typename T>
class TConcertDataStoreResult
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Constructs a result containing the EConcertDataStoreResultCode::UnexpectedError code and no value. | ConcertDataStoreMessages.h | ||
TConcertDataStoreResult
(
const FConcertDataStoreResult& InResult |
Constructs a strongly typed result from a weakly typed one. | ConcertDataStoreMessages.h | |
TConcertDataStoreResult
(
FConcertDataStoreResult&& InResult |
Constructs a strongly typed result from a weakly typed one. | ConcertDataStoreMessages.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Result | FConcertDataStoreResult | The weakly-typed operation result. | ConcertDataStoreMessages.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EConcertDataStoreResultCode GetCode() |
Returns the data store result code for the operation. | ConcertDataStoreMessages.h | |
T GetValue () |
Deserializes the stored value into type T. | ConcertDataStoreMessages.h | |
bool IsValid () |
Returns true if the underlying value is valid. | ConcertDataStoreMessages.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Returns true if the result hold a value that the value can be read. | ConcertDataStoreMessages.h |