wabbajack/Wabbajack.Compiler/IndexedArchive.cs

23 lines
532 B
C#
Raw Normal View History

2021-09-27 12:42:46 +00:00
using IniParser.Model;
using Wabbajack.DTOs.DownloadStates;
using Wabbajack.VFS;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.Compiler;
/// <summary>
/// Contains all the information we know about a specific archive during compilation
/// </summary>
public class IndexedArchive
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public IniData? IniData;
public string Meta = string.Empty;
public string Name = string.Empty;
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
public IndexedArchive(VirtualFile file)
{
File = file;
2021-09-27 12:42:46 +00:00
}
2021-10-23 16:51:17 +00:00
public VirtualFile File { get; }
public IDownloadState? State { get; set; }
2021-09-27 12:42:46 +00:00
}