summaryrefslogtreecommitdiff
path: root/src/SMAPI/IPrivateField.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-04-11 21:15:16 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-04-11 21:15:16 -0400
commit9c1617c9ee51a0f6b93242fe8fc789336957460c (patch)
treefc1cf736ed0c7c6e8731abf87bfb8d1a17f8746d /src/SMAPI/IPrivateField.cs
parentb9bc1a6d17cafa0a97b46ffecda432cfc2f23b51 (diff)
downloadSMAPI-9c1617c9ee51a0f6b93242fe8fc789336957460c.tar.gz
SMAPI-9c1617c9ee51a0f6b93242fe8fc789336957460c.tar.bz2
SMAPI-9c1617c9ee51a0f6b93242fe8fc789336957460c.zip
drop support for Stardew Valley 1.2 (#453)
Diffstat (limited to 'src/SMAPI/IPrivateField.cs')
-rw-r--r--src/SMAPI/IPrivateField.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/SMAPI/IPrivateField.cs b/src/SMAPI/IPrivateField.cs
deleted file mode 100644
index 42bf7d2e..00000000
--- a/src/SMAPI/IPrivateField.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-#if !STARDEW_VALLEY_1_3
-using System;
-using System.Reflection;
-
-namespace StardewModdingAPI
-{
- /// <summary>A private field obtained through reflection.</summary>
- /// <typeparam name="TValue">The field value type.</typeparam>
- [Obsolete("Use " + nameof(IReflectedField<TValue>) + " instead")]
- public interface IPrivateField<TValue>
- {
- /*********
- ** Accessors
- *********/
- /// <summary>The reflection metadata.</summary>
- FieldInfo FieldInfo { get; }
-
-
- /*********
- ** Public methods
- *********/
- /// <summary>Get the field value.</summary>
- TValue GetValue();
-
- /// <summary>Set the field value.</summary>
- //// <param name="value">The value to set.</param>
- void SetValue(TValue value);
- }
-}
-#endif