public void Update(DestinyManifest?other) { if (other is null) { return; } if (Version != other.Version) { Version = other.Version; OnPropertyChanged(nameof(Version)); } if (MobileAssetContentPath != other.MobileAssetContentPath) { MobileAssetContentPath = other.MobileAssetContentPath; OnPropertyChanged(nameof(MobileAssetContentPath)); } if (!MobileGearAssetDataBases.DeepEqualsList(other.MobileGearAssetDataBases)) { MobileGearAssetDataBases = other.MobileGearAssetDataBases; OnPropertyChanged(nameof(MobileGearAssetDataBases)); } if (!MobileWorldContentPaths.DeepEqualsDictionaryNaive(other.MobileWorldContentPaths)) { MobileWorldContentPaths = other.MobileWorldContentPaths; OnPropertyChanged(nameof(MobileWorldContentPaths)); } if (!JsonWorldContentPaths.DeepEqualsDictionaryNaive(other.JsonWorldContentPaths)) { JsonWorldContentPaths = other.JsonWorldContentPaths; OnPropertyChanged(nameof(JsonWorldContentPaths)); } if (!JsonWorldComponentContentPaths.DeepEqualsDictionary(other.JsonWorldComponentContentPaths)) { JsonWorldComponentContentPaths = other.JsonWorldComponentContentPaths; OnPropertyChanged(nameof(JsonWorldComponentContentPaths)); } if (MobileClanBannerDatabasePath != other.MobileClanBannerDatabasePath) { MobileClanBannerDatabasePath = other.MobileClanBannerDatabasePath; OnPropertyChanged(nameof(MobileClanBannerDatabasePath)); } if (!MobileGearCDN.DeepEqualsDictionaryNaive(other.MobileGearCDN)) { MobileGearCDN = other.MobileGearCDN; OnPropertyChanged(nameof(MobileGearCDN)); } if (!IconImagePyramidInfo.DeepEqualsList(other.IconImagePyramidInfo)) { IconImagePyramidInfo = other.IconImagePyramidInfo; OnPropertyChanged(nameof(IconImagePyramidInfo)); } }
public bool DeepEquals(DestinyManifest?other) { return(other is not null && Version == other.Version && MobileAssetContentPath == other.MobileAssetContentPath && MobileGearAssetDataBases.DeepEqualsList(other.MobileGearAssetDataBases) && MobileWorldContentPaths.DeepEqualsDictionaryNaive(other.MobileWorldContentPaths) && JsonWorldContentPaths.DeepEqualsDictionaryNaive(other.JsonWorldContentPaths) && JsonWorldComponentContentPaths.DeepEqualsDictionaryNaive(other.JsonWorldComponentContentPaths) && MobileClanBannerDatabasePath == other.MobileClanBannerDatabasePath && MobileGearCDN.DeepEqualsDictionaryNaive(other.MobileGearCDN) && IconImagePyramidInfo.DeepEqualsList(other.IconImagePyramidInfo)); }
public bool Equals(DestinyManifest input) { if (input == null) { return(false); } return (( Version == input.Version || (Version != null && Version.Equals(input.Version)) ) && ( MobileAssetContentPath == input.MobileAssetContentPath || (MobileAssetContentPath != null && MobileAssetContentPath.Equals(input.MobileAssetContentPath)) ) && ( MobileGearAssetDataBases == input.MobileGearAssetDataBases || (MobileGearAssetDataBases != null && MobileGearAssetDataBases.SequenceEqual(input.MobileGearAssetDataBases)) ) && ( MobileWorldContentPaths == input.MobileWorldContentPaths || (MobileWorldContentPaths != null && MobileWorldContentPaths.SequenceEqual(input.MobileWorldContentPaths)) ) && ( JsonWorldContentPaths == input.JsonWorldContentPaths || (JsonWorldContentPaths != null && JsonWorldContentPaths.SequenceEqual(input.JsonWorldContentPaths)) ) && ( JsonWorldComponentContentPaths == input.JsonWorldComponentContentPaths || (JsonWorldComponentContentPaths != null && JsonWorldComponentContentPaths.SequenceEqual(input.JsonWorldComponentContentPaths)) ) && ( MobileClanBannerDatabasePath == input.MobileClanBannerDatabasePath || (MobileClanBannerDatabasePath != null && MobileClanBannerDatabasePath.Equals(input.MobileClanBannerDatabasePath)) ) && ( MobileGearCdn == input.MobileGearCdn || (MobileGearCdn != null && MobileGearCdn.SequenceEqual(input.MobileGearCdn)) ) && ( IconImagePyramidInfo == input.IconImagePyramidInfo || (IconImagePyramidInfo != null && IconImagePyramidInfo.SequenceEqual(input.IconImagePyramidInfo)) )); }