@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818if ( ! 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 = { } ;
0 commit comments