public RunImport Import(WorldInfo world) { _logger.LogInformation($"Import started for world {world.Name}."); var run = new RunImport(world); run.Dimensions = _dimensionLoader.Load(world); run.Stats = _statsLoader.Load(world); run.Achievements = _achievementLoader.Load(world); run.Logs = _logLoader.Load(run); run.EndScreens = _playerNbtLoader.Load(world); run.NbtData = _nbtLoader.Load(world); _logger.LogInformation($"Import finished for world {world.Name}."); return(run); }
/// <summary> /// Loads log /// </summary> /// <param name="url">Url</param> /// <returns>Log reader</returns> public static object LoadLog(this string url) { return(listLoader.Load(url)); }