summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Events/IManagedEvent.cs
blob: e4e3ca08c45dad2d1c7e650ad469a2450ebccad5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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; }
    }
}