Search Results for

    Show / Hide Table of Contents

    Class BannedEventArgs

    Contains all information after banning a player from the server.

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

    Constructors

    | Improve this Doc View Source

    BannedEventArgs(Player, Player, BanDetails, BanHandler.BanType, Boolean)

    Initializes a new instance of the BannedEventArgs class.

    Declaration
    public BannedEventArgs(Player target, Player issuer, BanDetails details, BanHandler.BanType type, bool isForced)
    Parameters
    Type Name Description
    Player target
    Player issuer
    BanDetails details
    BanHandler.BanType type
    System.Boolean isForced

    Properties

    | Improve this Doc View Source

    Details

    Gets the ban details.

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

    IsForced

    Gets a value indicating whether the ban is forced or not.

    Declaration
    public bool IsForced { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Player

    Gets the issuer player.

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

    Target

    Gets the banned player.

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

    Type

    Gets the ban type.

    Declaration
    public BanHandler.BanType Type { get; }
    Property Value
    Type Description
    BanHandler.BanType

    Implements

    IPlayerEvent
    IExiledEvent

    Extension Methods

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