beatsaber-hook icon indicating copy to clipboard operation
beatsaber-hook copied to clipboard

Add implicit/explicit MethodInfo* parameter

Open sc2ad opened this issue 2 years ago • 0 comments

Hook installs should have the methodinfo* parameter. Ideally we have a scenario such that for hooks that do not have a methodinfo*, (match or find hooks specifically) we can implicitly add one, and for hooks that have them as the final parameter, do not change the signature at all.

Two template specializations on final match for hooking constructs. Each will perform their work under the hood.

Possibly out of scope but relevant: force swap everything to use wrapper hooks?

sc2ad avatar Oct 25 '22 21:10 sc2ad