re-organze namespace
This commit is contained in:
38
ModpackUpdater/InstallAction.cs
Normal file
38
ModpackUpdater/InstallAction.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ModpackUpdater;
|
||||
|
||||
public class InstallAction
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public string InheritFrom { get; set; }
|
||||
|
||||
public bool IsZip { get; set; }
|
||||
|
||||
public string ZipPath { get; set; }
|
||||
|
||||
public string DestPath { get; set; }
|
||||
|
||||
public string SourceUrl { get; set; }
|
||||
|
||||
public SourceType SourceType { get; set; }
|
||||
|
||||
public string SourceOwner { get; set; }
|
||||
|
||||
public string SourceName { get; set; }
|
||||
|
||||
public string SourceRegex { get; set; }
|
||||
|
||||
public string SourceTag { get; set; }
|
||||
|
||||
public Side Side { get; set; } = Side.Both;
|
||||
|
||||
public bool IsExtra { get; set; }
|
||||
|
||||
[JsonProperty, Obsolete]
|
||||
private string DownloadUrl
|
||||
{
|
||||
set => SourceUrl = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user