five-on-it / packages/ai/src/police / wantedView
Function: wantedView()
wantedView(
ai,client,eid?):object
Defined in: packages/ai/src/police.ts:1367
A player's Wanted level as they are shown it: the stars, the Heat (whole), whether the police see them, and the stars of the car they sit in when it has Heat of its own (M1; eid, their character, when the caller knows it).
Parameters
ai
client
number
eid?
number
Returns
object
car?
optionalcar?:number
heat
heat:
number
seen
seen:
boolean
stars
stars:
number