summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/EventArgsValueChanged.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Events/EventArgsValueChanged.cs')
-rw-r--r--src/SMAPI/Events/EventArgsValueChanged.cs33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/SMAPI/Events/EventArgsValueChanged.cs b/src/SMAPI/Events/EventArgsValueChanged.cs
deleted file mode 100644
index 7bfac7a2..00000000
--- a/src/SMAPI/Events/EventArgsValueChanged.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-#if !SMAPI_3_0_STRICT
-using System;
-
-namespace StardewModdingAPI.Events
-{
- /// <summary>Event arguments for a field that changed value.</summary>
- /// <typeparam name="T">The value type.</typeparam>
- public class EventArgsValueChanged<T> : EventArgs
- {
- /*********
- ** Accessors
- *********/
- /// <summary>The previous value.</summary>
- public T PriorValue { get; }
-
- /// <summary>The current value.</summary>
- public T NewValue { get; }
-
-
- /*********
- ** Public methods
- *********/
- /// <summary>Construct an instance.</summary>
- /// <param name="priorValue">The previous value.</param>
- /// <param name="newValue">The current value.</param>
- public EventArgsValueChanged(T priorValue, T newValue)
- {
- this.PriorValue = priorValue;
- this.NewValue = newValue;
- }
- }
-}
-#endif