C# Class fCraft.BlockUpdate

Structure representing a pending update to the map's block array. Contains information about the block coordinates, type, and change's origin.
Mostrar archivo Open project: fragmer/fCraft Class Usage Examples

Public Properties

Property Type Description
BlockType Block
BlockType byte
Origin Player
X short
Y short
Z short
origin Player
type byte
x int

Public Methods

Method Description
BlockUpdate ( Player origin, Vector3I coord, Block blockType )
BlockUpdate ( Player origin, int x, int y, int h, Block blockType )
BlockUpdate ( Player origin, int x, int y, int h, byte blockType )
BlockUpdate ( Player origin, short x, short y, short z, Block blockType )
BlockUpdate ( Player origin, Vector3I coord, Block blockType ) : JetBrains.Annotations
BlockUpdate ( Player origin, short x, short y, short z, Block blockType ) : JetBrains.Annotations
BlockUpdate ( [ origin, Vector3I coord, Block blockType ) : JetBrains.Annotations

Creates a new BlockUpdate struct.

BlockUpdate ( Player _origin, int _x, int _y, int _h, byte _type ) : System

Method Details

BlockUpdate() public method

public BlockUpdate ( Player origin, Vector3I coord, Block blockType )
origin Player
coord Vector3I
blockType Block

BlockUpdate() public method

public BlockUpdate ( Player origin, int x, int y, int h, Block blockType )
origin Player
x int
y int
h int
blockType Block

BlockUpdate() public method

public BlockUpdate ( Player origin, int x, int y, int h, byte blockType )
origin Player
x int
y int
h int
blockType byte

BlockUpdate() public method

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

BlockUpdate() public method

public BlockUpdate ( Player origin, Vector3I coord, Block blockType ) : JetBrains.Annotations
origin Player
coord Vector3I
blockType Block
return JetBrains.Annotations

BlockUpdate() public method

public BlockUpdate ( Player origin, short x, short y, short z, Block blockType ) : JetBrains.Annotations
origin Player
x short
y short
z short
blockType Block
return JetBrains.Annotations

BlockUpdate() public method

Creates a new BlockUpdate struct.
public BlockUpdate ( [ origin, Vector3I coord, Block blockType ) : JetBrains.Annotations
origin [
coord Vector3I
blockType Block
return JetBrains.Annotations

BlockUpdate() public method

public BlockUpdate ( Player _origin, int _x, int _y, int _h, byte _type ) : System
_origin Player
_x int
_y int
_h int
_type byte
return System

Property Details

BlockType public_oe property

Type of block to set at the given coordinates.
public Block BlockType
return Block

BlockType public_oe property

public byte BlockType
return byte

Origin public_oe property

public Player,fCraft Origin
return Player

X public_oe property

public short X
return short

Y public_oe property

Y coordinate (along the length).
public short Y
return short

Z public_oe property

X coordinate (along the height).
public short Z
return short

origin public_oe property

public Player,fCraft origin
return Player

type public_oe property

public byte type
return byte

x public_oe property

public int x
return int