Table of Contents

Class ServerSettingsSaved

Namespace
McServerLauncher.Views.ServerSettings
Assembly
McServerLauncher.dll

What a save changed, for the steps only the main window can take afterwards.

public sealed record ServerSettingsSaved : IEquatable<ServerSettingsSaved>
Inheritance
ServerSettingsSaved
Implements
Inherited Members

Constructors

ServerSettingsSaved(string, bool, bool, bool, bool, bool, IReadOnlyDictionary<string, string>)

What a save changed, for the steps only the main window can take afterwards.

public ServerSettingsSaved(string OldName, bool JavaPortChanged, bool BedrockPortChanged, bool CrossplayTurnedOn, bool MultiVersionTurnedOn, bool ModContentTurnedOn, IReadOnlyDictionary<string, string> PropertyChanges)

Parameters

OldName string

The name before the save: the tunnels are found by it.

JavaPortChanged bool

The server's own port moved, so the tunnels list may be out of date.

BedrockPortChanged bool

Geyser's port moved, so its tunnel has to be looked up again.

CrossplayTurnedOn bool

Crossplay was switched on and has to be installed.

MultiVersionTurnedOn bool

Version bridging was switched on and has to be installed.

ModContentTurnedOn bool

Hydraulic was switched on and has to be installed.

PropertyChanges IReadOnlyDictionary<string, string>

The server.properties values written, by key.

Properties

BedrockPortChanged

Geyser's port moved, so its tunnel has to be looked up again.

public bool BedrockPortChanged { get; init; }

Property Value

bool

CrossplayTurnedOn

Crossplay was switched on and has to be installed.

public bool CrossplayTurnedOn { get; init; }

Property Value

bool

JavaPortChanged

The server's own port moved, so the tunnels list may be out of date.

public bool JavaPortChanged { get; init; }

Property Value

bool

ModContentTurnedOn

Hydraulic was switched on and has to be installed.

public bool ModContentTurnedOn { get; init; }

Property Value

bool

MultiVersionTurnedOn

Version bridging was switched on and has to be installed.

public bool MultiVersionTurnedOn { get; init; }

Property Value

bool

OldName

The name before the save: the tunnels are found by it.

public string OldName { get; init; }

Property Value

string

PropertyChanges

The server.properties values written, by key.

public IReadOnlyDictionary<string, string> PropertyChanges { get; init; }

Property Value

IReadOnlyDictionary<string, string>