mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 13:01:10 +00:00
Adds media library scan progress tracking
This commit is contained in:
1 parent
e8dbf9456c
commit
27fa8e2e4f
87 files changed
+2078
-421
No files matched your search
+20
@@ -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
|
||||
);
|
||||
Reference in new issue
Block a user