C# Class fCraft.BlockDBEntry

Afficher le fichier Open project: fragmer/fCraft Class Usage Examples

Méthodes publiques

Свойство Type Description
Context BlockChangeContext
NewBlock Block
OldBlock Block
PlayerID int
PlayerId int
Timestamp int
X short
Y short
Z short

Méthodes publiques

Méthode Description
BlockDBEntry ( int timestamp, int playerID, Vector3I coords, Block oldBlock, Block newBlock, BlockChangeContext flags ) : System.IO
BlockDBEntry ( int timestamp, int playerID, short x, short y, short z, Block oldBlock, Block newBlock, BlockChangeContext flags ) : System.IO
Serialize ( BinaryWriter writer ) : void

Method Details

BlockDBEntry() public méthode

public BlockDBEntry ( int timestamp, int playerID, Vector3I coords, Block oldBlock, Block newBlock, BlockChangeContext flags ) : System.IO
timestamp int
playerID int
coords Vector3I
oldBlock Block
newBlock Block
flags BlockChangeContext
Résultat System.IO

BlockDBEntry() public méthode

public BlockDBEntry ( int timestamp, int playerID, short x, short y, short z, Block oldBlock, Block newBlock, BlockChangeContext flags ) : System.IO
timestamp int
playerID int
x short
y short
z short
oldBlock Block
newBlock Block
flags BlockChangeContext
Résultat System.IO

Serialize() public méthode

public Serialize ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
Résultat void

Property Details

Context public_oe property

Context for this block change.
public BlockChangeContext Context
Résultat BlockChangeContext

NewBlock public_oe property

Block that now occupies this coordinate
public Block NewBlock
Résultat Block

OldBlock public_oe property

Block that previously occupied this coordinate
public Block OldBlock
Résultat Block

PlayerID public_oe property

Numeric PlayerDB id of the player who made the change.
public int PlayerID
Résultat int

PlayerId public_oe property

Numeric PlayerDB id of the player who made the change.
public int PlayerId
Résultat int

Timestamp public_oe property

UTC Unix timestamp of the change.
public int Timestamp
Résultat int

X public_oe property

X coordinate (horizontal), in terms of blocks.
public short X
Résultat short

Y public_oe property

Y coordinate (horizontal), in terms of blocks.
public short Y
Résultat short

Z public_oe property

Z coordinate (vertical), in terms of blocks.
public short Z
Résultat short