mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 07:37:10 +00:00
50 lines
1.2 KiB
C#
50 lines
1.2 KiB
C#
namespace SabreTools.Models.PFF
|
|
{
|
|
/// <summary>
|
|
/// PFF segment identifier
|
|
/// </summary>
|
|
/// <see href="https://devilsclaws.net/download/file-pff-new-bz2"/>
|
|
public sealed class Segment
|
|
{
|
|
/// <summary>
|
|
/// Deleted flag
|
|
/// </summary>
|
|
public uint Deleted { get; set; }
|
|
|
|
/// <summary>
|
|
/// File location
|
|
/// </summary>
|
|
public uint FileLocation { get; set; }
|
|
|
|
/// <summary>
|
|
/// File size
|
|
/// </summary>
|
|
public uint FileSize { get; set; }
|
|
|
|
/// <summary>
|
|
/// Packed date
|
|
/// </summary>
|
|
public uint PackedDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// File name
|
|
/// </summary>
|
|
#if NET48
|
|
public string FileName { get; set; }
|
|
#else
|
|
public string? FileName { get; set; }
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// Modified date
|
|
/// </summary>
|
|
/// <remarks>Only for versions 3 and 4</remarks>
|
|
public uint ModifiedDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Compression level
|
|
/// </summary>
|
|
/// <remarks>Only for version 4</remarks>
|
|
public uint CompressionLevel { get; set; }
|
|
}
|
|
} |