Conversation
|
I'm not happy with this API, I think. I also don't think I like the actual hooks implementation; while I didn't inspect it too carefully, it kinda looks like it's layered quite poorly; this should be able to take good advantage of the platform triple structure that already exists in Core. |
I can't say I'm too happy with it either. It was basically a first idea on how it would be possible to specify which generics should be detoured.
This is, to a large part, caused by
which made me want to change the least amount of existing methods possible, and restricting my changes to mostly new classes/files |
Preface:
InternalsVisibleToAttributeto MonoMod.Core for MonoMod.RuntimeDetours because I wasn't sure where to put the classes and just wanted to keep everything in one place for now.Disclaimer:
Basic API:
tit encounters if thattis compatible with any of your primed types. E.g. if you primedobject, thenstringwill automatically be primed if it's called.tit encounters.Design:
[call] =>
Caveats: