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?
optionalactor?:string
Defined in: packages/missions/src/phone.ts:95
The key of the mission actor the interaction key was pressed at (interact).
app?
optionalapp?:string
Defined in: packages/missions/src/phone.ts:79
The app to open.
button?
optionalbutton?:string
Defined in: packages/missions/src/phone.ts:81
The button pressed on the screen open.
choice?
optionalchoice?:string
Defined in: packages/missions/src/phone.ts:87
The reply, or the conversation's choice ('' goes on from a line without choices).
contact?
optionalcontact?:string
Defined in: packages/missions/src/phone.ts:89
The contact called.
message?
optionalmessage?: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?
optionalvalues?:Readonly<Record<string,string>>
Defined in: packages/missions/src/phone.ts:83
What the screen's form held when it was pressed.
x?
optionalx?:number
Defined in: packages/missions/src/phone.ts:91
The waypoint's point (m).
z?
optionalz?:number
Defined in: packages/missions/src/phone.ts:93
The waypoint's point (m).