Class API.Events
Base events for RageCoop
Inherited Members
Namespace: RageCoop.Client.Scripting
Assembly: RageCoop.Client.dll
Syntax
public static class Events
Fields
OnKeyDown
This is equivalent of KeyDown
Declaration
public static KeyEventHandler OnKeyDown
Field Value
Type | Description |
---|---|
KeyEventHandler |
OnKeyUp
This is equivalent of KeyUp
Declaration
public static KeyEventHandler OnKeyUp
Field Value
Type | Description |
---|---|
KeyEventHandler |
Events
OnPedDeleted
A local ped is deleted
Declaration
public static event EventHandler<SyncedPed> OnPedDeleted
Event Type
Type | Description |
---|---|
EventHandler<SyncedPed> |
OnPedSpawned
A local ped is spawned
Declaration
public static event EventHandler<SyncedPed> OnPedSpawned
Event Type
Type | Description |
---|---|
EventHandler<SyncedPed> |
OnPlayerDied
The local player is dead
Declaration
public static event API.Events.EmptyEvent OnPlayerDied
Event Type
Type | Description |
---|---|
API.Events.EmptyEvent |
OnTick
This is equivalent of Tick.
Declaration
public static event API.Events.EmptyEvent OnTick
Event Type
Type | Description |
---|---|
API.Events.EmptyEvent |
OnVehicleDeleted
A local vehicle is deleted
Declaration
public static event EventHandler<SyncedVehicle> OnVehicleDeleted
Event Type
Type | Description |
---|---|
EventHandler<SyncedVehicle> |
OnVehicleSpawned
A local vehicle is spawned
Declaration
public static event EventHandler<SyncedVehicle> OnVehicleSpawned
Event Type
Type | Description |
---|---|
EventHandler<SyncedVehicle> |