Rewrite ASF inventory fetching into new endpoint, #646

This commit is contained in:
JustArchi
2017-09-17 18:01:17 +02:00
parent c37123e66b
commit 035b70458e
8 changed files with 352 additions and 376 deletions

View File

@@ -96,15 +96,15 @@ namespace ArchiSteamFarm {
#pragma warning restore 649
[JsonProperty(ObjectCreationHandling = ObjectCreationHandling.Replace, Required = Required.DisallowNull)]
internal readonly HashSet<Steam.Item.EType> LootableTypes = new HashSet<Steam.Item.EType> {
Steam.Item.EType.BoosterPack,
Steam.Item.EType.FoilTradingCard,
Steam.Item.EType.TradingCard
internal readonly HashSet<Steam.Asset.EType> LootableTypes = new HashSet<Steam.Asset.EType> {
Steam.Asset.EType.BoosterPack,
Steam.Asset.EType.FoilTradingCard,
Steam.Asset.EType.TradingCard
};
[JsonProperty(ObjectCreationHandling = ObjectCreationHandling.Replace, Required = Required.DisallowNull)]
internal readonly HashSet<Steam.Item.EType> MatchableTypes = new HashSet<Steam.Item.EType> {
Steam.Item.EType.TradingCard
internal readonly HashSet<Steam.Asset.EType> MatchableTypes = new HashSet<Steam.Asset.EType> {
Steam.Asset.EType.TradingCard
};
[JsonProperty(Required = Required.DisallowNull)]