Harmony v2.4.2.225
A library for patching, replacing and decorating .NET and Mono methods during runtime.
Intended to ensure that all mods in a player's modlist are using the latest version of Harmony to minimize conflicts.
We also added a Debug UI! Available via CTRL+ALT+H.
This is an unofficial distribution of the Harmony library created to have an easier way to manage external library dependencies.
The repository of the mod - Bannerlord.Harmony.
Installation
This module should be the highest in loading order. Any other module that requires to be set at the top (Better Exception Window, ButterLib, MCM, etc.) should be loaded after this mod.
For Players
This mod is intended to ensure that all mods in a player's modlist are using the latest version of Harmony to minimize conflicts.
For Modders
We added a Debug UI! Available via CTRL+ALT+H.
You still need to reference Harmony as a NuGet package, it is not required to include 0Harmony.dll in the final /bin output of your module.
You do need to add this to your SubModule.xml
<DependedModules>
<DependedModule Id="Bannerlord.Harmony" />
</DependedModules>
This way the game will ensure that the Harmony library is loaded before your mod.
Versioning
The Module combines the Harmony version used and the Build Id that published the Module. The Build Id is simply added to the end.
2.0.2.22 indicates that Harmony 2.0.2.0 is used and 22 is the Build Id.
2.0.0.1025 indicates that Harmony 2.0.0.10 is used and 25 is the Build Id.
Version v2.10.1.150
Switched to HarmonyX. See the news for more info
Version v2.3.6.220
Works with every version past v1.0.0 (Steam/GOG/Epic) and past v1.2.7 (Xbox).
Added more info for Debug UI. Available via CTRL+ALT+H