mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Merge pull request #2495 from Haselnussbomber/expose-settings-uibuilder
[API14] Add PluginUISoundEffectsEnabled to UiBuilder
This commit is contained in:
commit
2a99108eb1
1 changed files with 9 additions and 0 deletions
|
|
@ -219,6 +219,12 @@ public interface IUiBuilder
|
|||
/// </summary>
|
||||
bool ShouldUseReducedMotion { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the user has enabled the "Enable sound effects for plugin windows" setting.<br />
|
||||
/// This setting is effected by the in-game "System Sounds" option and volume.
|
||||
/// </summary>
|
||||
bool PluginUISoundEffectsEnabled { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Loads an ULD file that can load textures containing multiple icons in a single texture.
|
||||
/// </summary>
|
||||
|
|
@ -560,6 +566,9 @@ public sealed class UiBuilder : IDisposable, IUiBuilder
|
|||
/// </summary>
|
||||
public bool ShouldUseReducedMotion => Service<DalamudConfiguration>.Get().ReduceMotions ?? false;
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool PluginUISoundEffectsEnabled => Service<DalamudConfiguration>.Get().EnablePluginUISoundEffects;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether statistics about UI draw time should be collected.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue