From dc4ad15afee05cd3c474273f921314cb0656d76c Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 11 May 2017 22:32:47 -0400 Subject: fix IManifest fields being settable --- src/StardewModdingAPI/IManifest.cs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/StardewModdingAPI/IManifest.cs b/src/StardewModdingAPI/IManifest.cs index d7c503a4..38b83347 100644 --- a/src/StardewModdingAPI/IManifest.cs +++ b/src/StardewModdingAPI/IManifest.cs @@ -5,28 +5,31 @@ namespace StardewModdingAPI /// A manifest which describes a mod for SMAPI. public interface IManifest { + /********* + ** Accessors + *********/ /// The mod name. - string Name { get; set; } + string Name { get; } /// A brief description of the mod. - string Description { get; set; } + string Description { get; } /// The mod author's name. string Author { get; } /// The mod version. - ISemanticVersion Version { get; set; } + ISemanticVersion Version { get; } /// The minimum SMAPI version required by this mod, if any. - string MinimumApiVersion { get; set; } + string MinimumApiVersion { get; } /// The unique mod ID. - string UniqueID { get; set; } + string UniqueID { get; } /// The name of the DLL in the directory that has the method. - string EntryDll { get; set; } + string EntryDll { get; } /// Any manifest fields which didn't match a valid field. - IDictionary ExtraFields { get; set; } + IDictionary ExtraFields { get; } } } \ No newline at end of file -- cgit