Search Results for

    Show / Hide Table of Contents

    Class KickedEventArgs

    Contains all information after kicking a player from the server.

    Inheritance
    System.Object
    KickedEventArgs
    Implements
    IPlayerEvent
    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 KickedEventArgs : IPlayerEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    KickedEventArgs(Player, String)

    Initializes a new instance of the KickedEventArgs class.

    Declaration
    public KickedEventArgs(Player target, string reason)
    Parameters
    Type Name Description
    Player target
    System.String reason

    Properties

    | Improve this Doc View Source

    Player

    Gets the kicked player.

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

    Reason

    Gets the kick reason.

    Declaration
    public string Reason { get; }
    Property Value
    Type Description
    System.String

    Implements

    IPlayerEvent
    IExiledEvent

    Extension Methods

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