Example #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (unlockRequirements_ != null)
            {
                hash ^= UnlockRequirements.GetHashCode();
            }
            if (visibilityRequirements_ != null)
            {
                hash ^= VisibilityRequirements.GetHashCode();
            }
            if (MinRunestoneLevel != 0)
            {
                hash ^= MinRunestoneLevel.GetHashCode();
            }
            if (MaxRunestoneLevel != 0)
            {
                hash ^= MaxRunestoneLevel.GetHashCode();
            }
            if (PlayerCap != 0)
            {
                hash ^= PlayerCap.GetHashCode();
            }
            if (DurationMs != 0L)
            {
                hash ^= DurationMs.GetHashCode();
            }
            if (KnockoutTimeMs != 0L)
            {
                hash ^= KnockoutTimeMs.GetHashCode();
            }
            hash ^= PlayerCountMultipliers.GetHashCode();
            if (BaseChamberRating != 0)
            {
                hash ^= BaseChamberRating.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FamilyId.Length != 0)
            {
                hash ^= FamilyId.GetHashCode();
            }
            if (ShardCount != 0)
            {
                hash ^= ShardCount.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (oneTimeRewards_ != null)
            {
                hash ^= OneTimeRewards.GetHashCode();
            }
            if (PageId.Length != 0)
            {
                hash ^= PageId.GetHashCode();
            }
            if (unlockRequirements_ != null)
            {
                hash ^= UnlockRequirements.GetHashCode();
            }
            hash ^= shardCounts_.GetHashCode();
            if (StickerDisabled != false)
            {
                hash ^= StickerDisabled.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FamilyType != 0)
            {
                hash ^= FamilyType.GetHashCode();
            }
            hash ^= items_.GetHashCode();
            hash ^= levels_.GetHashCode();
            hash ^= pages_.GetHashCode();
            if (FamilyRuneName.Length != 0)
            {
                hash ^= FamilyRuneName.GetHashCode();
            }
            if (FamilyRankTableId.Length != 0)
            {
                hash ^= FamilyRankTableId.GetHashCode();
            }
            hash ^= returnedRewards_.GetHashCode();
            hash ^= runeId_.GetHashCode();
            hash ^= apexItems_.GetHashCode();
            if (unlockRequirements_ != null)
            {
                hash ^= UnlockRequirements.GetHashCode();
            }
            if (SubfeatureType != 0)
            {
                hash ^= SubfeatureType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }