mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 18:37:18 +02:00
77 lines
2.2 KiB
C#
77 lines
2.2 KiB
C#
// <auto-generated/>
|
|
#nullable enable
|
|
|
|
namespace WotBlitzStatisticsPro.Blazor.GraphQl
|
|
{
|
|
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.2.2.0")]
|
|
public partial class PlayerResult : global::System.IEquatable<PlayerResult>, IPlayerResult
|
|
{
|
|
public PlayerResult(global::WotBlitzStatisticsPro.Blazor.GraphQl.IPlayer_AccountInfo accountInfo, global::WotBlitzStatisticsPro.Blazor.GraphQl.IPlayer_AccountMedals accountMedals)
|
|
{
|
|
AccountInfo = accountInfo;
|
|
AccountMedals = accountMedals;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gathers all account information
|
|
/// </summary>
|
|
public global::WotBlitzStatisticsPro.Blazor.GraphQl.IPlayer_AccountInfo AccountInfo { get; }
|
|
|
|
/// <summary>
|
|
/// Returns information about player's achievements
|
|
/// </summary>
|
|
public global::WotBlitzStatisticsPro.Blazor.GraphQl.IPlayer_AccountMedals AccountMedals { get; }
|
|
|
|
public virtual global::System.Boolean Equals(PlayerResult? other)
|
|
{
|
|
if (ReferenceEquals(null, other))
|
|
{
|
|
return false;
|
|
}
|
|
|
|
if (ReferenceEquals(this, other))
|
|
{
|
|
return true;
|
|
}
|
|
|
|
if (other.GetType() != GetType())
|
|
{
|
|
return false;
|
|
}
|
|
|
|
return (AccountInfo.Equals(other.AccountInfo)) && AccountMedals.Equals(other.AccountMedals);
|
|
}
|
|
|
|
public override global::System.Boolean Equals(global::System.Object? obj)
|
|
{
|
|
if (ReferenceEquals(null, obj))
|
|
{
|
|
return false;
|
|
}
|
|
|
|
if (ReferenceEquals(this, obj))
|
|
{
|
|
return true;
|
|
}
|
|
|
|
if (obj.GetType() != GetType())
|
|
{
|
|
return false;
|
|
}
|
|
|
|
return Equals((PlayerResult)obj);
|
|
}
|
|
|
|
public override global::System.Int32 GetHashCode()
|
|
{
|
|
unchecked
|
|
{
|
|
int hash = 5;
|
|
hash ^= 397 * AccountInfo.GetHashCode();
|
|
hash ^= 397 * AccountMedals.GetHashCode();
|
|
return hash;
|
|
}
|
|
}
|
|
}
|
|
}
|