fCraft  0.638
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
fCraft.BlockUpdate Struct Reference

Structure representing a pending update to the map's block array. Contains information about the block coordinates, type, and change's origin. More...

+ Collaboration diagram for fCraft.BlockUpdate:

Public Member Functions

 BlockUpdate (Player origin, short x, short y, short z, Block blockType)
 
 BlockUpdate (Player origin, Vector3I coord, Block blockType)
 

Public Attributes

readonly Player Origin
 Player who initiated the block change. Can be null.
 
readonly short X
 
readonly short Y
 
readonly short Z
 
readonly Block BlockType
 Type of block to set at the given coordinates.
 

Detailed Description

Structure representing a pending update to the map's block array. Contains information about the block coordinates, type, and change's origin.

Constructor & Destructor Documentation

fCraft.BlockUpdate.BlockUpdate ( Player  origin,
short  x,
short  y,
short  z,
Block  blockType 
)
fCraft.BlockUpdate.BlockUpdate ( Player  origin,
Vector3I  coord,
Block  blockType 
)

Member Data Documentation

readonly Block fCraft.BlockUpdate.BlockType

Type of block to set at the given coordinates.

readonly Player fCraft.BlockUpdate.Origin

Player who initiated the block change. Can be null.

readonly short fCraft.BlockUpdate.X
readonly short fCraft.BlockUpdate.Y
readonly short fCraft.BlockUpdate.Z

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