From 12fa3437a5794d03f31e5b5c368cea59673a3d0e Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 25 Apr 2016 10:32:36 -0700 Subject: [PATCH 1/2] https://api.playfab.com/releaseNotes#160425 (#53) * Automated build from Jenkins * Automated build from Jenkins --- PlayFabSDK/PlayFabAdminApi.js | 2 +- PlayFabSDK/PlayFabClientApi.js | 2 +- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 8 +++++++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index e27ce164..97110274 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.15.160414", + sdkVersion: "0.16.160425", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 76b78d1d..ac221d06 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.15.160414", + sdkVersion: "0.16.160425", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index e75e05f6..784c3e86 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.15.160414", + sdkVersion: "0.16.160425", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 71908146..79b48508 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.15.160414", + sdkVersion: "0.16.160425", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -320,6 +320,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + EvaluateRandomResultTable: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetCharacterInventory: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; From 58d7f5b5577ec0380db2f63577233e906aa675f6 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 2 May 2016 10:31:43 -0700 Subject: [PATCH 2/2] https://api.playfab.com/releaseNotes#160502 (#55) * Automated build from Jenkins * Automated build from Jenkins * Automated build from Jenkins * Automated build from Jenkins --- PlayFabSDK/PlayFabAdminApi.js | 8 +++++++- PlayFabSDK/PlayFabClientApi.js | 2 +- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 97110274..194f8e20 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.16.160425", + sdkVersion: "0.17.160502", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -308,6 +308,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + SetStoreSegmentOverrides: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreSegmentOverrides", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + SetTitleData: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index ac221d06..c4293ebf 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.16.160425", + sdkVersion: "0.17.160502", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index 784c3e86..16be47f4 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.16.160425", + sdkVersion: "0.17.160502", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 79b48508..c98c4223 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.16.160425", + sdkVersion: "0.17.160502", productionServerUrl: ".playfabapi.com", logicServerUrl: null,