OrpheuCloneStructFromParam

Creates a struct equal to one received as an argument

Syntax

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:...) /** * 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 * @return A handler to a struct that holds the engine functions */ native OrpheuStruct:OrpheuGetEngineFunctionsStruct()

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 123 . This documentation was automatically generated from source.