Table of Contents

Class VehiclePreDamaged

Namespace
Uncreated.Warfare.Events.Models.Vehicles
Assembly
Uncreated.Warfare.dll

Event listener args which handles a patch listening just before a vehicle is damage (before the InteractableVehicle's health is changed).

[EventModel(EventSynchronizationContext.Pure)]
public class VehiclePreDamaged
Inheritance
VehiclePreDamaged
Inherited Members

Properties

CanRepair

public required bool CanRepair { get; set; }

Property Value

bool

InstantaneousDamageOrigin

public required EDamageOrigin InstantaneousDamageOrigin { get; init; }

Property Value

EDamageOrigin

InstantaneousInstigator

public required CSteamID? InstantaneousInstigator { get; init; }

Property Value

CSteamID?

LastKnownInstigator

public required CSteamID? LastKnownInstigator { get; init; }

Property Value

CSteamID?

PendingDamage

public required ushort PendingDamage { get; set; }

Property Value

ushort

Vehicle

public required WarfareVehicle Vehicle { get; init; }

Property Value

WarfareVehicle