diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-08-22 23:03:09 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-08-22 23:03:09 -0400 |
commit | ceac1de6ec7ed5f7ecc32cb99a665af891863657 (patch) | |
tree | 142fe10ea01e13ba881d4aa8b938dbb13e138ef8 /src/SMAPI/IModRegistry.cs | |
parent | 046c6be68ad5d48e69512116100797a974330d4b (diff) | |
download | SMAPI-ceac1de6ec7ed5f7ecc32cb99a665af891863657.tar.gz SMAPI-ceac1de6ec7ed5f7ecc32cb99a665af891863657.tar.bz2 SMAPI-ceac1de6ec7ed5f7ecc32cb99a665af891863657.zip |
change mod registry to return a container interface (#534)
Diffstat (limited to 'src/SMAPI/IModRegistry.cs')
-rw-r--r-- | src/SMAPI/IModRegistry.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/IModRegistry.cs b/src/SMAPI/IModRegistry.cs index a06e099e..10b3121e 100644 --- a/src/SMAPI/IModRegistry.cs +++ b/src/SMAPI/IModRegistry.cs @@ -6,12 +6,12 @@ namespace StardewModdingAPI public interface IModRegistry : IModLinked { /// <summary>Get metadata for all loaded mods.</summary> - IEnumerable<IManifest> GetAll(); + IEnumerable<IModInfo> GetAll(); /// <summary>Get metadata for a loaded mod.</summary> /// <param name="uniqueID">The mod's unique ID.</param> /// <returns>Returns the matching mod's metadata, or <c>null</c> if not found.</returns> - IManifest Get(string uniqueID); + IModInfo Get(string uniqueID); /// <summary>Get whether a mod has been loaded.</summary> /// <param name="uniqueID">The mod's unique ID.</param> |