HarmonyX Documentation

repository·master·Indexed 19 days ago

https://github.com/bepinex/harmonyx

A runtime method patching library optimized for Unity and BepInEx modding. A fork of Harmony 2 that uses MonoMod.RuntimeDetour to intercept, replace, or decorate .NET and Mono methods.

Tokens
162
Snippets
1
Records
2
Agent score
18%

What's inside HarmonyX

  1. What is HarmonyX

    master
    HarmonyX is a library designed for patching, replacing, and decorating .NET and Mono methods during runtime. It is a fork of Harmony 2 specifically optimized for game modding frameworks, particularly Unity and BepInEx. It leverages MonoMod.RuntimeDetour to provide patching capabilities while maintaining feature parity with the original Harmony.
  2. Install HarmonyX via NuGet

    master

    You can obtain stable releases of HarmonyX through the NuGet package manager. This is the recommended method for integrating the library into your .NET projects.

    # Search for HarmonyX on NuGet
    # Package name: HarmonyX