Class ExistingServerForm
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
What the user settled on in the create dialog for a folder that already holds a server.
public sealed record ExistingServerForm : IEquatable<ExistingServerForm>
- Inheritance
-
ExistingServerForm
- Implements
- Inherited Members
Remarks
Type, GameVersion and JarFile are what was picked by hand, and count only
where the folder itself said nothing: what was detected always wins. Memory is Automatic
unless the user asked for the two numbers, which the detection fills in either way.
Constructors
ExistingServerForm(string, string, ServerType, string?, string?, int, int, string, bool, bool, bool, bool, MemoryMode)
What the user settled on in the create dialog for a folder that already holds a server.
public ExistingServerForm(string Name, string Folder, ServerType Type, string? GameVersion, string? JarFile, int MinRamGb, int MaxRamGb, string JavaPath, bool Playit, bool Crossplay, bool MultiVersion, bool Hydraulic, MemoryMode Memory = MemoryMode.Automatic)
Parameters
NamestringFolderstringTypeServerTypeGameVersionstringJarFilestringMinRamGbintMaxRamGbintJavaPathstringPlayitboolCrossplayboolMultiVersionboolHydraulicboolMemoryMemoryMode
Remarks
Type, GameVersion and JarFile are what was picked by hand, and count only
where the folder itself said nothing: what was detected always wins. Memory is Automatic
unless the user asked for the two numbers, which the detection fills in either way.
Properties
Crossplay
public bool Crossplay { get; init; }
Property Value
Folder
public string Folder { get; init; }
Property Value
GameVersion
public string? GameVersion { get; init; }
Property Value
Hydraulic
public bool Hydraulic { get; init; }
Property Value
JarFile
public string? JarFile { get; init; }
Property Value
JavaPath
public string JavaPath { get; init; }
Property Value
MaxRamGb
public int MaxRamGb { get; init; }
Property Value
Memory
public MemoryMode Memory { get; init; }
Property Value
MinRamGb
public int MinRamGb { get; init; }
Property Value
MultiVersion
public bool MultiVersion { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Playit
public bool Playit { get; init; }
Property Value
Type
public ServerType Type { get; init; }