Example #1
0
        protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            ele.TryPathTo("Sky/Upper", true, out subEle);
            SkyUpper.WriteXML(subEle, master);

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

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

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

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

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

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

            ele.TryPathTo("Sky/Lower", true, out subEle);
            SkyLower.WriteXML(subEle, master);

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

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