Beispiel #1
0
        public CMLauncher(MinecraftPath mc)
        {
            this.MinecraftPath = mc;

            GameFileCheckers = new FileCheckerCollection();
            FileDownloader   = new AsyncParallelDownloader();
            VersionLoader    = new DefaultVersionLoader(MinecraftPath);

            pFileChanged = new Progress <DownloadFileChangedEventArgs>(
                e => FileChanged?.Invoke(e));
            pProgressChanged = new Progress <ProgressChangedEventArgs>(
                e => ProgressChanged?.Invoke(this, e));
        }
Beispiel #2
0
 public CMLauncher(MinecraftPath mc)
 {
     this.MinecraftPath = mc;
 }
Beispiel #3
0
 public MNative(MinecraftPath _path, MVersion _version)
 {
     version  = _version;
     gamePath = _path;
 }
Beispiel #4
0
 public MNative(MinecraftPath gamePath, MVersion version)
 {
     this.version  = version;
     this.gamePath = gamePath;
 }