Much of Affinity is implemented in native code (libpersona.dll, libgeometry.dll) - it would be very helpful to have a native code hooking API to patch native functions. Right now APL can only be used to patch managed libraries, if devs want to patch native functions they need to bring their own solution. It would be better to provide a standardized native patching API to improve compatibility between mods.
This would likely be used by #8 as a test/example.
Much of Affinity is implemented in native code (libpersona.dll, libgeometry.dll) - it would be very helpful to have a native code hooking API to patch native functions. Right now APL can only be used to patch managed libraries, if devs want to patch native functions they need to bring their own solution. It would be better to provide a standardized native patching API to improve compatibility between mods.
This would likely be used by #8 as a test/example.