protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            ele.TryPathTo("Door", true, out subEle);
            Door.WriteXML(subEle, master);

            ele.TryPathTo("Position/X", true, out subEle);
            subEle.Value = PositionX.ToString("G15");

            ele.TryPathTo("Position/Y", true, out subEle);
            subEle.Value = PositionY.ToString("G15");

            ele.TryPathTo("Position/Z", true, out subEle);
            subEle.Value = PositionZ.ToString("G15");

            ele.TryPathTo("Rotation/X", true, out subEle);
            subEle.Value = RotationX.ToString("G15");

            ele.TryPathTo("Rotation/Y", true, out subEle);
            subEle.Value = RotationY.ToString("G15");

            ele.TryPathTo("Rotation/Z", true, out subEle);
            subEle.Value = RotationZ.ToString("G15");

            ele.TryPathTo("Alarm", true, out subEle);
            subEle.Value = Alarm.ToString();
        }
        public void WriteXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            ele.TryPathTo("Position/X", true, out subEle);
            subEle.Value = PositionX.ToString("G15");

            ele.TryPathTo("Position/Y", true, out subEle);
            subEle.Value = PositionY.ToString("G15");

            ele.TryPathTo("Position/Z", true, out subEle);
            subEle.Value = PositionZ.ToString("G15");

            ele.TryPathTo("Rotation/X", true, out subEle);
            subEle.Value = RotationX.ToString("G15");

            ele.TryPathTo("Rotation/Y", true, out subEle);
            subEle.Value = RotationY.ToString("G15");

            ele.TryPathTo("Rotation/Z", true, out subEle);
            subEle.Value = RotationZ.ToString("G15");

            ele.TryPathTo("Scale", true, out subEle);
            subEle.Value = Scale.ToString("G15");
        }