HarmonyX icon indicating copy to clipboard operation
HarmonyX copied to clipboard

Feature request - HarmonyOptional attribute

Open ManlyMarco opened this issue 2 years ago • 0 comments

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. It could have a parameter to specify if exceptions should be ignored or not. If target method is not found, it will always skip the patch (and show a short warning that an optional patch was skipped).

Use case is supporting multiple game versions where name or parameters of a method got changed.

ManlyMarco avatar Apr 13 '22 10:04 ManlyMarco