C_ReportSystem .InitiateReportPlayer
Jump to navigation
Jump to search
Links |
---|
Info |
Added in 8.1.5 |
![]() |
This no longer exists on any flavor of the game. |
This function is restricted.
|
Initiates a report against a player.
token = C_ReportSystem.InitiateReportPlayer(complaintType [, playerLocation])
Arguments
- complaintType
- string : PLAYER_REPORT_TYPE - the reason for reporting.
- playerLocation
- PlayerLocationMixin🔗
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
Patch 8.2.0 (2019-06-25): Protected. See C_ReportSystem.OpenReportPlayerDialog.
Patch 8.1.5 (2019-03-12): Partially replaced by C_ReportSystem.InitiateReportPlayer; the previous function is depreciated. [1]
Patch 8.0.1 (2018-07-17): Added as
C_ChatInfo.ReportPlayer(...)
.
References
- ^ Constants.lua, patch 8.2.0, near line 776, archived at Townlong-Yak