Пример #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));
        }
Пример #2
0
        public bool Equals(SimpleVariables other)
        {
            if (other == null)
            {
                return(false);
            }

            return(ClosestSafehouseIndex.Equals(other.ClosestSafehouseIndex) &&
                   FadeInAfterLoad.Equals(other.FadeInAfterLoad) &&
                   Unknown04h.Equals(other.Unknown04h) &&
                   Unknown08h.Equals(other.Unknown08h) &&
                   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) &&
                   HasPlayerCheated.Equals(other.HasPlayerCheated) &&
                   TimeInMilliseconds.Equals(other.TimeInMilliseconds) &&
                   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) &&
                   CameraGunZoomIndicator.Equals(other.CameraGunZoomIndicator) &&
                   Unknown6Ch.Equals(other.Unknown6Ch) &&
                   Unknown70h.Equals(other.Unknown70h) &&
                   Unknown74h.Equals(other.Unknown74h) &&
                   Unknown78h.Equals(other.Unknown78h) &&
                   Unknown7Ch.Equals(other.Unknown7Ch) &&
                   MaximumWantedLevel.Equals(other.MaximumWantedLevel) &&
                   MaximumChaos.Equals(other.MaximumChaos) &&
                   Unknown88h.Equals(other.Unknown88h) &&
                   Unknown8Ch.Equals(other.Unknown8Ch) &&
                   Unknown90h.Equals(other.Unknown90h) &&
                   TargetMarkerHandle.Equals(other.TargetMarkerHandle) &&
                   Unknown98h.Equals(other.Unknown98h) &&
                   Unknown9Ch.Equals(other.Unknown9Ch) &&
                   UnknownA0h.Equals(other.UnknownA0h) &&
                   UnknownA4h.Equals(other.UnknownA4h) &&
                   UnknownA8h.Equals(other.UnknownA8h) &&
                   UnknownACh.Equals(other.UnknownACh));
        }