Skip to content

five-on-it / packages/missions/src/phone / PhoneInputFacts

Interface: PhoneInputFacts ​

Defined in: packages/missions/src/phone.ts:73

One thing a player asked since the last step (the protocol's phone command, or the interaction key's event).

Properties ​

actor? ​

optional actor?: string

Defined in: packages/missions/src/phone.ts:95

The key of the mission actor the interaction key was pressed at (interact).


app? ​

optional app?: string

Defined in: packages/missions/src/phone.ts:79

The app to open.


button? ​

optional button?: string

Defined in: packages/missions/src/phone.ts:81

The button pressed on the screen open.


choice? ​

optional choice?: string

Defined in: packages/missions/src/phone.ts:87

The reply, or the conversation's choice ('' goes on from a line without choices).


contact? ​

optional contact?: string

Defined in: packages/missions/src/phone.ts:89

The contact called.


message? ​

optional message?: number

Defined in: packages/missions/src/phone.ts:85

The message replied to (its number).


op ​

op: PhoneOp

Defined in: packages/missions/src/phone.ts:77

What.


player ​

player: number

Defined in: packages/missions/src/phone.ts:75

The player's client id.


values? ​

optional values?: Readonly<Record<string, string>>

Defined in: packages/missions/src/phone.ts:83

What the screen's form held when it was pressed.


x? ​

optional x?: number

Defined in: packages/missions/src/phone.ts:91

The waypoint's point (m).


z? ​

optional z?: number

Defined in: packages/missions/src/phone.ts:93

The waypoint's point (m).