public static HighScoreTable[] GetTables(string gameId, string privateKey) { var request = ScoreRequestFactory.CreateGetTablesRequest(gameId, privateKey); return(request.Process(null)); }
public static IAsyncResult BeginGetTables(string gameId, string privateKey, AsyncCallback callback = null, object asyncState = null) { var request = ScoreRequestFactory.CreateGetTablesRequest(gameId, privateKey); return(request.Begin(callback, asyncState)); }
public static string AddScore(string gameId, string privateKey, string score, int sort, string username, string userToken, string guest, string extraData, string tableId) { var request = ScoreRequestFactory.CreateAddRequest(gameId, privateKey, score, sort, username, userToken, guest, extraData, tableId); return(request.Process(null)); }
public static IAsyncResult BeginAddScore(string gameId, string privateKey, string score, int sort, string username, string userToken, string guest, string extraData, string tableId, AsyncCallback callback = null, object asyncState = null) { var request = ScoreRequestFactory.CreateAddRequest(gameId, privateKey, score, sort, username, userToken, guest, extraData, tableId); return(request.Begin(callback, asyncState)); }
public static Score[] GetScores(string gameId, string privateKey, string username, string userToken, int limit, string tableId) { var request = ScoreRequestFactory.CreateGetRequest(gameId, privateKey, username, userToken, limit, tableId); return(request.Process(null)); }
public static IAsyncResult BeginGetScores(string gameId, string privateKey, string username, string userToken, int limit, string tableId, AsyncCallback callback = null, object asyncState = null) { var request = ScoreRequestFactory.CreateGetRequest(gameId, privateKey, username, userToken, limit, tableId); return(request.Begin(callback, asyncState)); }