ResolveContext Type
Inputs to resolvePlan packaged so callers can pre-compute expensive values
(chokepoints, metal spots) once and reuse them across successive resolve calls.
Record fields
| Record Field |
Description
|
Full Usage:
BaseCentre
Field type: float32 * float32 * float32
|
Pinned base centre.
|
|
Pre-computed chokepoint list (may be empty).
|
Full Usage:
CommanderPos
Field type: float32 * float32 * float32
|
Current commander position.
|
|
Existing placed structure footprints.
|
Map data.
|
|
Full Usage:
MetalSpotsNearest
Field type: (float32 * float32 * float32 * float32) array
|
Metal spots sorted by distance from base centre; each tuple is (x, y, z, metal).
|
|
Plan consumption state.
|
|
Unit definition cache for footprint / reach lookups.
|
FSBarV1_Archived