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

            return(OnAMissionFlag.Equals(other.OnAMissionFlag) &&
                   BaseBriefId.Equals(other.BaseBriefId));
        }
Exemple #2
0
        public bool Equals(ScriptData other)
        {
            if (other == null)
            {
                return(false);
            }

            return(Globals.SequenceEqual(other.Globals) &&
                   OnAMissionFlag.Equals(other.OnAMissionFlag) &&
                   LastMissionPassedTime.Equals(other.LastMissionPassedTime) &&
                   BuildingSwaps.SequenceEqual(other.BuildingSwaps) &&
                   InvisibilitySettings.SequenceEqual(other.InvisibilitySettings) &&
                   UsingAMultiScriptFile.Equals(other.UsingAMultiScriptFile) &&
                   PlayerHasMetDebbieHarry.Equals(other.PlayerHasMetDebbieHarry) &&
                   MainScriptSize.Equals(other.MainScriptSize) &&
                   LargestMissionScriptSize.Equals(other.LargestMissionScriptSize) &&
                   NumberOfMissionScripts.Equals(other.NumberOfMissionScripts) &&
                   Threads.SequenceEqual(other.Threads));
        }
Exemple #3
0
        public bool Equals(ScriptData other)
        {
            if (other == null)
            {
                return(false);
            }

            return(ScriptSpace.SequenceEqual(other.ScriptSpace) &&
                   OnAMissionFlag.Equals(other.OnAMissionFlag) &&
                   Contacts.SequenceEqual(other.Contacts) &&
                   Collectives.SequenceEqual(other.Collectives) &&
                   NextFreeCollectiveIndex.Equals(other.NextFreeCollectiveIndex) &&
                   BuildingSwaps.SequenceEqual(other.BuildingSwaps) &&
                   InvisibilitySettings.SequenceEqual(other.InvisibilitySettings) &&
                   UsingAMultiScriptFile.Equals(other.UsingAMultiScriptFile) &&
                   MainScriptSize.Equals(other.MainScriptSize) &&
                   LargestMissionScriptSize.Equals(other.LargestMissionScriptSize) &&
                   NumberOfMissionScripts.Equals(other.NumberOfMissionScripts) &&
                   Threads.SequenceEqual(other.Threads));
        }