Logo FSBarV1_Archived

GameState Type

Central game state record, updated each frame from the event stream.

Record fields

Record Field Description

Enemies

Full Usage: Enemies

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

Energy

Full Usage: Energy

Field type: EconomySnapshot
Field type: EconomySnapshot

Events

Full Usage: Events

Field type: GameEvent list
Field type: GameEvent list

FrameNumber

Full Usage: FrameNumber

Field type: uint32
Field type: uint32

Metal

Full Usage: Metal

Field type: EconomySnapshot
Field type: EconomySnapshot

TeamId

Full Usage: TeamId

Field type: int
Field type: int

UnitDefs

Full Usage: UnitDefs

Field type: UnitDefCache
Field type: UnitDefCache

Units

Full Usage: Units

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

Type something to start searching.