Skip to content

five-on-it / apps/client/src/ui/run-view / RunReading

Interface: RunReading ​

Defined in: apps/client/src/ui/run-view.ts:19

What window.__poc().run says of a run's room.

Properties ​

credits ​

credits: number[]

Defined in: apps/client/src/ui/run-view.ts:53

Each seat's credit once it ended (none before).


forfeit ​

forfeit: boolean

Defined in: apps/client/src/ui/run-view.ts:51

Won because every other team was left empty.


game ​

game: string

Defined in: apps/client/src/ui/run-view.ts:21


id ​

id: string

Defined in: apps/client/src/ui/run-view.ts:20


lives ​

lives: number | null

Defined in: apps/client/src/ui/run-view.ts:37

The lives the player has: the team's, or their own; null when they are unlimited.


mission ​

mission: string

Defined in: apps/client/src/ui/run-view.ts:22


mode ​

mode: string

Defined in: apps/client/src/ui/run-view.ts:24

How it is played: solo, coop or versus ('' when the frame does not say).


out ​

out: boolean

Defined in: apps/client/src/ui/run-view.ts:43

Whether the player's seat is out of the run (they watch a teammate).


outcome ​

outcome: string

Defined in: apps/client/src/ui/run-view.ts:47

How it ended ('' while it runs): complete, failed, abandoned, won or draw.


phase ​

phase: "gathering" | "countdown" | "live" | "ended"

Defined in: apps/client/src/ui/run-view.ts:25


places ​

places: number[]

Defined in: apps/client/src/ui/run-view.ts:55

Each seat's place in a race between the players once it ended (0 for none).


retries ​

retries: number

Defined in: apps/client/src/ui/run-view.ts:39

The retries left.


seat ​

seat: number

Defined in: apps/client/src/ui/run-view.ts:29

The player's seat (−1 when the frame names none).


seats ​

seats: ("left" | "waiting" | "present" | "dropped")[]

Defined in: apps/client/src/ui/run-view.ts:33

Every seat's state, by seat.


seatTeams ​

seatTeams: string[]

Defined in: apps/client/src/ui/run-view.ts:35

Every seat's team, by seat.


startsIn ​

startsIn: number

Defined in: apps/client/src/ui/run-view.ts:27

Seconds before it starts (0 once live).


team ​

team: string

Defined in: apps/client/src/ui/run-view.ts:31

The player's own team ('' without a seat).


teams ​

teams: object[]

Defined in: apps/client/src/ui/run-view.ts:41

Its teams in order: each one's id, score and whether nobody of it is left.

eliminated ​

eliminated: boolean

id ​

id: string

score ​

score: number


watching ​

watching: number

Defined in: apps/client/src/ui/run-view.ts:45

The seat the player watches while out of the run (−1 when not watching).


winner ​

winner: string

Defined in: apps/client/src/ui/run-view.ts:49

The team that won a versus run ('' without one).