Logo FSBarV1_Archived

GameSnapshot Type

Complete game state for one rendered frame.

Record fields

Record Field Description

Connected

Full Usage: Connected

Field type: bool
Field type: bool

DisplayUnits

Full Usage: DisplayUnits

Field type: Map<int, UnitDisplay>

BarData-enriched unit displays. When non-empty, SceneBuilder uses these instead of the legacy UnitState→UnitDisplay adapter.

Field type: Map<int, UnitDisplay>

EconomyEnergy

Full Usage: EconomyEnergy

Field type: EconomyData
Field type: EconomyData

EconomyMetal

Full Usage: EconomyMetal

Field type: EconomyData
Field type: EconomyData

EventIndicators

Full Usage: EventIndicators

Field type: EventIndicator list
Field type: EventIndicator list

FrameNumber

Full Usage: FrameNumber

Field type: int
Field type: int

MapGrid

Full Usage: MapGrid

Field type: MapGrid
Field type: MapGrid

MetalSpots

Full Usage: MetalSpots

Field type: (float32 * float32 * float32 * float32) array
Field type: (float32 * float32 * float32 * float32) array

Units

Full Usage: Units

Field type: Map<int, UnitState>
Field type: Map<int, UnitState>

Type something to start searching.