mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] Mappings and pathing updates
This commit is contained in:
@@ -150,15 +150,26 @@ namespace SabreTools.Helper
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Intermediate struct for holding header skipper information
|
||||
/// </summary>
|
||||
public struct Skipper
|
||||
{
|
||||
public string Name;
|
||||
public string Author;
|
||||
public string Version;
|
||||
public List<SkipperRule> Rules;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Intermediate struct for holding header skipper rule information
|
||||
/// </summary>
|
||||
public struct SkipperRule
|
||||
{
|
||||
long? StartOffset; // null is EOF
|
||||
long? EndOffset; // null if EOF
|
||||
HeaderSkipOperation Operation;
|
||||
List<SkipperTest> Tests;
|
||||
public long? StartOffset; // null is EOF
|
||||
public long? EndOffset; // null if EOF
|
||||
public HeaderSkipOperation Operation;
|
||||
public List<SkipperTest> Tests;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -166,12 +177,12 @@ namespace SabreTools.Helper
|
||||
/// </summary>
|
||||
public struct SkipperTest
|
||||
{
|
||||
HeaderSkipTest Type;
|
||||
long? Offset; // null is EOF
|
||||
byte[] Value;
|
||||
bool Result;
|
||||
byte[] Mask;
|
||||
long? Size; // null is PO2, "power of 2" filesize
|
||||
HeaderSkipTestFileOperator Operator;
|
||||
public HeaderSkipTest Type;
|
||||
public long? Offset; // null is EOF
|
||||
public byte[] Value;
|
||||
public bool Result;
|
||||
public byte[] Mask;
|
||||
public long? Size; // null is PO2, "power of 2" filesize
|
||||
public HeaderSkipTestFileOperator Operator;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user