Sets the target for a yet-to-be-made report.. Used in the stock UI when the "Report player" button is clicked on a unit frame as the report reason form still has to be filled out and the unit associated with the unitID could change before it is submitted.
See also Complaint functions.
Signature:
SetPendingReportTarget("unit")
Arguments:
unit
- Unit to set as reporting target. (string
, unitID)