Списък с функции в orpheu.inc

Функция Описание
OrpheuGetFunction
Retrieves a function based on a function name
The name must be the same as the one in the file where the function is defined
OrpheuRegisterHook
Hooks a function
OrpheuUnregisterHook
Unregisters a hook (stops it)
OrpheuCall
Calls a function without triggering its hooks
OrpheuCallSuper
Calls a function and triggers its hooks
OrpheuGetReturn
Gets the return value of a function (To be used in hooks Post)
OrpheuSetReturn
Sets the return value of a function
OrpheuSetParam
Sets the value of an argument
OrpheuCreateStruct
Creates a struct
OrpheuGetParamStructMember
Retrieves the value of a member of a struct given the argument number the struct is and the member name
OrpheuSetParamStructMember
Sets the value of member of a struct given the argument number the struct is and the member name
OrpheuGetStructFromParam
Gets a struct handler for a struct received as an argument
Beware that if the original struct gets destroyed or changed these effects will reflect on your use of it.
OrpheuCloneStructFromParam
Creates a struct equal to one received as an argument
OrpheuSetStructMember
Sets the value of a member of a struct given a struct handler and the member name
OrpheuGetStructMember
Retrieves the value of a member of a struct given a struct handler and the member name
OrpheuGetEngineFunctionsStruct
Retrieves a handler to a struct that hold the addresses of the engine functions
By retrieving addresses from the struct is possible to hook them.
A easier way to achieve the same thing is by using the stock OrpheuGetEngineFunction
OrpheuGetDLLFunctionsStruct
Retrieves a handler to a struct that hold the addresses of the dll functions
By retrieving addresses from the struct is possible to hook them.
A easier way to achieve the same thing is by using the stock OrpheuGetDllFunction
OrpheuGetFunctionFromClass
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
OrpheuGetFunctionFromEntity
Retrieves a handler to a function given the ID of an entity, 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
OrpheuGetFunctionFromObject
Retrieves a handler to a function given an object, 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
OrpheuGetFunctionFromMonster
Retrieves a handler to a function given the id of a monster of monstermod, 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

This function goes against the spirit of orpheu of hardcoding the less possible but without it would be much
more complex to use virtual functions