diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-01-26 20:45:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-26 20:45:27 -0500 |
commit | 7cbf298bd42606b41386f117566c79732f88cccf (patch) | |
tree | b474fe278501ff8f24c5bb6534005077b75f45e6 /src/SMAPI/Framework/Events/IManagedEvent.cs | |
parent | a96bfea205ab855913726cad58d63191fbf24399 (diff) | |
parent | 860b30443ec47ceb271a008c26f3b358cf7bb409 (diff) | |
download | SMAPI-7cbf298bd42606b41386f117566c79732f88cccf.tar.gz SMAPI-7cbf298bd42606b41386f117566c79732f88cccf.tar.bz2 SMAPI-7cbf298bd42606b41386f117566c79732f88cccf.zip |
Merge pull request #690 from Drachenkaetzchen/performance-counter
Performance counters
Diffstat (limited to 'src/SMAPI/Framework/Events/IManagedEvent.cs')
-rw-r--r-- | src/SMAPI/Framework/Events/IManagedEvent.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/Events/IManagedEvent.cs b/src/SMAPI/Framework/Events/IManagedEvent.cs new file mode 100644 index 00000000..e4e3ca08 --- /dev/null +++ b/src/SMAPI/Framework/Events/IManagedEvent.cs @@ -0,0 +1,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; } + } +} |