RegisterHookChain

Signature
native HookChain:RegisterHookChain(ReAPIFunc:function_id, const callback[], post = 0);
Description

Hook API function that are available into enum.

Look at the enums for parameter lists.

Parameters
  • function — The function to hook
  • callback — The forward to call
  • post — Whether or not to forward this in post
Returns

Returns a hook handle. Use EnableHookChain/DisableHookChain to toggle the forward on or off

Назад
Верх