Skip to content

Commit

Permalink
🔖 1.23.10601.10615
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed May 31, 2023
1 parent 1d60f84 commit 7ee6514
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
1 change: 1 addition & 0 deletions src/BD.SteamClient/BD.SteamClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<PackageReference Include="Google.Protobuf" />
<PackageReference Include="AngleSharp" />
<PackageReference Include="ReactiveUI" />
<PackageReference Include="ReactiveUI.Fody" />
</ItemGroup>

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows' OR $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos' OR $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst' OR $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == ''">
Expand Down
29 changes: 19 additions & 10 deletions src/BD.SteamClient/Models/SteamUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,32 @@ public int? Level
[XmlElement("privacyState")]
public string? PrivacyState { get; set; }

[XmlElement("avatarIcon")]
public string? AvatarIcon { get; set; }
string? _AvatarIcon;

[XmlElement("avatarMedium")]
public string? AvatarMedium { get; set; }
[XmlElement("avatarIcon")]
public string? AvatarIcon
{
get => _AvatarIcon;
set => this.RaiseAndSetIfChanged(ref _AvatarIcon, value);
}

Task<string?>? _AvatarStream;
string? _AvatarMedium;

[XmlIgnore]
public Task<string?>? AvatarStream
[XmlElement("avatarMedium")]
public string? AvatarMedium
{
get => _AvatarStream;
set => this.RaiseAndSetIfChanged(ref _AvatarStream, value);
get => _AvatarMedium;
set => this.RaiseAndSetIfChanged(ref _AvatarMedium, value);
}

string? _AvatarFull;

[XmlElement("avatarFull")]
public string? AvatarFull { get; set; }
public string? AvatarFull
{
get => _AvatarFull;
set => this.RaiseAndSetIfChanged(ref _AvatarFull, value);
}

/// <summary>
/// 注册日期
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using System;

namespace BD.SteamClient.Services.Implementation;

internal sealed class SteamworksWebApiServiceImpl : GeneralHttpClientFactory, ISteamworksWebApiService
Expand All @@ -20,7 +22,7 @@ public SteamworksWebApiServiceImpl(
{
var client = CreateClient(TAG, HttpHandlerCategory.Default);
return client.GetAsync<T>(logger, requestUri, accept,
cancellationToken: cancellationToken, userAgent: http_helper.UserAgent);
cancellationToken: cancellationToken, userAgent: http_helper.UserAgent, jsonSerializer: Newtonsoft.Json.JsonSerializer.CreateDefault());
}

public async Task<string> GetAllSteamAppsString()
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<IsTrimmable>true</IsTrimmable>
<!--<Version>1.yy.1MMdd.1hhmm</Version>-->
<Version>1.23.10529.11829</Version>
<Version>1.23.10601.10615</Version>
<PackageIconUrl>https://avatars.githubusercontent.com/u/79355691?s=200&amp;v=4</PackageIconUrl>
<Company>长沙次元超越科技有限公司</Company>
<Copyright>©️ $(Company). All rights reserved.</Copyright>
Expand Down

0 comments on commit 7ee6514

Please sign in to comment.