Add CHD version extension

This commit is contained in:
Matt Nadareski
2025-07-29 20:39:48 -04:00
parent 771df5c372
commit a2be40fcbc

View File

@@ -52,6 +52,25 @@ namespace SabreTools.Serialization.Wrappers
}
}
/// <summary>
/// CHD version
/// </summary>
public int Version
{
get
{
return Model switch
{
HeaderV1 => 1,
HeaderV2 => 2,
HeaderV3 => 3,
HeaderV4 => 4,
HeaderV5 => 5,
_ => 0,
};
}
}
#endregion
#region Constructors