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

@@ -115,6 +115,7 @@ public sealed class Plugin : IDalamudPlugin
collection.AddSingleton<PluginWarningNotificationService>();
collection.AddSingleton<FileCompactor>();
collection.AddSingleton<TagHandler>();
collection.AddSingleton<SyncDefaultsService>();
collection.AddSingleton<UidDisplayHandler>();
collection.AddSingleton<PluginWatcherService>();
collection.AddSingleton<PlayerPerformanceService>();
@@ -146,6 +147,7 @@ public sealed class Plugin : IDalamudPlugin
collection.AddSingleton<IpcManager>();
collection.AddSingleton<NotificationService>();
collection.AddSingleton<TemporarySyncshellNotificationService>();
collection.AddSingleton<PartyListTypingService>();
collection.AddSingleton((s) => new MareConfigService(pluginInterface.ConfigDirectory.FullName));
collection.AddSingleton((s) => new ServerConfigService(pluginInterface.ConfigDirectory.FullName));
@@ -218,6 +220,16 @@ public sealed class Plugin : IDalamudPlugin
})
.Build();
try
{
var partyListTypingService = _host.Services.GetRequiredService<PartyListTypingService>();
pluginInterface.UiBuilder.Draw += partyListTypingService.Draw;
}
catch (Exception e)
{
pluginLog.Warning(e, "Failed to initialize PartyListTypingService draw hook");
}
_ = Task.Run(async () => {
try
{