Skip to content

A library for patching, replacing and decorating .NET and Mono methods during runtime

License

Notifications You must be signed in to change notification settings

Pathoschild/Harmony

 
 

Repository files navigation

This is a custom fork of Harmony 2.3.3 used by the Stardew Valley community. It's bundled with SMAPI automatically. See pardeike/Harmony for documentation and usage.

This fork is identical to the official version, with two changes:

  • Generated method names include the patching Harmony IDs to help troubleshoot error logs:

    // with original Harmony
       at StardewValley.Farm.resetLocalState_Patch1(Object )
    
    // with fork
       at StardewValley.Farm.resetLocalState_PatchedBy<Pathoschild.SmallBeachFarm>(Object )
  • The 0Harmony.dll no longer has Mono.Cecil and MonoMod merged into it. This fixes some of their types being available to mods, and avoids compile errors in SMAPI since it uses Mono.Cecil too.

Here's a list of changes in the forked version.

About

A library for patching, replacing and decorating .NET and Mono methods during runtime

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.9%
  • Other 0.1%