Beispiel #1
0
        public override string ToString()
        {
            string res = "";

            res += string.Format("Point1- {0}\n", Point1.ToString());
            res += string.Format("Point2- {0}\n", Point2.ToString());
            res += string.Format("Point3- {0}\n", Point3.ToString());
            res += string.Format("Point4- {0}\n", Point4.ToString());
            res += string.Format("Point5- {0}\n", Point5.ToString());
            res += string.Format("Point6- {0}\n", Point6.ToString());
            res += string.Format("Point7- {0}\n", Point7.ToString());
            res += string.Format("Point8- {0}\n", Point8.ToString());
            res += string.Format("Edge- {0}", EdgeLenght);
            return(res);
        }
Beispiel #2
0
        protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            ele.TryPathTo("Point1", true, out subEle);
            subEle.Value = Point1.ToString();

            ele.TryPathTo("Point2", true, out subEle);
            subEle.Value = Point2.ToString();

            ele.TryPathTo("Point3", true, out subEle);
            subEle.Value = Point3.ToString();

            ele.TryPathTo("Point4", true, out subEle);
            subEle.Value = Point4.ToString();

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