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

            return
                ((
                     CharacterId == input.CharacterId ||
                     (CharacterId.Equals(input.CharacterId))
                     ) &&
                 (
                     Item == input.Item ||
                     (Item != null && Item.Equals(input.Item))
                 ) &&
                 (
                     Instance == input.Instance ||
                     (Instance != null && Instance.Equals(input.Instance))
                 ) &&
                 (
                     Objectives == input.Objectives ||
                     (Objectives != null && Objectives.Equals(input.Objectives))
                 ) &&
                 (
                     Perks == input.Perks ||
                     (Perks != null && Perks.Equals(input.Perks))
                 ) &&
                 (
                     RenderData == input.RenderData ||
                     (RenderData != null && RenderData.Equals(input.RenderData))
                 ) &&
                 (
                     Stats == input.Stats ||
                     (Stats != null && Stats.Equals(input.Stats))
                 ) &&
                 (
                     TalentGrid == input.TalentGrid ||
                     (TalentGrid != null && TalentGrid.Equals(input.TalentGrid))
                 ) &&
                 (
                     Sockets == input.Sockets ||
                     (Sockets != null && Sockets.Equals(input.Sockets))
                 ) &&
                 (
                     ReusablePlugs == input.ReusablePlugs ||
                     (ReusablePlugs != null && ReusablePlugs.Equals(input.ReusablePlugs))
                 ) &&
                 (
                     PlugObjectives == input.PlugObjectives ||
                     (PlugObjectives != null && PlugObjectives.Equals(input.PlugObjectives))
                 ));
        }
示例#2
0
        public bool Equals(DestinyItemComponentSetOfuint32 input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Instances == input.Instances ||
                     (Instances != null && Instances.Equals(input.Instances))
                     ) &&
                 (
                     RenderData == input.RenderData ||
                     (RenderData != null && RenderData.Equals(input.RenderData))
                 ) &&
                 (
                     Stats == input.Stats ||
                     (Stats != null && Stats.Equals(input.Stats))
                 ) &&
                 (
                     Sockets == input.Sockets ||
                     (Sockets != null && Sockets.Equals(input.Sockets))
                 ) &&
                 (
                     ReusablePlugs == input.ReusablePlugs ||
                     (ReusablePlugs != null && ReusablePlugs.Equals(input.ReusablePlugs))
                 ) &&
                 (
                     PlugObjectives == input.PlugObjectives ||
                     (PlugObjectives != null && PlugObjectives.Equals(input.PlugObjectives))
                 ) &&
                 (
                     TalentGrids == input.TalentGrids ||
                     (TalentGrids != null && TalentGrids.Equals(input.TalentGrids))
                 ) &&
                 (
                     PlugStates == input.PlugStates ||
                     (PlugStates != null && PlugStates.Equals(input.PlugStates))
                 ) &&
                 (
                     Objectives == input.Objectives ||
                     (Objectives != null && Objectives.Equals(input.Objectives))
                 ) &&
                 (
                     Perks == input.Perks ||
                     (Perks != null && Perks.Equals(input.Perks))
                 ));
        }
        public bool Equals(DestinyCharacterResponse input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Inventory == input.Inventory ||
                     (Inventory != null && Inventory.Equals(input.Inventory))
                     ) &&
                 (
                     Character == input.Character ||
                     (Character != null && Character.Equals(input.Character))
                 ) &&
                 (
                     Progressions == input.Progressions ||
                     (Progressions != null && Progressions.Equals(input.Progressions))
                 ) &&
                 (
                     RenderData == input.RenderData ||
                     (RenderData != null && RenderData.Equals(input.RenderData))
                 ) &&
                 (
                     Activities == input.Activities ||
                     (Activities != null && Activities.Equals(input.Activities))
                 ) &&
                 (
                     Equipment == input.Equipment ||
                     (Equipment != null && Equipment.Equals(input.Equipment))
                 ) &&
                 (
                     Kiosks == input.Kiosks ||
                     (Kiosks != null && Kiosks.Equals(input.Kiosks))
                 ) &&
                 (
                     PlugSets == input.PlugSets ||
                     (PlugSets != null && PlugSets.Equals(input.PlugSets))
                 ) &&
                 (
                     PresentationNodes == input.PresentationNodes ||
                     (PresentationNodes != null && PresentationNodes.Equals(input.PresentationNodes))
                 ) &&
                 (
                     Records == input.Records ||
                     (Records != null && Records.Equals(input.Records))
                 ) &&
                 (
                     Collectibles == input.Collectibles ||
                     (Collectibles != null && Collectibles.Equals(input.Collectibles))
                 ) &&
                 (
                     ItemComponents == input.ItemComponents ||
                     (ItemComponents != null && ItemComponents.Equals(input.ItemComponents))
                 ) &&
                 (
                     UninstancedItemComponents == input.UninstancedItemComponents ||
                     (UninstancedItemComponents != null && UninstancedItemComponents.Equals(input.UninstancedItemComponents))
                 ) &&
                 (
                     CurrencyLookups == input.CurrencyLookups ||
                     (CurrencyLookups != null && CurrencyLookups.Equals(input.CurrencyLookups))
                 ));
        }