-Ftp Seite überarbeitet mit path auswahl und zurück plus weiter button. Fehlt noch logik zum speichern vom path in global variable (: um sie zu laden evtl local zwischen speichern damit nicht jedes mal eine anfrage zum server kommt. -Server Dashboard beispiel mod config hinzugefügt um ftp string zu lesen und schreiben. Plugin unterstützung fehlt hier noch plus plugin muss erstmal geschrieben werden das er es kann :P
18 lines
832 B
C#
18 lines
832 B
C#
using Valheim_Dashboard.ViewModels;
|
|
|
|
namespace Valheim_Dashboard
|
|
{
|
|
public class ViewModelLocator
|
|
{
|
|
public MainWindowViewModel MainWindowViewModel => new MainWindowViewModel(this);
|
|
public ErsterStartViewModel ErsterStartViewModel => new ErsterStartViewModel();
|
|
public LizenzViewModel LizenzViewModel => new LizenzViewModel(); // Hinzugefügt
|
|
public ServerSettingsViewModel ServerSettingsViewModel => new ServerSettingsViewModel(); // Hinzugefügt
|
|
|
|
public ServerDashboardViewModel ServerDashboardViewModel => new ServerDashboardViewModel(); // Hinzugefügt
|
|
public DashboardViewModel DashboardViewModel => new DashboardViewModel(); // Hinzugefügt
|
|
public FtpViewModel FtpViewModel => new FtpViewModel(); // Hinzugefügt
|
|
|
|
public ViewModelLocator() { }
|
|
}
|
|
} |