Exemple #1
0
        public bool Equals(Requisition other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(string.Equals(CategoryName, other.CategoryName) &&
                   CertificationRequisitionId.Equals(other.CertificationRequisitionId) &&
                   ContentId.Equals(other.ContentId) &&
                   string.Equals(Description, other.Description) &&
                   Id.Equals(other.Id) &&
                   string.Equals(InternalCategoryName, other.InternalCategoryName) &&
                   string.Equals(InternalSubcategoryName, other.InternalSubcategoryName) &&
                   IsCertification == other.IsCertification &&
                   IsMythic == other.IsMythic &&
                   IsWearable == other.IsWearable &&
                   HideIfNotAcquired == other.HideIfNotAcquired &&
                   string.Equals(LargeImageUrl, other.LargeImageUrl) &&
                   LevelRequirement == other.LevelRequirement &&
                   string.Equals(Name, other.Name) &&
                   string.Equals(Rarity, other.Rarity) &&
                   RarityType == other.RarityType &&
                   SellPrice == other.SellPrice &&
                   string.Equals(SubcategoryName, other.SubcategoryName) &&
                   SubcategoryOrder == other.SubcategoryOrder &&
                   SupportedGameModes.OrderBy(sgm => sgm).SequenceEqual(other.SupportedGameModes.OrderBy(sgm => sgm)) &&
                   UseType == other.UseType);
        }
        public bool Equals(RequisitionPack other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   CreditPrice == other.CreditPrice &&
                   string.Equals(Description, other.Description) &&
                   Flair == other.Flair &&
                   GiftableAcquisitionMethod == other.GiftableAcquisitionMethod &&
                   Id.Equals(other.Id) &&
                   IsFeatured == other.IsFeatured &&
                   IsGiftOnly == other.IsGiftOnly &&
                   IsNew == other.IsNew &&
                   IsPurchasableFromMarketplace == other.IsPurchasableFromMarketplace &&
                   IsPurchasableWithCredits == other.IsPurchasableWithCredits &&
                   IsStack == other.IsStack &&
                   StackedRequisitionPacks.OrderBy(srp => srp.Id).SequenceEqual(other.StackedRequisitionPacks.OrderBy(srp => srp.Id)) &&
                   string.Equals(LargeImageUrl, other.LargeImageUrl) &&
                   string.Equals(MediumImageUrl, other.MediumImageUrl) &&
                   MerchandisingOrder == other.MerchandisingOrder &&
                   string.Equals(Name, other.Name) &&
                   string.Equals(SmallImageUrl, other.SmallImageUrl) &&
                   XboxMarketplaceProductId.Equals(other.XboxMarketplaceProductId) &&
                   string.Equals(XboxMarketplaceProductUrl, other.XboxMarketplaceProductUrl));
        }
Exemple #3
0
 public bool Equals(SpartanRank other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(ContentId.Equals(other.ContentId) &&
            Id == other.Id &&
            Equals(Reward, other.Reward) &&
            StartXp == other.StartXp);
 }
Exemple #4
0
        public bool Equals(RequiredLevel other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   Id.Equals(other.Id) &&
                   Threshold == other.Threshold);
        }
Exemple #5
0
        public bool Equals(Impulse other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   Id == other.Id &&
                   string.Equals(InternalName, other.InternalName));
        }
Exemple #6
0
        public bool Equals(Tier other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   string.Equals(IconImageUrl, other.IconImageUrl) &&
                   Id == other.Id);
        }
Exemple #7
0
        public bool Equals(FlexibleStat other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   Id.Equals(other.Id) &&
                   string.Equals(Name, other.Name) &&
                   Type == other.Type);
        }
Exemple #8
0
        public bool Equals(Reward other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   Id.Equals(other.Id) &&
                   RequisitionPacks.OrderBy(rp => rp.Id).SequenceEqual(other.RequisitionPacks.OrderBy(rp => rp.Id)) &&
                   Xp == other.Xp);
        }
Exemple #9
0
        public bool Equals(Category other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   string.Equals(IconImageUrl, other.IconImageUrl) &&
                   Id.Equals(other.Id) &&
                   string.Equals(Name, other.Name) &&
                   Order == other.Order);
        }
