namespace LANCommander.Server.Services.Models
{
///
/// The result of inspecting a game archive for layouts that the launcher's forward-only
/// (streaming) extractor cannot read reliably.
///
public class ArchiveStreamingReport
{
///
/// True when no entries require a repack to be safely streamed by the launcher.
///
public bool IsStreamingSafe => ProblemEntries.Count == 0;
///
/// Total number of entries found in the archive's central directory.
///
public int TotalEntries { get; set; }
///
/// Entries that cannot be reliably extracted by a streaming reader.
///
public List ProblemEntries { get; set; } = new();
}
public class ArchiveStreamingProblemEntry
{
public string Name { get; set; } = string.Empty;
public long UncompressedSize { get; set; }
public string Reason { get; set; } = string.Empty;
}
}