API C ReportSystem.OpenReportPlayerDialog

Opens the dialog for reporting a player.
 C_ReportSystem.OpenReportPlayerDialog(reportType, playerName [, playerLocation])
==Arguments==
:;reportType: - One of the strings found in PLAYER_REPORT_TYPE
:;playerName: - Name of the player being reported
:;playerLocation:
==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==
* Opens the spam report dialog for the current target.
 /run C_ReportSystem.OpenReportPlayerDialog(PLAYER_REPORT_TYPE_SPAM, UnitName("target"), PlayerLocation:CreateFromUnit("target"))
==Patch changes==
==References==