blob: 38d30ab2e61bc093255c8afa17438acebea94595 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#if HARMONY_2
using HarmonyLib;
#else
using Harmony;
#endif
namespace StardewModdingAPI.Framework.Patching
{
/// <summary>A Harmony patch to apply.</summary>
internal interface IHarmonyPatch
{
/*********
** Methods
*********/
/// <summary>Apply the Harmony patch.</summary>
/// <param name="harmony">The Harmony instance.</param>
#if HARMONY_2
void Apply(Harmony harmony);
#else
void Apply(HarmonyInstance harmony);
#endif
}
}
|