Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200518
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed May 18, 2020
1 parent b7d7148 commit fcb2c45
Show file tree
Hide file tree
Showing 9 changed files with 468 additions and 16 deletions.
6 changes: 3 additions & 3 deletions PlayFabSdk/Scripts/PlayFab/PlayFab.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
var url = require("url");
var https = require("https");

exports.sdk_version = "2.46.200422";
exports.buildIdentifier = "jbuild_nodesdk__sdk-genericslave-3_0";
exports.sdk_version = "2.47.200518";
exports.buildIdentifier = "jbuild_nodesdk__sdk-genericslave-3_2";

var settings = (exports.settings = {
productionUrl: ".playfabapi.com",
Expand All @@ -27,7 +27,7 @@ var _internalSettings = (exports._internalSettings = {
entityToken: null,
sessionTicket: null,
requestGetParams: {
sdk: "JavaScriptSDK-2.46.200422",
sdk: "JavaScriptSDK-2.47.200518",
},
});

Expand Down
56 changes: 56 additions & 0 deletions PlayFabSdk/Scripts/PlayFab/PlayFabMultiplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,20 @@ exports.GetMatch = function (request, callback) {
);
};

exports.GetMatchmakingQueue = function (request, callback) {
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Match/GetMatchmakingQueue",
request,
"X-EntityToken",
PlayFab._internalSettings.entityToken,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

exports.GetMatchmakingTicket = function (request, callback) {
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Match/GetMatchmakingTicket",
Expand Down Expand Up @@ -578,6 +592,20 @@ exports.ListContainerImageTags = function (request, callback) {
);
};

exports.ListMatchmakingQueues = function (request, callback) {
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Match/ListMatchmakingQueues",
request,
"X-EntityToken",
PlayFab._internalSettings.entityToken,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

exports.ListMatchmakingTicketsForPlayer = function (request, callback) {
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Match/ListMatchmakingTicketsForPlayer",
Expand Down Expand Up @@ -679,6 +707,20 @@ exports.ListVirtualMachineSummaries = function (request, callback) {
);
};

exports.RemoveMatchmakingQueue = function (request, callback) {
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Match/RemoveMatchmakingQueue",
request,
"X-EntityToken",
PlayFab._internalSettings.entityToken,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

exports.RequestMultiplayerServer = function (request, callback) {
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/MultiplayerServer/RequestMultiplayerServer",
Expand Down Expand Up @@ -707,6 +749,20 @@ exports.RolloverContainerRegistryCredentials = function (request, callback) {
);
};

exports.SetMatchmakingQueue = function (request, callback) {
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Match/SetMatchmakingQueue",
request,
"X-EntityToken",
PlayFab._internalSettings.entityToken,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

exports.ShutdownMultiplayerServer = function (request, callback) {
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/MultiplayerServer/ShutdownMultiplayerServer",
Expand Down
3 changes: 3 additions & 0 deletions PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,8 @@ declare module PlayFabAdminModels {
| "XboxServiceTooManyRequests"
| "NintendoSwitchNotEnabledForTitle"
| "RequestMultiplayerServersThrottledFromRateLimiter"
| "TitleDataInstanceNotFound"
| "DuplicateTitleDataOverrideInstanceName"
| "MatchmakingEntityInvalid"
| "MatchmakingPlayerAttributesInvalid"
| "MatchmakingQueueNotFound"
Expand Down Expand Up @@ -2279,6 +2281,7 @@ declare module PlayFabAdminModels {
| "ExperimentationInvalidDuration"
| "ExperimentationMaxExperimentsReached"
| "ExperimentationExperimentSchedulingInProgress"
| "ExperimentationExistingCodelessScheduled"
| "MaxActionDepthExceeded"
| "TitleNotOnUpdatedPricingPlan"
| "SnapshotNotFound";
Expand Down
6 changes: 5 additions & 1 deletion PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4371,7 +4371,11 @@ declare module PlayFabClientModels {

export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon {}

export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon {}
export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon {
// Valid token issued by Twitch. Used to specify which twitch account to unlink from the profile. By default it uses the
// one that is present on the profile.
AccessToken?: string;
}

export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ declare module PlayFabExperimentationModels {
IsControl: boolean;
// Name of the variant.
Name: string;
// Id of the TitleDataOverrideGroup to use with this variant.
TitleDataOverrideId?: string;
// Percentage of target audience traffic that will see this variant.
TrafficPercentage: number;
// Variables returned by this variant.
Expand Down
Loading

0 comments on commit fcb2c45

Please sign in to comment.