Class UnbanningEventArgs
Contains all information before player is unbanned.
public class UnbanningEventArgs : IDeniableEvent, IExiledEvent
- Inheritance
-
UnbanningEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
UnbanningEventArgs(string, BanType, bool)
Initializes a new instance of the UnbanningEventArgs class.
public UnbanningEventArgs(string id, BanHandler.BanType banType, bool isAllowed = true)
Parameters
Properties
BanType
Gets the ban type.
public BanHandler.BanType BanType { get; }
Property Value
- BanHandler.BanType
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
TargetId
Gets or sets the target player id.
public string TargetId { get; set; }