Class KickedEventArgs
Contains all information after kicking a player from the server.
Inheritance
System.Object
KickedEventArgs
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 SourceKickedEventArgs(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 SourcePlayer
Gets the kicked player.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Reason
Gets the kick reason.
Declaration
public string Reason { get; }
Property Value
Type | Description |
---|---|
System.String |