From 929dccb75a1405737975d76648e015a3e7c00177 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 7 Oct 2017 23:07:10 -0400 Subject: reorganise repo structure --- src/StardewModdingAPI/Framework/IModMetadata.cs | 47 ------------------------- 1 file changed, 47 deletions(-) delete mode 100644 src/StardewModdingAPI/Framework/IModMetadata.cs (limited to 'src/StardewModdingAPI/Framework/IModMetadata.cs') diff --git a/src/StardewModdingAPI/Framework/IModMetadata.cs b/src/StardewModdingAPI/Framework/IModMetadata.cs deleted file mode 100644 index c21734a7..00000000 --- a/src/StardewModdingAPI/Framework/IModMetadata.cs +++ /dev/null @@ -1,47 +0,0 @@ -using StardewModdingAPI.Framework.Models; -using StardewModdingAPI.Framework.ModLoading; - -namespace StardewModdingAPI.Framework -{ - /// 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; } - - /// >Metadata about the mod from SMAPI's internal data (if any). - ModDataRecord DataRecord { get; } - - /// The metadata resolution status. - ModMetadataStatus Status { get; } - - /// The reason the metadata is invalid, if any. - string Error { get; } - - /// The mod instance (if it was loaded). - IMod Mod { 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); - - /// Set the mod instance. - /// The mod instance to set. - IModMetadata SetMod(IMod mod); - } -} -- cgit