OrpheuGetStructFromAddress

Gets a handle to a struct given an address in memory

Syntax

native OrpheuStruct:OrpheuGetStructFromAddress(OrpheuStructType:structType,address) /** * Gets the handler to a function given its address and the name that you give it in the file where you define the function * * @param address The address where the function is * @param libFunctionName The name of the function as it is in the file where the function is defined * @param className The name of the class if the function belongs to one * * @return A handler to the function */ native OrpheuFunction:OrpheuCreateFunction(address,const libFunctionName[],const classname[]="") /** * Gets the offset of the adress where the function is located to the base address of its library * * @param function A handler to the function * * @return The offset */ native OrpheuGetFunctionOffset(OrpheuFunction:function) /** * Gets the adress of a library * * @param libraryName The name of the library. For the mod library (cstrike,czero,etc) use "mod" * * @return The address */ native OrpheuGetLibraryAddress(const libraryName[])

Usage

structType The type of the struct
address The address where the struct is in

Return

A — handler to the struct

Defined in orpheu_advanced.inc at line 35 . This documentation was automatically generated from source.