From 97a5a9422016e757107cfef081181a6a6ae19fa9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 30 Jul 2021 15:33:29 +0200 Subject: [PATCH] Update dependency SteamKit2 to v2.4.0-Alpha.3 (#2392) * Update dependency SteamKit2 to v2.4.0-Alpha.3 * Address SK2 breaking changes Co-authored-by: Renovate Bot Co-authored-by: Archi --- .../SteamTokenDumperPlugin.cs | 2 +- ArchiSteamFarm/Steam/Bot.cs | 4 ++-- Directory.Packages.props | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs b/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs index 3dd8a84cb..c7962a535 100644 --- a/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs +++ b/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs @@ -387,7 +387,7 @@ namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper { AsyncJobMultiple.ResultSet response; try { - response = await bot.SteamApps.PICSGetProductInfo(appIDsThisRound.Select(appID => new SteamApps.PICSRequest { ID = appID, AccessToken = GlobalCache.GetAppToken(appID), Public = false }), Enumerable.Empty()).ToLongRunningTask().ConfigureAwait(false); + response = await bot.SteamApps.PICSGetProductInfo(appIDsThisRound.Select(appID => new SteamApps.PICSRequest(appID, GlobalCache.GetAppToken(appID))), Enumerable.Empty()).ToLongRunningTask().ConfigureAwait(false); } catch (Exception e) { bot.ArchiLogger.LogGenericWarningException(e); diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 221c36df8..58ddf8842 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -1020,7 +1020,7 @@ namespace ArchiSteamFarm.Steam { return (optimisticDiscovery ? appID : 0, DateTime.MinValue, true); } - SteamApps.PICSRequest request = new(appID, tokenCallback.AppTokens.TryGetValue(appID, out ulong accessToken) ? accessToken : 0, false); + SteamApps.PICSRequest request = new(appID, tokenCallback.AppTokens.TryGetValue(appID, out ulong accessToken) ? accessToken : 0); AsyncJobMultiple.ResultSet? productInfoResultSet = null; @@ -1157,7 +1157,7 @@ namespace ArchiSteamFarm.Steam { continue; } - packageRequests.Add(new SteamApps.PICSRequest(packageID, packageAccessToken, false)); + packageRequests.Add(new SteamApps.PICSRequest(packageID, packageAccessToken)); } if (packageRequests.Count == 0) { diff --git a/Directory.Packages.props b/Directory.Packages.props index fa90e9d95..019d4f8fa 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -13,7 +13,7 @@ - +