diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json
index 9d073791..b104c0fb 100644
--- a/PlayFabSdk/package.json
+++ b/PlayFabSdk/package.json
@@ -1,6 +1,6 @@
{
"name": "playfab-web-sdk",
- "version": "1.86.210511",
+ "version": "1.217.260605",
"description": "Playfab SDK for JS client applications",
"license": "Apache-2.0",
"repository": {
diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js
new file mode 100644
index 00000000..0680fa3e
--- /dev/null
+++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js
@@ -0,0 +1,367 @@
+///
+
+var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {};
+
+if(!PlayFab.settings) {
+ PlayFab.settings = {
+ titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
+ developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
+ GlobalHeaderInjection: null,
+ productionServerUrl: ".playfabapi.com"
+ }
+}
+
+if(!PlayFab._internalSettings) {
+ PlayFab._internalSettings = {
+ entityToken: null,
+ sdkVersion: "1.217.260605",
+ requestGetParams: {
+ sdk: "JavaScriptSDK-1.217.260605"
+ },
+ sessionTicket: null,
+ verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
+ errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
+ errorLoggedIn: "Must be logged in to call this method",
+ errorEntityToken: "You must successfully call GetEntityToken before calling this",
+ errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method",
+
+ GetServerUrl: function () {
+ if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) {
+ if (PlayFab._internalSettings.verticalName) {
+ return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl;
+ } else {
+ return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl;
+ }
+ } else {
+ return PlayFab.settings.productionServerUrl;
+ }
+ },
+
+ InjectHeaders: function (xhr, headersObj) {
+ if (!headersObj)
+ return;
+
+ for (var headerKey in headersObj)
+ {
+ try {
+ xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]);
+ } catch (e) {
+ console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e);
+ }
+ }
+ },
+
+ ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) {
+ var resultPromise = new Promise(function (resolve, reject) {
+ if (callback != null && typeof (callback) !== "function")
+ throw "Callback must be null or a function";
+
+ if (request == null)
+ request = {};
+
+ var startTime = new Date();
+ var requestBody = JSON.stringify(request);
+
+ var urlArr = [url];
+ var getParams = PlayFab._internalSettings.requestGetParams;
+ if (getParams != null) {
+ var firstParam = true;
+ for (var key in getParams) {
+ if (firstParam) {
+ urlArr.push("?");
+ firstParam = false;
+ } else {
+ urlArr.push("&");
+ }
+ urlArr.push(key);
+ urlArr.push("=");
+ urlArr.push(getParams[key]);
+ }
+ }
+
+ var completeUrl = urlArr.join("");
+
+ var xhr = new XMLHttpRequest();
+ // window.console.log("URL: " + completeUrl);
+ xhr.open("POST", completeUrl, true);
+
+ xhr.setRequestHeader("Content-Type", "application/json");
+ xhr.setRequestHeader("X-PlayFabSDK", "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion);
+ if (authkey != null)
+ xhr.setRequestHeader(authkey, authValue);
+ PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection);
+ PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders);
+
+ xhr.onloadend = function () {
+ if (callback == null)
+ return;
+
+ var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData);
+ if (result.code === 200) {
+ callback(result, null);
+ } else {
+ callback(null, result);
+ }
+ }
+
+ xhr.onerror = function () {
+ if (callback == null)
+ return;
+
+ var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData);
+ callback(null, result);
+ }
+
+ xhr.send(requestBody);
+ xhr.onreadystatechange = function () {
+ if (this.readyState === 4) {
+ var xhrResult = PlayFab._internalSettings.GetPlayFabResponse(request, this, startTime, customData);
+ if (this.status === 200) {
+ resolve(xhrResult);
+ } else {
+ reject(xhrResult);
+ }
+ }
+ };
+ });
+ // Return a Promise so that calls to various API methods can be handled asynchronously
+ return resultPromise;
+ },
+
+ GetPlayFabResponse: function(request, xhr, startTime, customData) {
+ var result = null;
+ try {
+ // window.console.log("parsing json result: " + xhr.responseText);
+ result = JSON.parse(xhr.responseText);
+ } catch (e) {
+ result = {
+ code: 503, // Service Unavailable
+ status: "Service Unavailable",
+ error: "Connection error",
+ errorCode: 2, // PlayFabErrorCode.ConnectionError
+ errorMessage: xhr.responseText
+ };
+ }
+
+ result.CallBackTimeMS = new Date() - startTime;
+ result.Request = request;
+ result.CustomData = customData;
+ return result;
+ },
+
+ authenticationContext: {
+ PlayFabId: null,
+ EntityId: null,
+ EntityType: null,
+ SessionTicket: null,
+ EntityToken: null
+ },
+
+ UpdateAuthenticationContext: function (authenticationContext, result) {
+ var authenticationContextUpdates = {};
+ if(result.data.PlayFabId !== null) {
+ PlayFab._internalSettings.authenticationContext.PlayFabId = result.data.PlayFabId;
+ authenticationContextUpdates.PlayFabId = result.data.PlayFabId;
+ }
+ if(result.data.SessionTicket !== null) {
+ PlayFab._internalSettings.authenticationContext.SessionTicket = result.data.SessionTicket;
+ authenticationContextUpdates.SessionTicket = result.data.SessionTicket;
+ }
+ if (result.data.EntityToken !== null) {
+ PlayFab._internalSettings.authenticationContext.EntityId = result.data.EntityToken.Entity.Id;
+ authenticationContextUpdates.EntityId = result.data.EntityToken.Entity.Id;
+ PlayFab._internalSettings.authenticationContext.EntityType = result.data.EntityToken.Entity.Type;
+ authenticationContextUpdates.EntityType = result.data.EntityToken.Entity.Type;
+ PlayFab._internalSettings.authenticationContext.EntityToken = result.data.EntityToken.EntityToken;
+ authenticationContextUpdates.EntityToken = result.data.EntityToken.EntityToken;
+ }
+ // Update the authenticationContext with values from the result
+ authenticationContext = Object.assign(authenticationContext, authenticationContextUpdates);
+ return authenticationContext;
+ },
+
+ AuthInfoMap: {
+ "X-EntityToken": {
+ authAttr: "entityToken",
+ authError: "errorEntityToken"
+ },
+ "X-Authorization": {
+ authAttr: "sessionTicket",
+ authError: "errorLoggedIn"
+ },
+ "X-SecretKey": {
+ authAttr: "developerSecretKey",
+ authError: "errorSecretKey"
+ }
+ },
+
+ GetAuthInfo: function (request, authKey) {
+ // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext
+ var authError = PlayFab._internalSettings.AuthInfoMap[authKey].authError;
+ var authAttr = PlayFab._internalSettings.AuthInfoMap[authKey].authAttr;
+ var defaultAuthValue = null;
+ if (authAttr === "entityToken")
+ defaultAuthValue = PlayFab._internalSettings.entityToken;
+ else if (authAttr === "sessionTicket")
+ defaultAuthValue = PlayFab._internalSettings.sessionTicket;
+ else if (authAttr === "developerSecretKey")
+ defaultAuthValue = PlayFab.settings.developerSecretKey;
+ var authValue = request.AuthenticationContext ? request.AuthenticationContext[authAttr] : defaultAuthValue;
+ return {"authKey": authKey, "authValue": authValue, "authError": authError};
+ },
+
+ ExecuteRequestWrapper: function (apiURL, request, authKey, callback, customData, extraHeaders) {
+ var authValue = null;
+ if (authKey !== null){
+ var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey=authKey);
+ var authKey = authInfo.authKey, authValue = authInfo.authValue, authError = authInfo.authError;
+
+ if (!authValue) throw authError;
+ }
+ return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders);
+ }
+ }
+}
+
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
+PlayFab.GenerateErrorReport = function (error) {
+ if (error == null)
+ return "";
+ var fullErrors = error.errorMessage;
+ for (var paramName in error.errorDetails)
+ for (var msgIdx in error.errorDetails[paramName])
+ fullErrors += "\n" + paramName + ": " + error.errorDetails[paramName][msgIdx];
+ return fullErrors;
+};
+
+PlayFab.AddonApi = {
+ ForgetAllCredentials: function () {
+ PlayFab._internalSettings.sessionTicket = null;
+ PlayFab._internalSettings.entityToken = null;
+ },
+
+ CreateOrUpdateApple: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateApple", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateFacebook: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateFacebook", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateFacebookInstantGames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateFacebookInstantGames", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateGoogle: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateGoogle", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateKongregate: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateKongregate", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateNintendo: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateNintendo", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdatePSN: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdatePSN", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateSteam: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateSteam", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateToxMod: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateToxMod", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateTwitch: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateTwitch", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteApple: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteApple", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteFacebook: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteFacebook", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteFacebookInstantGames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteFacebookInstantGames", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteGoogle: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteGoogle", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteKongregate: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteKongregate", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteNintendo: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteNintendo", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeletePSN: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeletePSN", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteSteam: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteSteam", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteToxMod: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteToxMod", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteTwitch: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteTwitch", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetApple: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetApple", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetFacebook: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetFacebook", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetFacebookInstantGames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetFacebookInstantGames", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetGoogle: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetGoogle", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetKongregate: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetKongregate", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetNintendo: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetNintendo", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetPSN: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetPSN", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetSteam: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetSteam", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetToxMod: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetToxMod", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetTwitch: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetTwitch", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+};
+
+var PlayFabAddonSDK = PlayFab.AddonApi;
+
diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js
index b6a79f8e..5b4f9aef 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -265,10 +257,6 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders);
},
- AddServerBuild: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddServerBuild", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -321,6 +309,14 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ DeleteMasterPlayerEventData: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMasterPlayerEventData", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ DeleteMembershipSubscription: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMembershipSubscription", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
DeleteOpenIdConnection: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -329,6 +325,10 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ DeletePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
DeletePlayerSharedSecret: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -357,6 +357,10 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportMasterPlayerData", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ ExportPlayersInSegment: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -393,18 +397,14 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders);
},
- GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
GetPlayedTitleList: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayedTitleList", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayerCustomProperty: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerCustomProperty", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -421,10 +421,6 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders);
},
- GetPlayersInSegment: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -449,16 +445,16 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders);
},
- GetSegments: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders);
+ GetSegmentExport: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders);
},
- GetServerBuildInfo: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders);
+ GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders);
},
- GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders);
+ GetSegments: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders);
},
GetStoreItems: function (request, callback, customData, extraHeaders) {
@@ -533,22 +529,14 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders);
},
- ListServerBuilds: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListServerBuilds", request, "X-SecretKey", callback, customData, extraHeaders);
+ ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListPlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
},
ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders);
},
- ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- ModifyServerBuild: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
RefundPurchase: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RefundPurchase", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -557,10 +545,6 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemovePlayerTag", request, "X-SecretKey", callback, customData, extraHeaders);
},
- RemoveServerBuild: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveServerBuild", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
RemoveVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -609,6 +593,10 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ SetMembershipOverride: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetMembershipOverride", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
SetPlayerSecret: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -661,6 +649,10 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ UpdatePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -716,6 +708,11 @@ PlayFab.AdminApi = {
UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", callback, customData, extraHeaders);
},
+
+ ValidateApiPolicy: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ValidateApiPolicy", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
};
var PlayFabAdminSDK = PlayFab.AdminApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js
index c6efc814..9ec5b672 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -249,6 +241,20 @@ PlayFab.AuthenticationApi = {
PlayFab._internalSettings.entityToken = null;
},
+ AuthenticateGameServerWithCustomId: function (request, callback, customData, extraHeaders) {
+ var overloadCallback = function (result, error) {
+ if (result != null && result.data.EntityToken != null && result.data.EntityToken.EntityToken != null)
+ PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
+ if (callback != null && typeof (callback) === "function")
+ callback(result, error);
+ };
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/AuthenticateGameServerWithCustomId", request, "X-EntityToken", overloadCallback, customData, extraHeaders);
+ },
+
+ Delete: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/Delete", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
GetEntityToken: function (request, callback, customData, extraHeaders) {
var authKey = null; var authValue = null;
if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; }
@@ -265,6 +271,7 @@ PlayFab.AuthenticationApi = {
ValidateEntityToken: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/ValidateEntityToken", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
};
var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js
index 3e4bfa7d..d079ce97 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -286,14 +278,7 @@ PlayFab.ClientApi = {
},
AttributeInstall: function (request, callback, customData, extraHeaders) {
- var overloadCallback = function (result, error) {
- // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully
- PlayFab.settings.advertisingIdType += "_Successful";
-
- if (callback != null && typeof (callback) === "function")
- callback(result, error);
- };
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization", overloadCallback, customData, extraHeaders);
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization", callback, customData, extraHeaders);
},
CancelTrade: function (request, callback, customData, extraHeaders) {
@@ -328,6 +313,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/CreateSharedGroup", request, "X-Authorization", callback, customData, extraHeaders);
},
+ DeletePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/DeletePlayerCustomProperties", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
ExecuteCloudScript: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ExecuteCloudScript", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -372,10 +361,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization", callback, customData, extraHeaders);
},
- GetCurrentGames: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCurrentGames", request, "X-Authorization", callback, customData, extraHeaders);
- },
-
GetFriendLeaderboard: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendLeaderboard", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -388,10 +373,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization", callback, customData, extraHeaders);
},
- GetGameServerRegions: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetGameServerRegions", request, "X-Authorization", callback, customData, extraHeaders);
- },
-
GetLeaderboard: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboard", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -420,6 +401,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerCombinedInfo", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayerCustomProperty: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerCustomProperty", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayerProfile: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerProfile", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -444,6 +429,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerTrades", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromBattleNetAccountIds: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromBattleNetAccountIds", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -464,22 +453,42 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromGooglePlayGamesPlayerIDs: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGooglePlayGamesPlayerIDs", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromKongregateIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromNintendoServiceAccountIds: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromOpenIdSubjectIdentifiers: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromOpenIdSubjectIdentifiers", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromPSNOnlineIDs: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNOnlineIDs", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromSteamNames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamNames", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -544,13 +553,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders);
},
- /**
- * @deprecated Do not use
- */
- GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders);
- },
-
GrantCharacterToUser: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -563,6 +565,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization", callback, customData, extraHeaders);
},
+ LinkBattleNetAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkBattleNetAccount", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
LinkCustomID: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -583,6 +589,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders);
},
+ LinkGooglePlayGamesServicesAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGooglePlayGamesServicesAccount", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
LinkIOSDeviceID: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -615,17 +625,14 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders);
},
- /**
- * @deprecated Do not use
- */
- LinkWindowsHello: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders);
- },
-
LinkXboxAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders);
},
+ ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ListPlayerCustomProperties", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
LoginWithAndroidDeviceID: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
@@ -641,7 +648,6 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -666,7 +672,6 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -676,6 +681,30 @@ PlayFab.ClientApi = {
return new Promise(function(resolve){resolve(authenticationContext);});
},
+ LoginWithBattleNet: function (request, callback, customData, extraHeaders) {
+ request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
+ // PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
+ // Deep-copy the authenticationContext here to safely update it
+ var authenticationContext = JSON.parse(JSON.stringify(PlayFab._internalSettings.authenticationContext));
+ var overloadCallback = function (result, error) {
+ if (result != null) {
+ if(result.data.SessionTicket != null) {
+ PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
+ }
+ if (result.data.EntityToken != null) {
+ PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
+ }
+ // Apply the updates for the AuthenticationContext returned to the client
+ authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
+ }
+ if (callback != null && typeof (callback) === "function")
+ callback(result, error);
+ };
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithBattleNet", request, null, overloadCallback, customData, extraHeaders);
+ // Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
+ return new Promise(function(resolve){resolve(authenticationContext);});
+ },
+
LoginWithCustomID: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
@@ -691,7 +720,6 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -716,7 +744,6 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -741,7 +768,6 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -766,7 +792,6 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -791,7 +816,6 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -816,7 +840,6 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -826,7 +849,7 @@ PlayFab.ClientApi = {
return new Promise(function(resolve){resolve(authenticationContext);});
},
- LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) {
+ LoginWithGooglePlayGamesServices: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -841,17 +864,16 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithIOSDeviceID", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithGooglePlayGamesServices", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
- LoginWithKongregate: function (request, callback, customData, extraHeaders) {
+ LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -866,17 +888,16 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithKongregate", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithIOSDeviceID", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
- LoginWithNintendoServiceAccount: function (request, callback, customData, extraHeaders) {
+ LoginWithKongregate: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -891,17 +912,16 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoServiceAccount", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithKongregate", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
- LoginWithNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) {
+ LoginWithNintendoServiceAccount: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -916,17 +936,16 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchDeviceId", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoServiceAccount", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
- LoginWithOpenIdConnect: function (request, callback, customData, extraHeaders) {
+ LoginWithNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -941,17 +960,16 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithOpenIdConnect", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchDeviceId", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
- LoginWithPlayFab: function (request, callback, customData, extraHeaders) {
+ LoginWithOpenIdConnect: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -966,17 +984,16 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithPlayFab", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithOpenIdConnect", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
- LoginWithPSN: function (request, callback, customData, extraHeaders) {
+ LoginWithPlayFab: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -991,17 +1008,16 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithPSN", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithPlayFab", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
- LoginWithSteam: function (request, callback, customData, extraHeaders) {
+ LoginWithPSN: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -1016,17 +1032,16 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithSteam", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithPSN", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
- LoginWithTwitch: function (request, callback, customData, extraHeaders) {
+ LoginWithSteam: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -1041,20 +1056,16 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithTwitch", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithSteam", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
- /**
- * @deprecated Do not use
- */
- LoginWithWindowsHello: function (request, callback, customData, extraHeaders) {
+ LoginWithTwitch: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -1069,12 +1080,11 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithWindowsHello", request, null, overloadCallback, customData, extraHeaders);
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithTwitch", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},
@@ -1094,7 +1104,6 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -1104,10 +1113,6 @@ PlayFab.ClientApi = {
return new Promise(function(resolve){resolve(authenticationContext);});
},
- Matchmake: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/Matchmake", request, "X-Authorization", callback, customData, extraHeaders);
- },
-
OpenTrade: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/OpenTrade", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -1133,25 +1138,6 @@ PlayFab.ClientApi = {
},
RegisterPlayFabUser: function (request, callback, customData, extraHeaders) {
- request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
- // PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
- // Deep-copy the authenticationContext here to safely update it
- var authenticationContext = JSON.parse(JSON.stringify(PlayFab._internalSettings.authenticationContext));
- var overloadCallback = function (result, error) {
- if (result != null && result.data.SessionTicket != null) {
- PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
- }
- if (callback != null && typeof (callback) === "function")
- callback(result, error);
- };
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders);
- },
-
- /**
- * @deprecated Do not use
- */
- RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
@@ -1166,14 +1152,11 @@ PlayFab.ClientApi = {
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
- PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
- PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterWithWindowsHello", request, null, overloadCallback, customData, extraHeaders);
- // Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
- return new Promise(function(resolve){resolve(authenticationContext);});
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders);
},
RemoveContactEmail: function (request, callback, customData, extraHeaders) {
@@ -1224,10 +1207,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization", callback, customData, extraHeaders);
},
- StartGame: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartGame", request, "X-Authorization", callback, customData, extraHeaders);
- },
-
StartPurchase: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartPurchase", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -1244,6 +1223,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization", callback, customData, extraHeaders);
},
+ UnlinkBattleNetAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkBattleNetAccount", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
UnlinkCustomID: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -1264,6 +1247,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders);
},
+ UnlinkGooglePlayGamesServicesAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGooglePlayGamesServicesAccount", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
UnlinkIOSDeviceID: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -1296,13 +1283,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders);
},
- /**
- * @deprecated Do not use
- */
- UnlinkWindowsHello: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders);
- },
-
UnlinkXboxAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -1327,6 +1307,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateCharacterStatistics", request, "X-Authorization", callback, customData, extraHeaders);
},
+ UpdatePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdatePlayerCustomProperties", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdatePlayerStatistics", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -1375,19 +1359,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/WriteTitleEvent", request, "X-Authorization", callback, customData, extraHeaders);
},
- _MultiStepClientLogin: function (needsAttribution) {
- if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) {
- var request = {};
- if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_IDFA) {
- request.Idfa = PlayFab.settings.advertisingIdValue;
- } else if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID) {
- request.Adid = PlayFab.settings.advertisingIdValue;
- } else {
- return;
- }
- PlayFab.ClientApi.AttributeInstall(request, null);
- }
- }
};
var PlayFabClientSDK = PlayFab.ClientApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js
index 5a315761..950a2bf7 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -257,6 +249,14 @@ PlayFab.CloudScriptApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ GetFunction: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/GetFunction", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ListEventHubFunctions: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListEventHubFunctions", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
ListFunctions: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListFunctions", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -285,6 +285,10 @@ PlayFab.CloudScriptApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForScheduledTask", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ RegisterEventHubFunction: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/RegisterEventHubFunction", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
RegisterHttpFunction: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/RegisterHttpFunction", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -296,6 +300,7 @@ PlayFab.CloudScriptApi = {
UnregisterFunction: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/UnregisterFunction", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
};
var PlayFabCloudScriptSDK = PlayFab.CloudScriptApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js
index 20c16985..9b7aebbc 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -276,6 +268,7 @@ PlayFab.DataApi = {
SetObjects: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Object/SetObjects", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
};
var PlayFabDataSDK = PlayFab.DataApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js
new file mode 100644
index 00000000..f0d972c4
--- /dev/null
+++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js
@@ -0,0 +1,431 @@
+///
+
+var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {};
+
+if(!PlayFab.settings) {
+ PlayFab.settings = {
+ titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
+ developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
+ GlobalHeaderInjection: null,
+ productionServerUrl: ".playfabapi.com"
+ }
+}
+
+if(!PlayFab._internalSettings) {
+ PlayFab._internalSettings = {
+ entityToken: null,
+ sdkVersion: "1.217.260605",
+ requestGetParams: {
+ sdk: "JavaScriptSDK-1.217.260605"
+ },
+ sessionTicket: null,
+ verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
+ errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
+ errorLoggedIn: "Must be logged in to call this method",
+ errorEntityToken: "You must successfully call GetEntityToken before calling this",
+ errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method",
+
+ GetServerUrl: function () {
+ if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) {
+ if (PlayFab._internalSettings.verticalName) {
+ return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl;
+ } else {
+ return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl;
+ }
+ } else {
+ return PlayFab.settings.productionServerUrl;
+ }
+ },
+
+ InjectHeaders: function (xhr, headersObj) {
+ if (!headersObj)
+ return;
+
+ for (var headerKey in headersObj)
+ {
+ try {
+ xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]);
+ } catch (e) {
+ console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e);
+ }
+ }
+ },
+
+ ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) {
+ var resultPromise = new Promise(function (resolve, reject) {
+ if (callback != null && typeof (callback) !== "function")
+ throw "Callback must be null or a function";
+
+ if (request == null)
+ request = {};
+
+ var startTime = new Date();
+ var requestBody = JSON.stringify(request);
+
+ var urlArr = [url];
+ var getParams = PlayFab._internalSettings.requestGetParams;
+ if (getParams != null) {
+ var firstParam = true;
+ for (var key in getParams) {
+ if (firstParam) {
+ urlArr.push("?");
+ firstParam = false;
+ } else {
+ urlArr.push("&");
+ }
+ urlArr.push(key);
+ urlArr.push("=");
+ urlArr.push(getParams[key]);
+ }
+ }
+
+ var completeUrl = urlArr.join("");
+
+ var xhr = new XMLHttpRequest();
+ // window.console.log("URL: " + completeUrl);
+ xhr.open("POST", completeUrl, true);
+
+ xhr.setRequestHeader("Content-Type", "application/json");
+ xhr.setRequestHeader("X-PlayFabSDK", "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion);
+ if (authkey != null)
+ xhr.setRequestHeader(authkey, authValue);
+ PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection);
+ PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders);
+
+ xhr.onloadend = function () {
+ if (callback == null)
+ return;
+
+ var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData);
+ if (result.code === 200) {
+ callback(result, null);
+ } else {
+ callback(null, result);
+ }
+ }
+
+ xhr.onerror = function () {
+ if (callback == null)
+ return;
+
+ var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData);
+ callback(null, result);
+ }
+
+ xhr.send(requestBody);
+ xhr.onreadystatechange = function () {
+ if (this.readyState === 4) {
+ var xhrResult = PlayFab._internalSettings.GetPlayFabResponse(request, this, startTime, customData);
+ if (this.status === 200) {
+ resolve(xhrResult);
+ } else {
+ reject(xhrResult);
+ }
+ }
+ };
+ });
+ // Return a Promise so that calls to various API methods can be handled asynchronously
+ return resultPromise;
+ },
+
+ GetPlayFabResponse: function(request, xhr, startTime, customData) {
+ var result = null;
+ try {
+ // window.console.log("parsing json result: " + xhr.responseText);
+ result = JSON.parse(xhr.responseText);
+ } catch (e) {
+ result = {
+ code: 503, // Service Unavailable
+ status: "Service Unavailable",
+ error: "Connection error",
+ errorCode: 2, // PlayFabErrorCode.ConnectionError
+ errorMessage: xhr.responseText
+ };
+ }
+
+ result.CallBackTimeMS = new Date() - startTime;
+ result.Request = request;
+ result.CustomData = customData;
+ return result;
+ },
+
+ authenticationContext: {
+ PlayFabId: null,
+ EntityId: null,
+ EntityType: null,
+ SessionTicket: null,
+ EntityToken: null
+ },
+
+ UpdateAuthenticationContext: function (authenticationContext, result) {
+ var authenticationContextUpdates = {};
+ if(result.data.PlayFabId !== null) {
+ PlayFab._internalSettings.authenticationContext.PlayFabId = result.data.PlayFabId;
+ authenticationContextUpdates.PlayFabId = result.data.PlayFabId;
+ }
+ if(result.data.SessionTicket !== null) {
+ PlayFab._internalSettings.authenticationContext.SessionTicket = result.data.SessionTicket;
+ authenticationContextUpdates.SessionTicket = result.data.SessionTicket;
+ }
+ if (result.data.EntityToken !== null) {
+ PlayFab._internalSettings.authenticationContext.EntityId = result.data.EntityToken.Entity.Id;
+ authenticationContextUpdates.EntityId = result.data.EntityToken.Entity.Id;
+ PlayFab._internalSettings.authenticationContext.EntityType = result.data.EntityToken.Entity.Type;
+ authenticationContextUpdates.EntityType = result.data.EntityToken.Entity.Type;
+ PlayFab._internalSettings.authenticationContext.EntityToken = result.data.EntityToken.EntityToken;
+ authenticationContextUpdates.EntityToken = result.data.EntityToken.EntityToken;
+ }
+ // Update the authenticationContext with values from the result
+ authenticationContext = Object.assign(authenticationContext, authenticationContextUpdates);
+ return authenticationContext;
+ },
+
+ AuthInfoMap: {
+ "X-EntityToken": {
+ authAttr: "entityToken",
+ authError: "errorEntityToken"
+ },
+ "X-Authorization": {
+ authAttr: "sessionTicket",
+ authError: "errorLoggedIn"
+ },
+ "X-SecretKey": {
+ authAttr: "developerSecretKey",
+ authError: "errorSecretKey"
+ }
+ },
+
+ GetAuthInfo: function (request, authKey) {
+ // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext
+ var authError = PlayFab._internalSettings.AuthInfoMap[authKey].authError;
+ var authAttr = PlayFab._internalSettings.AuthInfoMap[authKey].authAttr;
+ var defaultAuthValue = null;
+ if (authAttr === "entityToken")
+ defaultAuthValue = PlayFab._internalSettings.entityToken;
+ else if (authAttr === "sessionTicket")
+ defaultAuthValue = PlayFab._internalSettings.sessionTicket;
+ else if (authAttr === "developerSecretKey")
+ defaultAuthValue = PlayFab.settings.developerSecretKey;
+ var authValue = request.AuthenticationContext ? request.AuthenticationContext[authAttr] : defaultAuthValue;
+ return {"authKey": authKey, "authValue": authValue, "authError": authError};
+ },
+
+ ExecuteRequestWrapper: function (apiURL, request, authKey, callback, customData, extraHeaders) {
+ var authValue = null;
+ if (authKey !== null){
+ var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey=authKey);
+ var authKey = authInfo.authKey, authValue = authInfo.authValue, authError = authInfo.authError;
+
+ if (!authValue) throw authError;
+ }
+ return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders);
+ }
+ }
+}
+
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
+PlayFab.GenerateErrorReport = function (error) {
+ if (error == null)
+ return "";
+ var fullErrors = error.errorMessage;
+ for (var paramName in error.errorDetails)
+ for (var msgIdx in error.errorDetails[paramName])
+ fullErrors += "\n" + paramName + ": " + error.errorDetails[paramName][msgIdx];
+ return fullErrors;
+};
+
+PlayFab.EconomyApi = {
+ ForgetAllCredentials: function () {
+ PlayFab._internalSettings.sessionTicket = null;
+ PlayFab._internalSettings.entityToken = null;
+ },
+
+ AddInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/AddInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateDraftItem: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateUploadUrls: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateUploadUrls", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteEntityItemReviews: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteInventoryCollection: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryCollection", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteItem: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ExecuteInventoryOperations: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ExecuteTransferOperations: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteTransferOperations", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetCatalogConfig: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetDraftItem: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetDraftItem", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetDraftItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetDraftItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetEntityDraftItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityDraftItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetEntityItemReview: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetInventoryCollectionIds: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryCollectionIds", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetInventoryOperationStatus: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryOperationStatus", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetItem: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetItemContainers: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemContainers", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetItemModerationState: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetItemPublishStatus: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemPublishStatus", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetItemReviews: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemReviews", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetItemReviewSummary: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemReviewSummary", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetTransactionHistory: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetTransactionHistory", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ PublishDraftItem: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ PurchaseInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/PurchaseInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ RedeemAppleAppStoreInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ RedeemAppleAppStoreWithJwsInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreWithJwsInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ RedeemGooglePlayInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ RedeemMicrosoftStoreInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemMicrosoftStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ RedeemNintendoEShopInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemNintendoEShopInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ RedeemPlayStationStoreInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemPlayStationStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ RedeemSteamInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemSteamInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ReportItem: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ReportItemReview: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItemReview", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ReviewItem: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReviewItem", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SearchItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SearchItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SetItemModerationState: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SubmitItemReviewVote: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SubtractInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/SubtractInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ TakedownItemReviews: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ TransferInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/TransferInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UpdateCatalogConfig: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UpdateDraftItem: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UpdateInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/UpdateInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+};
+
+var PlayFabEconomySDK = PlayFab.EconomyApi;
+
diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js
index 31cb5e1e..3e2f69e6 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -249,6 +241,46 @@ PlayFab.EventsApi = {
PlayFab._internalSettings.entityToken = null;
},
+ CreateTelemetryKey: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/CreateTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteDataConnection: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/DeleteDataConnection", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteTelemetryKey: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/DeleteTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetDataConnection: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/GetDataConnection", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetTelemetryKey: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/GetTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ListDataConnections: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/ListDataConnections", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ListTelemetryKeys: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/ListTelemetryKeys", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SetDataConnection: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/SetDataConnection", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SetDataConnectionActive: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/SetDataConnectionActive", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SetTelemetryKeyActive: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/SetTelemetryKeyActive", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
WriteEvents: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteEvents", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -256,6 +288,7 @@ PlayFab.EventsApi = {
WriteTelemetryEvents: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteTelemetryEvents", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
};
var PlayFabEventsSDK = PlayFab.EventsApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js
index 36b6220f..83c1e8f5 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -300,6 +292,7 @@ PlayFab.ExperimentationApi = {
UpdateExperiment: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/UpdateExperiment", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
};
var PlayFabExperimentationSDK = PlayFab.ExperimentationApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js
index 64382364..a7bc069a 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -348,6 +340,7 @@ PlayFab.GroupsApi = {
UpdateRole: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/UpdateRole", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
};
var PlayFabGroupsSDK = PlayFab.GroupsApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js
index 3f4a70e3..82e192c3 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -272,6 +264,7 @@ PlayFab.InsightsApi = {
SetStorageRetention: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/SetStorageRetention", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
};
var PlayFabInsightsSDK = PlayFab.InsightsApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js
index be36aca6..4d6e370f 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -252,6 +244,7 @@ PlayFab.LocalizationApi = {
GetLanguageList: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Locale/GetLanguageList", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
};
var PlayFabLocalizationSDK = PlayFab.LocalizationApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js
index f995af77..5296503e 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -281,6 +273,10 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithProcessBasedServer", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ CreateLobby: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/CreateLobby", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
CreateMatchmakingTicket: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -325,14 +321,34 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteContainerImageRepository", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ DeleteLobby: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/DeleteLobby", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
DeleteRemoteUser: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ DeleteSecret: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteSecret", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
EnableMultiplayerServersForTitle: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ FindFriendLobbies: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/FindFriendLobbies", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ FindLobbies: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/FindLobbies", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetAssetDownloadUrl: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetDownloadUrl", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
GetAssetUploadUrl: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -349,6 +365,10 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ GetLobby: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/GetLobby", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
GetMatch: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatch", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -397,10 +417,34 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ InviteToLobby: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/InviteToLobby", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ JoinArrangedLobby: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/JoinArrangedLobby", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ JoinLobby: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/JoinLobby", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ JoinLobbyAsServer: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/JoinLobbyAsServer", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
JoinMatchmakingTicket: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/JoinMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ LeaveLobby: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/LeaveLobby", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ LeaveLobbyAsServer: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/LeaveLobbyAsServer", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
ListArchivedMultiplayerServers: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -449,6 +493,10 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ ListSecretSummaries: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListSecretSummaries", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
ListServerBackfillTicketsForPlayer: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -465,10 +513,18 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/RemoveMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ RemoveMember: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/RemoveMember", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
RequestMultiplayerServer: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ RequestPartyService: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Party/RequestPartyService", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
RolloverContainerRegistryCredentials: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -481,6 +537,22 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ SubscribeToLobbyResource: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/SubscribeToLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SubscribeToMatchmakingResource: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/SubscribeToMatchmakingResource", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UnsubscribeFromLobbyResource: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UnsubscribeFromLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UnsubscribeFromMatchmakingResource: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/UnsubscribeFromMatchmakingResource", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
UntagContainerImage: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UntagContainerImage", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -501,9 +573,22 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ UpdateLobby: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UpdateLobby", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UpdateLobbyAsServer: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UpdateLobbyAsServer", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
UploadCertificate: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadCertificate", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
+ UploadSecret: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadSecret", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
};
var PlayFabMultiplayerSDK = PlayFab.MultiplayerApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js
index 36565fbe..4458cc60 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -265,6 +257,14 @@ PlayFab.ProfilesApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetTitlePlayersFromMasterPlayerAccountIds", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ GetTitlePlayersFromXboxLiveIDs: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetTitlePlayersFromXboxLiveIDs", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SetDisplayName: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetDisplayName", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
SetGlobalPolicy: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetGlobalPolicy", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -276,6 +276,7 @@ PlayFab.ProfilesApi = {
SetProfilePolicy: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetProfilePolicy", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
};
var PlayFabProfilesSDK = PlayFab.ProfilesApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js
similarity index 63%
rename from PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js
rename to PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js
index 7b16e38d..18a54ef9 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js
@@ -1,4 +1,4 @@
-///
+///
var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {};
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -243,32 +235,109 @@ PlayFab.GenerateErrorReport = function (error) {
return fullErrors;
};
-PlayFab.MatchmakerApi = {
+PlayFab.ProgressionApi = {
ForgetAllCredentials: function () {
PlayFab._internalSettings.sessionTicket = null;
PlayFab._internalSettings.entityToken = null;
},
- AuthUser: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/AuthUser", request, "X-SecretKey", callback, customData, extraHeaders);
+ CreateLeaderboardDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/CreateLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateStatisticDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/CreateStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteLeaderboardDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/DeleteLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteLeaderboardEntries: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/DeleteLeaderboardEntries", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteStatisticDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/DeleteStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteStatistics: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/DeleteStatistics", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetFriendLeaderboardForEntity: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetFriendLeaderboardForEntity", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetLeaderboard: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetLeaderboard", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetLeaderboardAroundEntity: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetLeaderboardAroundEntity", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetLeaderboardDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetLeaderboardForEntities: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetLeaderboardForEntities", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetStatisticDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetStatistics: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatistics", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetStatisticsForEntities: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticsForEntities", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ IncrementLeaderboardVersion: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/IncrementLeaderboardVersion", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ IncrementStatisticVersion: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/IncrementStatisticVersion", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ListLeaderboardDefinitions: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/ListLeaderboardDefinitions", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ListStatisticDefinitions: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/ListStatisticDefinitions", request, "X-EntityToken", callback, customData, extraHeaders);
},
- PlayerJoined: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerJoined", request, "X-SecretKey", callback, customData, extraHeaders);
+ UnlinkAggregationSourceFromStatistic: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/UnlinkAggregationSourceFromStatistic", request, "X-EntityToken", callback, customData, extraHeaders);
},
- PlayerLeft: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders);
+ UnlinkLeaderboardFromStatistic: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UnlinkLeaderboardFromStatistic", request, "X-EntityToken", callback, customData, extraHeaders);
},
- StartGame: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/StartGame", request, "X-SecretKey", callback, customData, extraHeaders);
+ UpdateLeaderboardDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UpdateLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
},
- UserInfo: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders);
+ UpdateLeaderboardEntries: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UpdateLeaderboardEntries", request, "X-EntityToken", callback, customData, extraHeaders);
},
+
+ UpdateStatisticDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/UpdateStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UpdateStatistics: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/UpdateStatistics", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
};
-var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi;
+var PlayFabProgressionSDK = PlayFab.ProgressionApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js
index 4c7412b5..b57d0ebd 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js
@@ -6,15 +6,7 @@ if(!PlayFab.settings) {
PlayFab.settings = {
titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
- advertisingIdType: null,
- advertisingIdValue: null,
GlobalHeaderInjection: null,
-
- // disableAdvertising is provided for completeness, but changing it is not suggested
- // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
- disableAdvertising: false,
- AD_TYPE_IDFA: "Idfa",
- AD_TYPE_ANDROID_ID: "Adid",
productionServerUrl: ".playfabapi.com"
}
}
@@ -22,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.86.210511",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.86.210511"
+ sdk: "JavaScriptSDK-1.217.260605"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}
-PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0";
-PlayFab.sdkVersion = "1.86.210511";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -261,6 +253,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddGenericID", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ AddOrUpdateContactEmail: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddOrUpdateContactEmail", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
AddPlayerTag: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -301,6 +297,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ DeletePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
DeletePushNotificationTemplate: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePushNotificationTemplate", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -309,10 +309,6 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders);
},
- DeregisterGame: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeregisterGame", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
EvaluateRandomResultTable: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/EvaluateRandomResultTable", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -321,6 +317,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ ExportPlayersInSegment: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExportPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetAllSegments: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -389,6 +389,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerCombinedInfo", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayerCustomProperty: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerCustomProperty", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayerProfile: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerProfile", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -397,10 +401,6 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders);
},
- GetPlayersInSegment: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
GetPlayerStatistics: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -413,6 +413,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerTags", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromBattleNetAccountIds: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromBattleNetAccountIds", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -425,18 +429,42 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromGenericIDs", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromNintendoServiceAccountIds: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromOpenIdSubjectIdentifiers: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromOpenIdSubjectIdentifiers", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromPSNOnlineIDs: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNOnlineIDs", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ GetPlayFabIDsFromServerCustomIDs: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromServerCustomIDs", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromSteamNames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamNames", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromTwitchIDs", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -449,6 +477,14 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetSegmentExport: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -529,18 +565,74 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LinkBattleNetAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkBattleNetAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LinkNintendoServiceAccountSubject: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccountSubject", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoSwitchDeviceId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LinkPSNAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LinkPSNId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkPSNId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LinkServerCustomId: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LinkSteamId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkSteamId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LinkTwitchAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkTwitchAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LinkXboxAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LinkXboxId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ListPlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithAndroidDeviceID: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithAndroidDeviceID", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithBattleNet: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithBattleNet", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithCustomID: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithCustomID", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithIOSDeviceID", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithPSN: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithPSN", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LoginWithServerCustomId: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -549,6 +641,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LoginWithTwitch: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithTwitch", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LoginWithXbox: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -573,26 +669,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders);
},
- NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
RedeemCoupon: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemCoupon", request, "X-SecretKey", callback, customData, extraHeaders);
},
- RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemMatchmakerTicket", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- RegisterGame: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RegisterGame", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
RemoveFriend: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveFriend", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -653,18 +733,6 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders);
},
- SetGameServerInstanceData: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceData", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- SetGameServerInstanceState: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceState", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceTags", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
SetPlayerSecret: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -689,6 +757,34 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ UnlinkApple: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkApple", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ UnlinkBattleNetAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ UnlinkFacebookAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkFacebookAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ UnlinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkFacebookInstantGamesId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkGameCenterAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoSwitchDeviceId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
UnlinkPSNAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -697,6 +793,14 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ UnlinkSteamId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkSteamId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ UnlinkTwitchAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkTwitchAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
UnlinkXboxAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -733,6 +837,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterStatistics", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ UpdatePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdatePlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdatePlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -780,6 +888,7 @@ PlayFab.ServerApi = {
WriteTitleEvent: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/WriteTitleEvent", request, "X-SecretKey", callback, customData, extraHeaders);
},
+
};
var PlayFabServerSDK = PlayFab.ServerApi;
diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts
new file mode 100644
index 00000000..0abfa783
--- /dev/null
+++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts
@@ -0,0 +1,739 @@
+///
+
+declare module PlayFabAddonModule {
+ export interface IPlayFabAddon {
+ ForgetAllCredentials(): void;
+
+ /**
+ * Creates the Apple addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple
+ */
+ CreateOrUpdateApple(request: PlayFabAddonModels.CreateOrUpdateAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Facebook addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebook
+ */
+ CreateOrUpdateFacebook(request: PlayFabAddonModels.CreateOrUpdateFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Facebook Instant Games addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebookinstantgames
+ */
+ CreateOrUpdateFacebookInstantGames(request: PlayFabAddonModels.CreateOrUpdateFacebookInstantGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Google addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdategoogle
+ */
+ CreateOrUpdateGoogle(request: PlayFabAddonModels.CreateOrUpdateGoogleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Kongregate addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatekongregate
+ */
+ CreateOrUpdateKongregate(request: PlayFabAddonModels.CreateOrUpdateKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Nintendo addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatenintendo
+ */
+ CreateOrUpdateNintendo(request: PlayFabAddonModels.CreateOrUpdateNintendoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the PSN addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatepsn
+ */
+ CreateOrUpdatePSN(request: PlayFabAddonModels.CreateOrUpdatePSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Steam addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatesteam
+ */
+ CreateOrUpdateSteam(request: PlayFabAddonModels.CreateOrUpdateSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the ToxMod addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetoxmod
+ */
+ CreateOrUpdateToxMod(request: PlayFabAddonModels.CreateOrUpdateToxModRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Twitch addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetwitch
+ */
+ CreateOrUpdateTwitch(request: PlayFabAddonModels.CreateOrUpdateTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Apple addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deleteapple
+ */
+ DeleteApple(request: PlayFabAddonModels.DeleteAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Facebook addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebook
+ */
+ DeleteFacebook(request: PlayFabAddonModels.DeleteFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Facebook addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebookinstantgames
+ */
+ DeleteFacebookInstantGames(request: PlayFabAddonModels.DeleteFacebookInstantGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Google addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletegoogle
+ */
+ DeleteGoogle(request: PlayFabAddonModels.DeleteGoogleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Kongregate addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletekongregate
+ */
+ DeleteKongregate(request: PlayFabAddonModels.DeleteKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Nintendo addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletenintendo
+ */
+ DeleteNintendo(request: PlayFabAddonModels.DeleteNintendoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the PSN addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletepsn
+ */
+ DeletePSN(request: PlayFabAddonModels.DeletePSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Steam addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletesteam
+ */
+ DeleteSteam(request: PlayFabAddonModels.DeleteSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the ToxMod addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetoxmod
+ */
+ DeleteToxMod(request: PlayFabAddonModels.DeleteToxModRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Twitch addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetwitch
+ */
+ DeleteTwitch(request: PlayFabAddonModels.DeleteTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Apple addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getapple
+ */
+ GetApple(request: PlayFabAddonModels.GetAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Facebook addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebook
+ */
+ GetFacebook(request: PlayFabAddonModels.GetFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Facebook Instant Games addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebookinstantgames
+ */
+ GetFacebookInstantGames(request: PlayFabAddonModels.GetFacebookInstantGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Google addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getgoogle
+ */
+ GetGoogle(request: PlayFabAddonModels.GetGoogleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Kongregate addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getkongregate
+ */
+ GetKongregate(request: PlayFabAddonModels.GetKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Nintendo addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getnintendo
+ */
+ GetNintendo(request: PlayFabAddonModels.GetNintendoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the PSN addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getpsn
+ */
+ GetPSN(request: PlayFabAddonModels.GetPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Steam addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getsteam
+ */
+ GetSteam(request: PlayFabAddonModels.GetSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the ToxMod addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/gettoxmod
+ */
+ GetToxMod(request: PlayFabAddonModels.GetToxModRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Twitch addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch
+ */
+ GetTwitch(request: PlayFabAddonModels.GetTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+
+ }
+}
+
+declare module PlayFabAddonModels {
+ export interface CreateOrUpdateAppleRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Allow validation of receipts from the Apple production environment. Required for app releases. */
+ AllowProduction?: boolean;
+ /** Allow validation of receipts from the Apple sandbox environment. Typically used while testing. */
+ AllowSandbox?: boolean;
+ /** iOS App Bundle ID obtained after setting up your app in the App Store. */
+ AppBundleId: string;
+ /** AppId obtained after setting up your app in the App Store. */
+ AppId?: string;
+ /** iOS App Shared Secret obtained after setting up your app in the App Store. */
+ AppSharedSecret?: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /**
+ * Ignore expiration date for identity tokens. Be aware that when set to true this can invalidate expired tokens in the
+ * case where Apple rotates their signing keys.
+ */
+ IgnoreExpirationDate?: boolean;
+ /** IssuerId obtained after setting up your app in the App Store. */
+ IssuerId?: string;
+ /** KeyId obtained after setting up your app in the App Store. */
+ KeyId?: string;
+ /** PrivateKey obtained after setting up your app in the App Store. */
+ PrivateKey?: string;
+ /** Require secure authentication only for this app. */
+ RequireSecureAuthentication?: boolean;
+
+ }
+
+ export interface CreateOrUpdateAppleResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateFacebookInstantGamesRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Facebook App ID obtained after setting up your app in Facebook Instant Games. */
+ AppID: string;
+ /** Facebook App Secret obtained after setting up your app in Facebook Instant Games. */
+ AppSecret: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+
+ }
+
+ export interface CreateOrUpdateFacebookInstantGamesResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateFacebookRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Facebook App ID obtained after setting up your app in Facebook. */
+ AppID: string;
+ /** Facebook App Secret obtained after setting up your app in Facebook. */
+ AppSecret: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /** Email address for purchase dispute notifications. */
+ NotificationEmail: string;
+
+ }
+
+ export interface CreateOrUpdateFacebookResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateGoogleRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /**
+ * Google App License Key obtained after setting up your app in the Google Play developer portal. Required if using Google
+ * receipt validation.
+ */
+ AppLicenseKey?: string;
+ /**
+ * Google App Package ID obtained after setting up your app in the Google Play developer portal. Required if using Google
+ * receipt validation.
+ */
+ AppPackageID?: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /**
+ * Google OAuth Client ID obtained through the Google Developer Console by creating a new set of "OAuth Client ID".
+ * Required if using Google Authentication.
+ */
+ OAuthClientID?: string;
+ /**
+ * Google OAuth Client Secret obtained through the Google Developer Console by creating a new set of "OAuth Client ID".
+ * Required if using Google Authentication.
+ */
+ OAuthClientSecret?: string;
+ /**
+ * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to
+ * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own
+ * domain.
+ */
+ OAuthCustomRedirectUri?: string;
+ /** Needed to enable pending purchase handling and subscription processing. */
+ ServiceAccountKey?: string;
+
+ }
+
+ export interface CreateOrUpdateGoogleResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateKongregateRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /** Kongregate Secret API Key obtained after setting up your game in your Kongregate developer account. */
+ SecretAPIKey: string;
+
+ }
+
+ export interface CreateOrUpdateKongregateResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateNintendoRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Nintendo Switch Application ID, without the "0x" prefix. */
+ ApplicationID?: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** List of Nintendo Environments, currently supporting up to 4. Needs Catalog enabled. */
+ Environments?: NintendoEnvironment[];
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /** List of Nintendo Subscription Environments, currently supporting up to 4. Needs Catalog enabled. */
+ SubscriptionEnvironments?: NintendoEnvironment[];
+
+ }
+
+ export interface CreateOrUpdateNintendoResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdatePSNRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Client ID obtained after setting up your game with Sony. This one is associated with the existing PS4 marketplace. */
+ ClientID?: string;
+ /** Client secret obtained after setting up your game with Sony. This one is associated with the existing PS4 marketplace. */
+ ClientSecret?: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /**
+ * Client ID obtained after setting up your game with Sony. This one is associated with the modern marketplace, which
+ * includes PS5, cross-generation for PS4, and unified entitlements.
+ */
+ NextGenClientID?: string;
+ /**
+ * Client secret obtained after setting up your game with Sony. This one is associated with the modern marketplace, which
+ * includes PS5, cross-generation for PS4, and unified entitlements.
+ */
+ NextGenClientSecret?: string;
+
+ }
+
+ export interface CreateOrUpdatePSNResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateSteamRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Application ID obtained after setting up your app in Valve's developer portal. */
+ ApplicationId: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** Enforce usage of AzurePlayFab identity in user authentication tickets. */
+ EnforceServiceSpecificTickets?: boolean;
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /** Sercet Key obtained after setting up your app in Valve's developer portal. */
+ SecretKey: string;
+ /** Use Steam Payments sandbox endpoint for test transactions. */
+ UseSandbox?: boolean;
+
+ }
+
+ export interface CreateOrUpdateSteamResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateToxModRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Account ID obtained after creating your ToxMod developer account. */
+ AccountId: string;
+ /** Account Key obtained after creating your ToxMod developer account. */
+ AccountKey: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** Whether ToxMod Addon is Enabled by Title. */
+ Enabled: boolean;
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+
+ }
+
+ export interface CreateOrUpdateToxModResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateTwitchRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Client ID obtained after creating your Twitch developer account. */
+ ClientID?: string;
+ /** Client Secret obtained after creating your Twitch developer account. */
+ ClientSecret?: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+
+ }
+
+ export interface CreateOrUpdateTwitchResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteAppleRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeleteAppleResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteFacebookInstantGamesRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeleteFacebookInstantGamesResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteFacebookRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeleteFacebookResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteGoogleRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeleteGoogleResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteKongregateRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeleteKongregateResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteNintendoRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeleteNintendoResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeletePSNRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeletePSNResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteSteamRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeleteSteamResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteToxModRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeleteToxModResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteTwitchRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface DeleteTwitchResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface EntityKey {
+ /** Unique ID of the entity. */
+ Id: string;
+ /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */
+ Type?: string;
+
+ }
+
+ export interface GetAppleRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetAppleResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** iOS App Bundle ID obtained after setting up your app in the App Store. */
+ AppBundleId?: string;
+ /** Addon status. */
+ Created: boolean;
+ /** Ignore expiration date for identity tokens. */
+ IgnoreExpirationDate?: boolean;
+ /** Require secure authentication only for this app. */
+ RequireSecureAuthentication?: boolean;
+
+ }
+
+ export interface GetFacebookInstantGamesRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetFacebookInstantGamesResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Facebook App ID obtained after setting up your app in Facebook Instant Games. */
+ AppID?: string;
+ /** Addon status. */
+ Created: boolean;
+
+ }
+
+ export interface GetFacebookRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetFacebookResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Facebook App ID obtained after setting up your app in Facebook. */
+ AppID?: string;
+ /** Addon status. */
+ Created: boolean;
+ /** Email address for purchase dispute notifications. */
+ NotificationEmail?: string;
+
+ }
+
+ export interface GetGoogleRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetGoogleResponse extends PlayFabModule.IPlayFabResultCommon {
+ /**
+ * Google App Package ID obtained after setting up your app in the Google Play developer portal. Required if using Google
+ * receipt validation.
+ */
+ AppPackageID?: string;
+ /** Addon status. */
+ Created: boolean;
+ /**
+ * Google OAuth Client ID obtained through the Google Developer Console by creating a new set of "OAuth Client ID".
+ * Required if using Google Authentication.
+ */
+ OAuthClientID?: string;
+ /**
+ * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to
+ * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own
+ * domain.
+ */
+ OauthCustomRedirectUri?: string;
+
+ }
+
+ export interface GetKongregateRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetKongregateResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Addon status. */
+ Created: boolean;
+
+ }
+
+ export interface GetNintendoRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetNintendoResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Nintendo Switch Application ID, without the "0x" prefix. */
+ ApplicationID?: string;
+ /** Addon status. */
+ Created: boolean;
+ /** List of Nintendo Environments, currently supporting up to 4. */
+ Environments?: NintendoEnvironment[];
+ /** List of Nintendo Subscription Environments associated to a secondary AppId, currently supporting up to 4. */
+ SecondarySubscriptionEnvironments?: NintendoEnvironment[];
+ /** List of Nintendo Subscription Environments, currently supporting up to 4. */
+ SubscriptionEnvironments?: NintendoEnvironment[];
+
+ }
+
+ export interface GetPSNRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetPSNResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Client ID obtained after setting up your game with Sony. This one is associated with the existing PS4 marketplace. */
+ ClientID?: string;
+ /** Addon status. */
+ Created: boolean;
+ /**
+ * Client ID obtained after setting up your game with Sony. This one is associated with the modern marketplace, which
+ * includes PS5, cross-generation for PS4, and unified entitlements.
+ */
+ NextGenClientID?: string;
+
+ }
+
+ export interface GetSteamRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetSteamResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Application ID obtained after setting up your game in Valve's developer portal. */
+ ApplicationId?: string;
+ /** Addon status. */
+ Created: boolean;
+ /** Enforce usage of AzurePlayFab identity in user authentication tickets. */
+ EnforceServiceSpecificTickets?: boolean;
+ /** Use Steam Payments sandbox endpoint for test transactions. */
+ UseSandbox?: boolean;
+
+ }
+
+ export interface GetToxModRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetToxModResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Account ID obtained after creating your Twitch developer account. */
+ AccountId?: string;
+ /** Account Key obtained after creating your Twitch developer account. */
+ AccountKey?: string;
+ /** Addon status. */
+ Created: boolean;
+ /** Whether the ToxMod Addon is enabled by the title. */
+ Enabled: boolean;
+
+ }
+
+ export interface GetTwitchRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+
+ }
+
+ export interface GetTwitchResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Client ID obtained after creating your Twitch developer account. */
+ ClientID?: string;
+ /** Addon status. */
+ Created: boolean;
+
+ }
+
+ export interface NintendoEnvironment {
+ /** Client ID for the Nintendo Environment. */
+ ClientID?: string;
+ /** Client Secret for the Nintendo Environment. */
+ ClientSecret?: string;
+ /** ID for the Nintendo Environment. */
+ ID?: string;
+
+ }
+
+
+}
diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts
index 7d66dc50..8a96312d 100644
--- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts
+++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts
@@ -8,610 +8,640 @@ declare module PlayFabAdminModule {
* Abort an ongoing task instance.
* https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/aborttaskinstance
*/
- AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Update news item to include localized version
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addlocalizednews
*/
- AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Adds a new news item to the title's news feed
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addnews
*/
- AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag.
* https://docs.microsoft.com/rest/api/playfab/admin/playstream/addplayertag
*/
- AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a
- * client is permitted to request in a call to StartGame
- * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/addserverbuild
- */
- AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
- /**
- * Increments the specified virtual currency by the stated amount
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Increments the specified virtual currency by the stated amount
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/adduservirtualcurrency
*/
- AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Adds one or more virtual currencies to the set defined for the title. Virtual Currencies have a maximum value of
- * 2,147,483,647 when granted to a player. Any value over that will be discarded.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Adds one or more virtual currencies to the set defined for the title. Virtual Currencies have a maximum
+ * value of 2,147,483,647 when granted to a player. Any value over that will be discarded.
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addvirtualcurrencytypes
*/
- AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game.
+ * Bans users by PlayFab ID with optional IP address for the provided game.
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/banusers
*/
- BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Checks the global count for the limited edition item.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Checks the global count for the limited edition item.
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/checklimitededitionitemavailability
*/
- CheckLimitedEditionItemAvailability(request: PlayFabAdminModels.CheckLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ CheckLimitedEditionItemAvailability(request: PlayFabAdminModels.CheckLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action.
* https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createactionsonplayersinsegmenttask
*/
- CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Create a CloudScript task, which can run a CloudScript on a schedule.
* https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createcloudscripttask
*/
- CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Create a Insights Scheduled Scaling task, which can scale Insights Performance Units on a schedule
* https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createinsightsscheduledscalingtask
*/
- CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Registers a relationship between a title and an Open ID Connect provider.
* https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection
*/
- CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after
* this API returns.
* https://docs.microsoft.com/rest/api/playfab/admin/authentication/createplayersharedsecret
*/
- CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval
* and an aggregation method.
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/createplayerstatisticdefinition
*/
- CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Creates a new player segment by defining the conditions on player properties. Also, create actions to target the player
* segments for a title.
* https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment
*/
- CreateSegment(request: PlayFabAdminModels.CreateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ CreateSegment(request: PlayFabAdminModels.CreateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Delete a content file from the title. When deleting a file that does not exist, it returns success.
* https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent
*/
- DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Removes a master player account entirely from all titles and deletes all associated data
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemasterplayeraccount
*/
- DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes PlayStream and telemetry event data associated with the master player account from PlayFab storage
+ * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemasterplayereventdata
+ */
+ DeleteMasterPlayerEventData(request: PlayFabAdminModels.DeleteMasterPlayerEventDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes a player's subscription
+ * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemembershipsubscription
+ */
+ DeleteMembershipSubscription(request: PlayFabAdminModels.DeleteMembershipSubscriptionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Removes a relationship between a title and an OpenID Connect provider.
* https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteopenidconnection
*/
- DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Removes a user's player account from a title and deletes all associated data
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/deleteplayer
*/
- DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes title-specific custom properties for a player
+ * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/deleteplayercustomproperties
+ */
+ DeletePlayerCustomProperties(request: PlayFabAdminModels.DeletePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API
* returns.
* https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteplayersharedsecret
*/
- DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Deletes an existing player segment and its associated action(s) for a title.
* https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment
*/
- DeleteSegment(request: PlayFabAdminModels.DeleteSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeleteSegment(request: PlayFabAdminModels.DeleteSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Deletes an existing virtual item store
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Deletes an existing virtual item store
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletestore
*/
- DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Delete a task.
* https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/deletetask
*/
- DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Permanently deletes a title and all associated configuration
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletetitle
*/
- DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Deletes a specified set of title data overrides.
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletetitledataoverride
*/
- DeleteTitleDataOverride(request: PlayFabAdminModels.DeleteTitleDataOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ DeleteTitleDataOverride(request: PlayFabAdminModels.DeleteTitleDataOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Exports all associated data of a master player account
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/exportmasterplayerdata
*/
- ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Starts an export for the player profiles in a segment. This API creates a snapshot of all the player profiles which
+ * match the segment definition at the time of the API call. Profiles which change while an export is in progress will not
+ * be reflected in the results.
+ * https://docs.microsoft.com/rest/api/playfab/admin/playstream/exportplayersinsegment
+ */
+ ExportPlayersInSegment(request: PlayFabAdminModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Get information about a ActionsOnPlayersInSegment task instance.
* https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getactionsonplayersinsegmenttaskinstance
*/
- GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as
- * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change.
+ * ExportPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not
+ * change.
* https://docs.microsoft.com/rest/api/playfab/admin/playstream/getallsegments
*/
- GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getcatalogitems
*/
- GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Gets the contents and information of a specific Cloud Script revision.
* https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptrevision
*/
- GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Get detail information about a CloudScript task instance.
* https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getcloudscripttaskinstance
*/
- GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Lists all the current cloud script versions. For each version, information about the current published and latest
* revisions is also listed.
* https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptversions
*/
- GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* List all contents of the title and get statistics such as size
* https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentlist
*/
- GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the
* content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN
* rates apply.
* https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentuploadurl
*/
- GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves a download URL for the requested report
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getdatareport
*/
- GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
- /**
- * Retrieves the details for a specific completed session, including links to standard out and standard error logs
- * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/getmatchmakergameinfo
- */
- GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
- /**
- * Retrieves the details of defined game modes for the specified game server executable
- * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/getmatchmakergamemodes
- */
- GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Get the list of titles that the player has played
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayedtitlelist
*/
- GetPlayedTitleList(request: PlayFabAdminModels.GetPlayedTitleListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPlayedTitleList(request: PlayFabAdminModels.GetPlayedTitleListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Retrieves a title-specific custom property value for a player.
+ * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayercustomproperty
+ */
+ GetPlayerCustomProperty(request: PlayFabAdminModels.GetPlayerCustomPropertyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Gets a player's ID from an auth token.
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayeridfromauthtoken
*/
- GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the player's profile
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayerprofile
*/
- GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* List all segments that a player currently belongs to at this moment in time.
* https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersegments
*/
- GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Returns all Player Shared Secret Keys including disabled and expired.
* https://docs.microsoft.com/rest/api/playfab/admin/authentication/getplayersharedsecrets
*/
- GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
- /**
- * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match
- * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span
- * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected
- * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being
- * called 30 times in one minute. You will be returned an error if you exceed this threshold.
- * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersinsegment
- */
- GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have
* a reset interval.
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticdefinitions
*/
- GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the information on the available versions of the specified statistic.
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticversions
*/
- GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Get all tags with a given Namespace (optional) from a player profile.
* https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayertags
*/
- GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Gets the requested policy.
* https://docs.microsoft.com/rest/api/playfab/admin/authentication/getpolicy
*/
- GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the key-value store of custom publisher settings
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getpublisherdata
*/
- GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the random drop table configuration for the title
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the random drop table configuration for the title
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getrandomresulttables
*/
- GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Get detail information of a segment and its associated definition(s) and action(s) for a title.
- * https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments
+ * Retrieves the result of an export started by ExportPlayersInSegment API. If the ExportPlayersInSegment is successful and
+ * complete, this API returns the IndexUrl from which the index file can be downloaded. The index file has a list of urls
+ * from which the files containing the player profile data can be downloaded. Otherwise, it returns the current 'State' of
+ * the export
+ * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentexport
*/
- GetSegments(request: PlayFabAdminModels.GetSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the build details for the specified game server executable
- * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo
+ * Returns the total number of players in a given segment.
+ * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentplayercount
*/
- GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetSegmentPlayerCount(request: PlayFabAdminModels.GetSegmentPlayerCountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for
- * use - see AddServerBuild)
- * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuilduploadurl
+ * Get detail information of a segment and its associated definition(s) and action(s) for a title.
+ * https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments
*/
- GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetSegments(request: PlayFabAdminModels.GetSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the set of items defined for the specified store, including all prices defined
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the set of items defined for the specified store, including all prices defined
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getstoreitems
*/
- GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Query for task instances by task, status, or time range.
* https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettaskinstances
*/
- GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Get definition information on a specified task or all tasks within a title.
* https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettasks
*/
- GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the key-value store of custom title settings which can be read by the client
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitledata
*/
- GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the key-value store of custom title settings which cannot be read by the client
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitleinternaldata
*/
- GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuseraccountinfo
*/
- GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Gets all bans for a user.
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuserbans
*/
- GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the title-specific custom data for the user which is readable and writable by the client
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserdata
*/
- GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the title-specific custom data for the user which cannot be accessed by the client
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserinternaldata
*/
- GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the specified user's current inventory of virtual goods
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the specified user's current inventory of virtual goods
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/getuserinventory
*/
- GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the publisher-specific custom data for the user which is readable and writable by the client
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherdata
*/
- GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void;
+ GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the publisher-specific custom data for the user which cannot be accessed by the client
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherinternaldata
*/
- GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback