summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Patching/IHarmonyPatch.cs
blob: 7d5eb3d49a5017fb5ccb7ea25b16f561cc8f884d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using HarmonyLib;

namespace StardewModdingAPI.Framework.Patching
{
    /// <summary>A Harmony patch to apply.</summary>
    internal interface IHarmonyPatch
    {
        /// <summary>A unique name for this patch.</summary>
        string Name { get; }

        /// <summary>Apply the Harmony patch.</summary>
        /// <param name="harmony">The Harmony instance.</param>
        void Apply(Harmony harmony);
    }
}