Exemple #1
0
        public static string SetByKey(string gameId, string privateKey, string username, string userToken, string key, string data)
        {
            var request = DataStoreRequestFactory.CreateSetRequest(gameId, privateKey, username, userToken, key, data);

            return(request.Process(null));
        }
Exemple #2
0
        public static IAsyncResult BeginSetByKey(string gameId, string privateKey, string username, string userToken, string key, string data, AsyncCallback callback = null, object asyncState = null)
        {
            var request = DataStoreRequestFactory.CreateSetRequest(gameId, privateKey, username, userToken, key, data);

            return(request.Begin(callback, asyncState));
        }