Class AdviceInputs
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
What the advice depends on.
public sealed record AdviceInputs : IEquatable<AdviceInputs>
- Inheritance
-
AdviceInputs
- Implements
- Inherited Members
Constructors
AdviceInputs(ServerType, int, int, long, long, long, bool, bool)
What the advice depends on.
public AdviceInputs(ServerType Type, int SimulationDistance, int ViewDistance, long CeilingMb, long TotalRamMb, long AvailableRamMb, bool CanMeasure, bool SparkAvailable)
Parameters
TypeServerTypeThe server type.
SimulationDistanceintIts
simulation-distance.ViewDistanceintIts
view-distance.CeilingMblongThe heap ceiling it runs with, in MB.
TotalRamMblongThe machine's memory, 0 when unknown.
AvailableRamMblongWhat the machine has free right now, 0 when unknown.
CanMeasureboolThe server can be asked for its speed (spark,
tick queryor Paper'stps).SparkAvailableboolspark is installed or comes with the server.
Properties
AvailableRamMb
What the machine has free right now, 0 when unknown.
public long AvailableRamMb { get; init; }
Property Value
CanMeasure
The server can be asked for its speed (spark, tick query or Paper's tps).
public bool CanMeasure { get; init; }
Property Value
CeilingMb
The heap ceiling it runs with, in MB.
public long CeilingMb { get; init; }
Property Value
SimulationDistance
Its simulation-distance.
public int SimulationDistance { get; init; }
Property Value
SparkAvailable
spark is installed or comes with the server.
public bool SparkAvailable { get; init; }
Property Value
TotalRamMb
The machine's memory, 0 when unknown.
public long TotalRamMb { get; init; }
Property Value
Type
The server type.
public ServerType Type { get; init; }
Property Value
ViewDistance
Its view-distance.
public int ViewDistance { get; init; }