fCraft  0.636
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
Properties | List of all members
fCraft.Events.PlayerClickedEventArgs Class Reference

Provides data for Player.Clicked event. Immutable. More...

Inheritance diagram for fCraft.Events.PlayerClickedEventArgs:
Inheritance graph
[legend]
Collaboration diagram for fCraft.Events.PlayerClickedEventArgs:
Collaboration graph
[legend]

Properties

Player Player [get, set]
 Player who has just clicked.
 
Vector3I Coords [get, set]
 Click coordinates, in terms of blocks.
 
Block Block [get, set]
 Block type that the player is currently holding.
 
ClickAction Action [get, set]
 Whether the player is building a block (right-click) or deleting it (left-click).
 
- Properties inherited from fCraft.Events.IPlayerEvent
Player Player [get]
 Player who initiated or is affected by the event.
 

Detailed Description

Provides data for Player.Clicked event. Immutable.

Property Documentation

ClickAction fCraft.Events.PlayerClickedEventArgs.Action
getset

Whether the player is building a block (right-click) or deleting it (left-click).

Block fCraft.Events.PlayerClickedEventArgs.Block
getset

Block type that the player is currently holding.

Vector3I fCraft.Events.PlayerClickedEventArgs.Coords
getset

Click coordinates, in terms of blocks.

Player fCraft.Events.PlayerClickedEventArgs.Player
getset

Player who has just clicked.


The documentation for this class was generated from the following file: