mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-23 10:22:03 +08:00
add ActiveUserRecordDTO.IsAuthenticated
This commit is contained in:
@@ -107,6 +107,14 @@ namespace System.Application.Models
|
||||
[S_JsonProperty("10")]
|
||||
public ArchitectureFlags ProcessArch { get; set; } = RuntimeInformation.ProcessArchitecture.Convert(false);
|
||||
|
||||
/// <summary>
|
||||
/// 是否已登录账号
|
||||
/// </summary>
|
||||
[MPKey(11)]
|
||||
[N_JsonProperty("11")]
|
||||
[S_JsonProperty("11")]
|
||||
public bool? IsAuthenticated { get; set; }
|
||||
|
||||
bool IExplicitHasValue.ExplicitHasValue()
|
||||
{
|
||||
return Type.IsDefined() && Platform.IsDefined() && DeviceIdiom.IsDefined() && !string.IsNullOrWhiteSpace(OSVersion) && ProcessArch.IsDefined();
|
||||
|
||||
@@ -499,6 +499,7 @@ namespace System.Application
|
||||
SumScreenWidth = screens.All.Sum(x => x.Bounds.Width),
|
||||
SumScreenHeight = screens.All.Sum(x => x.Bounds.Height),
|
||||
#endif
|
||||
IsAuthenticated = UserService.Current.IsAuthenticated,
|
||||
};
|
||||
Guid? lastNotificationRecordId = default;
|
||||
if (type == ActiveUserType.OnStartup)
|
||||
|
||||
Reference in New Issue
Block a user