Table of Contents

Class ReportingCheaterEventArgs

Namespace
Exiled.Events.EventArgs.Server
Assembly
Exiled.Events.dll

Contains all information before reporting a cheater.

public class ReportingCheaterEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
ReportingCheaterEventArgs
Implements
Inherited Members
Extension Methods

Constructors

ReportingCheaterEventArgs(Player, Player, int, string, bool)

Initializes a new instance of the ReportingCheaterEventArgs class.

public ReportingCheaterEventArgs(Player issuer, Player target, int serverPort, string reason, bool isAllowed = true)

Parameters

issuer Player
target Player
serverPort int
reason string
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the report will be sent.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the issuing player.

public Player Player { get; }

Property Value

Player

Reason

Gets or sets the report reason.

public string Reason { get; set; }

Property Value

string

ServerPort

Gets the server id.

public int ServerPort { get; }

Property Value

int

Target

Gets the targeted player.

public Player Target { get; }

Property Value

Player