OnPlayerReported
Usage
- No return behavior
Example Autogenerated
csharp
private void OnPlayerReported( BasePlayer basePlayer, string text4, string <targetId>5__2, string text, string text2, string text3 )
{
Puts( "OnPlayerReported works!" );
}
Location
- BasePlayer/<OnPlayerReported>d__608::MoveNext()
csharp
//---
TargetName = text4,
Subject = text,
Message = message,
Type = text3
});
Interface.CallHook("OnPlayerReported", basePlayer, text4, this.<targetId>5__2, text, text2, text3);
if (string.IsNullOrEmpty(ConVar.Server.reportsServerEndpoint))
{
goto IL_21B;
}
ReportType type = ReportType.Abuse;
//---