Files
SabreTools.Serialization/SabreTools.Data.Models/InstallShieldCabinet/FileGroup.cs

88 lines
2.3 KiB
C#
Raw Normal View History

2025-09-26 13:06:18 -04:00
namespace SabreTools.Data.Models.InstallShieldCabinet
2025-09-26 10:57:15 -04:00
{
/// <see href="https://github.com/twogood/unshield/blob/main/lib/libunshield.h"/>
/// <remarks>Additional info from i6comp02</remarks>
public sealed class FileGroup
{
/// <summary>
/// Offset to the file group name
/// </summary>
public uint NameOffset { get; set; }
/// <summary>
/// File group name
/// </summary>
public string Name { get; set; } = string.Empty;
2025-09-26 10:57:15 -04:00
/// <summary>
/// Size of the expanded data
/// </summary>
public uint ExpandedSize { get; set; }
/// <summary>
/// Size of the compressed data
/// </summary>
public uint CompressedSize { get; set; }
/// <summary>
/// Attributes (junk2)
/// </summary>
public FileGroupAttributes Attributes { get; set; }
/// <summary>
/// Index of the first file
/// </summary>
public uint FirstFile { get; set; }
/// <summary>
/// Index of the last file
/// </summary>
public uint LastFile { get; set; }
/// <summary>
/// Unknown string offset
/// </summary>
public uint UnknownStringOffset { get; set; }
/// <summary>
/// Offset to the operating system (Var4)
/// </summary>
public uint OperatingSystemOffset { get; set; }
/// <summary>
/// Offset to the language (Var1)
/// </summary>
public uint LanguageOffset { get; set; }
/// <summary>
/// Offset to the HTTP location
/// </summary>
public uint HTTPLocationOffset { get; set; }
/// <summary>
/// Offset to the FTP location
/// </summary>
public uint FTPLocationOffset { get; set; }
/// <summary>
/// Misc offset
/// </summary>
public uint MiscOffset { get; set; }
/// <summary>
/// Offset to the target directory
/// </summary>
public uint TargetDirectoryOffset { get; set; }
/// <summary>
/// Overwrite setting flags
/// </summary>
public FileGroupFlags OverwriteFlags { get; set; }
/// <summary>
/// Reserved
/// </summary>
2025-10-30 21:51:15 -04:00
public uint[] Reserved { get; set; } = new uint[4];
2025-09-26 10:57:15 -04:00
}
2025-10-30 21:51:15 -04:00
}