mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
add NotificationService, cleanup
This commit is contained in:
parent
12f0789e9c
commit
576d005b32
17 changed files with 243 additions and 84 deletions
|
|
@ -19,7 +19,6 @@ public class MareConfig : IPluginConfiguration
|
|||
public int TimeSpanBetweenScansInSeconds { get; set; } = 30;
|
||||
public bool FileScanPaused { get; set; } = false;
|
||||
public bool InitialScanComplete { get; set; } = false;
|
||||
public bool HideInfoMessages { get; set; } = false;
|
||||
public bool DisableOptionalPluginWarnings { get; set; } = false;
|
||||
public bool OpenGposeImportOnGposeStart { get; set; } = false;
|
||||
public bool ShowTransferWindow { get; set; } = true;
|
||||
|
|
@ -27,5 +26,9 @@ public class MareConfig : IPluginConfiguration
|
|||
public string CurrentServer { get; set; } = string.Empty;
|
||||
public bool ShowOnlineNotifications { get; set; } = false;
|
||||
public bool ShowOnlineNotificationsOnlyForIndividualPairs { get; set; } = true;
|
||||
public bool ShowOnlineNotificationsOnlyForNamedPairs { get; set; } = false;
|
||||
public bool ShowCharacterNameInsteadOfNotesForVisible { get; set; } = false;
|
||||
public NotificationLocation InfoNotification { get; set; } = NotificationLocation.Toast;
|
||||
public NotificationLocation WarningNotification { get; set; } = NotificationLocation.Both;
|
||||
public NotificationLocation ErrorNotification { get; set;} = NotificationLocation.Both;
|
||||
}
|
||||
9
MareSynchronos/MareConfiguration/NotificationLocation.cs
Normal file
9
MareSynchronos/MareConfiguration/NotificationLocation.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace MareSynchronos.MareConfiguration;
|
||||
|
||||
public enum NotificationLocation
|
||||
{
|
||||
Nowhere,
|
||||
Chat,
|
||||
Toast,
|
||||
Both
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue