Fixed DepotDownloader compile errors from JobID changes.

pull/8/head
psychonic 14 years ago
parent 0374a529b9
commit cdd9c640d6

@ -114,7 +114,7 @@ namespace DepotDownloader
if (AppInfo.ContainsKey(appId) || bAborted) if (AppInfo.ContainsKey(appId) || bAborted)
return; return;
Action<SteamApps.AppInfoCallback, ulong> cbMethod = (appInfo, jobId) => Action<SteamApps.AppInfoCallback, JobID> cbMethod = (appInfo, jobId) =>
{ {
foreach (var app in appInfo.Apps) foreach (var app in appInfo.Apps)
{ {
@ -177,7 +177,7 @@ namespace DepotDownloader
if (AppTickets.ContainsKey(appId) || bAborted) if (AppTickets.ContainsKey(appId) || bAborted)
return; return;
Action<SteamApps.AppOwnershipTicketCallback, ulong> cbMethod = (appTicket, jobId) => Action<SteamApps.AppOwnershipTicketCallback, JobID> cbMethod = (appTicket, jobId) =>
{ {
if (appTicket.Result != EResult.OK) if (appTicket.Result != EResult.OK)
{ {
@ -206,7 +206,7 @@ namespace DepotDownloader
if (DepotKeys.ContainsKey(depotId) || bAborted) if (DepotKeys.ContainsKey(depotId) || bAborted)
return; return;
Action<SteamApps.DepotKeyCallback, ulong> cbMethod = (depotKey, jobId) => Action<SteamApps.DepotKeyCallback, JobID> cbMethod = (depotKey, jobId) =>
{ {
Console.WriteLine("Got depot key for {0} result: {1}", depotKey.DepotID, depotKey.Result); Console.WriteLine("Got depot key for {0} result: {1}", depotKey.DepotID, depotKey.Result);

Loading…
Cancel
Save