PoliceChaseTargetSwitchRequestPayload
What policeChaseTargetSwitchRequest gets: the payload a handler receives.
Renamed in 0.28 from ChaseTargetPayload; see renamed names.
Definition
Section titled “Definition”type PoliceChaseTargetSwitchRequestPayload = { policeUnitNetworkId: number; currentTargetPlayer: PlayerSnapshot; proposedTargetPlayer: PlayerSnapshot;};Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
policeUnitNetworkId |
number |
The police unit’s network ID. |
currentTargetPlayer |
PlayerSnapshot |
The player it chases now. |
proposedTargetPlayer |
PlayerSnapshot |
The nearer wanted player. |
Related
Section titled “Related”policeChaseTargetSwitchRequest: the decision