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)); }
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)); }