Class ServerTypeCatalog.Entry
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
Everything the app knows about one server type.
public record ServerTypeCatalog.Entry : IEquatable<ServerTypeCatalog.Entry>
- Inheritance
-
ServerTypeCatalog.Entry
- Implements
- Inherited Members
Constructors
Entry(ServerType, string, ServerFamily, string, CrossplayLevel, string)
Everything the app knows about one server type.
public Entry(ServerType Type, string DisplayName, ServerFamily Family, string BadgeColor, CrossplayLevel Crossplay, string DescriptionKey)
Parameters
TypeServerTypeThe enum value, carried around instead of its name as a string.
DisplayNamestringThe brand name. Not translated — these are proper nouns.
FamilyServerFamilyPlugins, mods, or neither.
BadgeColorstringHex, so this table stays free of any UI framework.
CrossplayCrossplayLevelHow well Bedrock players fare, not merely whether Geyser installs.
DescriptionKeystringresx key for the one line shown under the name in the picker.
Properties
BadgeColor
Hex, so this table stays free of any UI framework.
public string BadgeColor { get; init; }
Property Value
Crossplay
How well Bedrock players fare, not merely whether Geyser installs.
public CrossplayLevel Crossplay { get; init; }
Property Value
DescriptionKey
resx key for the one line shown under the name in the picker.
public string DescriptionKey { get; init; }
Property Value
DisplayName
The brand name. Not translated — these are proper nouns.
public string DisplayName { get; init; }
Property Value
Family
Plugins, mods, or neither.
public ServerFamily Family { get; init; }
Property Value
SupportsCrossplay
Whether Geyser publishes a build that runs on it — the checkbox's question.
public bool SupportsCrossplay { get; }
Property Value
Type
The enum value, carried around instead of its name as a string.
public ServerType Type { get; init; }