Struct UnitCreatedEvent
Emitted when a new unit is created. UI can subscribe to show notifications, update displays, etc.
public struct UnitCreatedEvent : IGameEvent
- Implements
Fields
CountryID
public ushort CountryID
Field Value
- ushort
ProvinceID
public ushort ProvinceID
Field Value
- ushort
UnitCount
public ushort UnitCount
Field Value
- ushort
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