From 23988a3c33a7a1616c2d36a2c4b7e3a2d06f4216 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 18 Dec 2016 15:37:23 -0500 Subject: migrate manifest & version to interfaces with backwards compatibility (#197) --- src/StardewModdingAPI/IManifest.cs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/StardewModdingAPI/IManifest.cs (limited to 'src/StardewModdingAPI/IManifest.cs') diff --git a/src/StardewModdingAPI/IManifest.cs b/src/StardewModdingAPI/IManifest.cs new file mode 100644 index 00000000..3e4b7513 --- /dev/null +++ b/src/StardewModdingAPI/IManifest.cs @@ -0,0 +1,27 @@ +namespace StardewModdingAPI +{ + /// A manifest which describes a mod for SMAPI. + public interface IManifest + { + /// The mod name. + string Name { get; set; } + + /// A brief description of the mod. + string Description { get; set; } + + /// The mod author's name. + string Author { get; } + + /// The mod version. + ISemanticVersion Version { get; set; } + + /// The minimum SMAPI version required by this mod, if any. + string MinimumApiVersion { get; set; } + + /// The unique mod ID. + string UniqueID { get; set; } + + /// The name of the DLL in the directory that has the method. + string EntryDll { get; set; } + } +} \ No newline at end of file -- cgit