mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 04:13:43 +01:00
22 lines
676 B
C#
22 lines
676 B
C#
using OtterGui.Classes;
|
|
using Penumbra.Api;
|
|
|
|
namespace Penumbra.Communication;
|
|
|
|
/// <summary>
|
|
/// Triggered when the general Enabled state of Penumbra is changed.
|
|
/// <list type="number">
|
|
/// <item>Parameter is whether Penumbra is now Enabled (true) or Disabled (false). </item>
|
|
/// </list>
|
|
/// </summary>
|
|
public sealed class EnabledChanged() : EventWrapper<bool, EnabledChanged.Priority>(nameof(EnabledChanged))
|
|
{
|
|
public enum Priority
|
|
{
|
|
/// <seealso cref="Ipc.EnabledChange"/>
|
|
Api = int.MinValue,
|
|
|
|
/// <seealso cref="Api.DalamudSubstitutionProvider.OnEnabledChange"/>
|
|
DalamudSubstitutionProvider = 0,
|
|
}
|
|
}
|