From 6c00c19300badb5ad619001710bf522e685d387a Mon Sep 17 00:00:00 2001 From: Ryan Stecker Date: Sat, 28 Jan 2012 20:36:09 -0600 Subject: [PATCH] Fixed issue receiving app info. --- DepotDownloader/Steam3Session.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DepotDownloader/Steam3Session.cs b/DepotDownloader/Steam3Session.cs index 73d3809a..ecc33010 100644 --- a/DepotDownloader/Steam3Session.cs +++ b/DepotDownloader/Steam3Session.cs @@ -237,11 +237,11 @@ namespace DepotDownloader Console.WriteLine( "Got {0} licenses for account!", msg.LicenseList.Count ); Licenses = msg.LicenseList; } - else if (callback.IsType()) + else if (callback.IsType>()) { - var msg = callback as SteamApps.AppInfoCallback; + var msg = callback as SteamClient.JobCallback; - foreach (var app in msg.Apps) + foreach (var app in msg.Callback.Apps) { Console.WriteLine("Got AppInfo for {0}: {1}", app.AppID, app.Status); AppInfo.Add(app.AppID, app);