diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-10 23:05:24 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-10 23:05:24 -0400 |
commit | 8c8ec6a4572fd3e59b738fc7545fcddc764f4519 (patch) | |
tree | a6be398e9b23a13672b3ceb98f8055c7cfb5b78d /src/SMAPI/Framework/Events/ManagedEvent.cs | |
parent | eb01aa275b272774c48672a2560455d3fb902a4e (diff) | |
download | SMAPI-8c8ec6a4572fd3e59b738fc7545fcddc764f4519.tar.gz SMAPI-8c8ec6a4572fd3e59b738fc7545fcddc764f4519.tar.bz2 SMAPI-8c8ec6a4572fd3e59b738fc7545fcddc764f4519.zip |
remove unused IsPerformanceCritical event field
Diffstat (limited to 'src/SMAPI/Framework/Events/ManagedEvent.cs')
-rw-r--r-- | src/SMAPI/Framework/Events/ManagedEvent.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/SMAPI/Framework/Events/ManagedEvent.cs b/src/SMAPI/Framework/Events/ManagedEvent.cs index 4b8a770d..a16beb77 100644 --- a/src/SMAPI/Framework/Events/ManagedEvent.cs +++ b/src/SMAPI/Framework/Events/ManagedEvent.cs @@ -36,9 +36,6 @@ namespace StardewModdingAPI.Framework.Events /// <inheritdoc /> public string EventName { get; } - /// <inheritdoc /> - public bool IsPerformanceCritical { get; } - /********* ** Public methods @@ -46,12 +43,10 @@ namespace StardewModdingAPI.Framework.Events /// <summary>Construct an instance.</summary> /// <param name="eventName">A human-readable name for the event.</param> /// <param name="modRegistry">The mod registry with which to identify mods.</param> - /// <param name="isPerformanceCritical">Whether the event is typically called at least once per second.</param> - public ManagedEvent(string eventName, ModRegistry modRegistry, bool isPerformanceCritical = false) + public ManagedEvent(string eventName, ModRegistry modRegistry) { this.EventName = eventName; this.ModRegistry = modRegistry; - this.IsPerformanceCritical = isPerformanceCritical; } /// <summary>Get whether anything is listening to the event.</summary> |