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.
19 lines
615 B
C#
19 lines
615 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using LANCommander.SDK.Enums;
|
|
|
|
namespace LANCommander.SDK.Models
|
|
{
|
|
public class InstallTaskDefinition
|
|
{
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
public InstallTaskType Type { get; set; }
|
|
public string Title { get; set; }
|
|
public int Order { get; set; }
|
|
public Guid TargetId { get; set; }
|
|
public string TargetName { get; set; }
|
|
public bool IsCritical { get; set; }
|
|
public bool ReportsProgress { get; set; }
|
|
public Dictionary<string, string> Parameters { get; set; } = new();
|
|
}
|
|
}
|