Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (SpinBonusThreshold != 0F)
            {
                hash ^= SpinBonusThreshold.GetHashCode();
            }
            if (ExcellentThrowThreshold != 0F)
            {
                hash ^= ExcellentThrowThreshold.GetHashCode();
            }
            if (GreatThrowThreshold != 0F)
            {
                hash ^= GreatThrowThreshold.GetHashCode();
            }
            if (NiceThrowThreshold != 0F)
            {
                hash ^= NiceThrowThreshold.GetHashCode();
            }
            if (MilestoneThreshold != 0)
            {
                hash ^= MilestoneThreshold.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (SpinBonusThreshold != 0F)
            {
                hash ^= SpinBonusThreshold.GetHashCode();
            }
            if (ExcellentThrowThreshold != 0F)
            {
                hash ^= ExcellentThrowThreshold.GetHashCode();
            }
            if (GreatThrowThreshold != 0F)
            {
                hash ^= GreatThrowThreshold.GetHashCode();
            }
            if (NiceThrowThreshold != 0F)
            {
                hash ^= NiceThrowThreshold.GetHashCode();
            }
            if (MilestoneThreshold != 0)
            {
                hash ^= MilestoneThreshold.GetHashCode();
            }
            if (ArPlusModeEnabled != false)
            {
                hash ^= ArPlusModeEnabled.GetHashCode();
            }
            if (ArCloseProximityThreshold != 0F)
            {
                hash ^= ArCloseProximityThreshold.GetHashCode();
            }
            if (ArLowAwarenessThreshold != 0F)
            {
                hash ^= ArLowAwarenessThreshold.GetHashCode();
            }
            if (ArCloseProximityMultiplier != 0F)
            {
                hash ^= ArCloseProximityMultiplier.GetHashCode();
            }
            if (ArAwarenessPenaltyThreshold != 0F)
            {
                hash ^= ArAwarenessPenaltyThreshold.GetHashCode();
            }
            if (ArLowAwarenessMaxMultiplier != 0F)
            {
                hash ^= ArLowAwarenessMaxMultiplier.GetHashCode();
            }
            if (ArHighAwarenessMinPenaltyMultiplier != 0F)
            {
                hash ^= ArHighAwarenessMinPenaltyMultiplier.GetHashCode();
            }
            if (ArPlusAttemptsUntilFleeMax != 0)
            {
                hash ^= ArPlusAttemptsUntilFleeMax.GetHashCode();
            }
            if (ArPlusAttemptsUntilFleeInfinite != 0)
            {
                hash ^= ArPlusAttemptsUntilFleeInfinite.GetHashCode();
            }
            return(hash);
        }