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);
        }
Ejemplo n.º 2
0
        public bool Equals(GrassData other)
        {
            if (System.Object.ReferenceEquals(this, other))
            {
                return(true);
            }

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

            return(Density == other.Density &&
                   MinSlope == other.MinSlope &&
                   MaxSlope == other.MaxSlope &&
                   Unused1 == other.Unused1 &&
                   UnitFromWaterAmount == other.UnitFromWaterAmount &&
                   Unused2.SequenceEqual(other.Unused2) &&
                   UnitFromWaterType == other.UnitFromWaterType &&
                   PositionRange == other.PositionRange &&
                   HeightRange == other.HeightRange &&
                   ColorRange == other.ColorRange &&
                   WavePeriod == other.WavePeriod &&
                   Flags == other.Flags &&
                   Unused3.SequenceEqual(other.Unused3));
        }
        public bool Equals(CombatStyleDecision other)
        {
            if (System.Object.ReferenceEquals(this, other))
            {
                return(true);
            }

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

            return(ManeuverDodgeChance == other.ManeuverDodgeChance &&
                   ManeuverSidestepChance == other.ManeuverSidestepChance &&
                   Unused1.SequenceEqual(other.Unused1) &&
                   ManeuverDodgeLRTimerMin == other.ManeuverDodgeLRTimerMin &&
                   ManeuverDodgeLRTimerMax == other.ManeuverDodgeLRTimerMax &&
                   ManeuverDodgeForwardTimerMin == other.ManeuverDodgeForwardTimerMin &&
                   ManeuverDodgeForwardTimerMax == other.ManeuverDodgeForwardTimerMax &&
                   ManeuverDodgeBackwardTimerMin == other.ManeuverDodgeBackwardTimerMin &&
                   ManeuverDodgeBackwardTimerMax == other.ManeuverDodgeBackwardTimerMax &&
                   ManeuverDodgeIdleTimerMin == other.ManeuverDodgeIdleTimerMin &&
                   ManeuverDodgeIdleTimerMax == other.ManeuverDodgeIdleTimerMax &&
                   MeleeBlockChance == other.MeleeBlockChance &&
                   MeleeAttackChance == other.MeleeAttackChance &&
                   Unused2.SequenceEqual(other.Unused2) &&
                   MeleeRecoilStaggerBonusToAttack == other.MeleeRecoilStaggerBonusToAttack &&
                   MeleeUnconsciousBonusToAttack == other.MeleeUnconsciousBonusToAttack &&
                   MeleeHandToHandBonusToAttack == other.MeleeHandToHandBonusToAttack &&
                   MeleePowerAttackChance == other.MeleePowerAttackChance &&
                   Unused3.SequenceEqual(other.Unused3) &&
                   MeleePowerAttackRecoilStaggerBonus == other.MeleePowerAttackRecoilStaggerBonus &&
                   MeleePowerAttackUnconsciousBonus == other.MeleePowerAttackUnconsciousBonus &&
                   MeleePowerAttackNormal == other.MeleePowerAttackNormal &&
                   MeleePowerAttackForward == other.MeleePowerAttackForward &&
                   MeleePowerAttackBack == other.MeleePowerAttackBack &&
                   MeleePowerAttackLeft == other.MeleePowerAttackLeft &&
                   MeleePowerAttackRight == other.MeleePowerAttackRight &&
                   Unused4.SequenceEqual(other.Unused4) &&
                   MeleeHoldTimerMin == other.MeleeHoldTimerMin &&
                   MeleeHoldTimerMax == other.MeleeHoldTimerMax &&
                   Flags == other.Flags &&
                   ManeuverAcrobaticDodgeChance == other.ManeuverAcrobaticDodgeChance &&
                   MeleeRushingPowerAttackChance == other.MeleeRushingPowerAttackChance &&
                   Unused5.SequenceEqual(other.Unused5) &&
                   MeleeRushingPowerAttackDistanceMult == other.MeleeRushingPowerAttackDistanceMult);
        }
Ejemplo n.º 4
0
        public bool Equals(EnchantData other)
        {
            if (System.Object.ReferenceEquals(this, other))
            {
                return(true);
            }

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

            return(Type == other.Type &&
                   Unused1.SequenceEqual(other.Unused1) &&
                   Unused2.SequenceEqual(other.Unused2) &&
                   Flags == other.Flags &&
                   Unused3.SequenceEqual(other.Unused3));
        }
        public bool Equals(WeaponCriticalHitData other)
        {
            if (System.Object.ReferenceEquals(this, other))
            {
                return(true);
            }

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

            return(Damage == other.Damage &&
                   Unused1.SequenceEqual(other.Unused1) &&
                   ChanceMult == other.ChanceMult &&
                   Flags == other.Flags &&
                   Unused2.SequenceEqual(other.Unused2) &&
                   Effect == other.Effect);
        }
Ejemplo n.º 6
0
        public bool Equals(ResponseData other)
        {
            if (System.Object.ReferenceEquals(this, other))
            {
                return(true);
            }

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

            return(Emotion == other.Emotion &&
                   EmotionValue == other.EmotionValue &&
                   Unused1.SequenceEqual(other.Unused1) &&
                   ResponseNumber == other.ResponseNumber &&
                   Unused2.SequenceEqual(other.Unused2) &&
                   Sound == other.Sound &&
                   UseEmotionAnimation == other.UseEmotionAnimation &&
                   Unused3.SequenceEqual(other.Unused3));
        }