C# 클래스 fCraft.BlockDBEntry

파일 보기 프로젝트 열기: fragmer/fCraft 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Context BlockChangeContext
NewBlock Block
OldBlock Block
PlayerID int
PlayerId int
Timestamp int
X short
Y short
Z short

공개 메소드들

메소드 설명
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

메소드 상세

BlockDBEntry() 공개 메소드

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
리턴 System.IO

BlockDBEntry() 공개 메소드

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
리턴 System.IO

Serialize() 공개 메소드

public Serialize ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

프로퍼티 상세

Context 공개적으로 프로퍼티

Context for this block change.
public BlockChangeContext Context
리턴 BlockChangeContext

NewBlock 공개적으로 프로퍼티

Block that now occupies this coordinate
public Block NewBlock
리턴 Block

OldBlock 공개적으로 프로퍼티

Block that previously occupied this coordinate
public Block OldBlock
리턴 Block

PlayerID 공개적으로 프로퍼티

Numeric PlayerDB id of the player who made the change.
public int PlayerID
리턴 int

PlayerId 공개적으로 프로퍼티

Numeric PlayerDB id of the player who made the change.
public int PlayerId
리턴 int

Timestamp 공개적으로 프로퍼티

UTC Unix timestamp of the change.
public int Timestamp
리턴 int

X 공개적으로 프로퍼티

X coordinate (horizontal), in terms of blocks.
public short X
리턴 short

Y 공개적으로 프로퍼티

Y coordinate (horizontal), in terms of blocks.
public short Y
리턴 short

Z 공개적으로 프로퍼티

Z coordinate (vertical), in terms of blocks.
public short Z
리턴 short