From fd179ee6c888f03ffe26288c906a53961808352f Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 8 Nov 2024 08:24:34 -0600 Subject: add 'noop' event type --- src/slskd/Events/Types/Events.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/slskd/Events/Types') diff --git a/src/slskd/Events/Types/Events.cs b/src/slskd/Events/Types/Events.cs index 678a5294..e4274e39 100644 --- a/src/slskd/Events/Types/Events.cs +++ b/src/slskd/Events/Types/Events.cs @@ -26,6 +26,7 @@ public enum EventType Any = 1, DownloadFileComplete = 2, DownloadDirectoryComplete = 3, + Noop = int.MaxValue, } public abstract record Event @@ -49,4 +50,9 @@ public sealed record DownloadDirectoryCompleteEvent : Event public string LocalDirectoryName { get; init; } public string RemoteDirectoryName { get; init; } public string Username { get; init; } +} + +public sealed record NoopEvent : Event +{ + public override EventType Type => EventType.Noop; } \ No newline at end of file -- cgit v1.2.3