Exemple #10
0
        public bool Equals(CompetitiveSkillRankDesignation other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(string.Equals(BannerImageUrl, other.BannerImageUrl) &&
                   ContentId.Equals(other.ContentId) &&
                   Id == other.Id &&
                   string.Equals(Name, other.Name) &&
                   Tiers.OrderBy(t => t.Id).SequenceEqual(other.Tiers.OrderBy(t => t.Id)));
        }
Exemple #11
0
        public bool Equals(TeamColor other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(string.Equals(Color, other.Color) &&
                   ContentId.Equals(other.ContentId) &&
                   string.Equals(Description, other.Description) &&
                   string.Equals(IconUrl, other.IconUrl) &&
                   Id == other.Id && string.Equals(Name, other.Name));
        }
Exemple #12
0
 public bool Equals(Medal other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Classification == other.Classification &&
            ContentId.Equals(other.ContentId) &&
            string.Equals(Description, other.Description) &&
            Difficulty == other.Difficulty &&
            Id == other.Id &&
            string.Equals(Name, other.Name) &&
            Equals(SpriteLocation, other.SpriteLocation));
 }
Exemple #13
0
        public bool Equals(Enemy other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(string.Equals(Description, other.Description) &&
                   Faction == other.Faction && Id == other.Id &&
                   string.Equals(LargeIconImageUrl, other.LargeIconImageUrl) &&
                   string.Equals(Name, other.Name) &&
                   string.Equals(SmallIconImageUrl, other.SmallIconImageUrl) &&
                   ContentId.Equals(other.ContentId));
        }
Exemple #14
0
        public bool Equals(Map other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   string.Equals(Description, other.Description) &&
                   Id.Equals(other.Id) &&
                   string.Equals(ImageUrl, other.ImageUrl) &&
                   string.Equals(Name, other.Name) &&
                   ((SupportedGameModes == null && other.SupportedGameModes == null) || (SupportedGameModes != null && other.SupportedGameModes != null && SupportedGameModes.OrderBy(ka => ka).SequenceEqual(other.SupportedGameModes.OrderBy(ka => ka)))));
        }
Exemple #15
0
        public bool Equals(GameBaseVariant other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   string.Equals(IconUrl, other.IconUrl) &&
                   Id.Equals(other.Id) &&
                   string.Equals(InternalName, other.InternalName) &&
                   string.Equals(Name, other.Name) &&
                   SupportedGameModes.OrderBy(sgm => sgm).SequenceEqual(other.SupportedGameModes.OrderBy(sgm => sgm)));
        }
Exemple #16
0
        public bool Equals(Skull other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   string.Equals(Description, other.Description) &&
                   Id == other.Id &&
                   string.Equals(ImageUrl, other.ImageUrl) &&
                   MissionId.Equals(other.MissionId) &&
                   string.Equals(Name, other.Name));
        }
Exemple #17
0
        public bool Equals(MapVariant other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   string.Equals(Description, other.Description) &&
                   Id.Equals(other.Id) &&
                   MapId.Equals(other.MapId) &&
                   string.Equals(MapImageUrl, other.MapImageUrl) &&
                   string.Equals(Name, other.Name));
        }
Exemple #18
0
        public bool Equals(GameVariant other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   string.Equals(Description, other.Description) &&
                   GameBaseVariantId.Equals(other.GameBaseVariantId) &&
                   string.Equals(IconUrl, other.IconUrl) &&
                   Id.Equals(other.Id) &&
                   string.Equals(Name, other.Name));
        }
Exemple #19
0
        public bool Equals(Vehicle other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   string.Equals(Description, other.Description) &&
                   Id == other.Id &&
                   IsUsableByPlayer == other.IsUsableByPlayer &&
                   string.Equals(LargeIconImageUrl, other.LargeIconImageUrl) &&
                   string.Equals(Name, other.Name) &&
                   string.Equals(SmallIconImageUrl, other.SmallIconImageUrl));
        }
        public bool Equals(CampaignMission other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   string.Equals(Description, other.Description) &&
                   Id.Equals(other.Id) &&
                   string.Equals(ImageUrl, other.ImageUrl) &&
                   MissionNumber == other.MissionNumber &&
                   string.Equals(Name, other.Name) &&
                   Type == other.Type);
        }
