Class NewServerResult
- Namespace
- McServerLauncher.Views
- Assembly
- McServerLauncher.dll
What the new-server panel produced: the server, and what to do with it next.
public sealed record NewServerResult : IEquatable<NewServerResult>
- Inheritance
-
NewServerResult
- Implements
- Inherited Members
Constructors
NewServerResult(ServerConfig, bool, bool, bool)
What the new-server panel produced: the server, and what to do with it next.
public NewServerResult(ServerConfig Config, bool IsNew, bool AutoStart, bool CreateTunnel)
Parameters
ConfigServerConfigThe server to register.
IsNewboolTrue when it was created here; false for a folder that already held a server.
AutoStartboolStart it once registered, to generate the world.
CreateTunnelboolCreate its Playit tunnel once registered.
Properties
AutoStart
Start it once registered, to generate the world.
public bool AutoStart { get; init; }
Property Value
Config
The server to register.
public ServerConfig Config { get; init; }
Property Value
CreateTunnel
Create its Playit tunnel once registered.
public bool CreateTunnel { get; init; }
Property Value
IsNew
True when it was created here; false for a folder that already held a server.
public bool IsNew { get; init; }