Skip to content

Commit 9f2cc04

Browse files
author
Playfab Jenkins Bot
committed
Automated build from Jenkins
1 parent 2fa5dcf commit 9f2cc04

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

PlayFabSDK/PlayFabServerApi.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,18 @@ PlayFab.ServerApi = {
476476
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
477477
},
478478

479+
GetCloudScriptUrl: function (request, callback) {
480+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
481+
482+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCloudScriptUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
483+
},
484+
485+
RunServerCloudScript: function (request, callback) {
486+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
487+
488+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RunServerCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
489+
},
490+
479491
GetContentDownloadUrl: function (request, callback) {
480492
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
481493

0 commit comments

Comments
 (0)