using System;
using System.Application.Serialization;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace System.Application.Models.Settings
{
public static class SteamSettings
{
///
/// Steam启动参数
///
public static SerializableProperty SteamStratParameter { get; }
= new SerializableProperty(GetKey(), Providers.Local, string.Empty) { AutoSave = true };
///
/// Steam皮肤
///
public static SerializableProperty SteamSkin { get; }
= new SerializableProperty(GetKey(), Providers.Local, string.Empty) { AutoSave = true };
///
/// 自动运行Steam
///
public static SerializableProperty IsAutoRunSteam { get; }
= new SerializableProperty(GetKey(), Providers.Local, false) { AutoSave = true };
///
/// 检测到Steam启动时弹出消息通知
///
public static SerializableProperty IsEnableSteamLaunchNotification { get; }
= new SerializableProperty(GetKey(), Providers.Local, false) { AutoSave = true };
private static string GetKey([CallerMemberName] string propertyName = "")
{
return nameof(SteamSettings) + "." + propertyName;
}
}
}