MVersionCollection GetAllVersions()
Refresh version list and return them.
async Task GetAllVersionsAsync()
Async version of GetAllVersions()
.
MVersion GetVersion(string versionname)
Get MVersion
instance.
async Task GetVersionAsync(string versionname)
Get MVersion
instance asynchronously.
DownloadFile[] CheckLostGameFiles(MVersion version)
Check all game files and return file list that should be downloaded. It checks all game files using IFileChecker
in GameFileChekers
property, combines all game files that should be downloaded into array and return array.
async Task<DownloadFile[]> CheckLostGameFilesTaskAsync(MVersion version)
Asynchronous version of CheckLostGameFiles
method.
async Task DownloadGameFiles(DownloadFile[] files)
Download files
using FileDownloader
property.
void CheckAndDownload(MVersion version)
Check all game files and download files.
async Task CheckAndDownloadAsync(MVersion version)
Asynchrounous version of CheckAndDownload
method.
Process CreateProcess(string versionName, MLaunchOption option, bool checkAndDownload=true)
Find versionName
version from Versions
property, check game files, and return game process.
If checkAndDownload
argument is false, It does not check game files.
This method does not start game process. You should call Start()
method of process.
Process CreateProcess(MVersion version, MLaunchOption option, bool checkAndDownload=false)
Check game files of version
and return game process. If checkAndDownload
argument is false, It does not check game files.
This method does not start game process. You should call Start()
method of process.
async Task CreateProcessAsync(string versionName, MLaunchOption option, bool checkAndDownload=false)
Asynchrounous version of CreateProcess(string versionName, MLaunchOption option)
method.
async Task CreateProcessAsync(MVersion version, MLaunchOption option, bool checkAndDownload=false)
Asynchrounous version of CreateProcess(MVersion version, MLaunchOption option)
method.
Process CreateProcess(MLaunchOption option)
Create game process which game version is StartVersion
property of option
. This method does not check and download game files. This method does not start game process. You should call Start()
method of process.
async Task CreateProcessAsync(MLaunchOption option)
Asynchrounous version of CreateProcess(MLaunchOption option)
method.
Process CreateProcess(string mcversion, string forgeversion, MLaunchOption option)
(not stable)