MinecraftTabPatcher/MinecraftVersion.cs
/// <summary>
/// Returns all minecraft version from the system version directory.
/// </summary>
/// <returns></returns>
Returns all minecraft version from the system version directory.
Returns all minecraft version from the system version directory .
public static IEnumerable<MinecraftVersion> GetVersions()
        {
            var path = GetSystemVersionDirectory();
            if (!Directory.Exists(path))
                yield break;
            foreach(var version in GetVersions(path))
            {
                yield return version;
            }
        }
public static IEnumerable < MinecraftVersion > GetVersions ( ) { var path = GetSystemVersionDirectory ( ) ; if ( ! Directory . Exists ( path ) ) yield break ; foreach ( var version in GetVersions ( path ) ) { yield return version ; } }
Returns all minecraft version from the system version directory.
Returns all minecraft version from the system version directory .
// Directory is not valid
None