public bool DeepEquals(DestinyCharacterRenderComponent?other) { return(other is not null && CustomDyes.DeepEqualsList(other.CustomDyes) && (Customization is not null ? Customization.DeepEquals(other.Customization) : other.Customization is null) && (PeerView is not null ? PeerView.DeepEquals(other.PeerView) : other.PeerView is null)); }
public bool DeepEquals(ArtifactTranslationBlock other) { return(other != null && Arrangements.DeepEqualsReadOnlyCollections(other.Arrangements) && CustomDyes.DeepEqualsReadOnlyCollections(other.CustomDyes) && DefaultDyes.DeepEqualsReadOnlyCollections(other.DefaultDyes) && LockedDyes.DeepEqualsReadOnlyCollections(other.LockedDyes) && HasGeometry == other.HasGeometry && WeaponPatternHash == other.WeaponPatternHash && WeaponPatternIdentifier == other.WeaponPatternIdentifier); }
public bool DeepEquals(DestinyItemTranslationBlockDefinition?other) { return(other is not null && WeaponPatternIdentifier == other.WeaponPatternIdentifier && WeaponPatternHash == other.WeaponPatternHash && DefaultDyes.DeepEqualsList(other.DefaultDyes) && LockedDyes.DeepEqualsList(other.LockedDyes) && CustomDyes.DeepEqualsList(other.CustomDyes) && Arrangements.DeepEqualsList(other.Arrangements) && HasGeometry == other.HasGeometry); }
public void Update(DestinyItemTranslationBlockDefinition?other) { if (other is null) { return; } if (WeaponPatternIdentifier != other.WeaponPatternIdentifier) { WeaponPatternIdentifier = other.WeaponPatternIdentifier; OnPropertyChanged(nameof(WeaponPatternIdentifier)); } if (WeaponPatternHash != other.WeaponPatternHash) { WeaponPatternHash = other.WeaponPatternHash; OnPropertyChanged(nameof(WeaponPatternHash)); } if (!DefaultDyes.DeepEqualsList(other.DefaultDyes)) { DefaultDyes = other.DefaultDyes; OnPropertyChanged(nameof(DefaultDyes)); } if (!LockedDyes.DeepEqualsList(other.LockedDyes)) { LockedDyes = other.LockedDyes; OnPropertyChanged(nameof(LockedDyes)); } if (!CustomDyes.DeepEqualsList(other.CustomDyes)) { CustomDyes = other.CustomDyes; OnPropertyChanged(nameof(CustomDyes)); } if (!Arrangements.DeepEqualsList(other.Arrangements)) { Arrangements = other.Arrangements; OnPropertyChanged(nameof(Arrangements)); } if (HasGeometry != other.HasGeometry) { HasGeometry = other.HasGeometry; OnPropertyChanged(nameof(HasGeometry)); } }
public bool Equals(DestinyCharacterRenderComponent input) { if (input == null) { return(false); } return (( CustomDyes == input.CustomDyes || (CustomDyes != null && CustomDyes.SequenceEqual(input.CustomDyes)) ) && ( Customization == input.Customization || (Customization != null && Customization.Equals(input.Customization)) ) && ( PeerView == input.PeerView || (PeerView != null && PeerView.Equals(input.PeerView)) )); }
public void Update(DestinyCharacterRenderComponent?other) { if (other is null) { return; } if (!CustomDyes.DeepEqualsList(other.CustomDyes)) { CustomDyes = other.CustomDyes; OnPropertyChanged(nameof(CustomDyes)); } if (!Customization.DeepEquals(other.Customization)) { Customization.Update(other.Customization); OnPropertyChanged(nameof(Customization)); } if (!PeerView.DeepEquals(other.PeerView)) { PeerView.Update(other.PeerView); OnPropertyChanged(nameof(PeerView)); } }
public bool Equals(DestinyItemTranslationBlockDefinition input) { if (input == null) { return(false); } return (( WeaponPatternIdentifier == input.WeaponPatternIdentifier || (WeaponPatternIdentifier != null && WeaponPatternIdentifier.Equals(input.WeaponPatternIdentifier)) ) && ( WeaponPatternHash == input.WeaponPatternHash || (WeaponPatternHash.Equals(input.WeaponPatternHash)) ) && ( DefaultDyes == input.DefaultDyes || (DefaultDyes != null && DefaultDyes.SequenceEqual(input.DefaultDyes)) ) && ( LockedDyes == input.LockedDyes || (LockedDyes != null && LockedDyes.SequenceEqual(input.LockedDyes)) ) && ( CustomDyes == input.CustomDyes || (CustomDyes != null && CustomDyes.SequenceEqual(input.CustomDyes)) ) && ( Arrangements == input.Arrangements || (Arrangements != null && Arrangements.SequenceEqual(input.Arrangements)) ) && ( HasGeometry == input.HasGeometry || (HasGeometry != null && HasGeometry.Equals(input.HasGeometry)) )); }