OrpheuGetReturn

Gets the return value of a function (To be used in hooks Post)

Syntax

native any:OrpheuGetReturn(any:...) /** * Sets the return value of a function * * @param any Depending on the type of the return of the function, a value to be used as the return as the original hooked function */ native OrpheuSetReturn(any:...) /** * Sets the value of an argument * * @param num The number of the argument. The first argument would be the number "1" * @param any Depending on the type of the argument, a value to be replace it to change the behaviour of the hooked function */ native OrpheuSetParam(num,any:...) /** * Creates a struct * * @param structType The type of the struct * * @return A handler to the struct */ native OrpheuStruct:OrpheuCreateStruct(OrpheuStructType:structType) /** * Retrieves the value of a member of a struct given the argument number the struct is and the member name * * @param num The number of the argument. The first argument would be the number "1"

Usage

any In case the value is multi cell (string or vector), an holder to receive them by ref

Return

In — case the value is uni cell, the value itself

Defined in orpheu.inc at line 60 . This documentation was automatically generated from source.