mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-23 19:42:51 +01:00
20 lines
578 B
C#
20 lines
578 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 CouldNotDownloadMinecraftServer : LaunchResult;
|
|
|
|
public sealed record CouldNotPrepareMinecraftServerLauncher : LaunchResult;
|
|
|
|
public sealed record CouldNotConfigureMinecraftServer : LaunchResult;
|
|
|
|
public sealed record CouldNotStartMinecraftServer : LaunchResult;
|
|
}
|