C# Class Sharpcraft.Networking.Packets.PlayerPositionAndLookPacket

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

Public Properties

Property Type Description
OnGround bool
Pitch float
Stance double
X double
Y double
Yaw float
Z double

Public Methods

Method Description
PlayerPositionAndLookPacket ( double x = 0.0, double y = 0.0, double stance = 0.0, double z = 0.0, float yaw = 0.0f, float pitch = 0.0f, bool onGround = false ) : Sharpcraft.Networking.Enums

Method Details

PlayerPositionAndLookPacket() public method

public PlayerPositionAndLookPacket ( double x = 0.0, double y = 0.0, double stance = 0.0, double z = 0.0, float yaw = 0.0f, float pitch = 0.0f, bool onGround = false ) : Sharpcraft.Networking.Enums
x double
y double
stance double
z double
yaw float
pitch float
onGround bool
return Sharpcraft.Networking.Enums

Property Details

OnGround public property

public bool OnGround
return bool

Pitch public property

public float Pitch
return float

Stance public property

public double Stance
return double

X public property

public double X
return double

Y public property

public double Y
return double

Yaw public property

public float Yaw
return float

Z public property

public double Z
return double