33 lines
739 B
C#
33 lines
739 B
C#
namespace LightlessSync.PlayerData.Pairs;
|
|
|
|
public sealed record PairDebugInfo(
|
|
bool HasHandler,
|
|
bool HandlerInitialized,
|
|
bool HandlerVisible,
|
|
bool HandlerScheduledForDeletion,
|
|
DateTime? LastDataReceivedAt,
|
|
DateTime? LastApplyAttemptAt,
|
|
DateTime? LastSuccessfulApplyAt,
|
|
string? LastFailureReason,
|
|
IReadOnlyList<string> BlockingConditions,
|
|
bool IsApplying,
|
|
bool IsDownloading,
|
|
int PendingDownloadCount,
|
|
int ForbiddenDownloadCount)
|
|
{
|
|
public static PairDebugInfo Empty { get; } = new(
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
null,
|
|
null,
|
|
null,
|
|
null,
|
|
Array.Empty<string>(),
|
|
false,
|
|
false,
|
|
0,
|
|
0);
|
|
}
|