C_ReportSystem.InitiateReportPlayer

From Warcraft Wiki
Jump to navigation Jump to search
Links
Patch
Added in 8.1.5 / 2.5.4 / 1.14.3
Removed in 9.2.5 / 3.4.0 / 1.14.4

Initiates a report against a player.

token = C_ReportSystem.InitiateReportPlayer(complaintType [, playerLocation])

Arguments

complaintType
string : PLAYER_REPORT_TYPE - the reason for reporting.
playerLocation
PlayerLocationMixin🔗
PLAYER_REPORT_TYPE[1]
Constant Value
PLAYER_REPORT_TYPE_SPAM spam
PLAYER_REPORT_TYPE_LANGUAGE language
PLAYER_REPORT_TYPE_ABUSE abuse
PLAYER_REPORT_TYPE_BAD_PLAYER_NAME badplayername
PLAYER_REPORT_TYPE_BAD_GUILD_NAME badguildname
PLAYER_REPORT_TYPE_CHEATING cheater
PLAYER_REPORT_TYPE_BAD_BATTLEPET_NAME badbattlepetname
PLAYER_REPORT_TYPE_BAD_PET_NAME badpetname

Returns

token
number - the token used for C_ReportSystem.SendReportPlayer.

Patch changes

References

  1. ^ Constants.lua, patch 8.2.0, near line 776, archived at Townlong-Yak