Add deprecation warning for GetInventory

This commit is contained in:
JustArchi
2020-03-06 23:51:06 +01:00
parent 0fef0652ec
commit 66be3e8134

View File

@@ -131,6 +131,8 @@ namespace ArchiSteamFarm {
return null;
}
Bot.ArchiLogger.LogGenericWarning(string.Format(Strings.WarningDeprecated, nameof(GetInventory) + " (" + nameof(Plugins) + ")", nameof(GetInventoryAsync)));
try {
return await GetInventoryAsync(steamID, appID, contextID).Where(
item =>