OrpheuCreateStruct
Creates a struct
Syntax
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:...) /** * Sets the value of 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 The new value */ native OrpheuSetParamStructMember(num,const memberName[],any:...) /** * 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. * * @param num The number of the argument. The first argument would be the number "1" * * @return A handler to the struct */
Usage
| structType | The type of the struct |
Return
A — handler to the struct
Defined in
orpheu.inc
at line 84
.
This documentation was automatically generated from source.