Пример #1
0
        public bool Equals(DestinyItemTalentGridBlockDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     TalentGridHash == input.TalentGridHash ||
                     (TalentGridHash.Equals(input.TalentGridHash))
                     ) &&
                 (
                     ItemDetailString == input.ItemDetailString ||
                     (ItemDetailString != null && ItemDetailString.Equals(input.ItemDetailString))
                 ) &&
                 (
                     BuildName == input.BuildName ||
                     (BuildName != null && BuildName.Equals(input.BuildName))
                 ) &&
                 (
                     HudDamageType == input.HudDamageType ||
                     (HudDamageType != null && HudDamageType.Equals(input.HudDamageType))
                 ) &&
                 (
                     HudIcon == input.HudIcon ||
                     (HudIcon != null && HudIcon.Equals(input.HudIcon))
                 ));
        }
        public bool Equals(DestinyItemTalentGridComponent input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     TalentGridHash == input.TalentGridHash ||
                     (TalentGridHash.Equals(input.TalentGridHash))
                     ) &&
                 (
                     Nodes == input.Nodes ||
                     (Nodes != null && Nodes.SequenceEqual(input.Nodes))
                 ) &&
                 (
                     IsGridComplete == input.IsGridComplete ||
                     (IsGridComplete != null && IsGridComplete.Equals(input.IsGridComplete))
                 ) &&
                 (
                     GridProgression == input.GridProgression ||
                     (GridProgression != null && GridProgression.Equals(input.GridProgression))
                 ));
        }