Skip to content

five-on-it / apps/client/src/ui/minimap-data / Marker

Interface: Marker ​

Defined in: apps/client/src/ui/minimap-data.ts:101

A moving marker.

Properties ​

alert ​

alert: number

Defined in: apps/client/src/ui/minimap-data.ts:115

A sentry's alert (stealth): 0 for none, else 1 + its phase's rank; its cone is always drawn, coloured by it.


cone ​

cone: boolean

Defined in: apps/client/src/ui/minimap-data.ts:113

An NPC looking around: draws a view cone when they are on (a sentry's always).


hostile ​

hostile: boolean

Defined in: apps/client/src/ui/minimap-data.ts:121

An enemy NPC, as the snapshot says (drawn orange even without a readout).


kind ​

kind: "vehicle" | "trailer" | "character" | "projectile"

Defined in: apps/client/src/ui/minimap-data.ts:107

What it is.


mode ​

mode: string

Defined in: apps/client/src/ui/minimap-data.ts:119

A chaser's mode from the server's readout (chase, search, …); empty for anyone else.


offGuard? ​

optional offGuard?: boolean

Defined in: apps/client/src/ui/minimap-data.ts:117

A sentry off guard (on a break of its schedule): its cone is drawn short and narrow.


owner ​

owner: number

Defined in: apps/client/src/ui/minimap-data.ts:109

Client id of its owner (0 = nobody: a pedestrian, a parked car).


police ​

police: boolean

Defined in: apps/client/src/ui/minimap-data.ts:123

A police officer or a police car nobody plays: drawn flashing blue and red.


teamColor? ​

optional teamColor?: string

Defined in: apps/client/src/ui/minimap-data.ts:125

In a run of teams, the colour of its player's team (team-colors.ts): drawn in it, teammates and rivals told apart.


x ​

x: number

Defined in: apps/client/src/ui/minimap-data.ts:103

x (m).


yaw ​

yaw: number

Defined in: apps/client/src/ui/minimap-data.ts:111

Heading (rad, 0 faces +z).


z ​

z: number

Defined in: apps/client/src/ui/minimap-data.ts:105

z (m).