Add consumable type

This commit is contained in:
JustArchi 2019-01-11 04:10:42 +01:00
parent ea692af4a6
commit fd933d166a
2 changed files with 6 additions and 1 deletions

View file

@ -2277,6 +2277,10 @@ namespace ArchiSteamFarm {
return Steam.Asset.EType.SteamGems;
default:
if (name.EndsWith("Consumable", StringComparison.Ordinal)) {
return Steam.Asset.EType.Consumable;
}
if (name.EndsWith("Emoticon", StringComparison.Ordinal)) {
return Steam.Asset.EType.Emoticon;
}

View file

@ -181,7 +181,8 @@ namespace ArchiSteamFarm.Json {
ProfileBackground,
TradingCard,
SteamGems,
SaleItem
SaleItem,
Consumable
}
}