private string locateWorld(string worldname)
        {
            var worldLocation = _finder.Find(worldname);

            if (worldLocation is FileInfo)
            {
                worldLocation = _archivist.Decompress(worldname);
            }

            return(worldLocation.FullName);
        }
Esempio n. 2
0
        public JsonResult Decompress(string worldname)
        {
            var world = _worldArchivist.Decompress(worldname);

            return(Json(world.FullName));
        }