BepInEx / HarmonyX

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

Skipping a patch when a method isnt found #98

Closed YakovAU closed 6 months ago

YakovAU commented 6 months ago

There are situations in a project with alot of patches where the same DLL will be used on both a dedicated server and client. The code is mostly the same on both, though some methods are missing. To avoid separate distributions, is it possible to have a feature added that PatchAll will 'skip' a patch if a method is not found? Perhaps done with an annotation? Thank you for your time.

ManlyMarco commented 6 months ago

Duplicate of #47