Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
MonoDetour BepInEx 5
HarmonyX interop & BepInEx 5 logger integration for MonoDetour. Initializes MonoDetour early as a side effect.
| Last updated | 2 months ago |
| Total downloads | 4750113 |
| Total rating | 18 |
| Categories | Libraries |
| Dependency string | MonoDetour-MonoDetour_BepInEx_5-0.7.13 |
| Dependants | 860 other packages depend on this package |
This mod requires the following mods to function
MonoDetour-MonoDetour
Easy and convenient .NET detouring library, powered by MonoMod.RuntimeDetour.
Preferred version: 0.7.13README
MonoDetour BepInEx 5
This plugin provides:
- BepInEx logger integration for MonoDetour
- HarmonyX interop for MonoDetour
- Initializes MonoDetour early as a side effect
MonoDetour initializing early means that everyone after will get the following:
ILHooks (includes HarmonyX transpilers) will get MonoDetour's CIL analysis on target method compilation when anInvalidProgramExceptionis thrown- If an
ILHookmanipulator method throws on legacy MonoMod.RuntimeDetour, it will be disabled so the target method can be ILHooked successfully later - MonoMod's
ILLabels won't cause InvalidCastExceptions in someMono.Cecil.Cil.Instructionmethods, such asToString.