OrpheuGetFunctionFromClass

Syntax

native OrpheuFunction:OrpheuGetFunctionFromClass(const entityClassName[],const libFunctionName[],const libClassName[])

Usage

entityClassName
A class related to the object that holds the function wanted to be hooked. Example: "player"
libFunctionName
The library function name as it is in the file created to define the function
libClassName
The library function name as it is in the file created to define the function

Description

Retrieves a handler to a function given a classname, the function name and the classname
This function is a virtual function (a function defined in abase class and implemented
differently by each extender class)
For example: every class that extends CBaseEntity has a Spawn function. That function is defined in CBaseEntity
and implemented differently by each class derived from CBaseEntity

Return

A handler to the function