[This is preliminary documentation and is subject to change.]
Calls a native by its address. This method should not be called directly. Use [!:Rage::NativeFunction::Natives] instead.
Namespace: Rage.Native
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
[HandleProcessCorruptedStateExceptionsAttribute] public static ReturnType CallByAddress<ReturnType>( IntPtr address, params NativeArgument[] arguments ) where ReturnType : struct, new()
Parameters
- address
- Type: SystemIntPtr
The address of the native to call. - arguments
- Type: Rage.NativeNativeArgument
The arguments to pass to the native.
Type Parameters
- ReturnType
- The type of the return value. If the native doesn't return a value pass int.
Return Value
Type: ReturnTypeAn instance of [!:ReturnType] representing the return value of the native.
Remarks
See Also