Skip to content

Commit 6e34c3f

Browse files
author
Paul Gilmore
authored
* Automated pf-main build from Jenkins * Automated build from Jenkins * PlayFab/SDKGenerator@b216b6e * Automated pf-main build from Jenkins * PlayFab/SDKGenerator@88cfcc2 * PlayFab/SDKGenerator@19ef407 * PlayFab/SDKGenerator@15e56d3 * 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 * PlayFab/SDKGenerator@6f6b966 * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins
1 parent 7f78de8 commit 6e34c3f

File tree

4 files changed

+79
-4
lines changed

4 files changed

+79
-4
lines changed

PlayFabSDK/PlayFabAdminApi.js

Lines changed: 19 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.27.160822",
21+
sdkVersion: "0.28.160829",
2222
buildIdentifier: "jbuild_javascriptsdk_0",
2323
productionServerUrl: ".playfabapi.com",
2424
logicServerUrl: null,
@@ -532,6 +532,12 @@ PlayFab.AdminApi = {
532532
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
533533
},
534534

535+
AddPlayerTag: function (request, callback) {
536+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
537+
538+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
539+
},
540+
535541
GetAllSegments: function (request, callback) {
536542
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
537543

@@ -549,6 +555,18 @@ PlayFab.AdminApi = {
549555

550556
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
551557
},
558+
559+
GetPlayerTags: function (request, callback) {
560+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
561+
562+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
563+
},
564+
565+
RemovePlayerTag: function (request, callback) {
566+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
567+
568+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
569+
},
552570
};
553571

554572
var PlayFabAdminSDK = PlayFab.AdminApi;

PlayFabSDK/PlayFabClientApi.js

Lines changed: 31 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.27.160822",
21+
sdkVersion: "0.28.160829",
2222
buildIdentifier: "jbuild_javascriptsdk_0",
2323
productionServerUrl: ".playfabapi.com",
2424
logicServerUrl: null,
@@ -350,6 +350,9 @@ PlayFab.ClientApi = {
350350
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
351351
},
352352

353+
/**
354+
* @deprecated Please use GetPlayerCombinedInfo instead.
355+
*/
353356
GetUserCombinedInfo: function (request, callback) {
354357
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
355358

@@ -493,6 +496,9 @@ PlayFab.ClientApi = {
493496
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
494497
},
495498

499+
/**
500+
* @deprecated Please use GetFriendLeaderboardAroundPlayer instead.
501+
*/
496502
GetFriendLeaderboardAroundCurrentUser: function (request, callback) {
497503
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
498504

@@ -511,6 +517,9 @@ PlayFab.ClientApi = {
511517
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
512518
},
513519

520+
/**
521+
* @deprecated Please use GetLeaderboardAroundPlayer instead.
522+
*/
514523
GetLeaderboardAroundCurrentUser: function (request, callback) {
515524
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
516525

@@ -559,6 +568,9 @@ PlayFab.ClientApi = {
559568
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
560569
},
561570

571+
/**
572+
* @deprecated Please use GetPlayerStatistics instead.
573+
*/
562574
GetUserStatistics: function (request, callback) {
563575
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
564576

@@ -583,6 +595,9 @@ PlayFab.ClientApi = {
583595
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
584596
},
585597

598+
/**
599+
* @deprecated Please use UpdatePlayerStatistics instead.
600+
*/
586601
UpdateUserStatistics: function (request, callback) {
587602
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
588603

@@ -775,6 +790,9 @@ PlayFab.ClientApi = {
775790
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
776791
},
777792

793+
/**
794+
* @deprecated Please use WritePlayerEvent instead.
795+
*/
778796
LogEvent: function (request, callback) {
779797
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
780798

@@ -835,6 +853,9 @@ PlayFab.ClientApi = {
835853
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
836854
},
837855

856+
/**
857+
* @deprecated Please use ExecuteCloudScript instead.
858+
*/
838859
GetCloudScriptUrl: function (request, callback) {
839860
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
840861

@@ -846,6 +867,9 @@ PlayFab.ClientApi = {
846867
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCloudScriptUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback);
847868
},
848869

870+
/**
871+
* @deprecated Please use ExecuteCloudScript instead.
872+
*/
849873
RunCloudScript: function (request, callback) {
850874
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
851875

@@ -973,6 +997,12 @@ PlayFab.ClientApi = {
973997
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
974998
},
975999

1000+
GetPlayerTags: function (request, callback) {
1001+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
1002+
1003+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
1004+
},
1005+
9761006
_MultiStepClientLogin: function (needsAttribution) {
9771007
if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) {
9781008
var request = {};

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.27.160822",
21+
sdkVersion: "0.28.160829",
2222
buildIdentifier: "jbuild_javascriptsdk_0",
2323
productionServerUrl: ".playfabapi.com",
2424
logicServerUrl: null,

PlayFabSDK/PlayFabServerApi.js

Lines changed: 28 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.27.160822",
21+
sdkVersion: "0.28.160829",
2222
buildIdentifier: "jbuild_javascriptsdk_0",
2323
productionServerUrl: ".playfabapi.com",
2424
logicServerUrl: null,
@@ -238,6 +238,9 @@ PlayFab.ServerApi = {
238238
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
239239
},
240240

241+
/**
242+
* @deprecated Please use GetPlayerStatistics instead.
243+
*/
241244
GetUserStatistics: function (request, callback) {
242245
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
243246

@@ -286,6 +289,9 @@ PlayFab.ServerApi = {
286289
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
287290
},
288291

292+
/**
293+
* @deprecated Please use UpdatePlayerStatistics instead.
294+
*/
289295
UpdateUserStatistics: function (request, callback) {
290296
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
291297

@@ -502,6 +508,9 @@ PlayFab.ServerApi = {
502508
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
503509
},
504510

511+
/**
512+
* @deprecated Please use WritePlayerEvent instead.
513+
*/
505514
LogEvent: function (request, callback) {
506515
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
507516

@@ -658,6 +667,12 @@ PlayFab.ServerApi = {
658667
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
659668
},
660669

670+
AddPlayerTag: function (request, callback) {
671+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
672+
673+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
674+
},
675+
661676
GetAllSegments: function (request, callback) {
662677
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
663678

@@ -675,6 +690,18 @@ PlayFab.ServerApi = {
675690

676691
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
677692
},
693+
694+
GetPlayerTags: function (request, callback) {
695+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
696+
697+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
698+
},
699+
700+
RemovePlayerTag: function (request, callback) {
701+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
702+
703+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
704+
},
678705
};
679706

680707
var PlayFabServerSDK = PlayFab.ServerApi;

0 commit comments

Comments
 (0)