Exemplo n.º 1
0
        public static HighScoreTable[] GetTables(string gameId, string privateKey)
        {
            var request = ScoreRequestFactory.CreateGetTablesRequest(gameId, privateKey);

            return(request.Process(null));
        }
Exemplo n.º 2
0
        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));
        }
Exemplo n.º 3
0
        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));
        }
Exemplo n.º 4
0
        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));
        }
Exemplo n.º 5
0
        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));
        }
Exemplo n.º 6
0
        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));
        }