diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-11-08 08:24:34 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-11-08 08:24:34 -0600 |
| commit | fd179ee6c888f03ffe26288c906a53961808352f (patch) | |
| tree | 2c516307f4a23fa07191ba7ce5727fbf24a5a5d4 /src | |
| parent | 5ebb679f4f7a24649e5117931e06138a9375110f (diff) | |
| download | slskd-fd179ee6c888f03ffe26288c906a53961808352f.tar.gz | |
add 'noop' event type
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Events/Types/Events.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
