Skip to content

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

Interface: RadioEntry ​

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

A line the radio said.

Properties ​

client ​

client: number

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

The client id of the player it concerns.


kind ​

kind: "camera" | "apc" | "grounded" | "roadblock" | "rolling" | "drone" | "helicopter" | "sniper" | "dispatch" | "greenWave" | "droneDown" | "escalation" | "strip" | "cannon" | "boats" | "tagged"

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

What it says.


n ​

n: number

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

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


place ​

place: string | undefined

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

The place it names, if any.


stars ​

stars: number | undefined

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

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


tick ​

tick: number

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

The tick it was said.


x ​

x: number

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

Where it happens (m).


z ​

z: number

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

Where it happens (m).