Files
SabreTools/SabreTools.Library/DatFiles/Enums.cs

90 lines
1.7 KiB
C#
Raw Normal View History

2020-08-01 22:10:29 -07:00
using System;
namespace SabreTools.Library.DatFiles
2020-08-01 21:42:28 -07:00
{
/// <summary>
/// Determines the DAT deduplication type
/// </summary>
public enum DedupeType
{
None = 0,
Full,
// Force only deduping with certain types
Game,
CRC,
MD5,
#if NET_FRAMEWORK
RIPEMD160,
#endif
SHA1,
SHA256,
SHA384,
SHA512,
}
2020-08-20 20:38:29 -07:00
/// <summary>
/// Determines merging tag handling for DAT output
/// </summary>
public enum MergingFlag
{
None = 0,
Split,
Merged,
NonMerged,
Full,
2020-08-28 22:46:06 -07:00
/// <remarks>This is not usually defined for Merging flags</remarks>
Device,
2020-08-20 20:38:29 -07:00
}
/// <summary>
/// Determines nodump tag handling for DAT output
/// </summary>
public enum NodumpFlag
{
None = 0,
Obsolete,
Required,
Ignore,
}
/// <summary>
/// Determines packing tag handling for DAT output
/// </summary>
public enum PackingFlag
{
None = 0,
2020-08-28 19:15:23 -07:00
/// <summary>
/// Force all sets to be in archives, except disk and media
/// </summary>
2020-08-20 20:38:29 -07:00
Zip,
2020-08-28 19:15:23 -07:00
/// <summary>
/// Force all sets to be extracted into subfolders
/// </summary>
2020-08-20 20:38:29 -07:00
Unzip,
2020-08-28 19:15:23 -07:00
/// <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,
2020-08-20 20:38:29 -07:00
}
2020-08-01 21:42:28 -07:00
/// <summary>
/// Determines which files should be skipped in DFD
/// </summary>
public enum SkipFileType
{
None = 0,
Archive,
File,
}
}