public override void ReadDataXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; if (ele.TryPathTo("EditorID", false, out subEle)) { if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadXML(subEle, master); } if (ele.TryPathTo("ObjectBounds", false, out subEle)) { if (ObjectBounds == null) { ObjectBounds = new ObjectBounds(); } ObjectBounds.ReadXML(subEle, master); } if (ele.TryPathTo("IdleMarkerFlags", false, out subEle)) { if (IdleMarkerFlags == null) { IdleMarkerFlags = new SimpleSubrecord <IdleMarkerFlags>(); } IdleMarkerFlags.ReadXML(subEle, master); } if (ele.TryPathTo("AnimationCount", false, out subEle)) { if (AnimationCount == null) { AnimationCount = new SimpleSubrecord <Byte>(); } AnimationCount.ReadXML(subEle, master); } if (ele.TryPathTo("IdleTimer", false, out subEle)) { if (IdleTimer == null) { IdleTimer = new SimpleSubrecord <Single>(); } IdleTimer.ReadXML(subEle, master); } if (ele.TryPathTo("Animations", false, out subEle)) { if (Animations == null) { Animations = new FormArray(); } Animations.ReadXML(subEle, master); } }