Table of Contents

Struct OwnershipRecord

Namespace
StarterKit
Assembly
StarterKit.dll

STARTERKIT: Province ownership history record. Demonstrates Pattern 4: Hot/Cold Data Separation.

This is COLD DATA - only accessed when viewing province details, not every frame like ProvinceState (hot data).

public struct OwnershipRecord

Fields

CountryId

The country that owned the province during this period.

public ushort CountryId

Field Value

ushort

EndDay

Game day when ownership ended (0 = still current owner).

public int EndDay

Field Value

int

StartDay

Game day when this country gained ownership.

public int StartDay

Field Value

int

Properties

IsCurrent

True if this record represents the current owner.

public bool IsCurrent { get; }

Property Value

bool