Correctly detect steam deck keyboard skins (#2535)

This commit is contained in:
Sebastian Göls 2022-03-12 22:16:45 +01:00 committed by GitHub
parent 159b0620a7
commit 1f3e861612
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -256,6 +256,7 @@ public sealed class Asset {
ChatEffect,
MiniProfileBackground,
AvatarProfileFrame,
AnimatedAvatar
AnimatedAvatar,
KeyboardSkin
}
}

View file

@ -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));