public bool Equals(DestinyNodeSocketReplaceResponse input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     SocketTypeHash == input.SocketTypeHash ||
                     (SocketTypeHash.Equals(input.SocketTypeHash))
                     ) &&
                 (
                     PlugItemHash == input.PlugItemHash ||
                     (PlugItemHash.Equals(input.PlugItemHash))
                 ));
        }
Example #2
0
        public bool Equals(DestinyItemSocketEntryDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     SocketTypeHash == input.SocketTypeHash ||
                     (SocketTypeHash.Equals(input.SocketTypeHash))
                     ) &&
                 (
                     SingleInitialItemHash == input.SingleInitialItemHash ||
                     (SingleInitialItemHash.Equals(input.SingleInitialItemHash))
                 ) &&
                 (
                     ReusablePlugItems == input.ReusablePlugItems ||
                     (ReusablePlugItems != null && ReusablePlugItems.SequenceEqual(input.ReusablePlugItems))
                 ) &&
                 (
                     PreventInitializationOnVendorPurchase == input.PreventInitializationOnVendorPurchase ||
                     (PreventInitializationOnVendorPurchase != null && PreventInitializationOnVendorPurchase.Equals(input.PreventInitializationOnVendorPurchase))
                 ) &&
                 (
                     HidePerksInItemTooltip == input.HidePerksInItemTooltip ||
                     (HidePerksInItemTooltip != null && HidePerksInItemTooltip.Equals(input.HidePerksInItemTooltip))
                 ) &&
                 (
                     PlugSources == input.PlugSources ||
                     (PlugSources != null && PlugSources.Equals(input.PlugSources))
                 ) &&
                 (
                     ReusablePlugSetHash == input.ReusablePlugSetHash ||
                     (ReusablePlugSetHash.Equals(input.ReusablePlugSetHash))
                 ) &&
                 (
                     RandomizedPlugSetHash == input.RandomizedPlugSetHash ||
                     (RandomizedPlugSetHash.Equals(input.RandomizedPlugSetHash))
                 ) &&
                 (
                     DefaultVisible == input.DefaultVisible ||
                     (DefaultVisible != null && DefaultVisible.Equals(input.DefaultVisible))
                 ));
        }
        public bool Equals(DestinyItemIntrinsicSocketEntryDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     PlugItemHash == input.PlugItemHash ||
                     (PlugItemHash.Equals(input.PlugItemHash))
                     ) &&
                 (
                     SocketTypeHash == input.SocketTypeHash ||
                     (SocketTypeHash.Equals(input.SocketTypeHash))
                 ) &&
                 (
                     DefaultVisible == input.DefaultVisible ||
                     (DefaultVisible != null && DefaultVisible.Equals(input.DefaultVisible))
                 ));
        }