API C ReportSystem.OpenReportPlayerDialog

Opens a dialog for reporting other player's violations of the End-User License Agreement C_ReportSystem.OpenReportPlayerDialog("reportType", "playerName" [, playerLocation])

Arguments

 * reportType : - One of the strings found in
 * playerName : - Name of the player being reported
 * playerLocation : PlayerLocationMixin

Details

 * This function is not protected and therefore available to Addons, unlike and
 * This reporting restriction was added because AddOn BadBoy allegedly sent out a number of false positives.
 * Triggers once the window is open

Example
/run C_ReportSystem.OpenReportPlayerDialog(PLAYER_REPORT_TYPE_SPAM, UnitName("target"), PlayerLocation:CreateFromUnit("target"))
 * Opens the spam report dialog for the current target.