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

            return(VersionId.Equals(other.VersionId) &&
                   LastMissionPassedName.Equals(other.LastMissionPassedName) &&
                   MissionPackGame.Equals(other.MissionPackGame) &&
                   CurrLevel.Equals(other.CurrLevel) &&
                   CameraPosition.Equals(other.CameraPosition) &&
                   MillisecondsPerGameMinute.Equals(other.MillisecondsPerGameMinute) &&
                   LastClockTick.Equals(other.LastClockTick) &&
                   GameClockMonths.Equals(other.GameClockMonths) &&
                   GameClockDays.Equals(other.GameClockDays) &&
                   GameClockHours.Equals(other.GameClockHours) &&
                   GameClockMinutes.Equals(other.GameClockMinutes) &&
                   GameClockDayOfWeek.Equals(other.GameClockDayOfWeek) &&
                   StoredGameClockMonths.Equals(other.StoredGameClockMonths) &&
                   StoredGameClockDays.Equals(other.StoredGameClockDays) &&
                   StoredGameClockHours.Equals(other.StoredGameClockHours) &&
                   StoredGameClockMinutes.Equals(other.StoredGameClockMinutes) &&
                   ClockHasBeenStored.Equals(other.ClockHasBeenStored) &&
                   CurrPadMode.Equals(other.CurrPadMode) &&
                   HasPlayerCheated.Equals(other.HasPlayerCheated) &&
                   TimeInMilliseconds.Equals(other.TimeInMilliseconds) &&
                   TimeScale.Equals(other.TimeScale) &&
                   TimeStep.Equals(other.TimeStep) &&
                   TimeStepNonClipped.Equals(other.TimeStepNonClipped) &&
                   FrameCounter.Equals(other.FrameCounter) &&
                   OldWeatherType.Equals(other.OldWeatherType) &&
                   NewWeatherType.Equals(other.NewWeatherType) &&
                   ForcedWeatherType.Equals(other.ForcedWeatherType) &&
                   WeatherInterpolation.Equals(other.WeatherInterpolation) &&
                   WeatherTypeInList.Equals(other.WeatherTypeInList) &&
                   Rain.Equals(other.Rain) &&
                   CameraCarZoomIndicator.Equals(other.CameraCarZoomIndicator) &&
                   CameraPedZoomIndicator.Equals(other.CameraPedZoomIndicator) &&
                   CurrArea.Equals(other.CurrArea) &&
                   InvertLook4Pad.Equals(other.InvertLook4Pad) &&
                   ExtraColour.Equals(other.ExtraColour) &&
                   ExtraColourOn.Equals(other.ExtraColourOn) &&
                   ExtraColourInterpolation.Equals(other.ExtraColourInterpolation) &&
                   ExtraColourWeatherType.Equals(other.ExtraColourWeatherType) &&
                   WaterConfiguration.Equals(other.WaterConfiguration) &&
                   LARiots.Equals(other.LARiots) &&
                   LARiotsNoPoliceCars.Equals(other.LARiotsNoPoliceCars) &&
                   MaximumWantedLevel.Equals(other.MaximumWantedLevel) &&
                   MaximumChaosLevel.Equals(other.MaximumChaosLevel) &&
                   GermanGame.Equals(other.GermanGame) &&
                   FrenchGame.Equals(other.FrenchGame) &&
                   NastyGame.Equals(other.NastyGame) &&
                   CinematicCamMessagesLeftToDisplay.Equals(other.CinematicCamMessagesLeftToDisplay) &&
                   TimeLastSaved.Equals(other.TimeLastSaved) &&
                   TargetMarkerHandle.Equals(other.TargetMarkerHandle) &&
                   HasDisplayedPlayerQuitEnterCarHelpText.Equals(other.HasDisplayedPlayerQuitEnterCarHelpText) &&
                   AllTaxisHaveNitro.Equals(other.AllTaxisHaveNitro) &&
                   ProstiutesPayYou.Equals(other.ProstiutesPayYou));
        }
Example #2
0
        public bool Equals(SimpleVariables other)
        {
            if (other == null)
            {
                return(false);
            }

            return(SaveVersionNumber.Equals(other.SaveVersionNumber) &&
                   LastMissionPassedName.Equals(other.LastMissionPassedName) &&
                   TimeStamp.Equals(other.TimeStamp) &&
                   SizeOfGameInBytes.Equals(other.SizeOfGameInBytes) &&
                   CurrLevel.Equals(other.CurrLevel) &&
                   CameraPosition.Equals(other.CameraPosition) &&
                   SteamMagicNumber.Equals(other.SteamMagicNumber) &&
                   MillisecondsPerGameMinute.Equals(other.MillisecondsPerGameMinute) &&
                   LastClockTick.Equals(other.LastClockTick) &&
                   GameClockHours.Equals(other.GameClockHours) &&
                   GameClockMinutes.Equals(other.GameClockMinutes) &&
                   CurrPadMode.Equals(other.CurrPadMode) &&
                   TimeInMilliseconds.Equals(other.TimeInMilliseconds) &&
                   TimerTimeScale.Equals(other.TimerTimeScale) &&
                   TimerTimeStep.Equals(other.TimerTimeStep) &&
                   TimerTimeStepNonClipped.Equals(other.TimerTimeStepNonClipped) &&
                   FrameCounter.Equals(other.FrameCounter) &&
                   TimeStep.Equals(other.TimeStep) &&
                   FramesPerUpdate.Equals(other.FramesPerUpdate) &&
                   TimeScale.Equals(other.TimeScale) &&
                   OldWeatherType.Equals(other.OldWeatherType) &&
                   NewWeatherType.Equals(other.NewWeatherType) &&
                   ForcedWeatherType.Equals(other.ForcedWeatherType) &&
                   WeatherInterpolation.Equals(other.WeatherInterpolation) &&
                   WeatherTypeInList.Equals(other.WeatherTypeInList) &&
                   CameraCarZoomIndicator.Equals(other.CameraCarZoomIndicator) &&
                   CameraPedZoomIndicator.Equals(other.CameraPedZoomIndicator) &&
                   CurrArea.Equals(other.CurrArea) &&
                   AllTaxisHaveNitro.Equals(other.AllTaxisHaveNitro) &&
                   InvertLook4Pad.Equals(other.InvertLook4Pad) &&
                   ExtraColour.Equals(other.ExtraColour) &&
                   ExtraColourOn.Equals(other.ExtraColourOn) &&
                   ExtraColourInterpolation.Equals(other.ExtraColourInterpolation) &&
                   RadioStationPositionList.SequenceEqual(other.RadioStationPositionList));
        }