Table of Contents

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

Config ServerConfig

The server to register.

IsNew bool

True when it was created here; false for a folder that already held a server.

AutoStart bool

Start it once registered, to generate the world.

CreateTunnel bool

Create its Playit tunnel once registered.

Properties

AutoStart

Start it once registered, to generate the world.

public bool AutoStart { get; init; }

Property Value

bool

Config

The server to register.

public ServerConfig Config { get; init; }

Property Value

ServerConfig

CreateTunnel

Create its Playit tunnel once registered.

public bool CreateTunnel { get; init; }

Property Value

bool

IsNew

True when it was created here; false for a folder that already held a server.

public bool IsNew { get; init; }

Property Value

bool