示例#1
0
        public override int GetHashCode()
        {
            int result = 7057;

            result = result * 8171 + InternalFlags;
            result = result * 8171 + DontObstructDistance.GetHashCode();
            result = result * 8171 + DontPlayDistance.GetHashCode();
            result = result * 8171 + AttackDistance.GetHashCode();
            result = result * 8171 + MinDistance.GetHashCode();
            result = result * 8171 + SustainBeginDistance.GetHashCode();
            result = result * 8171 + SustainEndDistance.GetHashCode();
            result = result * 8171 + MaxDistance.GetHashCode();
            result = result * 8171 + SustainDB.GetHashCode();
            result = result * 8171 + SkipFraction.GetHashCode();
            result = result * 8171 + MaxPendPerSec.GetHashCode();
            result = result * 8171 + GainBase.GetHashCode();
            result = result * 8171 + GainVariance.GetHashCode();
            result = result * 8171 + RandomPitchBoundsMin;
            result = result * 8171 + RandomPitchBoundsMax;
            result = result * 8171 + InnerConeAngle.GetHashCode();
            result = result * 8171 + OuterConeAngle.GetHashCode();
            result = result * 8171 + OuterConeGain.GetHashCode();
            result = result * 8171 + Flags;
            result = result * 8171 + Azimuth.GetHashCode();
            result = result * 8171 + PositionalGain.GetHashCode();
            result = result * 8171 + FirstPersonGain.GetHashCode();
            return(result);
        }
        public override int GetHashCode()
        {
            int result = 7057;

            result = result * 8171 + DontObstructDistance.GetHashCode();
            result = result * 8171 + DontPlayDistance.GetHashCode();
            result = result * 8171 + AttackDistance.GetHashCode();
            result = result * 8171 + MinDistance.GetHashCode();
            result = result * 8171 + SustainBeginDistance.GetHashCode();
            result = result * 8171 + SustainEndDistance.GetHashCode();
            result = result * 8171 + MaxDistance.GetHashCode();
            result = result * 8171 + SustainDB.GetHashCode();
            return(result);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MaxDistanceValid != false)
            {
                hash ^= MaxDistanceValid.GetHashCode();
            }
            if (SensorIdValid != false)
            {
                hash ^= SensorIdValid.GetHashCode();
            }
            if (RadarPowerValid != false)
            {
                hash ^= RadarPowerValid.GetHashCode();
            }
            if (OutputTypeValid != false)
            {
                hash ^= OutputTypeValid.GetHashCode();
            }
            if (SendQualityValid != false)
            {
                hash ^= SendQualityValid.GetHashCode();
            }
            if (SendExtInfoValid != false)
            {
                hash ^= SendExtInfoValid.GetHashCode();
            }
            if (SortIndexValid != false)
            {
                hash ^= SortIndexValid.GetHashCode();
            }
            if (StoreInNvmValid != false)
            {
                hash ^= StoreInNvmValid.GetHashCode();
            }
            if (CtrlRelayValid != false)
            {
                hash ^= CtrlRelayValid.GetHashCode();
            }
            if (RcsThresholdValid != false)
            {
                hash ^= RcsThresholdValid.GetHashCode();
            }
            if (MaxDistance != 0)
            {
                hash ^= MaxDistance.GetHashCode();
            }
            if (SensorId != 0)
            {
                hash ^= SensorId.GetHashCode();
            }
            if (OutputType != 0)
            {
                hash ^= OutputType.GetHashCode();
            }
            if (RadarPower != 0)
            {
                hash ^= RadarPower.GetHashCode();
            }
            if (CtrlRelay != 0)
            {
                hash ^= CtrlRelay.GetHashCode();
            }
            if (SendExtInfo != false)
            {
                hash ^= SendExtInfo.GetHashCode();
            }
            if (SendQuality != false)
            {
                hash ^= SendQuality.GetHashCode();
            }
            if (SortIndex != 0)
            {
                hash ^= SortIndex.GetHashCode();
            }
            if (StoreInNvm != 0)
            {
                hash ^= StoreInNvm.GetHashCode();
            }
            if (RcsThreshold != 0)
            {
                hash ^= RcsThreshold.GetHashCode();
            }
            if (InputSendInterval != 0UL)
            {
                hash ^= InputSendInterval.GetHashCode();
            }
            return(hash);
        }