public void ReadPacket(MinecraftStream stream) { X = stream.ReadInt16(); Y = stream.ReadInt16(); Z = stream.ReadInt16(); BlockType = stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { PlayerID = stream.ReadInt8(); X = stream.ReadInt16(); Y = stream.ReadInt16(); Z = stream.ReadInt16(); Yaw = stream.ReadUInt8(); Pitch = stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { var length = stream.ReadInt16(); var data = stream.ReadArray(); Data = new byte[length]; Array.Copy(data, Data, length); Complete = stream.ReadUInt8() / 100.0; }
public override void FromStream(MinecraftStream stream) { Value = stream.ReadInt16(); }
public void ReadPacket(MinecraftStream stream) { XSize = stream.ReadInt16(); YSize = stream.ReadInt16(); ZSize = stream.ReadInt16(); }