Method LoadAsync
LoadAsync(string, ISet<string>)
Downloads items from Cloud Save for the custom data ID and keys provided. There is no client validation in place. Throws a CloudSaveException with a reason code and explanation of what happened.
Declaration
Task<Dictionary<string, Item>> LoadAsync(string customDataID, ISet<string> keys)
Parameters
Type | Name | Description |
---|---|---|
string | customDataID | |
ISet<string> | keys |
Returns
Type | Description |
---|---|
Task<Dictionary<string, Item>> | The dictionary of all key-value pairs that represents the current state of data on the server |
Exceptions
Type | Condition |
---|---|
CloudSaveException | Thrown if request is unsuccessful. |
CloudSaveValidationException | Thrown if the service returned validation error. |
CloudSaveRateLimitedException | Thrown if the service returned rate limited error. |