protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; ele.TryPathTo("Stone", true, out subEle); Stone.WriteXML(subEle, master); ele.TryPathTo("Dirt", true, out subEle); Dirt.WriteXML(subEle, master); ele.TryPathTo("Grass", true, out subEle); Grass.WriteXML(subEle, master); ele.TryPathTo("Glass", true, out subEle); Glass.WriteXML(subEle, master); ele.TryPathTo("Metal", true, out subEle); Metal.WriteXML(subEle, master); ele.TryPathTo("Wood", true, out subEle); Wood.WriteXML(subEle, master); ele.TryPathTo("Organic", true, out subEle); Organic.WriteXML(subEle, master); ele.TryPathTo("Cloth", true, out subEle); Cloth.WriteXML(subEle, master); ele.TryPathTo("Water", true, out subEle); Water.WriteXML(subEle, master); ele.TryPathTo("HollowMetal", true, out subEle); HollowMetal.WriteXML(subEle, master); ele.TryPathTo("OrganicBug", true, out subEle); OrganicBug.WriteXML(subEle, master); ele.TryPathTo("OrganicGlow", true, out subEle); OrganicGlow.WriteXML(subEle, master); }