|
Chrysalis - Hooks
|
#include <HooksManager.h>
Static Public Member Functions | |
| template<auto F, typename Callback> requires BeforeCallbackFor<Callback, F> | |
| static void | addBefore (Callback &&callback, std::optional< size_t > position=std::nullopt) |
| template<auto F> requires HookableFunction<F> | |
| static void | removeBefore (size_t position) |
| template<auto F, typename Callback> requires AfterCallbackFor<Callback, F> | |
| static void | addAfter (Callback &&callback, std::optional< size_t > position=std::nullopt) |
| template<auto F> requires HookableFunction<F> | |
| static void | removeAfter (size_t position) |
| template<auto F, typename Callback> requires ReplaceCallbackFor<Callback, F> | |
| static void | addReplace (Callback &&callback) |
| template<auto F> requires HookableFunction<F> | |
| static void | removeReplace () |
| template<auto F, typename Callback> requires IgnoreConditionallyCallbackFor<Callback, F> | |
| static void | addIgnoreConditionally (Callback &&callback) |
| template<auto F> requires HookableFunction<F> | |
| static void | removeIgnoreConditionally () |
| template<auto F> requires VoidHookableFunction<F> | |
| static void | addIgnore () |
| template<auto F> requires VoidHookableFunction<F> | |
| static void | removeIgnore () |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |