Files
SabreTools.Models/MoPaQ/BlockEntry.cs

32 lines
1.0 KiB
C#
Raw Permalink Normal View History

namespace SabreTools.Models.MoPaQ
2023-09-04 00:11:04 -04:00
{
/// <summary>
/// Block table contains informations about file sizes and way of their storage within
/// the archive. It also contains the position of file content in the archive. Size
/// of block table entry is (like hash table entry). The block table is also encrypted.
/// </summary>
/// <see href="http://zezula.net/en/mpq/mpqformat.html"/>
public sealed class BlockEntry
{
/// <summary>
/// Offset of the beginning of the file data, relative to the beginning of the archive.
/// </summary>
2023-09-10 21:24:10 -04:00
public uint FilePosition { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// Compressed file size
/// </summary>
2023-09-10 21:24:10 -04:00
public uint CompressedSize { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// Size of uncompressed file
/// </summary>
2023-09-10 21:24:10 -04:00
public uint UncompressedSize { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// Flags for the file.
/// </summary>
2023-09-10 21:24:10 -04:00
public FileFlags Flags { get; set; }
2023-09-04 00:11:04 -04:00
}
}