public override void ReadXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; if (ele.TryPathTo("Static", false, out subEle)) { if (Static == null) { Static = new RecordReference(); } Static.ReadXML(subEle, master); } if (ele.TryPathTo("Placements", false, out subEle)) { if (Placements == null) { Placements = new StaticCollectionPartData(); } Placements.ReadXML(subEle, master); } }
public StaticCollectionPart(RecordReference Static, StaticCollectionPartData Placements) { this.Static = Static; this.Placements = Placements; }
public StaticCollectionPart() { Static = new RecordReference(); Placements = new StaticCollectionPartData(); }