This PR improves the way hooks are done. Now a hook is created by implementing Hook class. The only things that need to be defined are the hook delegate, hook method and find target method function.
This removes some boilerplate code, and splits hooks across files for more modularity.
No functional changes. Tested on Core Keeper 2021.3.14f
This PR improves the way hooks are done. Now a hook is created by implementing Hook class. The only things that need to be defined are the hook delegate, hook method and find target method function.
This removes some boilerplate code, and splits hooks across files for more modularity. No functional changes. Tested on Core Keeper 2021.3.14f