コード例 #1
0
        public static linkcond Parse(System.Xml.Linq.XElement xml, CRocrailClient rocrailClient)
        {
            linkcond _linkcond = new linkcond();

            _linkcond.m_rocrailClient = rocrailClient;
            _linkcond.m_first         = (string)xml.Attribute("first");
            _linkcond.m_free          = (string)xml.Attribute("free");
            return(_linkcond);
        }
コード例 #2
0
 public void Update(linkcond element)
 {
     if (element.m_first != null)
     {
         this.first = element.first;
     }
     if (element.m_free != null)
     {
         this.free = element.free;
     }
 }