Class ReportingCheaterEventArgs
Contains all information before reporting a cheater.
Inheritance
System.Object
ReportingCheaterEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Server
Assembly: Exiled.Events.dll
Syntax
public class ReportingCheaterEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceReportingCheaterEventArgs(Player, Player, Int32, String, Boolean)
Initializes a new instance of the ReportingCheaterEventArgs class.
Declaration
public ReportingCheaterEventArgs(Player issuer, Player target, int serverPort, string reason, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | issuer | |
Player | target | |
System.Int32 | serverPort | |
System.String | reason | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the report will be sent.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the issuing player.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Reason
Gets or sets the report reason.
Declaration
public string Reason { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ServerPort
Gets the server id.
Declaration
public int ServerPort { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Target
Gets the targeted player.
Declaration
public Player Target { get; }
Property Value
Type | Description |
---|---|
Player |