diff options
author | Chase W <spacechase0@users.noreply.github.com> | 2020-06-15 15:28:03 -0400 |
---|---|---|
committer | Chase W <spacechase0@users.noreply.github.com> | 2020-06-15 15:33:28 -0400 |
commit | b395e92faae0a197a2d1c2e10e835e38fcc6502c (patch) | |
tree | aa27eca6ef137e1cfdfdfbc58dc798b540fcd538 /src/SMAPI/Events/EventPriority.cs | |
parent | df6e745c6b842290338317ed1d3e969ee222998c (diff) | |
download | SMAPI-b395e92faae0a197a2d1c2e10e835e38fcc6502c.tar.gz SMAPI-b395e92faae0a197a2d1c2e10e835e38fcc6502c.tar.bz2 SMAPI-b395e92faae0a197a2d1c2e10e835e38fcc6502c.zip |
Implemented event priority attribute
Diffstat (limited to 'src/SMAPI/Events/EventPriority.cs')
-rw-r--r-- | src/SMAPI/Events/EventPriority.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/SMAPI/Events/EventPriority.cs b/src/SMAPI/Events/EventPriority.cs new file mode 100644 index 00000000..17f5fbb7 --- /dev/null +++ b/src/SMAPI/Events/EventPriority.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace StardewModdingAPI.Events +{ + /// <summary> + /// Event priority for method handlers. + /// </summary> + public enum EventPriority + { + /// <summary> + /// Low priority. + /// </summary> + Low = 3, + + /// <summary> + /// Normal priority. This is the default. + /// </summary> + Normal = 2, + + /// <summary> + /// High priority. + /// </summary> + High = 1, + } +} |