Class VehicleExploded
[EventModel(EventSynchronizationContext.Pure)]
public class VehicleExploded : IActionLoggableEvent
- Inheritance
-
VehicleExploded
- Implements
- Inherited Members
Properties
DamageOrigin
The origin of the damage done to this vehicle.
public required EDamageOrigin DamageOrigin { get; init; }
Property Value
- EDamageOrigin
Instigator
The player who most likely caused the explosion if they're online.
public required WarfarePlayer? Instigator { get; init; }
Property Value
InstigatorId
The player who most likely caused the explosion's Steam ID.
public required CSteamID InstigatorId { get; init; }
Property Value
- CSteamID
InstigatorTeam
The team of the player who most likely caused the explosion when it happened. May be NoTeam if the instigator is known but not in a team.
public required Team? InstigatorTeam { get; init; }
Property Value
InstigatorVehicle
The vehicle the instigator was in when this vehicle was destroyed.
public required WarfareVehicle? InstigatorVehicle { get; init; }
Property Value
LastDriver
The last player to drive this vehicle if they're online.
public required WarfarePlayer? LastDriver { get; init; }
Property Value
LastDriverId
The last player to drive this vehicle's Steam ID.
public required CSteamID LastDriverId { get; init; }
Property Value
- CSteamID
Owner
The owner (requester usually) of this vehicle.
public required WarfarePlayer? Owner { get; init; }
Property Value
OwnerId
The owner (requester usually) of this vehicle's Steam ID.
public required CSteamID OwnerId { get; init; }
Property Value
- CSteamID
Team
The team this vehicle belongs to.
public required Team Team { get; init; }
Property Value
Vehicle
The actual vehicle that was destroyed.
public required WarfareVehicle Vehicle { get; init; }
Property Value
Methods
GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)
public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)
Parameters
serviceProviderIServiceProvidermultipleEntriesActionLogEntry[]