EncyclopediaEntry Type
Pre-classified summary of one unit from `BarData.AllUnitDefs`. Classification uses the same `UnitGlyph.classifyShape` / `classifyTier` / `classifyFaction` helpers the live `GameViz` path uses, so an encyclopedia entry and an in-session glyph for the same internal name always agree on faction / tier / shape (feature 038 FR-002).
Record fields
| Record Field |
Description
|
Full Usage:
BuildTime
Field type: int
|
|
Full Usage:
DefId
Field type: int
|
Stable index into `BarData.AllUnitDefs.all` at build time. Not an engine def-id; used only as a per-entry key for the Hub's list selection.
|
Full Usage:
EnergyCost
Field type: int
|
|
|
|
Full Usage:
FootprintX
Field type: int
|
Footprint X in BAR footprint-cells (1 cell = 16 elmos).
|
Full Usage:
FootprintZ
Field type: int
|
Footprint Z in BAR footprint-cells.
|
Full Usage:
Health
Field type: int
|
|
Full Usage:
HumanName
Field type: string option
|
BarData `printableName` — human-readable display name from the BAR Lua `name` field (e.g. `"Armada Commander"`). `None` when the source unit def didn't define one.
|
Full Usage:
InternalName
Field type: string
|
BarData `name` — the canonical internal name (e.g. `"armcom"`).
|
Full Usage:
MetalCost
Field type: int
|
|
Full Usage:
MovementClass
Field type: string option
|
BarData `movement.movementClass` (e.g. `"ATANK2"`, `"AHOVER1"`, `"ABOAT1"`). `None` for buildings and air units. Used by the Hub encyclopedia filter to identify amphibious units since `MovementShape` lumps bot / vehicle under `Ground`.
|
|
|
Full Usage:
SightRangeElmo
Field type: float32
|
|
Full Usage:
Subfolder
Field type: string
|
BarData `subfolder` — used for faction derivation.
|
|
|
Full Usage:
WeaponRangesElmo
Field type: float32 list
|
|
FSBarV1_Archived