Class ReportingCheaterEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether the report will be sent.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the issuing player.
public Player Player { get; }
Property Value
Reason
Gets or sets the report reason.
public string Reason { get; set; }
Property Value
ServerPort
Gets the server id.
public int ServerPort { get; }
Property Value
Target
Gets the targeted player.
public Player Target { get; }