fix IManifest fields being settable
This commit is contained in:
parent
03876153f4
commit
dc4ad15afe
|
@ -5,28 +5,31 @@ namespace StardewModdingAPI
|
||||||
/// <summary>A manifest which describes a mod for SMAPI.</summary>
|
/// <summary>A manifest which describes a mod for SMAPI.</summary>
|
||||||
public interface IManifest
|
public interface IManifest
|
||||||
{
|
{
|
||||||
|
/*********
|
||||||
|
** Accessors
|
||||||
|
*********/
|
||||||
/// <summary>The mod name.</summary>
|
/// <summary>The mod name.</summary>
|
||||||
string Name { get; set; }
|
string Name { get; }
|
||||||
|
|
||||||
/// <summary>A brief description of the mod.</summary>
|
/// <summary>A brief description of the mod.</summary>
|
||||||
string Description { get; set; }
|
string Description { get; }
|
||||||
|
|
||||||
/// <summary>The mod author's name.</summary>
|
/// <summary>The mod author's name.</summary>
|
||||||
string Author { get; }
|
string Author { get; }
|
||||||
|
|
||||||
/// <summary>The mod version.</summary>
|
/// <summary>The mod version.</summary>
|
||||||
ISemanticVersion Version { get; set; }
|
ISemanticVersion Version { get; }
|
||||||
|
|
||||||
/// <summary>The minimum SMAPI version required by this mod, if any.</summary>
|
/// <summary>The minimum SMAPI version required by this mod, if any.</summary>
|
||||||
string MinimumApiVersion { get; set; }
|
string MinimumApiVersion { get; }
|
||||||
|
|
||||||
/// <summary>The unique mod ID.</summary>
|
/// <summary>The unique mod ID.</summary>
|
||||||
string UniqueID { get; set; }
|
string UniqueID { get; }
|
||||||
|
|
||||||
/// <summary>The name of the DLL in the directory that has the <see cref="Mod.Entry"/> method.</summary>
|
/// <summary>The name of the DLL in the directory that has the <see cref="Mod.Entry"/> method.</summary>
|
||||||
string EntryDll { get; set; }
|
string EntryDll { get; }
|
||||||
|
|
||||||
/// <summary>Any manifest fields which didn't match a valid field.</summary>
|
/// <summary>Any manifest fields which didn't match a valid field.</summary>
|
||||||
IDictionary<string, object> ExtraFields { get; set; }
|
IDictionary<string, object> ExtraFields { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue