Skip to content

Commit 65c1171

Browse files
author
Playfab Jenkins Bot
committed
https://api.playfab.com/releaseNotes/#161121
1 parent cf0977d commit 65c1171

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

PlayFabSDK/PlayFabAdminApi.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.33.161107",
21+
sdkVersion: "0.34.161121",
2222
buildIdentifier: "jbuild_javascriptsdk_1",
2323
productionServerUrl: ".playfabapi.com",
2424

@@ -101,6 +101,18 @@ if(!PlayFab._internalSettings) {
101101

102102
PlayFab.AdminApi = {
103103

104+
GetPolicy: function (request, callback) {
105+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
106+
107+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
108+
},
109+
110+
UpdatePolicy: function (request, callback) {
111+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
112+
113+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
114+
},
115+
104116
BanUsers: function (request, callback) {
105117
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
106118

PlayFabSDK/PlayFabClientApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.33.161107",
21+
sdkVersion: "0.34.161121",
2222
buildIdentifier: "jbuild_javascriptsdk_1",
2323
productionServerUrl: ".playfabapi.com",
2424

PlayFabSDK/PlayFabMatchmakerApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.33.161107",
21+
sdkVersion: "0.34.161121",
2222
buildIdentifier: "jbuild_javascriptsdk_1",
2323
productionServerUrl: ".playfabapi.com",
2424

PlayFabSDK/PlayFabServerApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818
if(!PlayFab._internalSettings) {
1919
PlayFab._internalSettings = {
2020
sessionTicket: null,
21-
sdkVersion: "0.33.161107",
21+
sdkVersion: "0.34.161121",
2222
buildIdentifier: "jbuild_javascriptsdk_1",
2323
productionServerUrl: ".playfabapi.com",
2424

0 commit comments

Comments
 (0)