five-on-it / apps/client/src/ui/minimap-data / MinimapData
Interface: MinimapData
Defined in: apps/client/src/ui/minimap-data.ts:108
The static layer of the minimap.
Properties
districts
districts:
DistrictZone[]
Defined in: apps/client/src/ui/minimap-data.ts:112
The districts, drawn under everything else (the ground stays readable through them).
footprints
footprints:
Footprint[]
Defined in: apps/client/src/ui/minimap-data.ts:124
The footprints of what is built (buildings, structures, props).
garages
garages:
string[]
Defined in: apps/client/src/ui/minimap-data.ts:114
The garages by name, for the legend's Go to.
half
half:
number
Defined in: apps/client/src/ui/minimap-data.ts:110
Half-size of the ground (m); the map shows [-half, half] on both axes.
heights
heights:
HeightField
Defined in: apps/client/src/ui/minimap-data.ts:126
The ground's height, so terraces and hills shade lighter the higher they stand.
pins
pins:
MapPin[]
Defined in: apps/client/src/ui/minimap-data.ts:118
Where the garages and the shops' counters stand (m): the full map's pins.
places
places:
string[]
Defined in: apps/client/src/ui/minimap-data.ts:120
The game's places by name, for the legend's Go to (where the server's debug commands are on).
roads
roads:
RoadLine[]
Defined in: apps/client/src/ui/minimap-data.ts:122
Roads, drawn over the ground and under the footprints.
shops
shops:
string[]
Defined in: apps/client/src/ui/minimap-data.ts:116
The shops' counters by name, for the legend's Go to.
strips
strips:
NailStripDef[]
Defined in: apps/client/src/ui/minimap-data.ts:128
Nail strips.
water
water:
WaterDef[]
Defined in: apps/client/src/ui/minimap-data.ts:130
The surfaces of water and lava, drawn over the ground lower than them.
zones
zones:
object[]
Defined in: apps/client/src/ui/minimap-data.ts:132
The game's zones the map draws: restricted zones' outlines, race gates.
id
id:
string
kind
kind:
"restricted"|"race_gate"
polygon?
optionalpolygon?:object[]
radius
radius:
number
x
x:
number
z
z:
number