C# Class Bricklayer.Common.Networking.Messages.BlockMessage

Inheritance: IMessage
Mostra file Open project: Cyral/Bricklayer Class Usage Examples

Public Methods

Method Description
BlockMessage ( BlockType block, int x, int y, int z ) : Bricklayer.Common.Entities
BlockMessage ( NetIncomingMessage im ) : Bricklayer.Common.Entities
Decode ( NetIncomingMessage im ) : void
Encode ( NetOutgoingMessage om ) : void

Method Details

BlockMessage() public method

public BlockMessage ( BlockType block, int x, int y, int z ) : Bricklayer.Common.Entities
block Bricklayer.Common.World.BlockType
x int
y int
z int
return Bricklayer.Common.Entities

BlockMessage() public method

public BlockMessage ( NetIncomingMessage im ) : Bricklayer.Common.Entities
im Lidgren.Network.NetIncomingMessage
return Bricklayer.Common.Entities

Decode() public method

public Decode ( NetIncomingMessage im ) : void
im Lidgren.Network.NetIncomingMessage
return void

Encode() public method

public Encode ( NetOutgoingMessage om ) : void
om Lidgren.Network.NetOutgoingMessage
return void