[This is preliminary documentation and is subject to change.]
Provides data for Player.Clicking event. Cancellable.
Coords, Block, and Action properties may be changed.
Namespace: fCraft.EventsAssembly: fCraft (in fCraft.dll) Version: 0.6.3.0 (0.6.3.0)
Syntax
| C# |
public sealed class PlayerClickingEventArgs : EventArgs, IPlayerEvent, ICancelableEvent
Members
| All Members | Properties | Methods |
| Member | Description | |
|---|---|---|
| Action | Whether the player is building a block (right-click) or deleting it (left-click).
Can be changed. | |
| Block | Block type that the player is currently holding.
Can be changed. | |
| Cancel | If set to 'true', denies click and sends a SetBlock packet to the client to revert any client-side changes. | |
| Coords | Click coordinates, in terms of blocks. Must be within map bounds.
Can be changed. | |
| 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 attempting to click. | |
| ToString()()()() | (Inherited from Object.) |