2021-09-27 12:42:46 +00:00
|
|
|
using System.IO;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
namespace Wabbajack.Compression.BSA.FO4Archive;
|
|
|
|
|
|
|
|
internal interface IFileBuilder
|
2021-09-27 12:42:46 +00:00
|
|
|
{
|
2021-10-23 16:51:17 +00:00
|
|
|
uint FileHash { get; }
|
|
|
|
uint DirHash { get; }
|
|
|
|
string FullName { get; }
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
int Index { get; }
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
ValueTask WriteData(BinaryWriter wtr, CancellationToken token);
|
|
|
|
void WriteHeader(BinaryWriter wtr, CancellationToken token);
|
2021-09-27 12:42:46 +00:00
|
|
|
}
|