protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; ele.TryPathTo("Layer0", true, out subEle); subEle.Value = Layer0.ToString(); ele.TryPathTo("Layer1", true, out subEle); subEle.Value = Layer1.ToString(); ele.TryPathTo("Layer2", true, out subEle); subEle.Value = Layer2.ToString(); ele.TryPathTo("Layer3", true, out subEle); subEle.Value = Layer3.ToString(); }