five-on-it / packages/missions/src/phone / offerCall
Function: offerCall()
offerCall(
phone,call,tick,has):boolean
Defined in: packages/missions/src/phone.ts:330
A call that offers a mission (one that starts on a call), ringing from one of its contacts with their one line: answering it starts the mission (takenOffers). A phone not carried, or busy with another conversation, misses it (logged); returns whether it rings.
Parameters
phone
call
contact
string
line
string
mission
string
name
string
tick
number
has
boolean
Returns
boolean