using Microsoft.UI.Xaml; using XFEExtension.NetCore.AutoConfig; using XFEWarframe.Player.Utilities; namespace XFEWarframe.Player.Profiles.CrossVersionProfiles; [AutoLoadProfile] public partial class SystemProfile : XFEProfile { public SystemProfile() { ProfilePath = Path.Combine(AppPath.ProfilesDirectory, nameof(SystemProfile)); DefaultProfileOperationMode = ProfileOperationMode.Json; } [ProfileProperty] public static partial ElementTheme Theme { get; set; } = Microsoft.UI.Xaml.ElementTheme.Dark; [ProfileProperty] public static partial string GameDirectory { get; set; } = ""; [ProfileProperty] public static partial string ServerUrl { get; set; } = "http://127.0.0.1:8444"; [ProfileProperty] public static partial string Language { get; set; } = "zh"; [ProfileProperty] public static partial string UiLanguage { get; set; } = "zh"; [ProfileProperty] public static partial string ItemLanguage { get; set; } = "zh"; [ProfileProperty] public static partial string PlayerEmail { get; set; } = ""; [ProfileProperty] public static partial bool RememberAccount { get; set; } = true; [ProfileProperty] public static partial bool AutoLoginToGame { get; set; } = true; [ProfileProperty] public static partial bool UseDirectX12 { get; set; } [ProfileProperty] public static partial bool LegacySettingsImported { get; set; } }