/// <summary> /// Abstract. Reads the raw packet data from the data stream. /// </summary> //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void readPacketData(BinaryReader par1NetworkStream) throws IOException public override void ReadPacketData(BinaryReader par1NetworkStream) { EntityId = par1NetworkStream.ReadInt32(); Type = par1NetworkStream.ReadByte() & 0xff; XPosition = par1NetworkStream.ReadInt32(); YPosition = par1NetworkStream.ReadInt32(); ZPosition = par1NetworkStream.ReadInt32(); Yaw = (sbyte)par1NetworkStream.ReadByte(); Pitch = (sbyte)par1NetworkStream.ReadByte(); Field_48169_h = (sbyte)par1NetworkStream.ReadByte(); ReceivedMetadata = DataWatcher.ReadWatchableObjects(par1NetworkStream); }
/// <summary> /// Abstract. Reads the raw packet data from the data stream. /// </summary> //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void readPacketData(BinaryReader par1NetworkStream) throws IOException public override void ReadPacketData(BinaryReader par1NetworkStream) { EntityId = par1NetworkStream.ReadInt32(); Metadata = DataWatcher.ReadWatchableObjects(par1NetworkStream); }