コード例 #1
0
        protected override void ReadDataXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

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

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

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

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