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

Represents a set of copied blocks, including metadata. Created by /Copy and /Cut commands.

Namespace: fCraft.Drawing
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
public sealed class CopyState : ICloneable

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CopyState(CopyState)
Initializes a new instance of the CopyState class
CopyState(CopyState, array<Block,3>[,,](,,)[,,][,,])
Initializes a new instance of the CopyState class
CopyState(Vector3I, Vector3I)
Initializes a new instance of the CopyState class
Blocks
3D array of copies blocks.
Bounds
Dimensions and coordinates of the copied blocks.
Clone()()()()
CopyTime
Time (UTC) at which the blocks were copied. Defaults to DateTime.UtcNow.
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.)
Orientation
Orientation of copying (relation of two marks to each other). Each value is either 1 (forwards along the axis) or -1 (backwards along the axis). Orientation is used by /Paste and /PasteNot commands to determine the direction of pasting from the clicked block.
OriginCorner
Description of the corner at which copying started (e.g. "bottom southeast")
OriginWorld
Name of the world where this was copied from. Defaults to null.
Slot
Index of the copyslot into which this was copied. Defaults to 0.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::..Object
  fCraft.Drawing..::..CopyState

See Also