* test some refactoring for cachedplayer * rework logging * fix saving of log level --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
30 lines
1.5 KiB
C#
30 lines
1.5 KiB
C#
using MareSynchronos.MareConfiguration.Models;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace MareSynchronos.MareConfiguration.Configurations;
|
|
|
|
[Serializable]
|
|
public class MareConfig : IMareConfiguration
|
|
{
|
|
public int Version { get; set; } = 1;
|
|
public bool AcceptedAgreement { get; set; } = false;
|
|
public string CacheFolder { get; set; } = string.Empty;
|
|
public double MaxLocalCacheInGiB { get; set; } = 20;
|
|
public bool ReverseUserSort { get; set; } = false;
|
|
public int TimeSpanBetweenScansInSeconds { get; set; } = 30;
|
|
public bool FileScanPaused { get; set; } = false;
|
|
public bool InitialScanComplete { get; set; } = false;
|
|
public bool DisableOptionalPluginWarnings { get; set; } = false;
|
|
public bool OpenGposeImportOnGposeStart { get; set; } = false;
|
|
public bool ShowTransferWindow { get; set; } = true;
|
|
public bool OpenPopupOnAdd { get; set; } = true;
|
|
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;
|
|
public LogLevel LogLevel { get; set; } = LogLevel.Information;
|
|
}
|