Skip to content

DotNET: Add FunctionHook Overloads#1763

Merged
Daztek merged 2 commits intonwnxee:masterfrom
jhett12321:full-function-hook
Aug 16, 2024
Merged

DotNET: Add FunctionHook Overloads#1763
Daztek merged 2 commits intonwnxee:masterfrom
jhett12321:full-function-hook

Conversation

@jhett12321
Copy link
Contributor

Context: https://discord.com/channels/382306806866771978/662711711605719051/1235673196355784794

Since the hook trampoline value can change from other hooks that might subscribe before it, it is currently not possible to reliably return a hook.

This PR adds new hook methods to use pointers to the full Hooks::FunctionHook structure, which should be much more reliable for hook returns.

@Daztek Daztek merged commit ac23aad into nwnxee:master Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants