Table of Contents

Struct GoldChangedEvent

Namespace
StarterKit
Assembly
StarterKit.dll

STARTERKIT - Events for UI updates and cross-system communication. Uses EventBus pattern (zero-allocation structs).

public struct GoldChangedEvent : IGameEvent
Implements

Fields

CountryId

The country whose gold changed.

public ushort CountryId

Field Value

ushort

NewValue

Gold amount after the change.

public int NewValue

Field Value

int

OldValue

Gold amount before the change.

public int OldValue

Field Value

int

Properties

TimeStamp

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

public float TimeStamp { readonly get; set; }

Property Value

float