Add new packing flags

This commit is contained in:
Matt Nadareski
2020-08-28 19:15:23 -07:00
parent 244b85ecf8
commit 6f76051399
3 changed files with 32 additions and 0 deletions

View File

@@ -2371,6 +2371,7 @@ namespace SabreTools.Library.DatFiles
case PackingFlag.Unzip:
outputFormat = OutputFormat.Folder;
break;
// TODO: Check what output format would be for Partial and Flat
}
}
@@ -2560,6 +2561,7 @@ namespace SabreTools.Library.DatFiles
case PackingFlag.Unzip:
outputFormat = OutputFormat.Folder;
break;
// TODO: Check what output format would be for Partial and Flat
}
}

View File

@@ -233,8 +233,26 @@ namespace SabreTools.Library.DatFiles
public enum PackingFlag
{
None = 0,
/// <summary>
/// Force all sets to be in archives, except disk and media
/// </summary>
Zip,
/// <summary>
/// Force all sets to be extracted into subfolders
/// </summary>
Unzip,
/// <summary>
/// Force sets with single items to be extracted to the parent folder
/// </summary>
Partial,
/// <summary>
/// Force all sets to be extracted to the parent folder
/// </summary>
Flat,
}
/// <summary>