Example #1
0
 public bool Contains(long cellId)
 {
     using (var req = new __CellIdStructWriter(cellId))
         using (var rsp = m_mod.AddCell(0, req))
         {
             // remote returns E_CELL_FOUND or E_CELL_NOT_FOUND
             return(rsp.code == (int)TrinityErrorCode.E_CELL_FOUND);
         }
 }