wabbajack/Wabbajack.DTOs/ModList/Directive.cs

18 lines
449 B
C#
Raw Normal View History

2022-10-30 13:16:12 +00:00
using System.Text.Json.Serialization;
2021-09-27 12:42:46 +00:00
using Wabbajack.Hashing.xxHash64;
using Wabbajack.Paths;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.DTOs;
public abstract class Directive
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public Hash Hash { get; set; }
public long Size { get; set; }
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
/// <summary>
/// location the file will be copied to, relative to the install path.
/// </summary>
public RelativePath To { get; set; }
2022-10-30 13:16:12 +00:00
[JsonIgnore] public virtual bool IsDeterministic => true;
2021-09-27 12:42:46 +00:00
}