API C_PetBattles.SetPendingReportTargetFromUnit

From Wowpedia
Jump to: navigation, search

Starts the process of reporting the specified battle pet for having a bad name.

C_PetBattles.SetPendingReportTargetFromUnit(unit)

Arguments

unit
String - The UnitId to query (e.g. "player", "party2", "pet", "target" etc.).

Details

Needs to be followed up with StaticPopup_Show("CONFIRM_REPORT_BATTLEPET_NAME", name) OR ReportPlayer(PLAYER_REPORT_TYPE_BAD_BATTLEPET_NAME, "pending") to complete the reporting process.

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also