LANCommander/LANCommander.SDK/Models/InstallTaskProgress.cs
Pat Hartl eaaaf39b8d Refactor install process to use major/minor task queue
Tasks are broken down into major and minor tasks. Major tasks are like install game, redistributable, or tool. These are reported as individual tasks in the download queue. Minor tasks are running of a script, downloading saves, extracting/downloading, etc.
2026-04-17 22:24:47 -05:00

21 lines
714 B
C#

using System;
using LANCommander.SDK.Enums;
namespace LANCommander.SDK.Models
{
public class InstallTaskProgress
{
public Guid QueueItemId { get; set; }
public Guid TaskId { get; set; }
public InstallTaskType TaskType { get; set; }
public string TaskTitle { get; set; }
public InstallTaskStatus TaskStatus { get; set; }
public float Progress { get; set; }
public long BytesTransferred { get; set; }
public long TotalBytes { get; set; }
public long TransferSpeed { get; set; }
public TimeSpan TimeRemaining { get; set; }
public bool Indeterminate { get; set; }
public string ErrorMessage { get; set; }
}
}