public override int GetHashCode() { int hash = 1; if (BucketsPerDay != 0) { hash ^= BucketsPerDay.GetHashCode(); } if (StreakLength != 0) { hash ^= StreakLength.GetHashCode(); } if (BonusMultiplier != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BonusMultiplier); } if (StreakBonusMultiplier != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(StreakBonusMultiplier); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (BucketsPerDay != 0) { hash ^= BucketsPerDay.GetHashCode(); } if (StreakLength != 0) { hash ^= StreakLength.GetHashCode(); } if (BonusMultiplier != 0F) { hash ^= BonusMultiplier.GetHashCode(); } if (StreakBonusMultiplier != 0F) { hash ^= StreakBonusMultiplier.GetHashCode(); } return(hash); }