LauncherProfiles.cs 607 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. namespace VeloeMinecraftLauncher.Entity.LauncherProfiles;
  4. [Serializable]
  5. public class LauncherProfiles
  6. {
  7. public string SelectedProfile { get; set; }
  8. public Dictionary<string, Profile> Profiles { get; set; }
  9. public LauncherProfiles()
  10. {
  11. Profiles = new Dictionary<string, Profile>();
  12. }
  13. }
  14. [Serializable]
  15. public class Profile
  16. {
  17. public string Name { get; set; }
  18. public string LastVersionId { get; set; }
  19. public string[] AllowedReleaseTypes { get; set; }
  20. public string LauncherVisibilityOnGameClose { get; set; }
  21. }