コード例 #1
0
        private async Task <VersionManifest> loadManif(MCVersion v)
        {
            VersionManifestDefinition def = await resolver.GetVersion(v);

            if (def.JarFrom != null)
            {
                await getManifestFor(GetRemoteVersion(def.JarFrom));
            }
            if (def.InheritsFrom != null)
            {
                await getManifestFor(GetRemoteVersion(def.InheritsFrom));
            }
            return(new VersionManifest(def, this));
        }
コード例 #2
0
 internal VersionManifest(VersionManifestDefinition def, MCDownload downloader)
 {
     DescribedBy     = def;
     this.downloader = downloader;
 }