OrpheuSetReturn
Sets the return value of a function
Syntax
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" * @param memberName The name of the member of the struct we want to deal with * @param any If the member is multi cell, * * @return In case the value is uni cell, the value itself */ native OrpheuGetParamStructMember(num,const memberName[],any:...)
Usage
| any | Depending on the type of the return of the function, a value to be used as the return as the original hooked function |
Defined in
orpheu.inc
at line 67
.
This documentation was automatically generated from source.