#nullable disable
namespace StardewModdingAPI.Framework
{
/// A generic tuple which links something to a mod.
/// The interceptor type.
internal class ModLinked
{
/*********
** Accessors
*********/
/// The mod metadata.
public IModMetadata Mod { get; }
/// The instance linked to the mod.
public T Data { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The mod metadata.
/// The instance linked to the mod.
public ModLinked(IModMetadata mod, T data)
{
this.Mod = mod;
this.Data = data;
}
}
}