summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Events/IManagedEvent.cs
blob: 57277576a4d121ee9eee7580c9d07b4b98a6a8cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#nullable disable

namespace StardewModdingAPI.Framework.Events
{
    /// <summary>Metadata for an event raised by SMAPI.</summary>
    internal interface IManagedEvent
    {
        /*********
        ** Accessors
        *********/
        /// <summary>A human-readable name for the event.</summary>
        string EventName { get; }

        /// <summary>Whether the event is typically called at least once per second.</summary>
        bool IsPerformanceCritical { get; }
    }
}