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

Represents a callback method for a player-made selection of one or more blocks on a map. A command may request a number of marks/blocks to select, and a specify callback to be executed when the desired number of marks/blocks is reached.

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

Syntax

   
 C# 
public delegate void SelectionCallback(
	Player player,
	Vector3I[] marks,
	Object tag
)

Parameters

player
Player
Player who made the selection.
marks
array<Vector3I>[]()[][]
An array of 3D marks/blocks, in terms of block coordinates.
tag
Object
An optional argument to pass to the callback, the value of player.selectionArgs

See Also