public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (campaign_ != null) { hash ^= Campaign.GetHashCode(); } if (criterionId_ != null) { hash ^= CriterionId.GetHashCode(); } if (bidModifier_ != null) { hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(BidModifier); } if (criterionCase_ == CriterionOneofCase.InteractionType) { hash ^= InteractionType.GetHashCode(); } hash ^= (int)criterionCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashCode = -867283276; hashCode = hashCode * -1521134295 + interactionType.GetHashCode(); hashCode = hashCode * -1521134295 + (particle1 + particle2).GetHashCode(); return(hashCode); }
public override int GetHashCode() { int hash = 1; if (CardType != 0) { hash ^= CardType.GetHashCode(); } if (CardId != 0) { hash ^= CardId.GetHashCode(); } if (InteractionType != 0) { hash ^= InteractionType.GetHashCode(); } if (InteractionSelect != 0) { hash ^= InteractionSelect.GetHashCode(); } return(hash); }