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

@@ -121,7 +121,7 @@ namespace ArchiSteamFarm {
return;
}
HashSet<Steam.Item> inventory = await Bot.ArchiWebHandler.GetMySteamInventory(true, Bot.BotConfig.MatchableTypes).ConfigureAwait(false);
HashSet<Steam.Asset> inventory = await Bot.ArchiWebHandler.GetMySteamInventory(true, Bot.BotConfig.MatchableTypes).ConfigureAwait(false);
// This is actually inventory failure, so we'll stop sending heartbeats but not record it as valid check
if (inventory == null) {