using System.Collections.Generic;
namespace StardewModdingAPI
{
/// Provides an API for fetching metadata about loaded mods.
public interface IModRegistry : IModLinked
{
/// Get metadata for all loaded mods.
IEnumerable GetAll();
/// Get metadata for a loaded mod.
/// The mod's unique ID.
/// Returns the matching mod's metadata, or null if not found.
IManifest Get(string uniqueID);
/// Get whether a mod has been loaded.
/// The mod's unique ID.
bool IsLoaded(string uniqueID);
}
}