wabbajack/Compression.BSA/BSA/Reader/BSAFileStateObject.cs
2020-08-11 07:15:03 -05:00

24 lines
591 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Wabbajack.Common.Serialization.Json;
using File = Alphaleonis.Win32.Filesystem.File;
namespace Compression.BSA
{
[JsonName("BSAFileState")]
public class BSAFileStateObject : FileStateObject
{
public bool FlipCompression { get; set; }
public BSAFileStateObject() { }
public BSAFileStateObject(FileRecord fileRecord)
{
FlipCompression = fileRecord.FlipCompression;
Path = fileRecord.Path;
Index = fileRecord._index;
}
}
}