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

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

            ele.TryPathTo("Unknown", true, out subEle);
            subEle.Value = Unknown.ToString();
        }
Exemple #2
0
        public void WriteXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            ele.TryPathTo("Unknown", true, out subEle);
            subEle.Value = Unknown.ToHex();

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

            ele.TryPathTo("Triangle", true, out subEle);
            subEle.Value = Triangle.ToString();
        }
Exemple #3
0
        protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            ele.TryPathTo("Unknown1", true, out subEle);
            subEle.Value = Unknown1.ToHex();

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

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

            ele.TryPathTo("Grid/X", true, out subEle);
            subEle.Value = GridX.ToString();

            ele.TryPathTo("Grid/Y", true, out subEle);
            subEle.Value = GridY.ToString();

            ele.TryPathTo("Unknown2", true, out subEle);
            subEle.Value = Unknown2.ToHex();
        }