From ad8912047beaf84ce34f4918703d55841be13ff0 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 26 Mar 2022 01:43:40 -0400 Subject: add asset edit priority (#766) --- src/SMAPI/Events/AssetEditPriority.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/SMAPI/Events/AssetEditPriority.cs (limited to 'src/SMAPI/Events/AssetEditPriority.cs') diff --git a/src/SMAPI/Events/AssetEditPriority.cs b/src/SMAPI/Events/AssetEditPriority.cs new file mode 100644 index 00000000..d41dfd7d --- /dev/null +++ b/src/SMAPI/Events/AssetEditPriority.cs @@ -0,0 +1,16 @@ +namespace StardewModdingAPI.Events +{ + /// The priority for an asset edit when multiple apply for the same asset. + /// You can also specify arbitrary intermediate values, like AssetLoadPriority.Low + 5. + public enum AssetEditPriority + { + /// This edit should be applied before (i.e. 'under') edits. + Early = -1000, + + /// The default priority. + Default = 0, + + /// This edit should be applied after (i.e. 'on top of') edits. + Late = 1000 + } +} -- cgit