Table of Contents

Struct BuildingConstructedEvent

Namespace
StarterKit
Assembly
StarterKit.dll

Emitted when a building is constructed. UI subscribes to refresh building lists, income displays, etc.

public struct BuildingConstructedEvent : IGameEvent
Implements

Fields

BuildingTypeId

The type of building that was constructed.

public ushort BuildingTypeId

Field Value

ushort

CountryId

The country that owns the building.

public ushort CountryId

Field Value

ushort

ProvinceId

The province where the building was constructed.

public ushort ProvinceId

Field Value

ushort

Properties

TimeStamp

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

public float TimeStamp { readonly get; set; }

Property Value

float