示例#1
0
 public bool CollectDataFromDBC(DBC_Row node)
 {
     m_Id          = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true);
     m_Description = DBCUtil.ExtractString(node, "Description", "", false);
     m_AttrData.CollectDataFromDBC(node);
     return(true);
 }
        /**
         * @brief 提取数据
         *
         * @param node
         *
         * @return
         */
        public bool CollectDataFromDBC(DBC_Row node)
        {
            m_Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true);
            m_AttrData.CollectDataFromDBC(node);

            return(true);
        }
 public bool CollectDataFromDBC(DBC_Row node)
 {
     m_EquipmentId   = DBCUtil.ExtractNumeric <int>(node, "EquipmentId", 0, true);
     m_EquipmentName = DBCUtil.ExtractString(node, "EquipmentName", "", true);
     m_UiModel       = DBCUtil.ExtractString(node, "UiModel", "", false);
     m_Model         = DBCUtil.ExtractString(node, "Model", "", false);
     m_AttrData.CollectDataFromDBC(node);
     return(true);
 }