mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-22 08:42:44 +01:00
22 lines
638 B
C#
22 lines
638 B
C#
using Phantom.Agent.Minecraft.Instance;
|
|
|
|
namespace Phantom.Agent.Minecraft.Launcher;
|
|
|
|
public abstract record LaunchResult {
|
|
private LaunchResult() {}
|
|
|
|
public sealed record Success(InstanceProcess Process) : LaunchResult;
|
|
|
|
public sealed record InvalidJavaRuntime : LaunchResult;
|
|
|
|
public sealed record InvalidJvmArguments : LaunchResult;
|
|
|
|
public sealed record CouldNotDownloadMinecraftServer : LaunchResult;
|
|
|
|
public sealed record CouldNotPrepareMinecraftServerLauncher : LaunchResult;
|
|
|
|
public sealed record CouldNotConfigureMinecraftServer : LaunchResult;
|
|
|
|
public sealed record CouldNotStartMinecraftServer : LaunchResult;
|
|
}
|