Example #1
0
        /// <summary> Find partial matches of 'name' against the list of all map files. </summary>
        public static string FindMaps(Player pl, string name)
        {
            if (!Formatter.ValidMapName(pl, name))
            {
                return(null);
            }
            int matches;

            return(Find(pl, name, out matches, LevelInfo.AllMapNames(),
                        null, l => l, "levels", 10));
        }