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

namespace StardewModdingAPI.Internal.Patching
{
    /// <summary>A set of Harmony patches to apply.</summary>
    internal interface IPatcher
    {
        /*********
        ** Public methods
        *********/
        /// <summary>Apply the Harmony patches for this instance.</summary>
        /// <param name="harmony">The Harmony instance.</param>
        /// <param name="monitor">The monitor with which to log any errors.</param>
        public void Apply(Harmony harmony, IMonitor monitor);
    }
}