public void regAttrItem() { BTAttrItem item = null; item = new BTAttrItem(); item.m_id = BTID.e1000; item.m_name = "1000"; item.m_path = string.Format("{0}{1}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathAIPath], "1000.xml"); m_btAttrSys.m_id2ItemDic[BTID.e1000] = item; }