summaryrefslogtreecommitdiff
path: root/src/SMAPI/IModRegistry.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-08-22 23:03:09 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-08-22 23:03:09 -0400
commitceac1de6ec7ed5f7ecc32cb99a665af891863657 (patch)
tree142fe10ea01e13ba881d4aa8b938dbb13e138ef8 /src/SMAPI/IModRegistry.cs
parent046c6be68ad5d48e69512116100797a974330d4b (diff)
downloadSMAPI-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.cs4
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>