Пример #1
0
 public SaveFileVC(SaveFileVC other)
 {
     SimpleVars         = new SimpleVariables(other.SimpleVars);
     Scripts            = new Dummy(other.Scripts);
     PedPool            = new PedPool(other.PedPool);
     Garages            = new Dummy(other.Garages);
     GameLogic          = new Dummy(other.GameLogic);
     Vehicles           = new Dummy(other.Vehicles);
     Objects            = new ObjectPool(other.Objects);
     Paths              = new Dummy(other.Paths);
     Cranes             = new Dummy(other.Cranes);
     Pickups            = new Dummy(other.Pickups);
     PhoneInfo          = new Dummy(other.PhoneInfo);
     RestartPoints      = new Dummy(other.RestartPoints);
     RadarBlips         = new Dummy(other.RadarBlips);
     Zones              = new Dummy(other.Zones);
     Gangs              = new Dummy(other.Gangs);
     CarGenerators      = new CarGeneratorData(other.CarGenerators);
     ParticleObjects    = new Dummy(other.ParticleObjects);
     AudioScriptObjects = new Dummy(other.AudioScriptObjects);
     ScriptPaths        = new Dummy(other.ScriptPaths);
     PlayerInfo         = new Dummy(other.PlayerInfo);
     Stats              = new Stats(other.Stats);
     SetPieces          = new Dummy(other.SetPieces);
     Streaming          = new Dummy(other.Streaming);
     PedTypeInfo        = new Dummy(other.PedTypeInfo);
 }
Пример #2
0
        public bool Equals(SaveFileVC other)
        {
            if (other == null)
            {
                return(false);
            }

            return(SimpleVars.Equals(other.SimpleVars) &&
                   Scripts.Equals(other.Scripts) &&
                   PedPool.Equals(other.PedPool) &&
                   Garages.Equals(other.Garages) &&
                   GameLogic.Equals(other.GameLogic) &&
                   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) &&
                   ScriptPaths.Equals(other.ScriptPaths) &&
                   PlayerInfo.Equals(other.PlayerInfo) &&
                   Stats.Equals(other.Stats) &&
                   SetPieces.Equals(other.SetPieces) &&
                   Streaming.Equals(other.Streaming) &&
                   PedTypeInfo.Equals(other.PedTypeInfo));
        }
Пример #3
0
 public SaveFileVC()
 {
     SimpleVars         = new SimpleVariables();
     Scripts            = new Dummy();
     PedPool            = new PedPool();
     Garages            = new Dummy();
     GameLogic          = new Dummy();
     Vehicles           = new Dummy();
     Objects            = new ObjectPool();
     Paths              = new Dummy();
     Cranes             = new Dummy();
     Pickups            = new Dummy();
     PhoneInfo          = new Dummy();
     RestartPoints      = new Dummy();
     RadarBlips         = new Dummy();
     Zones              = new Dummy();
     Gangs              = new Dummy();
     CarGenerators      = new CarGeneratorData();
     ParticleObjects    = new Dummy();
     AudioScriptObjects = new Dummy();
     ScriptPaths        = new Dummy();
     PlayerInfo         = new Dummy();
     Stats              = new Stats();
     SetPieces          = new Dummy();
     Streaming          = new Dummy();
     PedTypeInfo        = new Dummy();
 }