Skip to content

five-on-it / packages/ai/src/police-radio / RadioEntry

Interface: RadioEntry ​

Defined in: packages/ai/src/police-radio.ts:42

A line the radio said.

Properties ​

client ​

client: number

Defined in: packages/ai/src/police-radio.ts:46

The client id of the player it concerns.


kind ​

kind: "camera" | "roadblock" | "rolling" | "drone" | "dispatch" | "greenWave" | "droneDown" | "escalation" | "strip"

Defined in: packages/ai/src/police-radio.ts:48

What it says.


n ​

n: number

Defined in: packages/ai/src/police-radio.ts:44

Its number: the radio's count when it was said.


place ​

place: string | undefined

Defined in: packages/ai/src/police-radio.ts:50

The place it names, if any.


stars ​

stars: number | undefined

Defined in: packages/ai/src/police-radio.ts:52

The stars it speaks of (an escalation's), if any.


tick ​

tick: number

Defined in: packages/ai/src/police-radio.ts:58

The tick it was said.


x ​

x: number

Defined in: packages/ai/src/police-radio.ts:54

Where it happens (m).


z ​

z: number

Defined in: packages/ai/src/police-radio.ts:56

Where it happens (m).