Update 0.1.9 - Correctif UI + Default Synchronisation settings + Detect TypeChat

This commit is contained in:
2025-09-29 00:19:45 +02:00
parent 6572fdcc27
commit fca730557e
22 changed files with 803 additions and 74 deletions

View File

@@ -1,4 +1,5 @@
using MareSynchronos.MareConfiguration.Models;
using System.Collections.Generic;
using MareSynchronos.MareConfiguration.Models;
using MareSynchronos.UI;
using Microsoft.Extensions.Logging;
@@ -60,6 +61,11 @@ public class MareConfig : IMareConfiguration
public bool ShowUploadingBigText { get; set; } = true;
public bool ShowVisibleUsersSeparately { get; set; } = true;
public string LastChangelogVersionSeen { get; set; } = string.Empty;
public bool DefaultDisableSounds { get; set; } = false;
public bool DefaultDisableAnimations { get; set; } = false;
public bool DefaultDisableVfx { get; set; } = false;
public Dictionary<string, SyncOverrideEntry> PairSyncOverrides { get; set; } = new(StringComparer.Ordinal);
public Dictionary<string, SyncOverrideEntry> GroupSyncOverrides { get; set; } = new(StringComparer.Ordinal);
public bool EnableAutoDetectDiscovery { get; set; } = false;
public bool AllowAutoDetectPairRequests { get; set; } = false;
public int AutoDetectMaxDistanceMeters { get; set; } = 40;
@@ -78,6 +84,8 @@ public class MareConfig : IMareConfiguration
public int ChatLogKind { get; set; } = 1; // XivChatType.Debug
public bool ExtraChatAPI { get; set; } = false;
public bool ExtraChatTags { get; set; } = false;
public bool TypingIndicatorShowOnNameplates { get; set; } = true;
public bool TypingIndicatorShowOnPartyList { get; set; } = true;
public bool MareAPI { get; set; } = true;
}

View File

@@ -0,0 +1,13 @@
using System;
namespace MareSynchronos.MareConfiguration.Models;
[Serializable]
public class SyncOverrideEntry
{
public bool? DisableSounds { get; set; }
public bool? DisableAnimations { get; set; }
public bool? DisableVfx { get; set; }
public bool IsEmpty => DisableSounds is null && DisableAnimations is null && DisableVfx is null;
}