summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-11-16 15:14:45 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-11-16 15:14:45 -0500
commit1ac930979a34c2fde4e0fb5ff5244ea18c68aa77 (patch)
tree720c491e5acbb43357f40637bd2e197bc18520bc
parent8c5404f99cf413116bf637b82dcfcd466ab93d1f (diff)
downloadSMAPI-1ac930979a34c2fde4e0fb5ff5244ea18c68aa77.tar.gz
SMAPI-1ac930979a34c2fde4e0fb5ff5244ea18c68aa77.tar.bz2
SMAPI-1ac930979a34c2fde4e0fb5ff5244ea18c68aa77.zip
mark deprecated manifest fields
-rw-r--r--src/StardewModdingAPI/Manifest.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Manifest.cs b/src/StardewModdingAPI/Manifest.cs
index 6819cbd1..c07dc845 100644
--- a/src/StardewModdingAPI/Manifest.cs
+++ b/src/StardewModdingAPI/Manifest.cs
@@ -20,7 +20,7 @@ namespace StardewModdingAPI
public virtual string Author { get; set; } = "";
/// <summary>Obsolete.</summary>
- [Obsolete("Use 'Author'.")]
+ [Obsolete("Use " + nameof(Manifest) + "." + nameof(Manifest.Author) + ".")]
public virtual string Authour
{
get { return this.Author; }
@@ -41,6 +41,7 @@ namespace StardewModdingAPI
public virtual string UniqueID { get; set; } = Guid.NewGuid().ToString();
/// <summary>Whether the mod uses per-save config files.</summary>
+ [Obsolete("Use " + nameof(Mod) + "." + nameof(Mod.Helper) + "." + nameof(ModHelper.ReadConfig) + " instead")]
public virtual bool PerSaveConfigs { get; set; }
/// <summary>The name of the DLL in the directory that has the <see cref="Mod.Entry"/> method.</summary>