Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore
References
| Module | ConcertSyncCore |
| Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertDataStoreMessages.h |
| Include | #include "ConcertDataStoreMessages.h" |
Syntax
template<typename T>
class TConcertDataStoreResult
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructs a result containing the EConcertDataStoreResultCode::UnexpectedError code and no value. | |||
TConcertDataStoreResult
(
const FConcertDataStoreResult& InResult |
Constructs a strongly typed result from a weakly typed one. | ||
TConcertDataStoreResult
(
FConcertDataStoreResult&& InResult |
Constructs a strongly typed result from a weakly typed one. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| EConcertDataStoreResultCode | GetCode () |
Returns the data store result code for the operation. | |
| T | GetValue () |
Deserializes the stored value into type T. | |
| bool | IsValid () |
Returns true if the underlying value is valid. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| Returns true if the result hold a value that the value can be read. |