summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Events/IManagedEvent.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-01-26 20:45:27 -0500
committerGitHub <noreply@github.com>2020-01-26 20:45:27 -0500
commit7cbf298bd42606b41386f117566c79732f88cccf (patch)
treeb474fe278501ff8f24c5bb6534005077b75f45e6 /src/SMAPI/Framework/Events/IManagedEvent.cs
parenta96bfea205ab855913726cad58d63191fbf24399 (diff)
parent860b30443ec47ceb271a008c26f3b358cf7bb409 (diff)
downloadSMAPI-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.cs15
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; }
+ }
+}