@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
18
18
if ( ! PlayFab . _internalSettings ) {
19
19
PlayFab . _internalSettings = {
20
20
sessionTicket : null ,
21
- sdkVersion : "0.6.151210 " ,
21
+ sdkVersion : "0.7.160118 " ,
22
22
productionServerUrl : ".playfabapi.com" ,
23
23
logicServerUrl : null ,
24
24
@@ -483,6 +483,12 @@ PlayFab.ClientApi = {
483
483
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetFriendLeaderboardAroundCurrentUser" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
484
484
} ,
485
485
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
+
486
492
GetLeaderboard : function ( request , callback ) {
487
493
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
488
494
@@ -495,6 +501,12 @@ PlayFab.ClientApi = {
495
501
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetLeaderboardAroundCurrentUser" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
496
502
} ,
497
503
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
+
498
510
GetUserData : function ( request , callback ) {
499
511
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
500
512
0 commit comments