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
OldNamestringThe name before the save: the tunnels are found by it.
JavaPortChangedboolThe server's own port moved, so the tunnels list may be out of date.
BedrockPortChangedboolGeyser's port moved, so its tunnel has to be looked up again.
CrossplayTurnedOnboolCrossplay was switched on and has to be installed.
MultiVersionTurnedOnboolVersion bridging was switched on and has to be installed.
ModContentTurnedOnboolHydraulic was switched on and has to be installed.
PropertyChangesIReadOnlyDictionary<string, string>The
server.propertiesvalues 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
CrossplayTurnedOn
Crossplay was switched on and has to be installed.
public bool CrossplayTurnedOn { get; init; }
Property Value
JavaPortChanged
The server's own port moved, so the tunnels list may be out of date.
public bool JavaPortChanged { get; init; }
Property Value
ModContentTurnedOn
Hydraulic was switched on and has to be installed.
public bool ModContentTurnedOn { get; init; }
Property Value
MultiVersionTurnedOn
Version bridging was switched on and has to be installed.
public bool MultiVersionTurnedOn { get; init; }
Property Value
OldName
The name before the save: the tunnels are found by it.
public string OldName { get; init; }
Property Value
PropertyChanges
The server.properties values written, by key.
public IReadOnlyDictionary<string, string> PropertyChanges { get; init; }