public int GetHashCode() { unchecked { return(((BundleName != null ? BundleName.GetHashCode() : 0) * 397) ^ (AssetName != null ? AssetName.GetHashCode() : 0)); } }
public override int GetHashCode() { int hash = 1; if (AssetId.Length != 0) { hash ^= AssetId.GetHashCode(); } if (BundleName.Length != 0) { hash ^= BundleName.GetHashCode(); } if (Version != 0L) { hash ^= Version.GetHashCode(); } if (Checksum != 0) { hash ^= Checksum.GetHashCode(); } if (Size != 0) { hash ^= Size.GetHashCode(); } if (Key.Length != 0) { hash ^= Key.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Enabled != false) { hash ^= Enabled.GetHashCode(); } if (AvatarType != 0) { hash ^= AvatarType.GetHashCode(); } hash ^= slot_.GetHashCode(); if (BundleName.Length != 0) { hash ^= BundleName.GetHashCode(); } if (AssetName.Length != 0) { hash ^= AssetName.GetHashCode(); } if (GroupName.Length != 0) { hash ^= GroupName.GetHashCode(); } if (SortOrder != 0) { hash ^= SortOrder.GetHashCode(); } if (UnlockType != 0) { hash ^= UnlockType.GetHashCode(); } hash ^= promoType_.GetHashCode(); if (UnlockBadgeType != 0) { hash ^= UnlockBadgeType.GetHashCode(); } if (IapSku.Length != 0) { hash ^= IapSku.GetHashCode(); } if (UnlockBadgeLevel != 0) { hash ^= UnlockBadgeLevel.GetHashCode(); } if (IconName.Length != 0) { hash ^= IconName.GetHashCode(); } if (UnlockPlayerLevel != 0) { hash ^= UnlockPlayerLevel.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return(((BundleName != null ? BundleName.GetHashCode() : 0) * 397) ^ (AssemblyName != null ? AssemblyName.GetHashCode() : 0)); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Bsb != null) { hashCode = hashCode * 59 + Bsb.GetHashCode(); } if (AccountNumber != null) { hashCode = hashCode * 59 + AccountNumber.GetHashCode(); } if (BundleName != null) { hashCode = hashCode * 59 + BundleName.GetHashCode(); } if (SpecificAccountUType != null) { hashCode = hashCode * 59 + SpecificAccountUType.GetHashCode(); } if (TermDeposit != null) { hashCode = hashCode * 59 + TermDeposit.GetHashCode(); } if (CreditCard != null) { hashCode = hashCode * 59 + CreditCard.GetHashCode(); } if (Loan != null) { hashCode = hashCode * 59 + Loan.GetHashCode(); } if (Features != null) { hashCode = hashCode * 59 + Features.GetHashCode(); } if (Fees != null) { hashCode = hashCode * 59 + Fees.GetHashCode(); } if (DepositRates != null) { hashCode = hashCode * 59 + DepositRates.GetHashCode(); } if (LendingRates != null) { hashCode = hashCode * 59 + LendingRates.GetHashCode(); } if (Address != null) { hashCode = hashCode * 59 + Address.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (BundleName.Length != 0) { hash ^= BundleName.GetHashCode(); } if (BundleUrl.Length != 0) { hash ^= BundleUrl.GetHashCode(); } if (LoadTime != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(LoadTime); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }