From 9ef4876c5e7de02d17785ebe7950f0edc57ae194 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 20 May 2017 00:29:04 -0400 Subject: add metadata to internal mod registry & use mod display name everywhere --- .../Framework/ModLoading/IModMetadata.cs | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/StardewModdingAPI/Framework/ModLoading/IModMetadata.cs (limited to 'src/StardewModdingAPI/Framework/ModLoading/IModMetadata.cs') diff --git a/src/StardewModdingAPI/Framework/ModLoading/IModMetadata.cs b/src/StardewModdingAPI/Framework/ModLoading/IModMetadata.cs deleted file mode 100644 index 3771ffdd..00000000 --- a/src/StardewModdingAPI/Framework/ModLoading/IModMetadata.cs +++ /dev/null @@ -1,39 +0,0 @@ -using StardewModdingAPI.Framework.Models; - -namespace StardewModdingAPI.Framework.ModLoading -{ - /// Metadata for a mod. - internal interface IModMetadata - { - /********* - ** Accessors - *********/ - /// The mod's display name. - string DisplayName { get; } - - /// The mod's full directory path. - string DirectoryPath { get; } - - /// The mod manifest. - IManifest Manifest { get; } - - /// Optional metadata about a mod version that SMAPI should assume is compatible or broken, regardless of whether it detects incompatible code. - ModCompatibility Compatibility { get; } - - /// The metadata resolution status. - ModMetadataStatus Status { get; } - - /// The reason the metadata is invalid, if any. - string Error { get; } - - - /********* - ** Public methods - *********/ - /// Set the mod status. - /// The metadata resolution status. - /// The reason the metadata is invalid, if any. - /// Return the instance for chaining. - IModMetadata SetStatus(ModMetadataStatus status, string error = null); - } -} -- cgit