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

            return(SimpleVars.Equals(other.SimpleVars) &&
                   Scripts.Equals(other.Scripts) &&
                   PlayerPeds.Equals(other.PlayerPeds) &&
                   Garages.Equals(other.Garages) &&
                   Vehicles.Equals(other.Vehicles) &&
                   Objects.Equals(other.Objects) &&
                   Paths.Equals(other.Paths) &&
                   Cranes.Equals(other.Cranes) &&
                   Pickups.Equals(other.Pickups) &&
                   PhoneInfo.Equals(other.PhoneInfo) &&
                   RestartPoints.Equals(other.RestartPoints) &&
                   RadarBlips.Equals(other.RadarBlips) &&
                   Zones.Equals(other.Zones) &&
                   Gangs.Equals(other.Gangs) &&
                   CarGenerators.Equals(other.CarGenerators) &&
                   ParticleObjects.Equals(other.ParticleObjects) &&
                   AudioScriptObjects.Equals(other.AudioScriptObjects) &&
                   PlayerInfo.Equals(other.PlayerInfo) &&
                   Stats.Equals(other.Stats) &&
                   Streaming.Equals(other.Streaming) &&
                   PedTypeInfo.Equals(other.PedTypeInfo));
        }
Exemple #2
0
 public SaveFileGTA3(SaveFileGTA3 other)
 {
     SimpleVars         = new SimpleVariables(other.SimpleVars);
     Scripts            = new ScriptData(other.Scripts);
     PlayerPeds         = new PedPool(other.PlayerPeds);
     Garages            = new GarageData(other.Garages);
     Vehicles           = new VehiclePool(other.Vehicles);
     Objects            = new ObjectPool(other.Objects);
     Paths              = new PathData(other.Paths);
     Cranes             = new CraneData(other.Cranes);
     Pickups            = new PickupData(other.Pickups);
     PhoneInfo          = new PhoneData(other.PhoneInfo);
     RestartPoints      = new RestartData(other.RestartPoints);
     RadarBlips         = new RadarData(other.RadarBlips);
     Zones              = new ZoneData(other.Zones);
     Gangs              = new GangData(other.Gangs);
     CarGenerators      = new CarGeneratorData(other.CarGenerators);
     ParticleObjects    = new ParticleData(other.ParticleObjects);
     AudioScriptObjects = new AudioScriptData(other.AudioScriptObjects);
     PlayerInfo         = new PlayerInfo(other.PlayerInfo);
     Stats              = new Stats(other.Stats);
     Streaming          = new Streaming(other.Streaming);
     PedTypeInfo        = new PedTypeData(other.PedTypeInfo);
 }
Exemple #3
0
 public SaveFileGTA3()
 {
     SimpleVars         = new SimpleVariables();
     Scripts            = new ScriptData();
     PlayerPeds         = new PedPool();
     Garages            = new GarageData();
     Vehicles           = new VehiclePool();
     Objects            = new ObjectPool();
     Paths              = new PathData();
     Cranes             = new CraneData();
     Pickups            = new PickupData();
     PhoneInfo          = new PhoneData();
     RestartPoints      = new RestartData();
     RadarBlips         = new RadarData();
     Zones              = new ZoneData();
     Gangs              = new GangData();
     CarGenerators      = new CarGeneratorData();
     ParticleObjects    = new ParticleData();
     AudioScriptObjects = new AudioScriptData();
     PlayerInfo         = new PlayerInfo();
     Stats              = new Stats();
     Streaming          = new Streaming();
     PedTypeInfo        = new PedTypeData();
 }