mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 10:27:18 +02:00
37 lines
1.8 KiB
C#
37 lines
1.8 KiB
C#
// <auto-generated/>
|
|
#nullable enable
|
|
|
|
namespace WotBlitzStatisticsPro.Blazor.GraphQl.State
|
|
{
|
|
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.2.2.0")]
|
|
public partial class PlayerResultInfo : global::StrawberryShake.IOperationResultDataInfo
|
|
{
|
|
private readonly global::System.Collections.Generic.IReadOnlyCollection<global::StrawberryShake.EntityId> _entityIds;
|
|
private readonly global::System.UInt64 _version;
|
|
public PlayerResultInfo(global::WotBlitzStatisticsPro.Blazor.GraphQl.State.IStatisticsData accountInfo, global::WotBlitzStatisticsPro.Blazor.GraphQl.State.AccountAchievementsResponseData accountMedals, global::System.Collections.Generic.IReadOnlyCollection<global::StrawberryShake.EntityId> entityIds, global::System.UInt64 version)
|
|
{
|
|
AccountInfo = accountInfo;
|
|
AccountMedals = accountMedals;
|
|
_entityIds = entityIds ?? throw new global::System.ArgumentNullException(nameof(entityIds));
|
|
_version = version;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gathers all account information
|
|
/// </summary>
|
|
public global::WotBlitzStatisticsPro.Blazor.GraphQl.State.IStatisticsData AccountInfo { get; }
|
|
|
|
/// <summary>
|
|
/// Returns information about player's achievements
|
|
/// </summary>
|
|
public global::WotBlitzStatisticsPro.Blazor.GraphQl.State.AccountAchievementsResponseData AccountMedals { get; }
|
|
|
|
public global::System.Collections.Generic.IReadOnlyCollection<global::StrawberryShake.EntityId> EntityIds => _entityIds;
|
|
public global::System.UInt64 Version => _version;
|
|
public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version)
|
|
{
|
|
return new PlayerResultInfo(AccountInfo, AccountMedals, _entityIds, version);
|
|
}
|
|
}
|
|
}
|