Search Results for

    Show / Hide Table of Contents

    Class LocalReportingEventArgs

    Contains information before a report is sent to local administrators.

    Inheritance
    System.Object
    LocalReportingEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    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 Source

    LocalReportingEventArgs(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 Source

    IsAllowed

    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
    | Improve this Doc View Source

    Player

    Gets the reporter.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    Reason

    Gets or sets the report reason.

    Declaration
    public string Reason { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Target

    Gets the reported player.

    Declaration
    public Player Target { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX