Пример #1
0
        public override void ReadXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            if (ele.TryPathTo("Marker", false, out subEle))
            {
                Marker.ReadXML(subEle, master);
            }

            if (ele.TryPathTo("Male", false, out subEle))
            {
                if (Male == null)
                {
                    Male = new GenderHeadData();
                }

                Male.ReadXML(subEle, master);
            }
            if (ele.TryPathTo("Female", false, out subEle))
            {
                if (Female == null)
                {
                    Female = new GenderHeadData();
                }

                Female.ReadXML(subEle, master);
            }
        }
Пример #2
0
 public GenderHeadData(GenderHeadData copyObject)
 {
 }
Пример #3
0
 public RaceHeadData(GenderHeadData Male, GenderHeadData Female)
 {
     this.Male   = Male;
     this.Female = Female;
 }
Пример #4
0
 public RaceHeadData()
 {
     Marker = new SubMarker();
     Male   = new GenderHeadData();
     Female = new GenderHeadData();
 }