private void LoadAllSettings() { laucherSettings = new LauncherSettings(); serverSettings = new ServerSettings(System.IO.Path.Combine(laucherSettings.GetServerLocation(), "data")); ProfileSettings = new ProfileSettings(Path.Combine(laucherSettings.GetServerLocation(), "data/profiles")); LoginBackendURL.Text = laucherSettings.GetBackendURL(); Port.Text = serverSettings.GetServerPort(); }
private void LoadServerGeneralSettings() { // reload config files LoadAllSettings(); // load the settings Port.Text = serverSettings.GetServerPort(); LoginBackendURL.Text = laucherSettings.GetBackendURL(); }
private void LoadLoginSettings() { // reload config files LoadAllSettings(); // load the settings LoginEmail.Text = laucherSettings.GetEmail(); LoginPassword.Text = laucherSettings.GetPassword(); LoginBackendURL.Text = laucherSettings.GetBackendURL(); }
private void LoadAccountSettings() { Email.Text = laucherSettings.GetEmail(); Password.Text = laucherSettings.GetPassword(); ClientBackendURL.Text = laucherSettings.GetBackendURL(); }