using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StardewModdingAPI.Events { /// /// An attribute for controlling event priority of an event handler. /// [AttributeUsage(AttributeTargets.Method)] public class EventPriorityAttribute : System.Attribute { /// /// The priority for the method marked by this attribute. /// public EventPriority Priority { get; } /// /// Constructor. /// /// The priority for method marked by this attribute. public EventPriorityAttribute( EventPriority priority ) { this.Priority = priority; } } }