Skip to content

Commit f109ee4

Browse files
author
Playfab Jenkins Bot
committed
https://api.playfab.com/releaseNotes/#161107
2 parents e4099c0 + cf0977d commit f109ee4

File tree

4 files changed

+64
-4
lines changed

4 files changed

+64
-4
lines changed

PlayFabSDK/PlayFabAdminApi.js

Lines changed: 61 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.32.161017",
21+
sdkVersion: "0.33.161107",
2222
buildIdentifier: "jbuild_javascriptsdk_1",
2323
productionServerUrl: ".playfabapi.com",
2424

@@ -580,6 +580,66 @@ PlayFab.AdminApi = {
580580

581581
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
582582
},
583+
584+
AbortTaskInstance: function (request, callback) {
585+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
586+
587+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
588+
},
589+
590+
CreateActionsOnPlayersInSegmentTask: function (request, callback) {
591+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
592+
593+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
594+
},
595+
596+
CreateCloudScriptTask: function (request, callback) {
597+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
598+
599+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
600+
},
601+
602+
DeleteTask: function (request, callback) {
603+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
604+
605+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
606+
},
607+
608+
GetActionsOnPlayersInSegmentTaskInstance: function (request, callback) {
609+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
610+
611+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
612+
},
613+
614+
GetCloudScriptTaskInstance: function (request, callback) {
615+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
616+
617+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
618+
},
619+
620+
GetTaskInstances: function (request, callback) {
621+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
622+
623+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
624+
},
625+
626+
GetTasks: function (request, callback) {
627+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
628+
629+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
630+
},
631+
632+
RunTask: function (request, callback) {
633+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
634+
635+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
636+
},
637+
638+
UpdateTask: function (request, callback) {
639+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
640+
641+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
642+
},
583643
};
584644

585645
var PlayFabAdminSDK = PlayFab.AdminApi;

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.32.161017",
21+
sdkVersion: "0.33.161107",
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.32.161017",
21+
sdkVersion: "0.33.161107",
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.32.161017",
21+
sdkVersion: "0.33.161107",
2222
buildIdentifier: "jbuild_javascriptsdk_1",
2323
productionServerUrl: ".playfabapi.com",
2424

0 commit comments

Comments
 (0)