public bool Equals(WaterDataAndDamage other)
        {
            if (System.Object.ReferenceEquals(this, other))
            {
                return(true);
            }

            if (((object)this == null) || ((object)other == null))
            {
                return(false);
            }

            return(Unknown.SequenceEqual(other.Unknown) &&
                   WaterPropertiesSunPower == other.WaterPropertiesSunPower &&
                   WaterPropertiesReflectivityAmount == other.WaterPropertiesReflectivityAmount &&
                   WaterPropertiesFresnelAmount == other.WaterPropertiesFresnelAmount &&
                   Unused1.SequenceEqual(other.Unused1) &&
                   FogPropertiesAboveWaterFogNearPlaneDistance == other.FogPropertiesAboveWaterFogNearPlaneDistance &&
                   FogPropertiesAboveWaterFogFarPlaneDistance == other.FogPropertiesAboveWaterFogFarPlaneDistance &&
                   ColorShallow == other.ColorShallow &&
                   ColorDeep == other.ColorDeep &&
                   ColorReflection == other.ColorReflection &&
                   Unused2.SequenceEqual(other.Unused2) &&
                   RainSimulatorForce == other.RainSimulatorForce &&
                   RainSimulatorVelocity == other.RainSimulatorVelocity &&
                   RainSimulatorFalloff == other.RainSimulatorFalloff &&
                   RainSimulatorDampener == other.RainSimulatorDampener &&
                   DisplacementSimulatorStartingSize == other.DisplacementSimulatorStartingSize &&
                   DisplacementSimulatorForce == other.DisplacementSimulatorForce &&
                   DisplacementSimulatorVelocity == other.DisplacementSimulatorVelocity &&
                   DisplacementSimulatorFalloff == other.DisplacementSimulatorFalloff &&
                   DisplacementSimulatorDampener == other.DisplacementSimulatorDampener &&
                   RainSimulatorStartingSize == other.RainSimulatorStartingSize &&
                   NoisePropertiesNormalsNoiseScale == other.NoisePropertiesNormalsNoiseScale &&
                   NoisePropertiesNoiseLayerOneWindDirection == other.NoisePropertiesNoiseLayerOneWindDirection &&
                   NoisePropertiesNoiseLayerTwoWindDirection == other.NoisePropertiesNoiseLayerTwoWindDirection &&
                   NoisePropertiesNoiseLayerThreeWindDirection == other.NoisePropertiesNoiseLayerThreeWindDirection &&
                   NoisePropertiesNoiseLayerOneWindSpeed == other.NoisePropertiesNoiseLayerOneWindSpeed &&
                   NoisePropertiesNoiseLayerTwoWindSpeed == other.NoisePropertiesNoiseLayerTwoWindSpeed &&
                   NoisePropertiesNoiseLayerThreeWindSpeed == other.NoisePropertiesNoiseLayerThreeWindSpeed &&
                   NoisePropertiesNormalsDepthFalloffStart == other.NoisePropertiesNormalsDepthFalloffStart &&
                   NoisePropertiesNormalsDepthFalloffEnd == other.NoisePropertiesNormalsDepthFalloffEnd &&
                   FogPropertiesAboveWaterFogAmount == other.FogPropertiesAboveWaterFogAmount &&
                   NoisePropertiesNormalsUVScale == other.NoisePropertiesNormalsUVScale &&
                   FogPropertiesUnderWaterFogAmount == other.FogPropertiesUnderWaterFogAmount &&
                   FogPropertiesUnderWaterFogNearPlaneDistance == other.FogPropertiesUnderWaterFogNearPlaneDistance &&
                   FogPropertiesUnderWaterFogFarPlaneDistance == other.FogPropertiesUnderWaterFogFarPlaneDistance &&
                   WaterPropertiesDistortionAmount == other.WaterPropertiesDistortionAmount &&
                   WaterPropertiesShininess == other.WaterPropertiesShininess &&
                   WaterPropertiesReflectionHDRMult == other.WaterPropertiesReflectionHDRMult &&
                   WaterPropertiesLightRadius == other.WaterPropertiesLightRadius &&
                   WaterPropertiesLightBrightness == other.WaterPropertiesLightBrightness &&
                   NoisePropertiesNoiseLayerOneUVScale == other.NoisePropertiesNoiseLayerOneUVScale &&
                   NoisePropertiesNoiseLayerTwoUVScale == other.NoisePropertiesNoiseLayerTwoUVScale &&
                   NoisePropertiesNoiseLayerThreeUVScale == other.NoisePropertiesNoiseLayerThreeUVScale &&
                   NoisePropertiesNoiseLayerOneAmplitudeScale == other.NoisePropertiesNoiseLayerOneAmplitudeScale &&
                   NoisePropertiesNoiseLayerTwoAmplitudeScale == other.NoisePropertiesNoiseLayerTwoAmplitudeScale &&
                   NoisePropertiesNoiseLayerThreeAmplitudeScale == other.NoisePropertiesNoiseLayerThreeAmplitudeScale &&
                   Damage == other.Damage);
        }
