From 1f3e861612ac2749befeb608db095ffd66eb2048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20G=C3=B6ls?= <6608231+Abrynos@users.noreply.github.com> Date: Sat, 12 Mar 2022 22:16:45 +0100 Subject: [PATCH] Correctly detect steam deck keyboard skins (#2535) --- ArchiSteamFarm/Steam/Data/Asset.cs | 3 ++- ArchiSteamFarm/Steam/Data/InventoryResponse.cs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Steam/Data/Asset.cs b/ArchiSteamFarm/Steam/Data/Asset.cs index d014ae781..16fa98ae8 100644 --- a/ArchiSteamFarm/Steam/Data/Asset.cs +++ b/ArchiSteamFarm/Steam/Data/Asset.cs @@ -256,6 +256,7 @@ public sealed class Asset { ChatEffect, MiniProfileBackground, AvatarProfileFrame, - AnimatedAvatar + AnimatedAvatar, + KeyboardSkin } } diff --git a/ArchiSteamFarm/Steam/Data/InventoryResponse.cs b/ArchiSteamFarm/Steam/Data/InventoryResponse.cs index ad5da4473..7ca733a54 100644 --- a/ArchiSteamFarm/Steam/Data/InventoryResponse.cs +++ b/ArchiSteamFarm/Steam/Data/InventoryResponse.cs @@ -180,6 +180,8 @@ internal sealed class InventoryResponse : ResultResponse { return Asset.EType.AvatarProfileFrame; case "item_class_15": return Asset.EType.AnimatedAvatar; + case "item_class_16": + return Asset.EType.KeyboardSkin; default: ASF.ArchiLogger.LogGenericError(string.Format(CultureInfo.CurrentCulture, Strings.WarningUnknownValuePleaseReport, nameof(tag.Value), tag.Value));