mirror of
https://github.com/sp-tarkov/installer.git
synced 2025-02-12 17:30:44 -05:00
23 lines
461 B
C#
23 lines
461 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace SPTInstaller.Interfaces;
|
|
|
|
public interface IProgressableTask
|
|
{
|
|
public string Id { get; }
|
|
public string Name { get; }
|
|
|
|
public bool IsCompleted { get; }
|
|
|
|
public bool HasErrors { get; }
|
|
|
|
public bool IsRunning { get; }
|
|
|
|
public string StatusMessage { get; }
|
|
|
|
public int Progress { get; }
|
|
|
|
public bool ShowProgress { get; }
|
|
|
|
public Task<IResult> RunAsync();
|
|
} |