Example #1
0
 public static Task <User> GetByUsernameAsync(string gameId, string privateKey, string username)
 {
     return(AsyncHelper.AsyncCall(action => { BeginGetByUsername(gameId, privateKey, username, action); }, EndGetByUsername));
 }
Example #2
0
 public static Task <User[]> GetByUserIdsAsync(string gameId, string privateKey, string[] userIds)
 {
     return(AsyncHelper.AsyncCall(action => { BeginGetByUserIds(gameId, privateKey, userIds, action); }, EndGetByUserIds));
 }
Example #3
0
 public static Task <string> AuthenticateUserAsync(string gameId, string privateKey, string username, string userToken)
 {
     return(AsyncHelper.AsyncCall(action => { BeginAuthenticateUser(gameId, privateKey, username, userToken, action); }, EndAuthenticateUser));
 }
Example #4
0
 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));
 }
Example #5
0
 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));
 }
Example #6
0
 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));
 }
Example #7
0
 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));
 }
Example #8
0
 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));
 }