XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEWarframe

【WinUI】基于Warframe游戏本体的公开服务器以及安装器

公开
关注 0 Fork 0 Star 0
UTF-8
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; }
}