C# Class Sharpcraft.Networking.Packets.PlayerBlockPlacementPacket

Inheritance: Packet
Show file Open project: SijmenSchoon/Sharpcraft Class Usage Examples

Public Properties

Property Type Description
Direction SByte
HeldItem SlotData
X System.Int32
X int
Y SByte
Z System.Int32
Z int

Public Methods

Method Description
PlayerBlockPlacementPacket ( Int32 x, sbyte y, Int32 z, sbyte direction, SlotData heldItem = null ) : System

Method Details

PlayerBlockPlacementPacket() public method

public PlayerBlockPlacementPacket ( Int32 x, sbyte y, Int32 z, sbyte direction, SlotData heldItem = null ) : System
x System.Int32
y sbyte
z System.Int32
direction sbyte
heldItem SlotData
return System

Property Details

Direction public property

public SByte Direction
return SByte

HeldItem public property

public SlotData HeldItem
return SlotData

X public property

public Int32,System X
return System.Int32

X public property

public int X
return int

Y public property

public SByte Y
return SByte

Z public property

public Int32,System Z
return System.Int32

Z public property

public int Z
return int