summaryrefslogtreecommitdiff
path: root/src/SMAPI.Internal.Patching/IPatcher.cs
blob: 5b373117698ca1768349842f82fdd03e0e9549f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#nullable disable

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);
    }
}