Skip to content

OnPlayerReported

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnPlayerReported( BasePlayer basePlayer, string text3, string <targetId>5__2, string string, string text, string message )
{
    Puts( "OnPlayerReported works!" );
}

Location

  • BasePlayer/<OnPlayerReported>d__707::MoveNext()
csharp
//---
					TargetName = text4,
					Subject = text,
					Message = message,
					Type = text3
				});
				Interface.CallHook("OnPlayerReported", basePlayer, text4, <targetId>5__2, text, text2, text3);
				if (string.IsNullOrEmpty(Server.reportsServerEndpoint))
				{
					goto IL_021b;
				}
				ReportType type = ReportType.Abuse;
//---

Released under the MIT License.