Skip to content

Commit

Permalink
Merge pull request #48 from PlayFab/master
Browse files Browse the repository at this point in the history
Weekly SDK Publish
  • Loading branch information
Paul Gilmore committed Mar 28, 2016
2 parents e3ee8da + a4a9017 commit 83059cc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PlayFabSDK/PlayFabAdminApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
sessionTicket: null,
sdkVersion: "0.12.160307",
sdkVersion: "0.13.160328",
productionServerUrl: ".playfabapi.com",
logicServerUrl: null,

Expand Down
8 changes: 7 additions & 1 deletion PlayFabSDK/PlayFabClientApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
sessionTicket: null,
sdkVersion: "0.12.160307",
sdkVersion: "0.13.160328",
productionServerUrl: ".playfabapi.com",
logicServerUrl: null,

Expand Down Expand Up @@ -749,6 +749,12 @@ PlayFab.ClientApi = {
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
},

ExecuteCloudScript: function (request, callback) {
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";

PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
},

GetCloudScriptUrl: function (request, callback) {
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";

Expand Down
2 changes: 1 addition & 1 deletion PlayFabSDK/PlayFabMatchmakerApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
sessionTicket: null,
sdkVersion: "0.12.160307",
sdkVersion: "0.13.160328",
productionServerUrl: ".playfabapi.com",
logicServerUrl: null,

Expand Down
2 changes: 1 addition & 1 deletion PlayFabSDK/PlayFabServerApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
sessionTicket: null,
sdkVersion: "0.12.160307",
sdkVersion: "0.13.160328",
productionServerUrl: ".playfabapi.com",
logicServerUrl: null,

Expand Down

0 comments on commit 83059cc

Please sign in to comment.