Exemple #1
0
        public ICollection <MapId> GetMapIds()
        {
            var          files  = Directory.GetFiles(MapFolderPath);
            List <MapId> result = new List <MapId>();

            foreach (var file in files)
            {
                if (MapId.TryParseInternalFileName(Path.GetFileName(file), out var map))
                {
                    result.Add(map);
                }
            }

            return(result);
        }