Skip to content

Commit 1cbccb5

Browse files
author
Paul Gilmore
authored
* Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * PlayFab/SDKGenerator@1b845b6 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins
1 parent 8a334d5 commit 1cbccb5

File tree

4 files changed

+80
-8
lines changed

4 files changed

+80
-8
lines changed

PlayFabSDK/PlayFabAdminApi.js

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.24.160725",
22-
buildIdentifier: "jbuild_javascriptsdk_1",
21+
sdkVersion: "0.25.160801",
22+
buildIdentifier: "jbuild_javascriptsdk_0",
2323
productionServerUrl: ".playfabapi.com",
2424
logicServerUrl: null,
2525

@@ -304,6 +304,12 @@ PlayFab.AdminApi = {
304304
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
305305
},
306306

307+
RemoveVirtualCurrencyTypes: function (request, callback) {
308+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
309+
310+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
311+
},
312+
307313
SetCatalogItems: function (request, callback) {
308314
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
309315

@@ -489,6 +495,24 @@ PlayFab.AdminApi = {
489495

490496
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
491497
},
498+
499+
GetAllSegments: function (request, callback) {
500+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
501+
502+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
503+
},
504+
505+
GetPlayerSegments: function (request, callback) {
506+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
507+
508+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
509+
},
510+
511+
GetPlayersInSegment: function (request, callback) {
512+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
513+
514+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
515+
},
492516
};
493517

494518
var PlayFabAdminSDK = PlayFab.AdminApi;

PlayFabSDK/PlayFabClientApi.js

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.24.160725",
22-
buildIdentifier: "jbuild_javascriptsdk_1",
21+
sdkVersion: "0.25.160801",
22+
buildIdentifier: "jbuild_javascriptsdk_0",
2323
productionServerUrl: ".playfabapi.com",
2424
logicServerUrl: null,
2525

@@ -284,6 +284,12 @@ PlayFab.ClientApi = {
284284
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback);
285285
},
286286

287+
AddGenericID: function (request, callback) {
288+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
289+
290+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
291+
},
292+
287293
AddUsernamePassword: function (request, callback) {
288294
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
289295

@@ -314,6 +320,12 @@ PlayFab.ClientApi = {
314320
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
315321
},
316322

323+
GetPlayFabIDsFromGenericIDs: function (request, callback) {
324+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
325+
326+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
327+
},
328+
317329
GetPlayFabIDsFromGoogleIDs: function (request, callback) {
318330
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
319331

@@ -398,6 +410,12 @@ PlayFab.ClientApi = {
398410
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
399411
},
400412

413+
RemoveGenericID: function (request, callback) {
414+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
415+
416+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
417+
},
418+
401419
ReportPlayer: function (request, callback) {
402420
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
403421

@@ -949,6 +967,12 @@ PlayFab.ClientApi = {
949967
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback);
950968
},
951969

970+
GetPlayerSegments: function (request, callback) {
971+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
972+
973+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
974+
},
975+
952976
_MultiStepClientLogin: function (needsAttribution) {
953977
if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) {
954978
var request = {};

PlayFabSDK/PlayFabMatchmakerApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.24.160725",
22-
buildIdentifier: "jbuild_javascriptsdk_1",
21+
sdkVersion: "0.25.160801",
22+
buildIdentifier: "jbuild_javascriptsdk_0",
2323
productionServerUrl: ".playfabapi.com",
2424
logicServerUrl: null,
2525

PlayFabSDK/PlayFabServerApi.js

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.24.160725",
22-
buildIdentifier: "jbuild_javascriptsdk_1",
21+
sdkVersion: "0.25.160801",
22+
buildIdentifier: "jbuild_javascriptsdk_0",
2323
productionServerUrl: ".playfabapi.com",
2424
logicServerUrl: null,
2525

@@ -154,6 +154,12 @@ PlayFab.ServerApi = {
154154
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
155155
},
156156

157+
GetPlayerCombinedInfo: function (request, callback) {
158+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
159+
160+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
161+
},
162+
157163
GetPlayerStatistics: function (request, callback) {
158164
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
159165

@@ -615,6 +621,24 @@ PlayFab.ServerApi = {
615621

616622
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
617623
},
624+
625+
GetAllSegments: function (request, callback) {
626+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
627+
628+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
629+
},
630+
631+
GetPlayerSegments: function (request, callback) {
632+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
633+
634+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
635+
},
636+
637+
GetPlayersInSegment: function (request, callback) {
638+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
639+
640+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
641+
},
618642
};
619643

620644
var PlayFabServerSDK = PlayFab.ServerApi;

0 commit comments

Comments
 (0)