Skip to content

five-on-it / packages/missions/src/runtime / RunTeamView

Interface: RunTeamView ​

Defined in: packages/missions/src/runtime.ts:637

A team of a run as its host reads it: its id, name and players, its score, its lives left (per team), whether nobody of it is left.

Extends ​

Properties ​

eliminated ​

eliminated: boolean

Defined in: packages/missions/src/runtime.ts:643

Every seat of it out or gone: it can no longer play.


id ​

id: string

Defined in: packages/missions/src/play.ts:40

Its id.

Inherited from ​

PlayTeam.id


lives? ​

optional lives?: number

Defined in: packages/missions/src/runtime.ts:641

Its lives left, when the run's lives are per team.


name ​

name: string

Defined in: packages/missions/src/play.ts:42

Its name to show (its id when it has none).

Inherited from ​

PlayTeam.name


players ​

players: object

Defined in: packages/missions/src/play.ts:44

The players it takes.

max ​

max: number

min ​

min: number

Inherited from ​

PlayTeam.players


police? ​

optional police?: boolean

Defined in: packages/missions/src/play.ts:48

Its players play the police (cuffs, backup from a dispatch budget), when it says so.

Inherited from ​

PlayTeam.police


roles? ​

optional roles?: ("driver" | "gunner" | "hacker" | "dispatcher" | "medic")[]

Defined in: packages/missions/src/play.ts:52

The roles its players pick, when it offers some.

Inherited from ​

PlayTeam.roles


score ​

score: number

Defined in: packages/missions/src/runtime.ts:639

Its seats' credit added up.


spawn? ​

optional spawn?: string

Defined in: packages/missions/src/play.ts:46

The zone its players start in and come back to (versus), when it has one.

Inherited from ​

PlayTeam.spawn


wanted? ​

optional wanted?: number

Defined in: packages/missions/src/play.ts:50

The fewest stars its players are wanted at all run long, when it says.

Inherited from ​

PlayTeam.wanted