- First Update
This commit is contained in:
47
Mitria_Minecraft_Launcher/DataModel.cs
Normal file
47
Mitria_Minecraft_Launcher/DataModel.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Mitria_Minecraft_Launcher
|
||||
{
|
||||
|
||||
|
||||
[Serializable]
|
||||
public struct LauncherConfig
|
||||
{
|
||||
public string MinecraftPlayerName { get; set; }
|
||||
public string Argument { get; set; }
|
||||
public string GameDirectory { get; set; }
|
||||
public bool ShellView { get; set; }
|
||||
public string RuntimeVersion { get; set; }
|
||||
public List<string> CustomData { get; set; }
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public struct ClientVersion
|
||||
{
|
||||
public string PackageVersion { get; set; }
|
||||
public List<string> PackageDirectorys { get; set; }
|
||||
public string ComponentVersion { get; set; }
|
||||
public List<string> ComponentDirectorys { get; set; }
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public struct ExcuteArgument
|
||||
{
|
||||
public string Argument { get; set; }
|
||||
public List<Parameter> Parameters { get; set; }
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public struct Parameter
|
||||
{
|
||||
public string Key { get; set; }
|
||||
public string Value { get; set; }
|
||||
|
||||
public Parameter(string key, string value)
|
||||
{
|
||||
Key = key;
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user