[This is preliminary documentation and is subject to change.]

Provides data for Player.Clicking event. Cancelable. Coords, Block, and Action properties may be changed.

Namespace: fCraft.Events
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)

Syntax

   
 C# 
public sealed class PlayerClickingEventArgs : EventArgs, 
	IPlayerEvent, ICancelableEvent

Members

         
 All Members  Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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)
Determines whether the specified Object is equal to the current 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()()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::..Object
  System..::..EventArgs
    fCraft.Events..::..PlayerClickingEventArgs

See Also