Table of Contents

Struct UnitDestroyedEvent

Namespace
Core.Units
Assembly
Core.dll

Emitted when a unit is destroyed (disbanded, killed in combat, etc.)

public struct UnitDestroyedEvent : IGameEvent
Implements

Fields

CountryID

public ushort CountryID

Field Value

ushort

ProvinceID

public ushort ProvinceID

Field Value

ushort

Reason

public DestructionReason Reason

Field Value

DestructionReason

UnitID

public ushort UnitID

Field Value

ushort

UnitTypeID

public ushort UnitTypeID

Field Value

ushort

Properties

TimeStamp

Timestamp when the event was emitted (set automatically by EventBus).

public float TimeStamp { readonly get; set; }

Property Value

float