コード例 #1
0
        public Role_Expression_Row GetRowById(int id)
        {
            Role_Expression_Row dj_row = null;

            m_dict.TryGetValue(id, out dj_row);
            return(dj_row);
        }
コード例 #2
0
 public bool ParseTable(JArray jay)
 {
     m_dict = new Dictionary <int, Role_Expression_Row>();
     for (int i = 0; i < jay.Count; ++i)
     {
         var tmpjobj = jay[i] as JObject;
         Role_Expression_Row table_row = new Role_Expression_Row();
         table_row.ParseRow(tmpjobj);
         m_dict.Add(table_row.id, table_row);
     }
     IsLoad = true;
     return(true);
 }