using MiraAPI.Hud;
namespace MiraAPI.Events.Vanilla.Gameplay;
///
/// Invoked when a Vanilla click is cancelled. Do not use for .
///
/// The vanilla type.
/// The vanilla whose click was cancelled.
public sealed class VanillaButtonCancelledEvent(T button) : MiraEvent
where T : AbilityButton
{
///
/// Gets the Vanilla whose click was cancelled.
///
public T Button { get; } = button;
}
///
/// Invoked when a Vanilla click is cancelled. Do not use for s.
///
/// The vanilla whose click was cancelled.
public sealed class VanillaButtonCancelledEvent(AbilityButton button) : MiraEvent
{
///
/// Gets the Vanilla whose click was cancelled.
///
public AbilityButton Button { get; } = button;
}