public static Level FindMatches(Player pl, string name, out int matches) { return(Utils.FindMatches <Level>(pl, name, out matches, LevelInfo.Loaded.Items, l => true, l => l.name, "loaded levels")); }