Class BannedEventArgs
Contains all information after banning a player from the server.
public class BannedEventArgs : IPlayerEvent, IExiledEvent
- Inheritance
-
BannedEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
BannedEventArgs(Player, Player, BanDetails, BanType, bool)
Initializes a new instance of the BannedEventArgs class.
public BannedEventArgs(Player target, Player issuer, BanDetails details, BanHandler.BanType type, bool isForced)
Parameters
Properties
Details
Gets the ban details.
public BanDetails Details { get; }
Property Value
- BanDetails
IsForced
Gets a value indicating whether the ban is forced.
public bool IsForced { get; }
Property Value
Player
Gets the issuer player.
public Player Player { get; }
Property Value
Target
Gets the banned player.
public Player Target { get; }
Property Value
Type
Gets the ban type.
public BanHandler.BanType Type { get; }
Property Value
- BanHandler.BanType