Struct UnitDestroyedEvent
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
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