mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-13 12:26:59 +00:00
Add extension properties from UnshieldSharp
This commit is contained in:
@@ -15,6 +15,26 @@ namespace SabreTools.Serialization.Wrappers
|
||||
|
||||
#region Extension Properties
|
||||
|
||||
/// <summary>
|
||||
/// Number of components in the cabinet set
|
||||
/// </summary>
|
||||
public int ComponentCount => Model.Components!.Length;
|
||||
|
||||
/// <summary>
|
||||
/// Number of directories in the cabinet set
|
||||
/// </summary>
|
||||
public ushort DirectoryCount => Model.Descriptor!.DirectoryCount;
|
||||
|
||||
/// <summary>
|
||||
/// Number of files in the cabinet set
|
||||
/// </summary>
|
||||
public uint FileCount => Model.Descriptor!.FileCount;
|
||||
|
||||
/// <summary>
|
||||
/// Number of file groups in the cabinet set
|
||||
/// </summary>
|
||||
public int FileGroupCount => Model.FileGroups!.Length;
|
||||
|
||||
/// <summary>
|
||||
/// The major version of the cabinet
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user