Provides data for Player.Clicking event. Cancelable. Coords, Block, and Action properties may be changed.
More...
|
| Player | Player [get, set] |
| | Player who is attempting to click.
|
| |
| Vector3I | Coords [get, set] |
| | Click coordinates, in terms of blocks. Must be within map bounds. Can be changed.
|
| |
| Block | Block [get, set] |
| | Block type that the player is currently holding. Can be changed.
|
| |
| ClickAction | Action [get, set] |
| | Whether the player is building a block (right-click) or deleting it (left-click). Can be changed.
|
| |
| bool | Cancel [get, set] |
| | If set to 'true', denies click and sends a SetBlock packet to the client to revert any client-side changes.
|
| |
| Player | Player [get] |
| | Player who initiated or is affected by the event.
|
| |
| bool | Cancel [get, set] |
| | Set to "true" to cancel the event.
|
| |
Provides data for Player.Clicking event. Cancelable. Coords, Block, and Action properties may be changed.
| ClickAction fCraft.Events.PlayerClickingEventArgs.Action |
|
getset |
Whether the player is building a block (right-click) or deleting it (left-click). Can be changed.
| Block fCraft.Events.PlayerClickingEventArgs.Block |
|
getset |
Block type that the player is currently holding. Can be changed.
| bool fCraft.Events.PlayerClickingEventArgs.Cancel |
|
getset |
If set to 'true', denies click and sends a SetBlock packet to the client to revert any client-side changes.
| Vector3I fCraft.Events.PlayerClickingEventArgs.Coords |
|
getset |
Click coordinates, in terms of blocks. Must be within map bounds. Can be changed.
| Player fCraft.Events.PlayerClickingEventArgs.Player |
|
getset |
Player who is attempting to click.
The documentation for this class was generated from the following file: