Class ModuleWrapper
Inheritance
System.Object
ModuleWrapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.Client.dll
Syntax
public class ModuleWrapper
Methods
|
Improve this Doc
View Source
MainWithAssembly(Assembly, IntPtr, IntPtr, String, Dictionary<UInt64, IntPtr>)
Declaration
public static void MainWithAssembly(Assembly resourceAssembly, IntPtr resourcePointer, IntPtr corePointer, string dllName, Dictionary<ulong, IntPtr> cApiFuncTable)
Parameters
Type |
Name |
Description |
System.Reflection.Assembly |
resourceAssembly |
|
IntPtr |
resourcePointer |
|
IntPtr |
corePointer |
|
System.String |
dllName |
|
Dictionary<System.UInt64, IntPtr> |
cApiFuncTable |
|
|
Improve this Doc
View Source
OnAnyResourceError(String)
Declaration
public static void OnAnyResourceError(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
OnAnyResourceStart(String)
Declaration
public static void OnAnyResourceStart(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
OnAnyResourceStop(String)
Declaration
public static void OnAnyResourceStop(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
OnAudioEvent(IntPtr, String, IntPtr, UInt64)
Declaration
public static void OnAudioEvent(IntPtr audio, string name, IntPtr pointer, ulong size)
Parameters
Type |
Name |
Description |
IntPtr |
audio |
|
System.String |
name |
|
IntPtr |
pointer |
|
System.UInt64 |
size |
|
|
Improve this Doc
View Source
OnCheckpoint(IntPtr, IntPtr, BaseObjectType, Byte)
Declaration
public static void OnCheckpoint(IntPtr colshapepointer, IntPtr targetentitypointer, BaseObjectType entitytype, byte state)
Parameters
Type |
Name |
Description |
IntPtr |
colshapepointer |
|
IntPtr |
targetentitypointer |
|
BaseObjectType |
entitytype |
|
System.Byte |
state |
|
|
Improve this Doc
View Source
OnClientEvent(String, IntPtr, UInt64)
Declaration
public static void OnClientEvent(string name, IntPtr pointer, ulong size)
Parameters
Type |
Name |
Description |
System.String |
name |
|
IntPtr |
pointer |
|
System.UInt64 |
size |
|
|
Improve this Doc
View Source
OnColShape(IntPtr, IntPtr, BaseObjectType, Byte)
Declaration
public static void OnColShape(IntPtr colshapepointer, IntPtr targetentitypointer, BaseObjectType entitytype, byte state)
Parameters
Type |
Name |
Description |
IntPtr |
colshapepointer |
|
IntPtr |
targetentitypointer |
|
BaseObjectType |
entitytype |
|
System.Byte |
state |
|
|
Improve this Doc
View Source
OnConnectionComplete()
Declaration
public static void OnConnectionComplete()
|
Improve this Doc
View Source
OnConsoleCommand(String, String[], Int32)
Declaration
public static void OnConsoleCommand(string name, string[] args, int _)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String[] |
args |
|
System.Int32 |
_ |
|
|
Improve this Doc
View Source
OnCreateBaseObject(IntPtr, BaseObjectType, UInt32)
Declaration
public static void OnCreateBaseObject(IntPtr baseObject, BaseObjectType type, uint id)
Parameters
Type |
Name |
Description |
IntPtr |
baseObject |
|
BaseObjectType |
type |
|
System.UInt32 |
id |
|
|
Improve this Doc
View Source
OnEntityHitEntity(IntPtr, BaseObjectType, IntPtr, BaseObjectType, UInt32)
Declaration
public static void OnEntityHitEntity(IntPtr targetpointer, BaseObjectType targettype, IntPtr damagerpointer, BaseObjectType damagertype, uint weaponhash)
Parameters
Type |
Name |
Description |
IntPtr |
targetpointer |
|
BaseObjectType |
targettype |
|
IntPtr |
damagerpointer |
|
BaseObjectType |
damagertype |
|
System.UInt32 |
weaponhash |
|
|
Improve this Doc
View Source
OnGameEntityCreate(IntPtr, BaseObjectType)
Declaration
public static void OnGameEntityCreate(IntPtr pointer, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
OnGameEntityDestroy(IntPtr, BaseObjectType)
Declaration
public static void OnGameEntityDestroy(IntPtr pointer, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
Declaration
public static void OnGlobalMetaChange(string key, IntPtr value, IntPtr oldValue)
Parameters
Type |
Name |
Description |
System.String |
key |
|
IntPtr |
value |
|
IntPtr |
oldValue |
|
|
Improve this Doc
View Source
Declaration
public static void OnGlobalSyncedMetaChange(string key, IntPtr value, IntPtr oldValue)
Parameters
Type |
Name |
Description |
System.String |
key |
|
IntPtr |
value |
|
IntPtr |
oldValue |
|
|
Improve this Doc
View Source
OnKeyDown(UInt32)
Declaration
public static void OnKeyDown(uint key)
Parameters
Type |
Name |
Description |
System.UInt32 |
key |
|
|
Improve this Doc
View Source
OnKeyUp(UInt32)
Declaration
public static void OnKeyUp(uint key)
Parameters
Type |
Name |
Description |
System.UInt32 |
key |
|
|
Improve this Doc
View Source
Declaration
public static void OnLocalMetaChange(string key, IntPtr value, IntPtr oldValue)
Parameters
Type |
Name |
Description |
System.String |
key |
|
IntPtr |
value |
|
IntPtr |
oldValue |
|
|
Improve this Doc
View Source
Declaration
public static void OnMetaChange(IntPtr target, BaseObjectType type, string key, IntPtr value, IntPtr oldvalue)
Parameters
Type |
Name |
Description |
IntPtr |
target |
|
BaseObjectType |
type |
|
System.String |
key |
|
IntPtr |
value |
|
IntPtr |
oldvalue |
|
|
Improve this Doc
View Source
OnNetOwnerChange(IntPtr, BaseObjectType, IntPtr, IntPtr)
Declaration
public static void OnNetOwnerChange(IntPtr target, BaseObjectType type, IntPtr newOwner, IntPtr oldOwner)
Parameters
Type |
Name |
Description |
IntPtr |
target |
|
BaseObjectType |
type |
|
IntPtr |
newOwner |
|
IntPtr |
oldOwner |
|
|
Improve this Doc
View Source
OnPlayerBulletHit(UInt32, IntPtr, BaseObjectType, Position)
Declaration
public static void OnPlayerBulletHit(uint weapon, IntPtr victimpointer, BaseObjectType victimtype, Position pos)
Parameters
|
Improve this Doc
View Source
OnPlayerChangeAnimation(IntPtr, BaseObjectType, UInt32, UInt32, UInt32, UInt32)
Declaration
public static void OnPlayerChangeAnimation(IntPtr player, BaseObjectType type, uint oldDict, uint newDict, uint oldName, uint newName)
Parameters
Type |
Name |
Description |
IntPtr |
player |
|
BaseObjectType |
type |
|
System.UInt32 |
oldDict |
|
System.UInt32 |
newDict |
|
System.UInt32 |
oldName |
|
System.UInt32 |
newName |
|
|
Improve this Doc
View Source
OnPlayerChangeInterior(IntPtr, BaseObjectType, UInt32, UInt32)
Declaration
public static void OnPlayerChangeInterior(IntPtr player, BaseObjectType type, uint oldIntLoc, uint newIntLoc)
Parameters
Type |
Name |
Description |
IntPtr |
player |
|
BaseObjectType |
type |
|
System.UInt32 |
oldIntLoc |
|
System.UInt32 |
newIntLoc |
|
|
Improve this Doc
View Source
OnPlayerChangeVehicleSeat(IntPtr, BaseObjectType, Byte, Byte)
Declaration
public static void OnPlayerChangeVehicleSeat(IntPtr vehicle, BaseObjectType type, byte oldSeat, byte newSeat)
Parameters
Type |
Name |
Description |
IntPtr |
vehicle |
|
BaseObjectType |
type |
|
System.Byte |
oldSeat |
|
System.Byte |
newSeat |
|
|
Improve this Doc
View Source
OnPlayerDisconnect()
Declaration
public static void OnPlayerDisconnect()
|
Improve this Doc
View Source
OnPlayerEnterVehicle(IntPtr, BaseObjectType, Byte)
Declaration
public static void OnPlayerEnterVehicle(IntPtr pointer, BaseObjectType type, byte seat)
Parameters
Type |
Name |
Description |
IntPtr |
pointer |
|
BaseObjectType |
type |
|
System.Byte |
seat |
|
|
Improve this Doc
View Source
OnPlayerLeaveVehicle(IntPtr, BaseObjectType, Byte)
Declaration
public static void OnPlayerLeaveVehicle(IntPtr vehicle, BaseObjectType type, byte seat)
Parameters
Type |
Name |
Description |
IntPtr |
vehicle |
|
BaseObjectType |
type |
|
System.Byte |
seat |
|
|
Improve this Doc
View Source
OnPlayerSpawn()
Declaration
public static void OnPlayerSpawn()
|
Improve this Doc
View Source
OnPlayerStartEnterVehicle(IntPtr, BaseObjectType, IntPtr, BaseObjectType, Byte)
Declaration
public static void OnPlayerStartEnterVehicle(IntPtr targetpointer, BaseObjectType type, IntPtr player, BaseObjectType playerType, byte seat)
Parameters
|
Improve this Doc
View Source
OnPlayerStartLeaveVehicle(IntPtr, BaseObjectType, IntPtr, BaseObjectType, Byte)
Declaration
public static void OnPlayerStartLeaveVehicle(IntPtr targetpointer, BaseObjectType type, IntPtr player, BaseObjectType playerType, byte seat)
Parameters
|
Improve this Doc
View Source
OnPlayerWeaponChange(UInt32, UInt32)
Declaration
public static void OnPlayerWeaponChange(uint oldWeapon, uint newWeapon)
Parameters
Type |
Name |
Description |
System.UInt32 |
oldWeapon |
|
System.UInt32 |
newWeapon |
|
|
Improve this Doc
View Source
OnPlayerWeaponShoot(UInt32, UInt16, UInt16)
Declaration
public static void OnPlayerWeaponShoot(uint weapon, ushort totalAmmo, ushort ammoInClip)
Parameters
Type |
Name |
Description |
System.UInt32 |
weapon |
|
System.UInt16 |
totalAmmo |
|
System.UInt16 |
ammoInClip |
|
|
Improve this Doc
View Source
OnRemoveBaseObject(IntPtr, BaseObjectType)
Declaration
public static void OnRemoveBaseObject(IntPtr baseObject, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
OnRmlElementEvent(IntPtr, String, IntPtr)
Declaration
public static void OnRmlElementEvent(IntPtr rmlElement, string name, IntPtr pointer)
Parameters
Type |
Name |
Description |
IntPtr |
rmlElement |
|
System.String |
name |
|
IntPtr |
pointer |
|
|
Improve this Doc
View Source
OnScriptRPC(IntPtr, String, IntPtr, UInt64, UInt16)
Declaration
public static void OnScriptRPC(IntPtr eventpointer, string name, IntPtr pointer, ulong size, ushort answerid)
Parameters
Type |
Name |
Description |
IntPtr |
eventpointer |
|
System.String |
name |
|
IntPtr |
pointer |
|
System.UInt64 |
size |
|
System.UInt16 |
answerid |
|
|
Improve this Doc
View Source
OnScriptRPCAnswer(UInt16, IntPtr, String)
Declaration
public static void OnScriptRPCAnswer(ushort answerid, IntPtr answer, string answerError)
Parameters
Type |
Name |
Description |
System.UInt16 |
answerid |
|
IntPtr |
answer |
|
System.String |
answerError |
|
|
Improve this Doc
View Source
OnServerEvent(String, IntPtr, UInt64)
Declaration
public static void OnServerEvent(string name, IntPtr pointer, ulong size)
Parameters
Type |
Name |
Description |
System.String |
name |
|
IntPtr |
pointer |
|
System.UInt64 |
size |
|
|
Improve this Doc
View Source
OnStop()
Declaration
public static void OnStop()
|
Improve this Doc
View Source
Declaration
public static void OnStreamSyncedMetaChange(IntPtr target, BaseObjectType type, string key, IntPtr value, IntPtr oldValue)
Parameters
Type |
Name |
Description |
IntPtr |
target |
|
BaseObjectType |
type |
|
System.String |
key |
|
IntPtr |
value |
|
IntPtr |
oldValue |
|
|
Improve this Doc
View Source
Declaration
public static void OnSyncedMetaChange(IntPtr target, BaseObjectType type, string key, IntPtr value, IntPtr oldValue)
Parameters
Type |
Name |
Description |
IntPtr |
target |
|
BaseObjectType |
type |
|
System.String |
key |
|
IntPtr |
value |
|
IntPtr |
oldValue |
|
|
Improve this Doc
View Source
OnTaskChange(Int32, Int32)
Declaration
public static void OnTaskChange(int oldTask, int newTask)
Parameters
Type |
Name |
Description |
System.Int32 |
oldTask |
|
System.Int32 |
newTask |
|
|
Improve this Doc
View Source
OnTick()
Declaration
public static void OnTick()
|
Improve this Doc
View Source
OnVoiceConnection(VoiceConnectionState)
Declaration
public static void OnVoiceConnection(VoiceConnectionState state)
Parameters
|
Improve this Doc
View Source
OnWeaponDamage(IntPtr, IntPtr, BaseObjectType, UInt32, UInt16, Position, BodyPart, IntPtr, BaseObjectType)
Declaration
public static void OnWeaponDamage(IntPtr eventPointer, IntPtr entityPointer, BaseObjectType entityType, uint weapon, ushort damage, Position shotOffset, BodyPart bodyPart, IntPtr sourceEntityPointer, BaseObjectType sourceEntityType)
Parameters
Type |
Name |
Description |
IntPtr |
eventPointer |
|
IntPtr |
entityPointer |
|
BaseObjectType |
entityType |
|
System.UInt32 |
weapon |
|
System.UInt16 |
damage |
|
Position |
shotOffset |
|
BodyPart |
bodyPart |
|
IntPtr |
sourceEntityPointer |
|
BaseObjectType |
sourceEntityType |
|
|
Improve this Doc
View Source
OnWebSocketEvent(IntPtr, String, IntPtr, UInt64)
Declaration
public static void OnWebSocketEvent(IntPtr webSocket, string name, IntPtr pointer, ulong size)
Parameters
Type |
Name |
Description |
IntPtr |
webSocket |
|
System.String |
name |
|
IntPtr |
pointer |
|
System.UInt64 |
size |
|
|
Improve this Doc
View Source
OnWebViewEvent(IntPtr, String, IntPtr, UInt64)
Declaration
public static void OnWebViewEvent(IntPtr webView, string name, IntPtr pointer, ulong size)
Parameters
Type |
Name |
Description |
IntPtr |
webView |
|
System.String |
name |
|
IntPtr |
pointer |
|
System.UInt64 |
size |
|
|
Improve this Doc
View Source
OnWindowFocusChange(Byte)
Declaration
public static void OnWindowFocusChange(byte state)
Parameters
Type |
Name |
Description |
System.Byte |
state |
|
|
Improve this Doc
View Source
OnWindowResolutionChange(Vector2, Vector2)
Declaration
public static void OnWindowResolutionChange(Vector2 oldRes, Vector2 newRes)
Parameters
Type |
Name |
Description |
System.Numerics.Vector2 |
oldRes |
|
System.Numerics.Vector2 |
newRes |
|
|
Improve this Doc
View Source
OnWorldObjectPositionChange(IntPtr, BaseObjectType, Position)
Declaration
public static void OnWorldObjectPositionChange(IntPtr target, BaseObjectType type, Position position)
Parameters
|
Improve this Doc
View Source
OnWorldObjectStreamIn(IntPtr, BaseObjectType)
Declaration
public static void OnWorldObjectStreamIn(IntPtr target, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
OnWorldObjectStreamOut(IntPtr, BaseObjectType)
Declaration
public static void OnWorldObjectStreamOut(IntPtr target, BaseObjectType type)
Parameters