Class ServerConfigEffects.Row
- Namespace
- McServerLauncher.ViewModels
- Assembly
- McServerLauncher.dll
What one field of the config feeds.
public sealed record ServerConfigEffects.Row : IEquatable<ServerConfigEffects.Row>
- Inheritance
-
ServerConfigEffects.Row
- Implements
- Inherited Members
Constructors
Row(string, string[], string[], ConfigEffect, string?)
What one field of the config feeds.
public Row(string ConfigProperty, string[] ServerProperties, string[] ModsProperties, ConfigEffect Effects, string? NothingShowsIt = null)
Parameters
ConfigPropertystringThe ServerConfig property this row is about.
ServerPropertiesstring[]Properties of ServerViewModel to announce.
ModsPropertiesstring[]Properties of ServerModsViewModel to announce.
EffectsConfigEffectWork beyond announcing.
NothingShowsItstringWhy this field feeds nothing on screen. Present exactly when the other three are empty, so that "nobody displays it" is a written decision rather than an omission.
Properties
ConfigProperty
The ServerConfig property this row is about.
public string ConfigProperty { get; init; }
Property Value
Effects
Work beyond announcing.
public ConfigEffect Effects { get; init; }
Property Value
ModsProperties
Properties of ServerModsViewModel to announce.
public string[] ModsProperties { get; init; }
Property Value
- string[]
NothingShowsIt
Why this field feeds nothing on screen. Present exactly when the other three are empty, so that "nobody displays it" is a written decision rather than an omission.
public string? NothingShowsIt { get; init; }
Property Value
ServerProperties
Properties of ServerViewModel to announce.
public string[] ServerProperties { get; init; }
Property Value
- string[]