Skip to content

Commit c26f33b

Browse files
author
Playfab Jenkins Bot
committed
Automated build from Jenkins
1 parent 8f6b50d commit c26f33b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

PlayFabSDK/PlayFabClientApi.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,12 @@ PlayFab.ClientApi = {
461461
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
462462
},
463463

464+
GetPlayerStatisticVersions: function (request, callback) {
465+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
466+
467+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
468+
},
469+
464470
GetUserData: function (request, callback) {
465471
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
466472

PlayFabSDK/PlayFabServerApi.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ PlayFab.ServerApi = {
158158
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
159159
},
160160

161+
GetPlayerStatisticVersions: function (request, callback) {
162+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
163+
164+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
165+
},
166+
161167
GetUserData: function (request, callback) {
162168
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
163169

0 commit comments

Comments
 (0)