Fix ChatService dispose + Add chat configuration

This commit is contained in:
Loporrit
2024-11-26 01:03:58 +00:00
parent a4f78e7835
commit dc9a7f4363
10 changed files with 432 additions and 47 deletions

View File

@@ -56,4 +56,8 @@ public class MareConfig : IMareConfiguration
public NotificationLocation WarningNotification { get; set; } = NotificationLocation.Both;
public bool DisableSyncshellChat { get; set; } = false;
public int ChatColor { get; set; } = 0; // 0 means "use plugin default"
public int ChatLogKind { get; set; } = 1; // XivChatType.Debug
public bool ExtraChatAPI { get; set; } = false;
public bool ExtraChatTags { get; set; } = false;
}

View File

@@ -3,5 +3,8 @@ namespace MareSynchronos.MareConfiguration.Models;
[Serializable]
public class ShellConfig
{
public bool Enabled { get; set; } = true;
public int ShellNumber { get; set; }
public int Color { get; set; } = 0; // 0 means "default to the global setting"
public int LogKind { get; set; } = 0; // 0 means "default to the global setting"
}