Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Starts the process of reporting one of your opponent's battle pets for having a bad name.
C_PetBattles.SetPendingReportBattlePetTarget(petIndex)
Arguments
- petIndex
- Number - Accepted values are 1-3, but the order is based off of the initial order. Which pet is currently active is irrelevant to the index, if it was its 3rd pet when it entered battle, it will always be 3 on the index.
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
Patch 5.0.4 (2012-08-28): Added.
See also
- C_PetBattles.SetPendingReportTargetFromUnit - if you want to report a battle pet's name out in the world, outside of a pet battle
- Pet Battle Functions