Class LocalReportingEventArgs
Contains information before a report is sent to local administrators.
Inheritance
System.Object
LocalReportingEventArgs
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.Player
Assembly: Exiled.Events.dll
Syntax
public class LocalReportingEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceLocalReportingEventArgs(Player, Player, String, Boolean)
Initializes a new instance of the LocalReportingEventArgs class.
Declaration
public LocalReportingEventArgs(Player issuer, Player target, string reason, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | issuer | |
Player | target | |
System.String | reason | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether the report can be processed or not.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the reporter.
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 |
Target
Gets the reported player.
Declaration
public Player Target { get; }
Property Value
Type | Description |
---|---|
Player |