Skip to content

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

Interface: PhotoFacts ​

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

A photograph a player took with the phone's camera since the last step: where they stood, and what was in the frame (the host looks along the character's aim, within the camera's range, with nothing in between): the mission actors by their keys, the game's places by id.

Properties ​

actors ​

actors: readonly string[]

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

The keys of the mission actors in the frame (a group's key when any of its members is).


places ​

places: readonly string[]

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

The ids of the game's places in the frame.


player ​

player: number

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

The player's client id.


x ​

x: number

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

Where they stood (m).


z ​

z: number

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

z (m).