Beispiel #1
0
        public bool Equals(Stats other)
        {
            if (other == null)
            {
                return(false);
            }

            return(PeopleKilledByPlayer.Equals(other.PeopleKilledByPlayer) &&
                   PeopleKilledByOthers.Equals(other.PeopleKilledByOthers) &&
                   CarsExploded.Equals(other.CarsExploded) &&
                   RoundsFiredByPlayer.Equals(other.RoundsFiredByPlayer) &&
                   PedsKilledOfThisType.SequenceEqual(other.PedsKilledOfThisType) &&
                   HelisDestroyed.Equals(other.HelisDestroyed) &&
                   ProgressMade.Equals(other.ProgressMade) &&
                   TotalProgressInGame.Equals(other.TotalProgressInGame) &&
                   KgsOfExplosivesUsed.Equals(other.KgsOfExplosivesUsed) &&
                   InstantHitsFiredByPlayer.Equals(other.InstantHitsFiredByPlayer) &&
                   InstantHitsHitByPlayer.Equals(other.InstantHitsHitByPlayer) &&
                   CarsCrushed.Equals(other.CarsCrushed) &&
                   HeadsPopped.Equals(other.HeadsPopped) &&
                   TimesArrested.Equals(other.TimesArrested) &&
                   TimesDied.Equals(other.TimesDied) &&
                   DaysPassed.Equals(other.DaysPassed) &&
                   MmRain.Equals(other.MmRain) &&
                   MaximumJumpDistance.Equals(other.MaximumJumpDistance) &&
                   MaximumJumpHeight.Equals(other.MaximumJumpHeight) &&
                   MaximumJumpFlips.Equals(other.MaximumJumpFlips) &&
                   MaximumJumpSpins.Equals(other.MaximumJumpSpins) &&
                   BestStuntJump.Equals(other.BestStuntJump) &&
                   NumberOfUniqueJumpsFound.Equals(other.NumberOfUniqueJumpsFound) &&
                   TotalNumberOfUniqueJumps.Equals(other.TotalNumberOfUniqueJumps) &&
                   MissionsGiven.Equals(other.MissionsGiven) &&
                   MissionsPassed.Equals(other.MissionsPassed) &&
                   PassengersDroppedOffWithTaxi.Equals(other.PassengersDroppedOffWithTaxi) &&
                   MoneyMadeWithTaxi.Equals(other.MoneyMadeWithTaxi) &&
                   IndustrialPassed.Equals(other.IndustrialPassed) &&
                   CommercialPassed.Equals(other.CommercialPassed) &&
                   SuburbanPassed.Equals(other.SuburbanPassed) &&
                   ElBurroTime.Equals(other.ElBurroTime) &&
                   DistanceTravelledOnFoot.Equals(other.DistanceTravelledOnFoot) &&
                   DistanceTravelledInVehicle.Equals(other.DistanceTravelledInVehicle) &&
                   Record4x4One.Equals(other.Record4x4One) &&
                   Record4x4Two.Equals(other.Record4x4Two) &&
                   Record4x4Three.Equals(other.Record4x4Three) &&
                   Record4x4Mayhem.Equals(other.Record4x4Mayhem) &&
                   LivesSavedWithAmbulance.Equals(other.LivesSavedWithAmbulance) &&
                   CriminalsCaught.Equals(other.CriminalsCaught) &&
                   HighestLevelAmbulanceMission.Equals(other.HighestLevelAmbulanceMission) &&
                   FiresExtinguished.Equals(other.FiresExtinguished) &&
                   LongestFlightInDodo.Equals(other.LongestFlightInDodo) &&
                   TimeTakenDefuseMission.Equals(other.TimeTakenDefuseMission) &&
                   NumberKillFrenziesPassed.Equals(other.NumberKillFrenziesPassed) &&
                   TotalNumberKillFrenzies.Equals(other.TotalNumberKillFrenzies) &&
                   TotalNumberMissions.Equals(other.TotalNumberMissions) &&
                   FastestTimes.SequenceEqual(other.FastestTimes) &&
                   HighestScores.SequenceEqual(other.HighestScores) &&
                   KillsSinceLastCheckpoint.Equals(other.KillsSinceLastCheckpoint) &&
                   TotalLegitimateKills.Equals(other.TotalLegitimateKills) &&
                   LastMissionPassedName.Equals(other.LastMissionPassedName));
        }