Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API C_ReportSystem.InitiateReportPlayer

From Wowpedia
Jump to: navigation, search

Initiates a report against a player.

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

Arguments

complaintType 
string - the reason for reporting.
playerLocation 
table - PlayerLocationMixin (optional)
PLAYER_REPORT_TYPE
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

See also