C_PetBattles.SetPendingReportBattlePetTarget

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.0.4

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 changes

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

See also