Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Account.GetHashCode();
         hashCode = hashCode * 397 ^ BattlePass.GetHashCode();
         hashCode = hashCode * 397 ^ Stats.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 2
0
        public bool Equals(BrStatsV2V1 other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(Account.Equals(other.Account) && BattlePass.Equals(other.BattlePass) && Stats.Equals(other.Stats));
        }