RegisterHookChain

Syntax

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

Usage

Parameter Description
function
The function to hook
callback
The forward to call
post
Whether or not to forward this in post

Description

Hook API function that are available into enum.
Look at the enums for parameter lists.

Return

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