disable dalamud sounds for download ui. who even though it's a good idea to add this feature to begin with.

This commit is contained in:
rootdarkarchon
2024-03-01 12:13:01 +01:00
parent e94a2a7565
commit c4893551fd
2 changed files with 4 additions and 1 deletions

View File

@@ -210,6 +210,7 @@ public class PlayerDataFactory
if (objectKind == ObjectKind.Player) if (objectKind == ObjectKind.Player)
{ {
previousData.MoodlesData = await _ipcManager.Moodles.GetStatusAsync(playerRelatedObject.Address).ConfigureAwait(false) ?? string.Empty; previousData.MoodlesData = await _ipcManager.Moodles.GetStatusAsync(playerRelatedObject.Address).ConfigureAwait(false) ?? string.Empty;
_logger.LogDebug("Moodles is now: {moodles}", previousData.MoodlesData);
} }
if (previousData.FileReplacements.TryGetValue(objectKind, out HashSet<FileReplacement>? fileReplacements)) if (previousData.FileReplacements.TryGetValue(objectKind, out HashSet<FileReplacement>? fileReplacements))

View File

@@ -22,7 +22,7 @@ public class DownloadUi : WindowMediatorSubscriberBase
private readonly ConcurrentDictionary<GameObjectHandler, bool> _uploadingPlayers = new(); private readonly ConcurrentDictionary<GameObjectHandler, bool> _uploadingPlayers = new();
public DownloadUi(ILogger<DownloadUi> logger, DalamudUtilService dalamudUtilService, MareConfigService configService, public DownloadUi(ILogger<DownloadUi> logger, DalamudUtilService dalamudUtilService, MareConfigService configService,
FileUploadManager fileTransferManager, MareMediator mediator, UiSharedService uiShared, PerformanceCollectorService performanceCollectorService) FileUploadManager fileTransferManager, MareMediator mediator, UiSharedService uiShared, PerformanceCollectorService performanceCollectorService)
: base(logger, mediator, "Mare Synchronos Downloads", performanceCollectorService) : base(logger, mediator, "Mare Synchronos Downloads", performanceCollectorService)
{ {
_dalamudUtilService = dalamudUtilService; _dalamudUtilService = dalamudUtilService;
@@ -46,6 +46,8 @@ public class DownloadUi : WindowMediatorSubscriberBase
Flags |= ImGuiWindowFlags.NoDecoration; Flags |= ImGuiWindowFlags.NoDecoration;
Flags |= ImGuiWindowFlags.NoFocusOnAppearing; Flags |= ImGuiWindowFlags.NoFocusOnAppearing;
DisableWindowSounds = true;
ForceMainWindow = true; ForceMainWindow = true;
IsOpen = true; IsOpen = true;