Skip to content

Commit edad69e

Browse files
committed
Merge pull request #34 from PlayFab/nightly
Weekly Versioning PR
2 parents caa0e4d + 76ec119 commit edad69e

File tree

4 files changed

+27
-4
lines changed

4 files changed

+27
-4
lines changed

PlayFabSDK/PlayFabAdminApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.7.160118",
21+
sdkVersion: "0.8.160125",
2222
productionServerUrl: ".playfabapi.com",
2323
logicServerUrl: null,
2424

PlayFabSDK/PlayFabClientApi.js

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.7.160118",
21+
sdkVersion: "0.8.160125",
2222
productionServerUrl: ".playfabapi.com",
2323
logicServerUrl: null,
2424

@@ -322,6 +322,12 @@ PlayFab.ClientApi = {
322322
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
323323
},
324324

325+
GetPlayFabIDsFromKongregateIDs: function (request, callback) {
326+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
327+
328+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
329+
},
330+
325331
GetPlayFabIDsFromPSNAccountIDs: function (request, callback) {
326332
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
327333

@@ -824,6 +830,12 @@ PlayFab.ClientApi = {
824830
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
825831
},
826832

833+
GetCharacterStatistics: function (request, callback) {
834+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
835+
836+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
837+
},
838+
827839
GetLeaderboardAroundCharacter: function (request, callback) {
828840
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
829841

@@ -842,6 +854,11 @@ PlayFab.ClientApi = {
842854
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
843855
},
844856

857+
UpdateCharacterStatistics: function (request, callback) {
858+
859+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, null, null, callback);
860+
},
861+
845862
GetCharacterData: function (request, callback) {
846863
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
847864

PlayFabSDK/PlayFabMatchmakerApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.7.160118",
21+
sdkVersion: "0.8.160125",
2222
productionServerUrl: ".playfabapi.com",
2323
logicServerUrl: null,
2424

PlayFabSDK/PlayFabServerApi.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.7.160118",
21+
sdkVersion: "0.8.160125",
2222
productionServerUrl: ".playfabapi.com",
2323
logicServerUrl: null,
2424

@@ -344,6 +344,12 @@ PlayFab.ServerApi = {
344344
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
345345
},
346346

347+
RevokeInventoryItem: function (request, callback) {
348+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
349+
350+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
351+
},
352+
347353
SubtractCharacterVirtualCurrency: function (request, callback) {
348354
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
349355

0 commit comments

Comments
 (0)