Ejemplo n.º 1
0
 public void WritePacket(IMinecraftStream stream)
 {
     stream.WriteDouble(X);
     stream.WriteDouble(Stance);
     stream.WriteDouble(Y);
     stream.WriteDouble(Z);
     stream.WriteSingle(Yaw);
     stream.WriteSingle(Pitch);
     stream.WriteBoolean(OnGround);
 }
Ejemplo n.º 2
0
 public void WritePacket(IMinecraftStream stream)
 {
     stream.WriteDouble(X);
     stream.WriteDouble(Stance);
     stream.WriteDouble(Y);
     stream.WriteDouble(Z);
     stream.WriteSingle(Yaw);
     stream.WriteSingle(Pitch);
     stream.WriteBoolean(OnGround);
 }
Ejemplo n.º 3
0
 public void WritePacket(IMinecraftStream stream)
 {
     stream.WriteDouble(X);
     stream.WriteDouble(Y);
     stream.WriteDouble(Z);
     stream.WriteSingle(Radius);
     stream.WriteInt32(AffectedBlocks.Length);
     for (int i = 0; i < AffectedBlocks.Length; i++)
     {
         stream.WriteInt8(AffectedBlocks[i].Item1);
         stream.WriteInt8(AffectedBlocks[i].Item2);
         stream.WriteInt8(AffectedBlocks[i].Item3);
     }
 }
Ejemplo n.º 4
0
 public void WritePacket(IMinecraftStream stream)
 {
     stream.WriteDouble(X);
     stream.WriteDouble(Y);
     stream.WriteDouble(Z);
     stream.WriteSingle(Radius);
     stream.WriteInt32(AffectedBlocks.Length);
     for (int i = 0; i < AffectedBlocks.Length; i++)
     {
         stream.WriteInt8(AffectedBlocks[i].Item1);
         stream.WriteInt8(AffectedBlocks[i].Item2);
         stream.WriteInt8(AffectedBlocks[i].Item3);
     }
 }
Ejemplo n.º 5
0
 public override void WriteTo(IMinecraftStream stream, byte index)
 {
     stream.WriteUInt8(GetKey(index));
     stream.WriteSingle(Value);
 }
Ejemplo n.º 6
0
 public override void WriteTo(IMinecraftStream stream, byte index)
 {
     stream.WriteUInt8(GetKey(index));
     stream.WriteSingle(Value);
 }