Skip to content

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

Interface: PhoneInputFacts ​

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

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:88

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


app? ​

optional app?: string

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

The app to open.


button? ​

optional button?: string

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

The button pressed on the screen open.


choice? ​

optional choice?: string

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

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:82

The contact called.


message? ​

optional message?: number

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

The message replied to (its number).


op ​

op: PhoneOp

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

What.


player ​

player: number

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

The player's client id.


values? ​

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

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

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


x? ​

optional x?: number

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

The waypoint's point (m).


z? ​

optional z?: number

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

The waypoint's point (m).