Class BannedEventArgs
Contains all information after banning a player from the server.
Inheritance
System.Object
BannedEventArgs
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 SourceBannedEventArgs(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 SourceDetails
Gets the ban details.
Declaration
public BanDetails Details { get; }
Property Value
Type | Description |
---|---|
BanDetails |
IsForced
Gets a value indicating whether the ban is forced or not.
Declaration
public bool IsForced { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the issuer player.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Target
Gets the banned player.
Declaration
public Player Target { get; }
Property Value
Type | Description |
---|---|
Player |
Type
Gets the ban type.
Declaration
public BanHandler.BanType Type { get; }
Property Value
Type | Description |
---|---|
BanHandler.BanType |