#if HARMONY_2 using HarmonyLib; #else using Harmony; #endif namespace StardewModdingAPI.Framework.Patching { /// A Harmony patch to apply. internal interface IHarmonyPatch { /********* ** Methods *********/ /// Apply the Harmony patch. /// The Harmony instance. #if HARMONY_2 void Apply(Harmony harmony); #else void Apply(HarmonyInstance harmony); #endif } }