* Yeet Token! * Cleaning up workflow * Testing auto version bump * ExistingNames * Remove a key * Github Token no work * Changing Assembly Version * Version Fix * Fixing version v2 * Cleanup naming * Update LightlessSync.csproj * Add nameplate settings + run code clean up * purple
67 lines
3.8 KiB
C#
67 lines
3.8 KiB
C#
using LightlessSync.LightlessConfiguration.Models;
|
|
using LightlessSync.UI;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace LightlessSync.LightlessConfiguration.Configurations;
|
|
|
|
[Serializable]
|
|
public class LightlessConfig : ILightlessConfiguration
|
|
{
|
|
public bool AcceptedAgreement { get; set; } = false;
|
|
public string CacheFolder { get; set; } = string.Empty;
|
|
public bool DisableOptionalPluginWarnings { get; set; } = false;
|
|
public bool EnableDtrEntry { get; set; } = false;
|
|
public bool ShowUidInDtrTooltip { get; set; } = true;
|
|
public bool PreferNoteInDtrTooltip { get; set; } = false;
|
|
public bool IsNameplateColorsEnabled { get; set; } = false;
|
|
public DtrEntry.Colors NameplateColors { get; set; } = new(Foreground: 0xE69138u, Glow: 0xFFBA47u);
|
|
public bool UseColorsInDtr { get; set; } = true;
|
|
public DtrEntry.Colors DtrColorsDefault { get; set; } = default;
|
|
public DtrEntry.Colors DtrColorsNotConnected { get; set; } = new(Glow: 0x0428FFu);
|
|
public DtrEntry.Colors DtrColorsPairsInRange { get; set; } = new(Glow: 0xFFBA47u);
|
|
public bool EnableRightClickMenus { get; set; } = true;
|
|
public NotificationLocation ErrorNotification { get; set; } = NotificationLocation.Both;
|
|
public string ExportFolder { get; set; } = string.Empty;
|
|
public bool FileScanPaused { get; set; } = false;
|
|
public NotificationLocation InfoNotification { get; set; } = NotificationLocation.Toast;
|
|
public bool InitialScanComplete { get; set; } = false;
|
|
public LogLevel LogLevel { get; set; } = LogLevel.Information;
|
|
public bool LogPerformance { get; set; } = false;
|
|
public double MaxLocalCacheInGiB { get; set; } = 20;
|
|
public bool OpenGposeImportOnGposeStart { get; set; } = false;
|
|
public bool OpenPopupOnAdd { get; set; } = true;
|
|
public int ParallelDownloads { get; set; } = 10;
|
|
public int DownloadSpeedLimitInBytes { get; set; } = 0;
|
|
public DownloadSpeeds DownloadSpeedType { get; set; } = DownloadSpeeds.MBps;
|
|
public bool PreferNotesOverNamesForVisible { get; set; } = false;
|
|
public float ProfileDelay { get; set; } = 1.5f;
|
|
public bool ProfilePopoutRight { get; set; } = false;
|
|
public bool ProfilesAllowNsfw { get; set; } = false;
|
|
public bool ProfilesShow { get; set; } = true;
|
|
public bool ShowSyncshellUsersInVisible { get; set; } = true;
|
|
public bool ShowCharacterNameInsteadOfNotesForVisible { get; set; } = false;
|
|
public bool ShowOfflineUsersSeparately { get; set; } = true;
|
|
public bool ShowSyncshellOfflineUsersSeparately { get; set; } = true;
|
|
public bool GroupUpSyncshells { get; set; } = true;
|
|
public bool ShowOnlineNotifications { get; set; } = false;
|
|
public bool ShowOnlineNotificationsOnlyForIndividualPairs { get; set; } = true;
|
|
public bool ShowOnlineNotificationsOnlyForNamedPairs { get; set; } = false;
|
|
public bool ShowTransferBars { get; set; } = true;
|
|
public bool ShowTransferWindow { get; set; } = false;
|
|
public bool ShowUploading { get; set; } = true;
|
|
public bool ShowUploadingBigText { get; set; } = true;
|
|
public bool ShowVisibleUsersSeparately { get; set; } = true;
|
|
public int TimeSpanBetweenScansInSeconds { get; set; } = 30;
|
|
public int TransferBarsHeight { get; set; } = 12;
|
|
public bool TransferBarsShowText { get; set; } = true;
|
|
public int TransferBarsWidth { get; set; } = 250;
|
|
public bool UseAlternativeFileUpload { get; set; } = false;
|
|
public bool UseCompactor { get; set; } = false;
|
|
public bool DebugStopWhining { get; set; } = false;
|
|
public bool AutoPopulateEmptyNotesFromCharaName { get; set; } = false;
|
|
public int Version { get; set; } = 1;
|
|
public NotificationLocation WarningNotification { get; set; } = NotificationLocation.Both;
|
|
public bool UseFocusTarget { get; set; } = false;
|
|
public bool overrideFriendColor { get; set; } = false;
|
|
public bool overridePartyColor { get; set; } = false;
|
|
} |