示例#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);
        }