feat: add OnReport event

This commit is contained in:
Axel Cocat
2022-08-05 01:03:20 +02:00
parent e107f41956
commit a51075b9d9
2 changed files with 4 additions and 0 deletions

View File

@@ -769,6 +769,7 @@ bool AnticheatMgr::MustCheckTempReports(uint8 type)
void AnticheatMgr::BuildReport(Player* player, uint16 reportType)
{
OnReport(player, reportType);
ObjectGuid key = player->GetGUID();
if (MustCheckTempReports(reportType))