public void Write(BinaryWriter writer, bool writePacketID = true) { if (writePacketID) { writer.Write(packetID); } item.Write(writer); writer.Write(chunkX); writer.Write(chunkY); writer.Write(index); writer.Write(unknown); writer.Write(type); writer.Write(new byte[3]); }
public void Write(BinaryWriter writer) { writer.Write(guid); item.Write(writer); }