Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230915
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Sep 19, 2023
2 parents 64f994b + ea55f4a commit 35bc0be
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 989 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.135.230901";
exports.buildIdentifier = "adobuild_nodesdk_118";
exports.sdk_version = "2.136.230915";
exports.buildIdentifier = "adobuild_nodesdk_114";

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

Expand Down
60 changes: 0 additions & 60 deletions PlayFabSdk/Scripts/PlayFab/PlayFabAdmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -650,46 +650,6 @@ exports.GetDataReport = function (request, callback) {
);
};

/**
* @deprecated Please use MultiplayerServer/GetMultiplayerSessionLogsBySessionId instead.
*/
exports.GetMatchmakerGameInfo = function (request, callback) {
if (PlayFab.settings.developerSecretKey == null) {
throw "Must have PlayFab.settings.DeveloperSecretKey set to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Admin/GetMatchmakerGameInfo",
request,
"X-SecretKey",
PlayFab.settings.developerSecretKey,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

/**
* @deprecated Do not use
*/
exports.GetMatchmakerGameModes = function (request, callback) {
if (PlayFab.settings.developerSecretKey == null) {
throw "Must have PlayFab.settings.DeveloperSecretKey set to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Admin/GetMatchmakerGameModes",
request,
"X-SecretKey",
PlayFab.settings.developerSecretKey,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

exports.GetPlayedTitleList = function (request, callback) {
if (PlayFab.settings.developerSecretKey == null) {
throw "Must have PlayFab.settings.DeveloperSecretKey set to call this method";
Expand Down Expand Up @@ -1251,26 +1211,6 @@ exports.ListVirtualCurrencyTypes = function (request, callback) {
);
};

/**
* @deprecated Do not use
*/
exports.ModifyServerBuild = function (request, callback) {
if (PlayFab.settings.developerSecretKey == null) {
throw "Must have PlayFab.settings.DeveloperSecretKey set to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Admin/ModifyServerBuild",
request,
"X-SecretKey",
PlayFab.settings.developerSecretKey,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

exports.RefundPurchase = function (request, callback) {
if (PlayFab.settings.developerSecretKey == null) {
throw "Must have PlayFab.settings.DeveloperSecretKey set to call this method";
Expand Down
60 changes: 0 additions & 60 deletions PlayFabSdk/Scripts/PlayFab/PlayFabClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,26 +484,6 @@ exports.GetContentDownloadUrl = function (request, callback) {
);
};

/**
* @deprecated Please use MultiplayerServer/ListMultiplayerServers instead.
*/
exports.GetCurrentGames = function (request, callback) {
if (PlayFab._internalSettings.sessionTicket == null) {
throw "Must be logged in to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Client/GetCurrentGames",
request,
"X-Authorization",
PlayFab._internalSettings.sessionTicket,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

exports.GetFriendLeaderboard = function (request, callback) {
if (PlayFab._internalSettings.sessionTicket == null) {
throw "Must be logged in to call this method";
Expand Down Expand Up @@ -555,26 +535,6 @@ exports.GetFriendsList = function (request, callback) {
);
};

/**
* @deprecated Please use MultiplayerServer/ListMultiplayerServers instead.
*/
exports.GetGameServerRegions = function (request, callback) {
if (PlayFab._internalSettings.sessionTicket == null) {
throw "Must be logged in to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Client/GetGameServerRegions",
request,
"X-Authorization",
PlayFab._internalSettings.sessionTicket,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

exports.GetLeaderboard = function (request, callback) {
if (PlayFab._internalSettings.sessionTicket == null) {
throw "Must be logged in to call this method";
Expand Down Expand Up @@ -1976,26 +1936,6 @@ exports.LoginWithXbox = function (request, callback) {
);
};

/**
* @deprecated Please use Match/CreateMatchmakingTicket instead.
*/
exports.Matchmake = function (request, callback) {
if (PlayFab._internalSettings.sessionTicket == null) {
throw "Must be logged in to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Client/Matchmake",
request,
"X-Authorization",
PlayFab._internalSettings.sessionTicket,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

exports.OpenTrade = function (request, callback) {
if (PlayFab._internalSettings.sessionTicket == null) {
throw "Must be logged in to call this method";
Expand Down
80 changes: 0 additions & 80 deletions PlayFabSdk/Scripts/PlayFab/PlayFabMatchmaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,83 +4,3 @@ var PlayFab = require("./PlayFab.js");

exports.settings = PlayFab.settings;

/**
* @deprecated Do not use
*/
exports.AuthUser = function (request, callback) {
if (PlayFab.settings.developerSecretKey == null) {
throw "Must have PlayFab.settings.DeveloperSecretKey set to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Matchmaker/AuthUser",
request,
"X-SecretKey",
PlayFab.settings.developerSecretKey,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

/**
* @deprecated Do not use
*/
exports.PlayerJoined = function (request, callback) {
if (PlayFab.settings.developerSecretKey == null) {
throw "Must have PlayFab.settings.DeveloperSecretKey set to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Matchmaker/PlayerJoined",
request,
"X-SecretKey",
PlayFab.settings.developerSecretKey,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

/**
* @deprecated Do not use
*/
exports.PlayerLeft = function (request, callback) {
if (PlayFab.settings.developerSecretKey == null) {
throw "Must have PlayFab.settings.DeveloperSecretKey set to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Matchmaker/PlayerLeft",
request,
"X-SecretKey",
PlayFab.settings.developerSecretKey,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

/**
* @deprecated Do not use
*/
exports.UserInfo = function (request, callback) {
if (PlayFab.settings.developerSecretKey == null) {
throw "Must have PlayFab.settings.DeveloperSecretKey set to call this method";
}
PlayFab.MakeRequest(
PlayFab.GetServerUrl() + "/Matchmaker/UserInfo",
request,
"X-SecretKey",
PlayFab.settings.developerSecretKey,
function (error, result) {
if (callback != null) {
callback(error, result);
}
},
);
};

Loading

0 comments on commit 35bc0be

Please sign in to comment.