@@ -128,6 +128,12 @@ PlayFab.AdminApi = {
128
128
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/UpdateUserTitleDisplayName" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
129
129
} ,
130
130
131
+ CreatePlayerStatisticDefinition : function ( request , callback ) {
132
+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
133
+
134
+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/CreatePlayerStatisticDefinition" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
135
+ } ,
136
+
131
137
DeleteUsers : function ( request , callback ) {
132
138
if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
133
139
@@ -140,6 +146,18 @@ PlayFab.AdminApi = {
140
146
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/GetDataReport" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
141
147
} ,
142
148
149
+ GetPlayerStatisticDefinitions : function ( request , callback ) {
150
+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
151
+
152
+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/GetPlayerStatisticDefinitions" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
153
+ } ,
154
+
155
+ GetPlayerStatisticVersions : 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 ( ) + "/Admin/GetPlayerStatisticVersions" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
159
+ } ,
160
+
143
161
GetUserData : function ( request , callback ) {
144
162
if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
145
163
@@ -176,12 +194,36 @@ PlayFab.AdminApi = {
176
194
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/GetUserReadOnlyData" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
177
195
} ,
178
196
197
+ IncrementPlayerStatisticVersion : function ( request , callback ) {
198
+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
199
+
200
+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/IncrementPlayerStatisticVersion" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
201
+ } ,
202
+
203
+ RefundPurchase : 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 ( ) + "/Admin/RefundPurchase" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
207
+ } ,
208
+
179
209
ResetUserStatistics : function ( request , callback ) {
180
210
if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
181
211
182
212
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/ResetUserStatistics" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
183
213
} ,
184
214
215
+ ResolvePurchaseDispute : function ( request , callback ) {
216
+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
217
+
218
+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/ResolvePurchaseDispute" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
219
+ } ,
220
+
221
+ UpdatePlayerStatisticDefinition : function ( request , callback ) {
222
+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
223
+
224
+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Admin/UpdatePlayerStatisticDefinition" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
225
+ } ,
226
+
185
227
UpdateUserData : function ( request , callback ) {
186
228
if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
187
229
0 commit comments