Skip to content

Commit 9d41e26

Browse files
author
Playfab Jenkins Bot
committed
Automated build from Jenkins
1 parent 4ec9fa1 commit 9d41e26

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

PlayFabSDK/PlayFabClientApi.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,12 @@ PlayFab.ClientApi = {
483483
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundCurrentUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
484484
},
485485

486+
GetFriendLeaderboardAroundPlayer: function (request, callback) {
487+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
488+
489+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
490+
},
491+
486492
GetLeaderboard: function (request, callback) {
487493
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
488494

@@ -495,6 +501,12 @@ PlayFab.ClientApi = {
495501
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCurrentUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
496502
},
497503

504+
GetLeaderboardAroundPlayer: function (request, callback) {
505+
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
506+
507+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
508+
},
509+
498510
GetUserData: function (request, callback) {
499511
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
500512

0 commit comments

Comments
 (0)