NativeFunction Class

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

A collection of methods for invoking natives.
Inheritance Hierarchy

SystemObject
  Rage.NativeNativeFunction

Namespace:  Rage.Native
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

[SerializableAttribute]
public static class NativeFunction

The NativeFunction type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberNatives
Gets an object that can be used to invoke natives. See DynamicNativeFunction for more information.
Top
Methods

  NameDescription
Public methodStatic memberCall
Public methodStatic memberCallByAddress(IntPtr, Type, NativeArgument)
Calls a native by its address. This method should not be called directly. Use [!:Rage::NativeFunction::Natives] instead.
Public methodStatic memberCallByAddressReturnType(IntPtr, NativeArgument)
Calls a native by its address. This method should not be called directly. Use [!:Rage::NativeFunction::Natives] instead.
Public methodStatic memberCallByHash(UInt64, Type, NativeArgument)
Calls a native by its hash. This method should not be called directly. Use [!:Rage::NativeFunction::Natives] instead.
Public methodStatic memberCallByHashReturnType(UInt64, NativeArgument)
Calls a native by its hash. This method should not be called directly. Use [!:Rage::NativeFunction::Natives] instead.
Public methodStatic memberCallByName(String, Type, NativeArgument)
Calls a native by its name. This method should not be called directly. Use [!:Rage::NativeFunction::Natives] instead.
Public methodStatic memberCallByNameReturnType(String, NativeArgument)
Calls a native by its name. This method should not be called directly. Use [!:Rage::NativeFunction::Natives] instead.
Top
See Also

Reference