Exemple #1
0
        public bool Equals(DestinySandboxPerkDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                     ) &&
                 (
                     PerkIdentifier == input.PerkIdentifier ||
                     (PerkIdentifier != null && PerkIdentifier.Equals(input.PerkIdentifier))
                 ) &&
                 (
                     IsDisplayable == input.IsDisplayable ||
                     (IsDisplayable != null && IsDisplayable.Equals(input.IsDisplayable))
                 ) &&
                 (
                     DamageType == input.DamageType ||
                     (DamageType != null && DamageType.Equals(input.DamageType))
                 ) &&
                 (
                     DamageTypeHash == input.DamageTypeHash ||
                     (DamageTypeHash.Equals(input.DamageTypeHash))
                 ) &&
                 (
                     PerkGroups == input.PerkGroups ||
                     (PerkGroups != null && PerkGroups.Equals(input.PerkGroups))
                 ) &&
                 (
                     Hash == input.Hash ||
                     (Hash.Equals(input.Hash))
                 ) &&
                 (
                     Index == input.Index ||
                     (Index.Equals(input.Index))
                 ) &&
                 (
                     Redacted == input.Redacted ||
                     (Redacted != null && Redacted.Equals(input.Redacted))
                 ));
        }
        public bool Equals(DestinyItemInstanceComponent input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DamageType == input.DamageType ||
                     (DamageType != null && DamageType.Equals(input.DamageType))
                     ) &&
                 (
                     DamageTypeHash == input.DamageTypeHash ||
                     (DamageTypeHash.Equals(input.DamageTypeHash))
                 ) &&
                 (
                     PrimaryStat == input.PrimaryStat ||
                     (PrimaryStat != null && PrimaryStat.Equals(input.PrimaryStat))
                 ) &&
                 (
                     ItemLevel == input.ItemLevel ||
                     (ItemLevel.Equals(input.ItemLevel))
                 ) &&
                 (
                     Quality == input.Quality ||
                     (Quality.Equals(input.Quality))
                 ) &&
                 (
                     IsEquipped == input.IsEquipped ||
                     (IsEquipped != null && IsEquipped.Equals(input.IsEquipped))
                 ) &&
                 (
                     CanEquip == input.CanEquip ||
                     (CanEquip != null && CanEquip.Equals(input.CanEquip))
                 ) &&
                 (
                     EquipRequiredLevel == input.EquipRequiredLevel ||
                     (EquipRequiredLevel.Equals(input.EquipRequiredLevel))
                 ) &&
                 (
                     UnlockHashesRequiredToEquip == input.UnlockHashesRequiredToEquip ||
                     (UnlockHashesRequiredToEquip != null && UnlockHashesRequiredToEquip.SequenceEqual(input.UnlockHashesRequiredToEquip))
                 ) &&
                 (
                     CannotEquipReason == input.CannotEquipReason ||
                     (CannotEquipReason != null && CannotEquipReason.Equals(input.CannotEquipReason))
                 ) &&
                 (
                     BreakerType == input.BreakerType ||
                     (BreakerType.Equals(input.BreakerType))
                 ) &&
                 (
                     BreakerTypeHash == input.BreakerTypeHash ||
                     (BreakerTypeHash.Equals(input.BreakerTypeHash))
                 ) &&
                 (
                     Energy == input.Energy ||
                     (Energy != null && Energy.Equals(input.Energy))
                 ));
        }
Exemple #3
0
        public bool Equals(DestinyNodeStepDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                     ) &&
                 (
                     StepIndex == input.StepIndex ||
                     (StepIndex.Equals(input.StepIndex))
                 ) &&
                 (
                     NodeStepHash == input.NodeStepHash ||
                     (NodeStepHash.Equals(input.NodeStepHash))
                 ) &&
                 (
                     InteractionDescription == input.InteractionDescription ||
                     (InteractionDescription != null && InteractionDescription.Equals(input.InteractionDescription))
                 ) &&
                 (
                     DamageType == input.DamageType ||
                     (DamageType != null && DamageType.Equals(input.DamageType))
                 ) &&
                 (
                     DamageTypeHash == input.DamageTypeHash ||
                     (DamageTypeHash.Equals(input.DamageTypeHash))
                 ) &&
                 (
                     ActivationRequirement == input.ActivationRequirement ||
                     (ActivationRequirement != null && ActivationRequirement.Equals(input.ActivationRequirement))
                 ) &&
                 (
                     CanActivateNextStep == input.CanActivateNextStep ||
                     (CanActivateNextStep != null && CanActivateNextStep.Equals(input.CanActivateNextStep))
                 ) &&
                 (
                     NextStepIndex == input.NextStepIndex ||
                     (NextStepIndex.Equals(input.NextStepIndex))
                 ) &&
                 (
                     IsNextStepRandom == input.IsNextStepRandom ||
                     (IsNextStepRandom != null && IsNextStepRandom.Equals(input.IsNextStepRandom))
                 ) &&
                 (
                     PerkHashes == input.PerkHashes ||
                     (PerkHashes != null && PerkHashes.SequenceEqual(input.PerkHashes))
                 ) &&
                 (
                     StartProgressionBarAtProgress == input.StartProgressionBarAtProgress ||
                     (StartProgressionBarAtProgress.Equals(input.StartProgressionBarAtProgress))
                 ) &&
                 (
                     StatHashes == input.StatHashes ||
                     (StatHashes != null && StatHashes.SequenceEqual(input.StatHashes))
                 ) &&
                 (
                     AffectsQuality == input.AffectsQuality ||
                     (AffectsQuality != null && AffectsQuality.Equals(input.AffectsQuality))
                 ) &&
                 (
                     StepGroups == input.StepGroups ||
                     (StepGroups != null && StepGroups.Equals(input.StepGroups))
                 ) &&
                 (
                     AffectsLevel == input.AffectsLevel ||
                     (AffectsLevel != null && AffectsLevel.Equals(input.AffectsLevel))
                 ) &&
                 (
                     SocketReplacements == input.SocketReplacements ||
                     (SocketReplacements != null && SocketReplacements.SequenceEqual(input.SocketReplacements))
                 ));
        }