#if HARMONY_2 using HarmonyLib; #else using Harmony; #endif namespace StardewModdingAPI.Framework.Patching { /// A Harmony patch to apply. internal interface IHarmonyPatch { /// A unique name for this patch. string Name { get; } /// Apply the Harmony patch. /// The Harmony instance. #if HARMONY_2 void Apply(Harmony harmony); #else void Apply(HarmonyInstance harmony); #endif } }