mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
25 lines
703 B
C#
25 lines
703 B
C#
using System;
|
|
|
|
namespace MiraAPI.Events.Vanilla;
|
|
|
|
/// <summary>
|
|
/// Button click event for <see cref="AdminButton"/> from Vanilla Among Us.
|
|
/// </summary>
|
|
[Obsolete("This class is deprecated. Use PlayerUseEvent instead.")]
|
|
public class AdminButtonClickEvent : MiraCancelableEvent
|
|
{
|
|
/// <summary>
|
|
/// Gets the instance of <see cref="AdminButton"/> that was clicked.
|
|
/// </summary>
|
|
public AdminButton Button { get; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="AdminButtonClickEvent"/> class.
|
|
/// </summary>
|
|
/// <param name="button">The AdminButton.</param>
|
|
public AdminButtonClickEvent(AdminButton button)
|
|
{
|
|
Button = button;
|
|
}
|
|
}
|