five-on-it / apps/client/src/gui/phone-blocks / PhoneInput
Interface: PhoneInput
Defined in: apps/client/src/gui/phone-blocks.ts:53
What the phone's panel is built from, and what its controls do.
Properties
form
form: (
field,value) =>void
Defined in: apps/client/src/gui/phone-blocks.ts:71
A field of the screen's form changed.
Parameters
field
string
value
string
Returns
void
jobs?
optionaljobs?:JobsView
Defined in: apps/client/src/gui/phone-blocks.ts:60
The Jobs app's view, in the city (none in a run's room: no Jobs app there).
phone
phone: {
apps:object[];calls:object[];camera?: {note?:"missed"|"subject"|"away"|"saved";shots:number; };contacts:object[];has:boolean;messages:object[];screen?: {app:string;buttons:object[];form:object[];kind:"app"|"keypad";name:string;note?:string;noteKey?:"wrongCode"|"nothing";source:"phone"|"world";text:string;title?:string; };talk?: {choices:object[];dialogue:string;goesOn:boolean;line?:string;note?:string;speaker?:string;state:"ringing"|"talking";via:"call"|"face";with:string; };type:"phone";unread:number;waypoint?: {label?:string;x:number;z:number; }; } |undefined
Defined in: apps/client/src/gui/phone-blocks.ts:55
What the server says of the phone; none: the player has none, but the radio.
police?
optionalpolice?:PoliceCallView
Defined in: apps/client/src/gui/phone-blocks.ts:64
The negotiator's call, while one is on.
press
press: (
id) =>void
Defined in: apps/client/src/gui/phone-blocks.ts:69
Presses a button by its id (what it does is looked up when it is pressed).
Parameters
id
string
Returns
void
radio?
optionalradio?:PhoneRadio&object
Defined in: apps/client/src/gui/phone-blocks.ts:58
The radio for its page: the stations, the one tuned, and what plays (said on it).
Type Declaration
now
now:
string|undefined
scanner?
optionalscanner?:ScannerView
Defined in: apps/client/src/gui/phone-blocks.ts:62
The police scanner's page, when the player carries one.
submit
submit: () =>
void
Defined in: apps/client/src/gui/phone-blocks.ts:73
Enter in a field: the screen's first button.
Returns
void
t
t:
Translate
Defined in: apps/client/src/gui/phone-blocks.ts:67
tech?
optionaltech?:object
Defined in: apps/client/src/gui/phone-blocks.ts:66
The player's own tech, for the Tech page.
backdoor
backdoor:
boolean
battery
battery:
number
cruiser
cruiser:
number
fried
fried:
boolean
hacking
hacking:
number
jammer
jammer:
boolean
jamming
jamming:
boolean
lawyer
lawyer:
number
loop
loop:
number
scout
scout:
number
smoked
smoked:
boolean
tipped
tipped:
boolean
traffic
traffic:
number
ui
ui:
PhoneUi
Defined in: apps/client/src/gui/phone-blocks.ts:56