示例#1
0
        public List <MinecraftAssembly> CheckNatives(KMCCC.Launcher.Version version)
        {
            List <MinecraftAssembly> missing    = new List <MinecraftAssembly>();
            List <Native>            missingNav = Core.CheckNatives(version);

            foreach (Native nav in missingNav)
            {
                string dName = nav.Url.Substring(nav.Url.LastIndexOf('/') + 1);
                missing.Add(new MinecraftAssembly
                {
                    Name = dName,
                    Path = Core.GetNativePath(nav),
                    Url  = nav.Url
                });
            }

            return(missing);
        }