v2.0.1
2020.3+

Class SaveData

Inheritance
SaveData
Namespace: Unity.Services.CloudSave
Syntax
[Obsolete("The interface provided by SaveData has moved to CloudSaveService.Instance.Data, and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static class SaveData

Methods

ForceDeleteAsync(String)

Declaration
[Obsolete("The interface provided by SaveData.ForceDeleteAsync(string) has been replaced by CloudSaveService.Instance.Data.ForceDeleteAsync(string), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static async Task ForceDeleteAsync(string key)
Parameters
TypeNameDescription
Stringkey
Returns
TypeDescription
Task

ForceSaveAsync(Dictionary<String, Object>)

Declaration
[Obsolete("The interface provided by SaveData.ForceSaveAsync(Dictionary<string, object>) has been replaced by CloudSaveService.Instance.Data.ForceSaveAsync(Dictionary<string, object>), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static async Task ForceSaveAsync(Dictionary<string, object> data)
Parameters
TypeNameDescription
Dictionary<String, Object>data
Returns
TypeDescription
Task

LoadAllAsync()

Declaration
[Obsolete("The interface provided by SaveData.LoadAllAsync() has been replaced by CloudSaveService.Instance.Data.LoadAllAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static async Task<Dictionary<string, string>> LoadAllAsync()
Returns
TypeDescription
Task<Dictionary<String, String>>

LoadAsync(HashSet<String>)

Declaration
[Obsolete("The interface provided by SaveData.LoadAsync(HashSet<string>) has been replaced by CloudSaveService.Instance.Data.LoadAsync(HashSet<string>), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static async Task<Dictionary<string, string>> LoadAsync(HashSet<string> keys = null)
Parameters
TypeNameDescription
HashSet<String>keys
Returns
TypeDescription
Task<Dictionary<String, String>>

RetrieveAllKeysAsync()

Declaration
[Obsolete("The interface provided by SaveData.RetrieveAllKeysAsync() has been replaced by CloudSaveService.Instance.Data.RetrieveAllKeysAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static async Task<List<string>> RetrieveAllKeysAsync()
Returns
TypeDescription
Task<List<String>>