@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
18
18
if ( ! PlayFab . _internalSettings ) {
19
19
PlayFab . _internalSettings = {
20
20
sessionTicket : null ,
21
- sdkVersion : "0.10.160215 " ,
21
+ sdkVersion : "0.11.160222 " ,
22
22
productionServerUrl : ".playfabapi.com" ,
23
23
logicServerUrl : null ,
24
24
@@ -116,6 +116,12 @@ PlayFab.ServerApi = {
116
116
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/GetPlayFabIDsFromFacebookIDs" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
117
117
} ,
118
118
119
+ GetPlayFabIDsFromSteamIDs : function ( request , callback ) {
120
+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
121
+
122
+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/GetPlayFabIDsFromSteamIDs" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
123
+ } ,
124
+
119
125
GetUserAccountInfo : function ( request , callback ) {
120
126
if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
121
127
@@ -146,6 +152,12 @@ PlayFab.ServerApi = {
146
152
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/GetLeaderboardAroundUser" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
147
153
} ,
148
154
155
+ GetPlayerStatistics : function ( request , callback ) {
156
+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
157
+
158
+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/GetPlayerStatistics" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
159
+ } ,
160
+
149
161
GetUserData : function ( request , callback ) {
150
162
if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
151
163
@@ -188,6 +200,12 @@ PlayFab.ServerApi = {
188
200
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/GetUserStatistics" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
189
201
} ,
190
202
203
+ UpdatePlayerStatistics : function ( request , callback ) {
204
+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
205
+
206
+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/UpdatePlayerStatistics" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
207
+ } ,
208
+
191
209
UpdateUserData : function ( request , callback ) {
192
210
if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
193
211
0 commit comments