OrpheuRegisterHook

Синтаксис

native OrpheuHook:OrpheuRegisterHook(OrpheuFunction:function,const hookFunctionName[],OrpheuHookPhase:phase = OrpheuHookPre)

Употреба

function
A handler to the function
hookFunctionName
The function name in the plugin that shall be called upon interception of the original function
phase
The phase of the hook. It can have two values. Pre means "right before the original function is called". Post means "right after the original function is called"

Описание

Hooks a function

Връщаща стойност

A handler to the hook