public string GetExtentionDir(SystemObjectSector sector) { string baseDir = GetExtentionDir(sector.SystemBody); string bodyDirPart = "Sectors"; string bodyDir = Path.Combine(baseDir, bodyDirPart); return(bodyDir); }
public bool HasExtention(SystemObjectSector sector, string extention) { string filename = Path.Combine(GetExtentionDir(sector), extention); return(File.Exists(filename)); }
public string GetExtentionData(SystemObjectSector sector, string extention) { string filename = Path.Combine(GetExtentionDir(sector), extention); return(FlatFileDB.Instance.ReadFile(filename)); }