Adds media library scan progress tracking

This commit is contained in:
BinaryAlley committed 2025-02-18 17:24:39 +02:00
1 parent e8dbf9456c
commit 27fa8e2e4f
87 files changed
+2078 -421

No files matched your search

@@ -0,0 +1,20 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.Responses.MediaLibrary.Management;
/// <summary>
/// Represents a media library scan job progress response.
/// </summary>
/// <param name="CompletedItems">The number of processed scan job items.</param>
/// <param name="TotalItems">The total number of scan job items.</param>
/// <param name="CurrentOperation">The current processing operation in the scan job.</param>
/// <param name="ProgressPercentage">The ratio between the number of processed items and the total number of items to process, as percentage.</param>
[DebuggerDisplay("CompletedItems: {CompletedItems} TotalItems: {TotalItems}")]
public record MediaLibraryScanJobProgressResponse(
int CompletedItems,
int TotalItems,
string CurrentOperation,
decimal ProgressPercentage
);