Exemple #21
0
        public bool Equals(Playlist other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(string.Equals(Description, other.Description) &&
                   GameMode == other.GameMode &&
                   Id.Equals(other.Id) &&
                   string.Equals(ImageUrl, other.ImageUrl) &&
                   IsActive == other.IsActive &&
                   IsRanked == other.IsRanked &&
                   string.Equals(Name, other.Name) &&
                   ContentId.Equals(other.ContentId));
        }
Exemple #22
0
        public bool Equals(Season other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(ContentId.Equals(other.ContentId) &&
                   EndDate.Equals(other.EndDate) &&
                   string.Equals(IconUrl, other.IconUrl) &&
                   Id.Equals(other.Id) &&
                   IsActive == other.IsActive &&
                   string.Equals(Name, other.Name) &&
                   Playlists.OrderBy(p => p.Id).SequenceEqual(other.Playlists.OrderBy(p => p.Id)) &&
                   string.Equals(StartDate, other.StartDate));
        }
Exemple #23
0
        public bool Equals(Commendation other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(Equals(Category, other.Category) &&
                   ContentId.Equals(other.ContentId) &&
                   string.Equals(Description, other.Description) &&
                   string.Equals(IconImageUrl, other.IconImageUrl) &&
                   Id.Equals(other.Id) &&
                   Levels.OrderBy(l => l.Id).SequenceEqual(other.Levels.OrderBy(l => l.Id)) &&
                   string.Equals(Name, other.Name) &&
                   RequiredLevels.OrderBy(rl => rl.Id).SequenceEqual(other.RequiredLevels.OrderBy(rl => rl.Id)) &&
                   Equals(Reward, other.Reward) &&
                   Type == other.Type);
        }
        public bool Equals(ContentItemPublicContract input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ContentId == input.ContentId ||
                     (ContentId.Equals(input.ContentId))
                     ) &&
                 (
                     CType == input.CType ||
                     (CType != null && CType.Equals(input.CType))
                 ) &&
                 (
                     CmsPath == input.CmsPath ||
                     (CmsPath != null && CmsPath.Equals(input.CmsPath))
                 ) &&
                 (
                     CreationDate == input.CreationDate ||
                     (CreationDate != null && CreationDate.Equals(input.CreationDate))
                 ) &&
                 (
                     ModifyDate == input.ModifyDate ||
                     (ModifyDate != null && ModifyDate.Equals(input.ModifyDate))
                 ) &&
                 (
                     AllowComments == input.AllowComments ||
                     (AllowComments != null && AllowComments.Equals(input.AllowComments))
                 ) &&
                 (
                     HasAgeGate == input.HasAgeGate ||
                     (HasAgeGate != null && HasAgeGate.Equals(input.HasAgeGate))
                 ) &&
                 (
                     MinimumAge == input.MinimumAge ||
                     (MinimumAge.Equals(input.MinimumAge))
                 ) &&
                 (
                     RatingImagePath == input.RatingImagePath ||
                     (RatingImagePath != null && RatingImagePath.Equals(input.RatingImagePath))
                 ) &&
                 (
                     Author == input.Author ||
                     (Author != null && Author.Equals(input.Author))
                 ) &&
                 (
                     AutoEnglishPropertyFallback == input.AutoEnglishPropertyFallback ||
                     (AutoEnglishPropertyFallback != null && AutoEnglishPropertyFallback.Equals(input.AutoEnglishPropertyFallback))
                 ) &&
                 (
                     Properties == input.Properties ||
                     (Properties != null && Properties.SequenceEqual(input.Properties))
                 ) &&
                 (
                     Representations == input.Representations ||
                     (Representations != null && Representations.SequenceEqual(input.Representations))
                 ) &&
                 (
                     Tags == input.Tags ||
                     (Tags != null && Tags.SequenceEqual(input.Tags))
                 ) &&
                 (
                     CommentSummary == input.CommentSummary ||
                     (CommentSummary != null && CommentSummary.Equals(input.CommentSummary))
                 ));
        }