Table of Contents

Class VehicleExploded

Namespace
Uncreated.Warfare.Events.Models.Vehicles
Assembly
Uncreated.Warfare.dll
[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

WarfarePlayer

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

Team

InstigatorVehicle

The vehicle the instigator was in when this vehicle was destroyed.

public required WarfareVehicle? InstigatorVehicle { get; init; }

Property Value

WarfareVehicle

LastDriver

The last player to drive this vehicle if they're online.

public required WarfarePlayer? LastDriver { get; init; }

Property Value

WarfarePlayer

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

WarfarePlayer

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

Team

Vehicle

The actual vehicle that was destroyed.

public required WarfareVehicle Vehicle { get; init; }

Property Value

WarfareVehicle

Methods

GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)

public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)

Parameters

serviceProvider IServiceProvider
multipleEntries ActionLogEntry[]

Returns

ActionLogEntry