예제 #1
0
        public bool Equals(SaveFileIV other)
        {
            if (other == null)
            {
                return(false);
            }

            return(Name.Equals(other.Name) &&
                   TimeStamp.Equals(other.TimeStamp) &&
                   SaveVersion.Equals(other.SaveVersion) &&
                   SaveSizeInBytes.Equals(other.SaveSizeInBytes) &&
                   ScriptSpaceSize.Equals(other.ScriptSpaceSize) &&
                   SimpleVars.Equals(other.SimpleVars) &&
                   PlayerInfo.Equals(other.PlayerInfo) &&
                   ExtraContent.Equals(other.ExtraContent) &&
                   Scripts.Equals(other.Scripts) &&
                   Garages.Equals(other.Garages) &&
                   GameLogic.Equals(other.GameLogic) &&
                   Paths.Equals(other.Paths) &&
                   Pickups.Equals(other.Pickups) &&
                   RestartPoints.Equals(other.RestartPoints) &&
                   RadarBlips.Equals(other.RadarBlips) &&
                   Zones.Equals(other.Zones) &&
                   GangData.Equals(other.GangData) &&
                   CarGenerators.Equals(other.CarGenerators) &&
                   Stats.Equals(other.Stats) &&
                   IplStore.Equals(other.IplStore) &&
                   StuntJumps.Equals(other.StuntJumps) &&
                   Radio.Equals(other.Radio) &&
                   Objects.Equals(other.Objects) &&
                   Relationships.Equals(other.Relationships) &&
                   Inventory.Equals(other.Inventory) &&
                   UnusedPools.Equals(other.UnusedPools) &&
                   UnusedPhoneInfo.Equals(other.UnusedPhoneInfo) &&
                   UnusedAudioScript.Equals(other.UnusedAudioScript) &&
                   UnusedSetPieces.Equals(other.UnusedSetPieces) &&
                   UnusedStreaming.Equals(other.UnusedStreaming) &&
                   UnusedPedTypeInfo.Equals(other.UnusedPedTypeInfo) &&
                   UnusedTags.Equals(other.UnusedTags) &&
                   UnusedShopping.Equals(other.UnusedShopping) &&
                   UnusedGangWars.Equals(other.UnusedGangWars) &&
                   UnusedEntryExits.Equals(other.UnusedEntryExits) &&
                   Unused3dMarkers.Equals(other.Unused3dMarkers) &&
                   UnusedVehicles.Equals(other.UnusedVehicles) &&
                   UnusedExtraBlock.Equals(other.UnusedExtraBlock) &&
                   GfwlData.Equals(other.GfwlData));
        }
예제 #2
0
        public bool Equals(SaveFileSA other)
        {
            if (other == null)
            {
                return(false);
            }

            return(SimpleVars.Equals(other.SimpleVars) &&
                   Scripts.Equals(other.Scripts) &&
                   Pools.Equals(other.Pools) &&
                   Garages.Equals(other.Garages) &&
                   GameLogic.Equals(other.GameLogic) &&
                   Paths.Equals(other.Paths) &&
                   Pickups.Equals(other.Pickups) &&
                   PhoneInfo.Equals(other.PhoneInfo) &&
                   RestartPoints.Equals(other.RestartPoints) &&
                   RadarBlips.Equals(other.RadarBlips) &&
                   Zones.Equals(other.Zones) &&
                   GangData.Equals(other.GangData) &&
                   CarGenerators.Equals(other.CarGenerators) &&
                   PedGenerators.Equals(other.PedGenerators) &&
                   AudioScriptObjects.Equals(other.AudioScriptObjects) &&
                   PlayerInfo.Equals(other.PlayerInfo) &&
                   Stats.Equals(other.Stats) &&
                   SetPieces.Equals(other.SetPieces) &&
                   Streaming.Equals(other.Streaming) &&
                   PedTypeInfo.Equals(other.PedTypeInfo) &&
                   Tags.Equals(other.Tags) &&
                   IplStore.Equals(other.IplStore) &&
                   Shopping.Equals(other.Shopping) &&
                   GangWars.Equals(other.GangWars) &&
                   StuntJumps.Equals(other.StuntJumps) &&
                   EntryExits.Equals(other.EntryExits) &&
                   Radio.Equals(other.Radio) &&
                   User3dMarkers.Equals(other.User3dMarkers) &&
                   PostEffects.Equals(other.PostEffects));
        }