using System; using System.ComponentModel; using System.Reactive; using System.Reactive.Linq; using System.Runtime.CompilerServices; using System.Windows.Input; using Avalonia.Controls; using Avalonia.Media; using ReactiveUI; using Valheim_Dashboard.Views; namespace Valheim_Dashboard.ViewModels; public class ServerSettingsViewModel : ViewModelBase { // Eigenschaften für Plugin private string? _pluginIp; public string? PluginIp { get => _pluginIp; set => this.RaiseAndSetIfChanged(ref _pluginIp, value); } private string? _pluginPort; public string? PluginPort { get => _pluginPort; set => this.RaiseAndSetIfChanged(ref _pluginPort, value); } // Eigenschaften für FTP private string? _ftpIp; public string? FtpIp { get => _ftpIp; set => this.RaiseAndSetIfChanged(ref _ftpIp, value); } private string? _ftpPort; public string? FtpPort { get => _ftpPort; set => this.RaiseAndSetIfChanged(ref _ftpPort, value); } private string? _ftpUsername; public string? FtpUsername { get => _ftpUsername; set => this.RaiseAndSetIfChanged(ref _ftpUsername, value); } private string? _ftpPassword; public string? FtpPassword { get => _ftpPassword; set => this.RaiseAndSetIfChanged(ref _ftpPassword, value); } private readonly TutorialManager _tutorialManager; private Window? _window; public ServerSettingsViewModel() { } }