Enum ConfigEffect
- Namespace
- McServerLauncher.ViewModels
- Assembly
- McServerLauncher.dll
Work that has to happen when a field of a ServerConfig changes.
[Flags]
public enum ConfigEffect
Fields
CloseDetails = 256Close the open store details page: it resolved versions against the old answer.
MirrorName = 1Copy the config's name into the view model's own bindable one.
MirrorTunnelAddress = 2Copy the config's tunnel address into the view model's own bindable one.
None = 0ReSearchStore = 512Run the store search again, for the new type and version.
RebuildTags = 128Rebuild the store's category chips (only the family changes them).
RefreshSignal = 16Recompute the signal bars and the tunnel warning.
ReloadBackups = 1024Re-read the backup list, if the tab has ever been opened.
RereadInfo = 8Re-read the MOTD, the player count and the icon.
RereadPort = 4Re-read the port from server.properties.
RescanContent = 64Re-read the mods or plugins folder.
RestartWakeListener = 32Open or close the wake-on-demand listener to match the config.
Remarks
Only things a property notification cannot express on its own: reading a file again, closing a page, going back to the store. Anything that is just "this getter now returns something else" is a name in ServerProperties instead.