[DiscordArchive] So this actually calls „executeHook“ on all the dummy hooks?
[DiscordArchive] So this actually calls „executeHook“ on all the dummy hooks?
Archived author: Foe • Posted: 2024-04-03T18:35:06.292000+00:00
Original source
That said, yeah, the whole hook system should be revised
Archived author: Foe • Posted: 2024-04-03T18:36:41.606000+00:00
Original source
Instead of just executing every script on every call, you should have a binding list that explicitly checks whether or not any scripts has that specific hook registered, and then execute it
Archived author: Foe • Posted: 2024-04-03T18:37:10.137000+00:00
Original source
This is how we currently do it in Eluna, you could copy a lot of the logic from there