示例#2
0
        public bool Equals(NavMeshExternalConnection other)
        {
            if (System.Object.ReferenceEquals(this, other))
            {
                return(true);
            }

            if (((object)this == null) || ((object)other == null))
            {
                return(false);
            }

            return(Unknown.SequenceEqual(other.Unknown) &&
                   NavigationMesh == other.NavigationMesh &&
                   Triangle == other.Triangle);
        }
示例#3
0
        public bool Equals(PrimitiveData other)
        {
            if (System.Object.ReferenceEquals(this, other))
            {
                return(true);
            }

            if (((object)this == null) || ((object)other == null))
            {
                return(false);
            }

            return(XBound == other.XBound &&
                   YBound == other.YBound &&
                   ZBound == other.ZBound &&
                   Red == other.Red &&
                   Green == other.Green &&
                   Blue == other.Blue &&
                   Unknown.SequenceEqual(other.Unknown) &&
                   Type == other.Type);
        }
        public bool Equals(WeaponExtraData other)
        {
            if (System.Object.ReferenceEquals(this, other))
            {
                return(true);
            }

            if (((object)this == null) || ((object)other == null))
            {
                return(false);
            }

            return(AnimationType == other.AnimationType &&
                   AnimationMultiplier == other.AnimationMultiplier &&
                   Reach == other.Reach &&
                   Flags1 == other.Flags1 &&
                   GripAnimation == other.GripAnimation &&
                   AmmoUse == other.AmmoUse &&
                   ReloadAnimation == other.ReloadAnimation &&
                   MinSpread == other.MinSpread &&
                   Spread == other.Spread &&
                   Unknown.SequenceEqual(other.Unknown) &&
                   SightFOV == other.SightFOV &&
                   Unknown2 == other.Unknown2 &&
                   Projectile == other.Projectile &&
                   BaseVATSToHitChance == other.BaseVATSToHitChance &&
                   AttackAnimation == other.AttackAnimation &&
                   ProjectileCount == other.ProjectileCount &&
                   EmbeddedWeaponActorValue == other.EmbeddedWeaponActorValue &&
                   MinRange == other.MinRange &&
                   MaxRange == other.MaxRange &&
                   LimbKillBehavior == other.LimbKillBehavior &&
                   Flags2 == other.Flags2 &&
                   AttackAnimationMultiplier == other.AttackAnimationMultiplier &&
                   FireRate == other.FireRate &&
                   ActionPointCost == other.ActionPointCost &&
                   RumbleLeftMotorStrength == other.RumbleLeftMotorStrength &&
                   RumbleRightMotorStrength == other.RumbleRightMotorStrength &&
                   RumbleDuration == other.RumbleDuration &&
                   DamageToWeaponMult == other.DamageToWeaponMult &&
                   AttackShotsPerSecond == other.AttackShotsPerSecond &&
                   ReloadTime == other.ReloadTime &&
                   JamTime == other.JamTime &&
                   AimArc == other.AimArc &&
                   Skill == other.Skill &&
                   RumblePattern == other.RumblePattern &&
                   RumbleWavelength == other.RumbleWavelength &&
                   LimbDamageMult == other.LimbDamageMult &&
                   ResistanceType == other.ResistanceType &&
                   SightUsage == other.SightUsage &&
                   SemiAutomaticFireDelayMin == other.SemiAutomaticFireDelayMin &&
                   SemiAutomaticFireDelayMax == other.SemiAutomaticFireDelayMax &&
                   Unknown3 == other.Unknown3 &&
                   Mod1Effect == other.Mod1Effect &&
                   Mod2Effect == other.Mod2Effect &&
                   Mod3Effect == other.Mod3Effect &&
                   Mod1ValueA == other.Mod1ValueA &&
                   Mod2ValueA == other.Mod2ValueA &&
                   Mod3ValueA == other.Mod3ValueA &&
                   PowerAttackAnimation == other.PowerAttackAnimation &&
                   StrengthRequirement == other.StrengthRequirement &&
                   Unknown4 == other.Unknown4 &&
                   Mod1ReloadAnimation == other.Mod1ReloadAnimation &&
                   Unknown5.SequenceEqual(other.Unknown5) &&
                   AmmoRegenRate == other.AmmoRegenRate &&
                   KillImpulse == other.KillImpulse &&
                   Mod1ValueB == other.Mod1ValueB &&
                   Mod2ValueB == other.Mod2ValueB &&
                   Mod3ValueB == other.Mod3ValueB &&
                   ImpulseDistance == other.ImpulseDistance &&
                   SkillRequirement == other.SkillRequirement);
        }