Files
Mitria_Minecraft_Project/Mitria_Minecraft_Launcher/DataModel.cs
Crudelis 513d841f80 업데이트 분리 작업
- 패키지 업데이트 분리 작업
- 라이센스 정리 작업
- 타겟 프레임워크 정리
2025-09-05 17:51:06 +09:00

55 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
namespace Mitria_Minecraft_Launcher
{
[Serializable]
public struct LauncherConfig
{
public string MinecraftPlayerName { get; set; }
public string GameDirectory { get; set; }
public bool ShellView { get; set; }
public string LastServerName { get; set; }
public List<Profile> Profiles { get; set; }
public struct Profile
{
public string ServerName { get; set; }
public string Argument { get; set; }
public string OriginalArgument { 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;
}
}
}