C# Class fCraft.BuildingCommands

Commands for placing specific blocks (solid, water, grass), and switching block placement modes (paint, bind).
Exibir arquivo Open project: GlennMR/800craft Class Usage Examples

Public Properties

Property Type Description
MaxUndoCount int

Public Methods

Method Description
DrawOperationBegin ( Player player, Command cmd, DrawOperation op ) : void

Private Methods

Method Description
BanXHandler ( Player player, Command cmd ) : void
BindHandler ( Player player, Command cmd ) : void
BlockDBUndoConfirmCallback ( Player player, object tag, bool fromConsole ) : void
CancelHandler ( Player player, Command cmd ) : void
CenterCallback ( Player player, Vector3I marks, object tag ) : void
CenterHandler ( Player player, Command cmd ) : void
CopyCallback ( Player player, Vector3I marks, object tag ) : void
CopyHandler ( Player player, Command cmd ) : void
CopySlotHandler ( Player player, Command cmd ) : void
CuboidHandler ( Player player, Command cmd ) : void
CuboidHollowHandler ( Player player, Command cmd ) : void
CuboidWireframeHandler ( Player player, Command cmd ) : void
CutHandler ( Player player, Command cmd ) : void
CylinderHandler ( Player player, Command cmd ) : void
Door ( Player player, Command cmd ) : void
DoorAdd ( Player player, Vector3I marks, object tag ) : void
DoorTestCallback ( Player player, Vector3I marks, object tag ) : void
Draw2DCallback ( Player player, Vector3I marks, object tag ) : void
Draw2DHandler ( Player player, Command cmd ) : void
DrawImageCallback ( Player player, Vector3I marks, object tag ) : void
DrawImageHandler ( Player player, Command cmd ) : void
DrawOneBlock ( [ player, [ map, Block drawBlock, Vector3I coord, BlockChangeContext context, int &blocks, int &blocksDenied, UndoState undoState ) : void
DrawOperationCallback ( Player player, Vector3I marks, object tag ) : void
DrawingFinished ( [ player, string verb, int blocks, int blocksDenied ) : void
EllipsoidHandler ( Player player, Command cmd ) : void
EllipsoidHollowHandler ( Player player, Command cmd ) : void
Fill2DCallback ( Player player, Vector3I marks, object tag ) : void
Fill2DConfirmCallback ( Player player, object tag, bool fromConsole ) : void
Fill2DHandler ( Player player, Command cmd ) : void
Fly ( Player player, Command cmd ) : void
GetFontSectionList ( ) : string[]
GrassHandler ( Player player, Command cmd ) : void
Init ( ) : void
LavaHandler ( Player player, Command cmd ) : void
LineHandler ( Player player, Command cmd ) : void
MarkHandler ( Player player, Command cmd ) : void
MirrorHandler ( Player player, Command cmd ) : void
PaintHandler ( Player player, Command cmd ) : void
ParseBlockDBUndoParams ( Player player, Command cmd, string cmdName, bool not ) : BlockDBUndoArgs
PasteHandler ( Player player, Command cmd ) : void
PasteNotHandler ( Player player, Command cmd ) : void
PasteNotXHandler ( Player player, Command cmd ) : void
PasteXHandler ( Player player, Command cmd ) : void
Place ( Player player, Command cmd ) : void
PlaneHandler ( Player player, Command cmd ) : void
PlaneWHandler ( Player player, Command cmd ) : void
RedoHandler ( Player player, Command cmd ) : void
ReplaceBrushHandler ( Player player, Command cmd ) : void
ReplaceHandler ( Player player, Command cmd ) : void
ReplaceHandlerInternal ( IBrush factory, Player player, Command cmd ) : void
ReplaceNotHandler ( Player player, Command cmd ) : void
RestoreCallback ( Player player, Vector3I marks, object tag ) : void
RestoreHandler ( Player player, Command cmd ) : void
RotateHandler ( Player player, Command cmd ) : void
SetFontHandler ( Player player, Command cmd ) : void
SolidHandler ( Player player, Command cmd ) : void
SphereHandler ( Player player, Command cmd ) : void
SphereHollowHandler ( Player player, Command cmd ) : void
StaticHandler ( Player player, Command cmd ) : void
TorusHandler ( Player player, Command cmd ) : void
TreeCallback ( Player player, Vector3I marks, object tag ) : void
TreeHandler ( Player player, Command cmd ) : void
TriangleHandler ( Player player, Command cmd ) : void
TriangleWireframeHandler ( Player player, Command cmd ) : void
UndoAreaHandler ( Player player, Command cmd ) : void
UndoAreaLookup ( SchedulerTask task ) : void
UndoAreaNotHandler ( Player player, Command cmd ) : void
UndoAreaSelectionCallback ( Player player, Vector3I marks, object tag ) : void
UndoHandler ( Player player, Command cmd ) : void
UndoPlayerHandler ( Player player, Command cmd ) : void
UndoPlayerHandler2 ( Player player, PlayerInfo target ) : void
UndoPlayerLookup ( SchedulerTask task ) : void
UndoPlayerNotHandler ( Player player, Command cmd ) : void
WallsHandler ( Player player, Command cmd ) : void
WaterHandler ( Player player, Command cmd ) : void
WriteCallback ( Player player, Vector3I marks, object tag ) : void
WriteHandler ( Player player, Command cmd ) : void

Method Details

DrawOperationBegin() public static method

public static DrawOperationBegin ( Player player, Command cmd, DrawOperation op ) : void
player Player
cmd Command
op DrawOperation
return void

Property Details

MaxUndoCount public_oe static_oe property

public static int MaxUndoCount
return int