Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (QuestGroupId != 0L)
            {
                hash ^= QuestGroupId.GetHashCode();
            }
            if (Hall != 0)
            {
                hash ^= Hall.GetHashCode();
            }
            if (StoryQuestId != 0L)
            {
                hash ^= StoryQuestId.GetHashCode();
            }
            if (MilestoneItemSetId != 0L)
            {
                hash ^= MilestoneItemSetId.GetHashCode();
            }
            if (VillaBonusZoneId != 0L)
            {
                hash ^= VillaBonusZoneId.GetHashCode();
            }
            if (IsMilestone != false)
            {
                hash ^= IsMilestone.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (VillaBonusZoneId != 0)
            {
                hash ^= VillaBonusZoneId.GetHashCode();
            }
            if (VitalityItemSetId != 0L)
            {
                hash ^= VitalityItemSetId.GetHashCode();
            }
            if (VigorItemSetId != 0L)
            {
                hash ^= VigorItemSetId.GetHashCode();
            }
            if (ExtraItemSet1Id != 0L)
            {
                hash ^= ExtraItemSet1Id.GetHashCode();
            }
            if (Rate1 != 0)
            {
                hash ^= Rate1.GetHashCode();
            }
            if (ExtraItemSet2Id != 0L)
            {
                hash ^= ExtraItemSet2Id.GetHashCode();
            }
            if (Rate2 != 0)
            {
                hash ^= Rate2.GetHashCode();
            }
            if (ExtraItemSet3Id != 0L)
            {
                hash ^= ExtraItemSet3Id.GetHashCode();
            }
            if (Rate3 != 0)
            {
                hash ^= Rate3.GetHashCode();
            }
            if (ExtraItemSet4Id != 0L)
            {
                hash ^= ExtraItemSet4Id.GetHashCode();
            }
            if (Rate4 != 0)
            {
                hash ^= Rate4.GetHashCode();
            }
            if (ExtraItemSet5Id != 0L)
            {
                hash ^= ExtraItemSet5Id.GetHashCode();
            }
            if (Rate5 != 0)
            {
                hash ^= Rate5.GetHashCode();
            }
            if (ExtraItemSet6Id != 0L)
            {
                hash ^= ExtraItemSet6Id.GetHashCode();
            }
            if (Rate6 != 0)
            {
                hash ^= Rate6.GetHashCode();
            }
            if (ExtraItemSet7Id != 0L)
            {
                hash ^= ExtraItemSet7Id.GetHashCode();
            }
            if (Rate7 != 0)
            {
                hash ^= Rate7.GetHashCode();
            }
            if (ExtraItemSet8Id != 0L)
            {
                hash ^= ExtraItemSet8Id.GetHashCode();
            }
            if (Rate8 != 0)
            {
                hash ^= Rate8.GetHashCode();
            }
            if (ExtraItemSet9Id != 0L)
            {
                hash ^= ExtraItemSet9Id.GetHashCode();
            }
            if (Rate9 != 0)
            {
                hash ^= Rate9.GetHashCode();
            }
            if (ExtraItemSet10Id != 0L)
            {
                hash ^= ExtraItemSet10Id.GetHashCode();
            }
            if (Rate10 != 0)
            {
                hash ^= Rate10.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }