public static Task <User> GetByUsernameAsync(string gameId, string privateKey, string username) { return(AsyncHelper.AsyncCall(action => { BeginGetByUsername(gameId, privateKey, username, action); }, EndGetByUsername)); }
public static Task <User[]> GetByUserIdsAsync(string gameId, string privateKey, string[] userIds) { return(AsyncHelper.AsyncCall(action => { BeginGetByUserIds(gameId, privateKey, userIds, action); }, EndGetByUserIds)); }
public static Task <string> AuthenticateUserAsync(string gameId, string privateKey, string username, string userToken) { return(AsyncHelper.AsyncCall(action => { BeginAuthenticateUser(gameId, privateKey, username, userToken, action); }, EndAuthenticateUser)); }
public static Task <string[]> GetKeysAsync(string gameId, string privateKey, string username, string userToken, DataStoreType type) { return(AsyncHelper.AsyncCall(callback => BeginGetKeys(gameId, privateKey, username, userToken, type, callback), EndGetKeys)); }
public static Task <string> RemoveByKeyAsync(string gameId, string privateKey, string username, string userToken, string key) { return(AsyncHelper.AsyncCall(callback => BeginRemoveByKey(gameId, privateKey, username, userToken, key, callback), EndRemoveByKey)); }
public static Task <DataStore> UpdateByKeyAsync(string gameId, string privateKey, string username, string userToken, string key, DataStoreOperation operation, string value) { return(AsyncHelper.AsyncCall(callback => BeginUpdateByKey(gameId, privateKey, username, userToken, key, operation, value, callback), EndUpdateByKey)); }
public static Task <string> SetByKeyAsync(string gameId, string privateKey, string username, string userToken, string key, string data) { return(AsyncHelper.AsyncCall(callback => BeginSetByKey(gameId, privateKey, username, userToken, key, data, callback), EndSetByKey)); }
public static Task <DataStore> GetByKeyAsync(string gameId, string privateKey, string username, string userToken, string key) { return(AsyncHelper.AsyncCall(callback => BeginGetByKey(gameId, privateKey, username, userToken, key, callback), EndGetByKey)); }