@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
18
18
if ( ! PlayFab . _internalSettings ) {
19
19
PlayFab . _internalSettings = {
20
20
sessionTicket : null ,
21
- sdkVersion : "0.27.160822 " ,
21
+ sdkVersion : "0.28.160829 " ,
22
22
buildIdentifier : "jbuild_javascriptsdk_0" ,
23
23
productionServerUrl : ".playfabapi.com" ,
24
24
logicServerUrl : null ,
@@ -350,6 +350,9 @@ PlayFab.ClientApi = {
350
350
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetPlayFabIDsFromTwitchIDs" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
351
351
} ,
352
352
353
+ /**
354
+ * @deprecated Please use GetPlayerCombinedInfo instead.
355
+ */
353
356
GetUserCombinedInfo : function ( request , callback ) {
354
357
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
355
358
@@ -493,6 +496,9 @@ PlayFab.ClientApi = {
493
496
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetFriendLeaderboard" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
494
497
} ,
495
498
499
+ /**
500
+ * @deprecated Please use GetFriendLeaderboardAroundPlayer instead.
501
+ */
496
502
GetFriendLeaderboardAroundCurrentUser : function ( request , callback ) {
497
503
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
498
504
@@ -511,6 +517,9 @@ PlayFab.ClientApi = {
511
517
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetLeaderboard" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
512
518
} ,
513
519
520
+ /**
521
+ * @deprecated Please use GetLeaderboardAroundPlayer instead.
522
+ */
514
523
GetLeaderboardAroundCurrentUser : function ( request , callback ) {
515
524
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
516
525
@@ -559,6 +568,9 @@ PlayFab.ClientApi = {
559
568
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetUserReadOnlyData" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
560
569
} ,
561
570
571
+ /**
572
+ * @deprecated Please use GetPlayerStatistics instead.
573
+ */
562
574
GetUserStatistics : function ( request , callback ) {
563
575
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
564
576
@@ -583,6 +595,9 @@ PlayFab.ClientApi = {
583
595
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/UpdateUserPublisherData" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
584
596
} ,
585
597
598
+ /**
599
+ * @deprecated Please use UpdatePlayerStatistics instead.
600
+ */
586
601
UpdateUserStatistics : function ( request , callback ) {
587
602
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
588
603
@@ -775,6 +790,9 @@ PlayFab.ClientApi = {
775
790
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/ValidateGooglePlayPurchase" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
776
791
} ,
777
792
793
+ /**
794
+ * @deprecated Please use WritePlayerEvent instead.
795
+ */
778
796
LogEvent : function ( request , callback ) {
779
797
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
780
798
@@ -835,6 +853,9 @@ PlayFab.ClientApi = {
835
853
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/ExecuteCloudScript" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
836
854
} ,
837
855
856
+ /**
857
+ * @deprecated Please use ExecuteCloudScript instead.
858
+ */
838
859
GetCloudScriptUrl : function ( request , callback ) {
839
860
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
840
861
@@ -846,6 +867,9 @@ PlayFab.ClientApi = {
846
867
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetCloudScriptUrl" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , overloadCallback ) ;
847
868
} ,
848
869
870
+ /**
871
+ * @deprecated Please use ExecuteCloudScript instead.
872
+ */
849
873
RunCloudScript : function ( request , callback ) {
850
874
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
851
875
@@ -973,6 +997,12 @@ PlayFab.ClientApi = {
973
997
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetPlayerSegments" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
974
998
} ,
975
999
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
+
976
1006
_MultiStepClientLogin : function ( needsAttribution ) {
977
1007
if ( needsAttribution && ! PlayFab . settings . disableAdvertising && PlayFab . settings . advertisingIdType !== null && PlayFab . settings . advertisingIdValue !== null ) {
978
1008
var request = { } ;
0 commit comments