Skip to content

five-on-it / apps/client/src/ui/Run / RunResultsProps

Interface: RunResultsProps ​

Defined in: apps/client/src/ui/Run.tsx:139

Props of a run's results.

Properties ​

onBack ​

onBack: () => void

Defined in: apps/client/src/ui/Run.tsx:143

Leaves the run's room for the game's page (or the lobby it came from).

Returns ​

void


run ​

run: { debug?: boolean; game: string; id: string; lives?: { count: number; left?: number; per: "player" | "team"; }; mission: string; mode?: "solo" | "coop" | "versus"; phase: "gathering" | "countdown" | "live" | "ended"; playtest?: boolean; result?: { forfeit?: boolean; outcome: "complete" | "failed" | "abandoned" | "won" | "draw"; seats: object[]; seconds: number; winner?: string; }; retries: { left: number; total: number; }; seat?: number; seats: object[]; startsIn?: number; teams?: object[]; title: string; type: "run"; } | undefined

Defined in: apps/client/src/ui/Run.tsx:141

The run, once it ended (nothing before).


toLobby? ​

optional toLobby?: boolean

Defined in: apps/client/src/ui/Run.tsx:145

Whether the way back is to the lobby the run came from (the player still in it).