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.
Syntax
native OrpheuStruct:OrpheuGetStructFromParam(num) /** * Creates a struct equal to one received as an argument * * @param num The number of the argument. The first argument would be the number "1" * * @return A handler to the struct */ native OrpheuStruct:OrpheuCloneStructFromParam(num) /** * Sets the value of a member of a struct given a struct handler and the member name * * @param struct A handler to the struct * @param memberName The name of the member of the struct we want to deal with * @param any The new value */ native OrpheuSetStructMember(OrpheuStruct:struct,const memberName[],any:...) /** * Retrieves the value of a member of a struct given a struct handler and the member name * * @param struct A handler to the struct * @param memberName The name of the member of the struct we want to deal with * @param 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 */ native OrpheuGetStructMember(OrpheuStruct:struct,const memberName[],any:...)
Usage
| num | The number of the argument. The first argument would be the number "1" |
Return
A — handler to the struct
Defined in
orpheu.inc
at line 114
.
This documentation was automatically generated from source.