[This is preliminary documentation and is subject to change.]
Provides data for Player.Connecting event. Cancelable.
Namespace: fCraft.EventsAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
public sealed class PlayerConnectingEventArgs : EventArgs, IPlayerEvent, ICancelableEvent
Members
| All Members | Properties | Methods |
| Member | Description | |
|---|---|---|
| Cancel | If set to 'true', rejects player's connection and kicks them.
Use Player.Kick() in conjunction with .Cancel to set the kick message. | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Player | Player who is connecting. | |
| ToString()()()() | (Inherited from Object.) |