BepInEx / HarmonyX

Harmony built on top of MonoMod.RuntimeDetours with additional features
MIT License
329 stars 42 forks source link

Add HarmonyOptional attribute #105

Closed ManlyMarco closed 5 months ago

ManlyMarco commented 5 months ago

Add a patch attribute that marks the patch as optional - if the method is not found or patching fails, the patch process is not aborted and there's a warning given, not an error.

For now only missing methods are handled, not exceptions.

Resolves #47