mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-01-01 13:23:44 +01:00
22 lines
707 B
C#
22 lines
707 B
C#
using Glamourer.Interop.Structs;
|
|
using OtterGui.Classes;
|
|
|
|
namespace Glamourer.Events;
|
|
|
|
/// <summary>
|
|
/// Triggered when the state of a visor for any draw object is changed.
|
|
/// <list type="number">
|
|
/// <item>Parameter is the model with a changed visor state. </item>
|
|
/// <item>Parameter is the new state. </item>
|
|
/// <item>Parameter is whether to call the original function. </item>
|
|
/// </list>
|
|
/// </summary>
|
|
public sealed class VisorStateChanged()
|
|
: EventWrapperRef2<Model, bool, VisorStateChanged.Priority>(nameof(VisorStateChanged))
|
|
{
|
|
public enum Priority
|
|
{
|
|
/// <seealso cref="State.StateListener.OnVisorChange"/>
|
|
StateListener = 0,
|
|
}
|
|
}
|