OrpheuGetStructMember

Retrieves the value of a member of a struct given a struct handler and the member name

Syntax

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() /** * Retrieves a handler to a struct that hold the addresses of the dll 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 OrpheuGetDllFunction * @return A handler to a struct that holds the dll functions */ native OrpheuStruct:OrpheuGetDLLFunctionsStruct() /** * Retrieves a handler to a function given a classname, the function name and the classname * This function is a virtual function (a function defined in abase class and implemented * differently by each extender class) * For example: every class that extends CBaseEntity has a Spawn function. That function is defined in CBaseEntity * and implemented differently by each class derived from CBaseEntity * * @param entityClassName A class related to the object that holds the function wanted to be hooked. Example: "player" * @param libFunctionName The library function name as it is in the file created to define the function * @param libClassName The library function name as it is in the file created to define the function

Usage

struct A handler to the struct
memberName The name of the member of the struct we want to deal with

Return

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

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